!(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,Mc=(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 me in Yt)Iv.call(Yt,me)&&Dt.indexOf(me)<0&&(Be[me]=Yt[me]);if(Yt!=null&&vm)for(var me of vm(Yt))Dt.indexOf(me)<0&&Nv.call(Yt,me)&&(Be[me]=Yt[me]);return Be};var hs=(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 me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},89489:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},59477:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},26227:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},49198:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},87169:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},52671:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},8657:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},56082:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},33853:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},15075:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},43531:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},38819:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},95869:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},nt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:nt}))},ve=Ce.forwardRef(je),we=ve},32313: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"}},6404: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 me(){var ie=Dt.pop();return ie===void 0?new go.Point:ie}function Ce(ie){Dt.push(ie)}function Me(ie,y,a,ee,E,te,ne,ae,de){de||(de=new go.Point);var Le=ie-a,Pe=E-ne,Ue=NaN,Ge=NaN;if(Le===0)if(Pe===0)ie===a&&(Ue=ie,Ge=y);else{var Ze=(te-ae)/Pe,tt=te-Ze*E;Ue=ie,Ge=Ze*Ue+tt}else if(Pe===0){var Te=(y-ee)/Le,pt=y-Te*ie;Ue=E,Ge=Te*Ue+pt}else{var Te=(y-ee)/Le,Ze=(te-ae)/Pe,pt=y-Te*ie,tt=te-Ze*E;Ue=(tt-pt)/(Te-Ze),Ge=Te*Ue+pt}return de.x=Ue,de.y=Ge,de}function nt(ie,y,a,ee,E,te,ne,ae,de,Le,Pe,Ue,Ge,Ze){var tt=1-de,Te=de,pt=ie*tt+a*Te,Qe=y*tt+ee*Te,Lt=a*tt+E*Te,it=ee*tt+te*Te,ot=E*tt+ne*Te,St=te*tt+ae*Te,lt=pt*tt+Lt*Te,vt=Qe*tt+it*Te,ut=Lt*tt+ot*Te,at=it*tt+St*Te,Kt=lt*tt+ut*Te,Vt=vt*tt+at*Te;Le.x=pt,Le.y=Qe,Pe.x=lt,Pe.y=vt,Ue.x=Kt,Ue.y=Vt,Ge.x=ut,Ge.y=at,Ze.x=ot,Ze.y=St}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),de=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(de,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-de,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-de,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,de,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,de=te*ve;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+de+ae)*a,(.5-de+ne)*y,(.5+te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+de+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-de+ae)*a,(.5+de+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-de+ne)*y,(.5-te+ae)*a,(.5-te+ne+.05)*y,(.5-de+ae-.02)*a)),te=.2,ne=0,ae=-.3,de=te*ve,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+de+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-de+ae)*a,(.5+de+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-de+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+de+ae)*a,(.5-de+ne)*y,(.5+te+ae)*a)),te=.2,ne=-.3,ae=0,de=te*ve,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne-.05)*y,(.5-de+ae-.02)*a,(.5+de+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-de+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+de+ae)*a,(.5-de+ne)*y,(.5+te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+de+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+de+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,de=new go.PathFigure(ne*y,(ae-te)*a);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.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=me(),Pe=me(),Ue=me(),Ge=me();nt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.42,Le,Pe,Ue,Ge,Ge);var Ze=me(),tt=me(),Te=me();nt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.58,Ge,Ge,Te,Ze,tt);var pt=me(),Qe=me(),Lt=me();nt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.42,pt,Qe,Lt,Ge,Ge);var it=me(),ot=me(),St=me();return nt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.58,Ge,Ge,St,it,ot),de.add(new go.PathSegment(go.PathSegment.Move,St.x*y,St.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,it.x*y,it.y*a,ot.x*y,ot.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),de.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)),de.add(new go.PathSegment(go.PathSegment.Line,St.x*y,St.y*a).close()),de.add(new go.PathSegment(go.PathSegment.Move,Lt.x*y,Lt.y*a)),de.add(new go.PathSegment(go.PathSegment.Line,Te.x*y,Te.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Ze.x*y,Ze.y*a,tt.x*y,tt.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Lt.x*y,Lt.y*a,pt.x*y,pt.y*a,Qe.x*y,Qe.y*a).close()),Ce(Le),Ce(Pe),Ce(Ue),Ce(Ge),Ce(Ze),Ce(tt),Ce(Te),Ce(pt),Ce(Qe),Ce(Lt),Ce(it),Ce(ot),Ce(St),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,de=me(),Le=me(),Pe=me(),Ue=me(),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)),nt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.44,Pe,Ue,Le,de,de),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a));var Ze=Be(Le.x,Le.y);nt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.56,de,de,Le,Pe,Ue);var tt=Be(Le.x,Le.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Ze.x*.1+.95*.9)*y,Ze.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ze.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(tt.x*.1+.9)*y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(tt.x*.1+.9)*y,(tt.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,tt.x*y,tt.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 pt=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(pt),Ce(de),Ce(Le),Ce(Pe),Ce(Ue),Ce(Ze),Ce(tt),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,de=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);ee.add(de),de.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)),de.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)),de.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)),de.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)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,te=0,ne=-.125,ae=E*ve;var de=new go.PathFigure((1-.5+E+te)*y,(.5+ne)*a,!1);ee.add(de),de.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)),de.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)),de.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)),de.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 de=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);return ee.add(de),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,de=new go.Geometry,Le=new go.PathFigure(0,ne,!0);de.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()),de.spot1=new go.Spot(0,ne/a);var Pe=Me(0,ae/a,1,ae/a,te/y,1,1,.5,me());return de.spot2=new go.Spot(Pe.x,Pe.y),Ce(Pe),de}),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,de=new go.Geometry,Le=new go.PathFigure(0,ne,!0);de.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()),de.spot1=new go.Spot(0,ne/a);var Pe=Me(0,ae/a,1,ae/a,te/y,1,1,.5,me());return de.spot2=new go.Spot(Pe.x,Pe.y),Ce(Pe),de}),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 de=Me(0,.5,.3,0,0,E/a,.1,E/a,me());return ne.spot1=new go.Spot(de.x,de.y),de=Me(.7,1,1,.5,0,te/a,1,te/a,de),ne.spot2=new go.Spot(de.x,de.y),Ce(de),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,de=ae+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,ae=0,de=a):(te=0,ne=a,ae=0,de=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,de)),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,de)),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=Me(0,.5,.3,ae/a,0,te/a,1,te/a,me());return Le.spot1=new go.Spot(Ue.x,Ue.y),Ue=Me(.7,de/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 de=Me(.7,1,1,.5,0,te/a,1,te/a,me());return ne.spot2=new go.Spot(de.x,de.y),Ce(de),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,de=ae+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,ae=0,de=a):(te=0,ne=a,ae=0,de=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,de)),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,de)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,de)),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=Me(.7,de/a,1,.5,0,ne/a,1,ne/a,me());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=Me(.2,.65,1,.65,0,1,1,.5,me());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=Me(0,.65,1,.65,0,1,1,.5,me());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 de=Me(.7,1,1,.5,0,te/a,1,te/a,me());return ne.spot2=new go.Spot(de.x,de.y),Ce(de),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 de=Me(.7,1,1,.5,0,te/a,1,te/a,me());return ne.spot2=new go.Spot(de.x,de.y),Ce(de),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,de=.5,Le=.1,Pe=new go.PathFigure(de*y,(Le+te)*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-E)*y,Le*a,(de-ne)*y,(Le+te)*a,(de-E)*y,(Le+ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-te)*a,(de-E)*y,(Le-ae)*a,(de-ne)*y,(Le-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+E)*y,Le*a,(de+ne)*y,(Le-te)*a,(de+E)*y,(Le-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+te)*a,(de+E)*y,(Le+ae)*a,(de+ne)*y,(Le+te)*a));var Ue=.05,Ge=ve*Ue;de=.05,Le=.25;var Ze=new go.PathFigure(.5*y,.2*a,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),de=.95,Le=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de+Ue)*y,Le*a,(de+Ge)*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Ue=.025,Ge=ve*Ue,de=.825,Le=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a,(de+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ue)*y,Le*a,(de-Ge)*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Ue=.05,Ge=ve*Ue,de=.5,Le=.7,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a,(de+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ue)*y,Le*a,(de-Ge)*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Ue=.025,Ge=ve*Ue,de=.175,Le=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a,(de+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ue)*y,Le*a,(de-Ge)*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ue=.05,Ge=ve*Ue,de=.05,Le=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a,(de-Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),ee.spot1=new go.Spot(.2,.2),ee.spot2=new go.Spot(.8,.65),ee}),go.Shape.setFigureParameter("Card",0,new 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,de=new go.PathFigure(y,ae*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+ne)*a,(ae+ne)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-ne)*y,a,0,(ae+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-ne)*a,(ae-ne)*y,0)),de.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 de=new go.PathFigure(.8*y,.75*a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),de.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,de=new go.PathFigure(.8*y,.5*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.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,de=.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((de+ae)*y,Le*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+ae)*a,(de+ae)*y,(Le+ne)*a,(de+ne)*y,(Le+ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y,Le*a,(de-ne)*y,(Le+ae)*a,(de-ae)*y,(Le+ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-ae)*a,(de-ae)*y,(Le-ne)*a,(de-ne)*y,(Le-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y,Le*a,(de+ne)*y,(Le-ae)*a,(de+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,de=new go.PathFigure(.8*y,.5*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),de.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,de=new go.PathFigure(0,0,!0);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te+te)*y,(ae-E)*a,.8*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+te)*a,(ne+te+te)*y,(ae+E)*a)),de.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,de=new go.PathFigure(.1*y,0,!1);ee.add(de),de.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,de=new go.PathFigure(.1*y,0,!1);ee.add(de),de.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,de=new go.PathFigure((ne-E*.5)*y,a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.9,de.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,de=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae-te)*a,(ne+te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Move,(ne-te+.1)*y,ae*a)),de.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,de=0,Le=.5,Pe=(E-y)/2,Ue=(te-a)/2,Ge=new go.PathFigure(de*y+Pe,(Le+ae)*a+Ue,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+Pe,Le*a+Ue,(de-ne)*y+Pe,(Le+ae)*a+Ue,(de-ae)*y+Pe,(Le+ne)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de-ae)*y+Pe,(Le-ne)*a+Ue,(de-ne)*y+Pe,(Le-ae)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae+ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le-ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le-ne)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le+ne)*a+Ue,de*y+Pe,(Le+ae)*a+Ue).close()),ne=ve*.4,ae=.4,de=.2,Le=.5;var Ze=new go.PathFigure(de*y+Pe,(Le+ae)*a+Ue,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+Pe,Le*a+Ue,(de-ne)*y+Pe,(Le+ae)*a+Ue,(de-ae)*y+Pe,(Le+ne)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de-ae)*y+Pe,(Le-ne)*a+Ue,(de-ne)*y+Pe,(Le-ae)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae+ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le-ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le-ne)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le+ne)*a+Ue,de*y+Pe,(Le+ae)*a+Ue).close()),ne=ve*.2,ae=.2,de=.5,Le=.5;var tt=new go.PathFigure((de-ae)*y+Pe,Le*a+Ue,!0);ee.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de-ae)*y+Pe,(Le-ne)*a+Ue,(de-ne)*y+Pe,(Le-ae)*a+Ue)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+Pe,Le*a+Ue,(de+ne)*y+Pe,(Le-ae)*a+Ue,(de+ae)*y+Pe,(Le-ne)*a+Ue)),tt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de+ae)*y+Pe,(Le+ne)*a+Ue,(de+ne)*y+Pe,(Le+ae)*a+Ue)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+Pe,Le*a+Ue,(de-ne)*y+Pe,(Le+ae)*a+Ue,(de-ae)*y+Pe,(Le+ne)*a+Ue)),ne=ve*.4,ae=.4,de=.8,Le=.5;var Te=new go.PathFigure(de*y+Pe,(Le-ae)*a+Ue,!0);ee.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+Pe,Le*a+Ue,(de+ne)*y+Pe,(Le-ae)*a+Ue,(de+ae)*y+Pe,(Le-ne)*a+Ue)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de+ae)*y+Pe,(Le+ne)*a+Ue,(de+ne)*y+Pe,(Le+ae)*a+Ue)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae-ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le+ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le+ne)*a+Ue)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le-ne)*a+Ue,de*y+Pe,(Le-ae)*a+Ue).close()),ne=ve*.8,ae=.8,de=1,Le=.5;var pt=new go.PathFigure(de*y+Pe,(Le-ae)*a+Ue,!0);return ee.add(pt),pt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+Pe,Le*a+Ue,(de+ne)*y+Pe,(Le-ae)*a+Ue,(de+ae)*y+Pe,(Le-ne)*a+Ue)),pt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de+ae)*y+Pe,(Le+ne)*a+Ue,(de+ne)*y+Pe,(Le+ae)*a+Ue)),pt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae-ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le+ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le+ne)*a+Ue)),pt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le-ne)*a+Ue,de*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,de=me(),Le=me(),Pe=me(),Ue=me();nt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.5,de,de,Le,Pe,Ue);var Ge=Be(Le.x,Le.y),Ze=new go.PathFigure(Le.x*y,Le.y*a,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),nt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,de,de),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),E=ve*.3,te=.3,nt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,de,de),Ze.add(new go.PathSegment(go.PathSegment.Line,Le.x*y,Le.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),nt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.5,de,de,Le,Pe,Ue),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a).close());var Ze=new go.PathFigure(.45*y,0,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),Ce(de),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,de){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+de)*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,de=.4*Math.SQRT2/2+.5,Le=.5-.5*Math.SQRT2/2,Pe=1,Ue=.5,Ge=.5,Ze=0,tt=new go.PathFigure(de*y,(1-Le)*a,!1);return ee.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Ue*a,Pe*y,.7*a,Pe*y,Ue*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+te)*y,(Ze+te)*a,(.5+E+te)*y,(.5-ae+te)*a,(.5+ae+te)*y,(.5-E+te)*a)),tt.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)),tt.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)),tt.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*y,.8*a)),tt.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*y,.9*a)),tt.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,de=ne,Le=Math.PI/4,Pe=4*(1-Math.cos(Le))/(3*Math.sin(Le)),Ue=Pe*.5,Ge=ne,Ze=ne,tt=Pe*Ge,Te=Pe*Ze;te.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ge)*y,de*a,(ae-(tt+Ge)/2)*y,(de+(Ze+Te)/2)*a,(ae-Ge)*y,(de+Te)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(de-Ze)*a,(ae-Ge)*y,(de-Te)*a,(ae-tt)*y,(de-Ze)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ge)*y,de*a,(ae+tt)*y,(de-Ze)*a,(ae+Ge)*y,(de-Te)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ge)*y,(de+Te)*a,(ae+(tt+Ge)/2)*y,(de+(Ze+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 pt=new go.PathFigure(.2*y,a,!1);ee.add(pt),pt.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,de=.2,Le=.9,Pe=new go.PathFigure((de-ne)*y,Le*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-ne)*a,(de-ne)*y,(Le-ae)*a,(de-ae)*y,(Le-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ne)*y,Le*a,(de+ae)*y,(Le-ne)*a,(de+ne)*y,(Le-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+ne)*a,(de+ne)*y,(Le+ae)*a,(de+ae)*y,(Le+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ne)*y,Le*a,(de-ae)*y,(Le+ne)*a,(de-ne)*y,(Le+ae)*a).close()),ne=.1,ae=ve*.1,de=.8,Le=.9;var Ue=new go.PathFigure((de-ne)*y,Le*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-ne)*a,(de-ne)*y,(Le-ae)*a,(de-ae)*y,(Le-ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de+ne)*y,Le*a,(de+ae)*y,(Le-ne)*a,(de+ne)*y,(Le-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+ne)*a,(de+ne)*y,(Le+ae)*a,(de+ae)*y,(Le+ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de-ne)*y,Le*a,(de-ae)*y,(Le+ne)*a,(de-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 de=.1,Le=ve*.1,Pe=.1,Ue=.9,Ge=new go.PathFigure((Pe-de)*y,Ue*a,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue-de)*a,(Pe-de)*y,(Ue-Le)*a,(Pe-Le)*y,(Ue-de)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+de)*y,Ue*a,(Pe+Le)*y,(Ue-de)*a,(Pe+de)*y,(Ue-Le)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue+de)*a,(Pe+de)*y,(Ue+Le)*a,(Pe+Le)*y,(Ue+de)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-de)*y,Ue*a,(Pe-Le)*y,(Ue+de)*a,(Pe-de)*y,(Ue+Le)*a)),de=.1,Le=ve*.1,Pe=.4,Ue=.9;var Ze=new go.PathFigure((Pe-de)*y,Ue*a,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue-de)*a,(Pe-de)*y,(Ue-Le)*a,(Pe-Le)*y,(Ue-de)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+de)*y,Ue*a,(Pe+Le)*y,(Ue-de)*a,(Pe+de)*y,(Ue-Le)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue+de)*a,(Pe+de)*y,(Ue+Le)*a,(Pe+Le)*y,(Ue+de)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-de)*y,Ue*a,(Pe-Le)*y,(Ue+de)*a,(Pe-de)*y,(Ue+Le)*a)),ee}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var te=new go.PathFigure(.45*y,.7*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var Pe=.05,Ue=ve*.05,Ge=.175,Ze=.95,ae=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.375,Ze=.95,de=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.625,Ze=.95,Le=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.825,Ze=.95,tt=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a).close());var 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,de=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-de)*a,(Le-de)*y,(Pe-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ae)*y,Pe*a,(Le+de)*y,(Pe-ae)*a,(Le+ae)*y,(Pe-de)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Pe+ae)*a,(Le+ae)*y,(Pe+de)*a,(Le+de)*y,(Pe+ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ae)*y,Pe*a,(Le-de)*y,(Pe+ae)*a,(Le-ae)*y,(Pe+de)*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,de=new go.PathFigure((ne-E)*y,ae*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.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,de=new go.PathFigure((ne-E)*y,ae*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.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,de=new go.PathFigure((ne-E)*y,ae*a,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.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 de=new go.PathFigure(.5*y,.1*a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),de.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 de=new go.PathFigure(y*.816,a,!0);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),de.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 de=new go.PathFigure(y*1,0,!0);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),de.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 de=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),de.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 de=new go.PathFigure(y*.83,a*1,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),de.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),de.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")},93127: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={},me=null,Ce=!1,Me=!1,nt=null,ze=!1,je=null,ve=null,we=0;we4?parseFloat(mt):5};Yt.setHTML5Codebase=function(mt,Tt){ve=mt,at(mt,Tt)},Yt.setJavaCodebase=Yt.setJavaCodebaseVersion=Yt.isCompiledInstalled=Yt.setPreCompiledScriptPath=Yt.setPreCompiledResourcePath=function(){},Yt.setHTML5CodebaseVersion=function(mt,Tt){var wn=parseFloat(mt);if(wn!==NaN&&wn<5){console.log("The GeoGebra HTML5 codebase version "+wn+" is deprecated. Using version latest instead.");return}je=mt,ut(mt,Tt)},Yt.getHTML5CodebaseVersion=function(){return ie},Yt.getParameters=function(){return Be},Yt.setFontsCSSURL=function(mt){ne=mt},Yt.setGiacJSURL=function(mt){},Yt.setJNLPFile=function(mt){ge=mt},Yt.setJNLPBaseDir=function(mt){},Yt.inject=function(){function mt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Tt="auto",wn=Be.id,Qn,ln=!1,Tn=0;Tn=5)return!0;var mt=Yt.getAppletObject();return mt&&typeof mt.recalculateEnvironments=="function"?(mt.recalculateEnvironments(),!0):!1},Yt.startAnimation=function(){var mt=Yt.getAppletObject();return mt&&typeof mt.startAnimation=="function"?(mt.startAnimation(),!0):!1},Yt.stopAnimation=function(){var mt=Yt.getAppletObject();return mt&&typeof mt.stopAnimation=="function"?(mt.stopAnimation(),!0):!1},Yt.getAppletObject=function(){var mt=Be.id!==void 0?Be.id:"ggbApplet";return window[mt]},Yt.resize=function(){};var tt=function(mt,Tt,wn){var Qn=document.createElement("param");Qn.setAttribute("name",Tt),Qn.setAttribute("value",wn),mt.appendChild(Qn)},Te=function(mt){return mt&&mt!=="false"},pt=function(mt,Tt,wn){de(ie)<=4.2&&(wn=!0);var Qn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Qn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ln=document.createElement("div");ln.classList.add("appletParameters","notranslate");var Tn=Tt.width,Bt=Tt.height;if(Tt.disableAutoScale=Tt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Tt.disableAutoScale,Tt.width!==void 0)if(de(ie)<=4.4)Te(Tt.showToolBar)&&(Tt.height-=7),Te(Tt.showAlgebraInput)&&(Tt.height-=37),Tt.width<605&&Te(Tt.showToolBar)&&(Tt.width=605,Tn=605);else{var Rn=100;(Te(Tt.showToolBar)||Te(Tt.showMenuBar))&&(Tt.hasOwnProperty("customToolBar")&&(Tt.customToolbar=Tt.customToolBar),Rn=Te(Tt.showMenuBar)?245:155),Tn=5?(Tt.appletOnLoad=function(st){var Rt=mt.querySelector(".ggb_preview");Rt&&Rt.parentNode.removeChild(Rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(fn),window.GGBT_wsf_view&&$(window).trigger("resize"),Xe(st)},Fe||fn.appendChild(fe)):ln.appendChild(fe),fn.appendChild(ln),Fe||mt.appendChild(fn),setTimeout(function(){Yt.resize()},1)}else{var ce=document.createElement("div");ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.appendChild(ln),mt.appendChild(ce),Tt.appletOnLoad=function(st){Yt.resize(),Xe(st)}}function Se(st,Rt){Rt&&typeof Rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(st,Rt.appletOnLoad):renderGGBElement(st),Kt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Rt)}function qe(st,Rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:st,params:Rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(hn){Se(hn.article,hn.params)}),html5AppletsToProcess=null)},de(ie)<5&&(st.className+=" geogebraweb")):Se(st,Rt)}if(Qn){scriptLoadStarted=!0;for(var dt=0;dt0?(qn.remove(),fn.attr("id","fullscreencontent").show(),jQuery(Xe).append(fn),window.dispatchEvent(new Event("resize"))):pt(qn,Tt,!1),window.GGBT_wsf_view.launchFullScreen(Xe)}else Ee=Qn,pt(mt,Tt,!1);if(!window.GGBT_wsf_view)for(Bt=0;Btmt/4*3&&(qn=mt/4*3),Xe=qn/5.8,Rn.setAttribute("src",E),Rn.setAttribute("width",qn),Rn.setAttribute("height",Xe);var fn=(mt-qn)/2,Fe=(Tt-Xe)/2;Rn.style.left=fn+"px",Rn.style.top=Fe+"px",ln.appendChild(Rn)}}return ln.appendChild(Bt),ln},lt=function(mt){return mt=mt.toLowerCase(),mt==="html5"||mt==="screenshot"?mt:"html5"},vt=["web","webSimple","web3d","tablet","tablet3d","phone"],ut=function(mt,Tt){if(ie=mt,Tt){at(ie,!0);return}var wn=!Ce;if(wn){var Qn=de(ie);!isNaN(Qn)&&Qn<4.4&&(wn=!1)}var ln,Tn;window.location.protocol.substr(0,4)==="http"?ln=window.location.protocol:ln="http:";var Bt=ie.indexOf("//");Bt>0?Tn=ie:Bt===0?Tn=ln+ie:Tn="https://www.geogebra.org/apps/5.2.814.0/";for(var Rn in vt)if(ie.slice(vt[Rn].length*-1)===vt[Rn]||ie.slice((vt[Rn].length+1)*-1)===vt[Rn]+"/"){at(Tn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&wn&&!me.is3D&&!me.AV&&!me.SV&&!me.CV&&!me.EV2&&!me.CP&&!me.PC&&!me.DA&&!me.FI&&!me.PV&&!Te(Be.showToolBar)&&!Te(Be.showMenuBar)&&!Te(Be.showAlgebraInput)&&!Te(Be.enableRightClick)&&(!Be.appName||Be.appName=="classic")?Tn+="webSimple/":Tn+="web3d/",at(Tn,!1)},at=function(mt,Tt){if(mt.requirejs){De=mt;return}mt.slice(-1)!=="/"&&(mt+="/"),De=mt,Tt===null&&(Tt=mt.indexOf("http")===-1),xe=Tt,y="web.nocache.js",a=!1;var wn=De.split("/");wn.length>1&&(!Tt&&wn[wn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):vt.indexOf(wn[wn.length-2])>=0&&(y=wn[wn.length-2]+".nocache.js")),wn=mt.split("/"),ie=wn[wn.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 Qn=parseFloat(ie);Qn!==NaN&&Qn<5&&mt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qn+" is deprecated. Using version latest instead."),ut("5.0",Tt))},Kt=function(mt,Tt){window.console&&window.console.log&&(!Tt||typeof Tt.showLogging=="undefined"||Tt.showLogging&&Tt.showLogging!=="false")&&console.log(mt)};Be.material_id!==void 0?Ue(Vt):Vt();function Vt(){var mt=Dt;je!==null?mt=je:parseFloat(mt)<5&&(mt="5.0"),ut(mt,!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,ge){var De=null;if(ge!=null&&ge!="")for(var xe=ze.parentNode;xe!=null;)if((" "+xe.className+" ").indexOf(" "+ge+" ")>-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&&(ge=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ge=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))Ne=me(ze,je,ge,ve,ze.scaleContainerClass);else return we;return ge&&(!ze.hasOwnProperty("scale")||we===1)?Ne:Math.min(we,Ne)}function Me(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,ge=(ve-we.height)/2;ge<0&&(ge=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=ge+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ge<40?ze.style.top="40px":ze.style.top=ge+"px",ze.style.left=Ne+"px")}function nt(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,ge=0;ge=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 me(){for(var ze=o.getElementsByTagName(_),je=O;jeO?ze[ze.length-P].href:W}function Me(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var nt=Be();return nt==W&&(nt=me()),nt==W&&(nt=Ce()),nt==W&&Me()&&(nt=Yt(o.location.href)),nt=Dt(nt),nt}function C(Yt){return Yt.match(/^\//)||Yt.match(/^[a-zA-Z]+:\/\//)?Yt:webModule.__moduleBase+Yt}function D(){var Yt=[],Dt=O,Be=[],me=[];function Ce(ze){var je=me[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 Me;try{Me=Cb;var nt=Me.indexOf(Db);nt!=-1&&(Dt=parseInt(Me.substring(nt+P),$),Me=Me.substring(O,nt))}catch(ze){}return webModule.__softPermutationId=Dt,C(Me+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8396:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Ax:function(){return nt},Ds:function(){return ze},KI:function(){return ve},SI:function(){return Me},f1:function(){return Ce}});var me=Be(85386);function Ce(we){let Ne=!0;if(we.length>0){for(let ge=0;geLe in de?De(de,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):de[Le]=Pe,a=(de,Le)=>{for(var Pe in Le||(Le={}))Ee.call(Le,Pe)&&y(de,Pe,Le[Pe]);if(xe)for(var Pe of xe(Le))ie.call(Le,Pe)&&y(de,Pe,Le[Pe]);return de};const ee=(de={})=>{var Le,Pe,Ue,Ge;let Ze=(Le=de==null?void 0:de.emotion)==null?void 0:Le.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),tt=(Pe=de==null?void 0:de.focus)==null?void 0:Pe.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Te=(Ue=de==null?void 0:de.action)==null?void 0:Ue.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),pt=(Ge=de==null?void 0:de.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:Ze||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:tt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Te||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:pt||[]}]},E=({className:de,dataSource:Le=[],col:Pe=4,right:Ue,bottom:Ge=23,precision:Ze=0,wrapWidth:tt=1200})=>{const Te=(Qe="",Lt,it="--")=>Qe?(Qe==null?void 0:Qe.length)>Lt?(Qe==null?void 0:Qe.slice(0,Lt-1))+"...":Qe:it,pt=Math.floor((tt-(Pe-1)*Ue)/Pe);return me.createElement("div",{className:nt()(Ce.list,de)},!!(Le!=null&&Le.length)&&(Le==null?void 0:Le.map((Qe,Lt)=>{const{cover_pic:it,created_at:ot,emotion:St,action:lt,intention:vt,focus:ut}=Qe;return me.createElement("div",{key:Lt,className:Ce.wrap,style:{width:pt,marginRight:(1+Lt)%Pe===0?0:Ue+Ze,marginBottom:Ge}},me.createElement("div",{className:Ce.img},me.createElement("img",{src:`${ge.Z.API_SERVER}${it}`}),me.createElement("div",{className:Ce.tips},me.createElement("div",null,me.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),me.createElement("span",null,ot))),me.createElement("div",{className:Ce.footer},me.createElement("ul",null,me.createElement("li",null,me.createElement("i",{className:"iconfont icon-biaoqing"}),me.createElement("span",null,"\u8868\u60C5\uFF1A",me.createElement(je.Z,{title:St},me.createElement("span",{className:"c-grey-333"},Te(St,4))))),me.createElement("li",null,me.createElement("i",{className:"iconfont icon-hangwei"}),me.createElement("span",null,"\u884C\u4E3A\uFF1A",me.createElement(je.Z,{title:lt},me.createElement("span",{className:"c-grey-333"},Te(lt,4)))))),me.createElement("ul",null,me.createElement("li",null,me.createElement("i",{className:"iconfont icon-yitu"}),me.createElement("span",null,"\u610F\u56FE\uFF1A",me.createElement(je.Z,{title:vt},me.createElement("span",{className:"c-grey-333"},Te(vt,4))))),me.createElement("li",null,me.createElement("i",{className:"iconfont icon-zhuangtai"}),me.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",me.createElement(je.Z,{title:ut},me.createElement("span",{className:"c-grey-333"},Te(ut,3))))))))})))},te=({className:de,style:Le,title:Pe,hideBar:Ue=!1,children:Ge,customText:Ze="",noDataText:tt="",emptyData:Te=[],loading:pt,actionAnalysis:Qe})=>{var Lt,it;const ot=((Lt=Te==null?void 0:Te[0])==null?void 0:Lt.every(lt=>{var vt;return!((vt=lt==null?void 0:lt.data)!=null&&vt.length)}))&&!((it=Te==null?void 0:Te[1])!=null&&it.length)||!Qe,St=Qe?tt:Ze;return me.createElement(ve.Z,{loading:pt,active:!0},ot&&me.createElement("div",{className:nt()(Ce.noData,de),style:Le},!!Pe&&me.createElement("div",{className:Ce.title},!Ue&&me.createElement("b",null),me.createElement("span",null,Pe)),me.createElement("div",{className:Ce.itemWrap},me.createElement(Ne.Z,{customText:St}))),!ot&&Ge)};var ae=({className:de,style:Le,data:Pe=[],title:Ue,hideBar:Ge=!1,loading:Ze=!1})=>me.createElement("div",{className:nt()(Ce.analysis,de),style:Le},!!Ue&&me.createElement("div",{className:Ce.title},!Ge&&me.createElement("b",null),me.createElement("span",null,Ue)),me.createElement(we.Z,{spinning:Ze},me.createElement("div",{className:Ce.itemWrap},Pe==null?void 0:Pe.map((tt,Te)=>me.createElement("div",{className:Ce.item,key:Te},me.createElement(ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:tt==null?void 0:tt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(pt){for(let Qe in tt==null?void 0:tt.data)if(pt==(tt==null?void 0:tt.data[Qe].name))return pt+" "+(tt==null?void 0:tt.data[Qe].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:tt==null?void 0:tt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:tt==null?void 0:tt.data}]},style:{height:145}}))))))},91604:function(Yt,Dt,Be){"use strict";var me=Be(86204),Ce=Be.n(me),Me=Object.defineProperty,nt=(we,Ne,ge)=>Ne in we?Me(we,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ge}):we[Ne]=ge,ze=(we,Ne,ge)=>nt(we,typeof Ne!="symbol"?Ne+"":Ne,ge),je=(we,Ne,ge)=>new Promise((De,xe)=>{var Ee=a=>{try{y(ge.next(a))}catch(ee){xe(ee)}},ie=a=>{try{y(ge.throw(a))}catch(ee){xe(ee)}},y=a=>a.done?De(a.value):Promise.resolve(a.value).then(Ee,ie);y((ge=ge.apply(we,Ne)).next())});class ve extends me.EventEmitter{constructor(Ne,ge){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=Ne,this.body=ge}startStream(){return je(this,null,function*(){this.controller=new AbortController;const{signal:Ne}=this.controller;try{const ge=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ne});if(!ge.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ge.status}`);const De=ge.headers.get("content-type");if(!De)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(De.includes("application/json")){const ie=yield ge.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=ge.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(ge){ge.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ge.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},40783:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return De}});var me=Be(59301),Ce={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Me=Be(92310),nt=Be.n(Me),ze=Be(71418),je=Be(2859),ve=Be(43597),we=Be(94601),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,me.useRef)(null),ae=(0,me.useRef)(null),de=(0,me.useRef)(null),Le=(0,me.useRef)(null),[Pe,Ue]=(0,me.useState)(!1),[Ge,Ze]=(0,me.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,me.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),xe!=null&&xe.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",xe!=null&&xe.src&&tt()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[xe==null?void 0:xe.visible]);const tt=()=>Ne(void 0,null,function*(){Ue(!0),Ze("\u6B63\u5728\u52A0\u8F7D\u4E2D");const it=yield(0,we.ZJ)(xe==null?void 0:xe.src);ne.current.src="",ne.current.src=it,ne.current.onload=function(){Lt()},Ue(!1),Ze("")}),Te=()=>{document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",a()},pt=it=>Ne(void 0,null,function*(){Ue(!0),Ze("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ot=yield(0,ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:xe.title,file:it.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(it.state)}})).status===0&&ee():ot!=null&&ot.id&&ee(ot),document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",Ue(!1),Ze("")}),Qe=()=>{const it=document.querySelector('a[href="https://markerjs.com/"]');it&&it.parentNode&&(it.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(St=>{const lt=document.querySelector(St.name);lt&<.setAttribute("title",St.title)})},Lt=()=>{ae.current=new je.hP(ne.current),ae.current.targetRoot=Le.current,ae.current.addEventListener("render",pt),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 me.createElement(me.Fragment,null,(xe==null?void 0:xe.visible)&&me.createElement(ze.Z,{spinning:Pe,tip:Ge,style:{position:"absolute"}},me.createElement("div",{ref:Le,className:nt()(Ce.imageDimensions,Ee,ie?Ce.fullWidth:""),style:y},me.createElement("img",{className:Ce.img,ref:ne}))))}},57765:function(Yt,Dt,Be){"use strict";var me=Be(59301),Ce=Be(95237),Me=Be(43604),nt=Be(99313),ze=Be(3113),je=Be(17410),ve=Be(32313),we=Be(48136),Ne=Be(59301);const ge=(0,me.forwardRef)(({callback:De,showSaveButton:xe,value:Ee=""},ie)=>{const y=(0,me.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,de)=>Ne.createElement(Me.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(Me.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,de)=>Ne.createElement(Me.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(Me.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 de=ae.innerText;return De&&De(de),de};return(0,me.useImperativeHandle)(ie,()=>({getData:ne})),Ne.createElement("div",{className:ve.Z.mathWrap},Ne.createElement(nt.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=ge},4034:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return pt}});var me=Be(59301),Ce=Be(92123),Me=Be(43418),nt=Be(78241),ze=Be(8591),je=Be(71418),ve=Be(17574),we=Be(95237),Ne=Be(43604),ge=Be(6848),De=Be(92832),xe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Ee=Be(18581),ie=Be(86914),y=Be(62556),a=Be(15817),ee=Object.defineProperty,E=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,Le=(Qe,Lt,it)=>Lt in Qe?ee(Qe,Lt,{enumerable:!0,configurable:!0,writable:!0,value:it}):Qe[Lt]=it,Pe=(Qe,Lt)=>{for(var it in Lt||(Lt={}))ae.call(Lt,it)&&Le(Qe,it,Lt[it]);if(ne)for(var it of ne(Lt))de.call(Lt,it)&&Le(Qe,it,Lt[it]);return Qe},Ue=(Qe,Lt)=>E(Qe,te(Lt)),Ge=(Qe,Lt)=>{var it={};for(var ot in Qe)ae.call(Qe,ot)&&Lt.indexOf(ot)<0&&(it[ot]=Qe[ot]);if(Qe!=null&&ne)for(var ot of ne(Qe))Lt.indexOf(ot)<0&&de.call(Qe,ot)&&(it[ot]=Qe[ot]);return it},Ze=(Qe,Lt,it)=>new Promise((ot,St)=>{var lt=at=>{try{ut(it.next(at))}catch(Kt){St(Kt)}},vt=at=>{try{ut(it.throw(at))}catch(Kt){St(Kt)}},ut=at=>at.done?ot(at.value):Promise.resolve(at.value).then(lt,vt);ut((it=it.apply(Qe,Lt)).next())});const tt=(Qe=[])=>Qe==null?void 0:Qe.map(Lt=>Ue(Pe({},Lt),{title:(Lt==null?void 0:Lt.value)||"",key:Lt==null?void 0:Lt.id,isLeaf:!0})),Te=Qe=>{var Lt=Qe,{user:it,children:ot,isShowComponent:St=!0,ModalProps:lt={},onDataSelect:vt}=Lt,ut=Ge(Lt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[at,Kt]=Me.default.useModal(),[Vt]=nt.default.useForm(),[mt,Tt]=(0,me.useState)([]),[wn,Qn]=(0,me.useState)(!1),[ln,Tn]=(0,me.useState)(!1),[,Bt,Rn,qn]=(0,Ee.U)(ie.qE,{page:1,limit:9999}),[,,Xe]=(0,Ee.U)(ie.V8,{}),[,,fn]=(0,Ee.U)(ie.B$,{}),[,,Fe]=(0,Ee.U)(ie.DH,{}),[,,fe]=(0,Ee.U)(ie.bJ,{}),ce=()=>{Qn(!1),Vt.resetFields(),Tn(!1)},Se=dt=>Ze(void 0,null,function*(){const{node:He,dragNode:Ye,event:Pt}=dt,gt=dt.node.pos.split("-"),st=dt.dropPosition-Number(gt[gt.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)==(He==null?void 0:He.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Rt=yield fe({id:Ye==null?void 0:Ye.key,position:st==-1?1:(Ye==null?void 0:Ye.item_index)>(He==null?void 0:He.item_index)?(He==null?void 0:He.item_index)+1:He==null?void 0:He.item_index});(Rt==null?void 0:Rt.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Rn({},!0))}),qe=dt=>Ze(void 0,null,function*(){let He={};ln?He=yield fn(Pe({},dt)):He=yield Fe(Pe({},dt)),(He==null?void 0:He.status)==0&&(ze.ZP.success((He==null?void 0:He.message)||(ln?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Rn({},!0),ce())});return(0,me.useEffect)(()=>{lt!=null&<.open&&Rn({},!0)},[lt==null?void 0:lt.open]),(0,me.useEffect)(()=>{var dt;Tt(tt((dt=qn==null?void 0:qn.data)==null?void 0:dt.list))},[qn]),St?me.createElement(me.Fragment,null,Kt,ot,me.createElement(Me.default,Pe({},Pe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},lt)),me.createElement(je.Z,{spinning:Bt},(mt==null?void 0:mt.length)>0?me.createElement(me.Fragment,null,me.createElement(ve.default.DirectoryTree,{height:500,className:xe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:vt,treeData:mt,onDrop:Se,titleRender:dt=>me.createElement(me.Fragment,null,me.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},dt==null?void 0:dt.title),me.createElement("div",{className:`${xe.EditDom}`},me.createElement(we.Z,{wrap:!1,align:"middle",gutter:16},me.createElement(Ne.Z,null,me.createElement(ge.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},me.createElement("i",{className:`iconfont icon-tuodong1 font12 ${xe.currentPrimary}`}))),me.createElement(Ne.Z,null,me.createElement(ge.Z,{title:"\u7F16\u8F91"},me.createElement("i",{className:`iconfont icon-bianji11 font12 ${xe.currentPrimary}`,onClick:He=>{He.stopPropagation(),Vt.setFieldsValue(Pe({},dt)),Qn(!0)}}))),me.createElement(Ne.Z,null,me.createElement(ge.Z,{title:"\u5220\u9664"},me.createElement("i",{className:`iconfont icon-shanchu14 font12 ${xe.currentDelete}`,onClick:He=>{He.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:()=>Ze(void 0,null,function*(){const Ye=yield Xe({id:dt==null?void 0:dt.key});(Ye==null?void 0:Ye.status)==0&&(ze.ZP.success((Ye==null?void 0:Ye.message)||"\u5220\u9664\u6210\u529F"),Rn({},!0))})})}}))))))}),me.createElement(a.op,{className:"ml20 mt20",icon:me.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Tn(!0),Qn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):me.createElement(y.Z,{styles:{margin:"30px auto"},customText:me.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",me.createElement("a",{onClick:()=>{Tn(!0),Qn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),me.createElement(Me.default,{title:ln?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:wn,okText:ln?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{ce()},onOk:()=>{Vt.submit()}},me.createElement(nt.default,{form:Vt,onFinish:qe},ln&&me.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"),me.createElement(nt.default.Item,{hidden:!0,name:"id"}),me.createElement(nt.default.Item,{className:"mt10",name:"value"},me.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 pt=(0,Ce.connect)(({loading:Qe,user:Lt})=>({user:Lt,loading:Qe.effects}))(Te)},57560:function(Yt,Dt,Be){"use strict";Be.d(Dt,{h:function(){return ae}});var me=Be(59301),Ce=Be(57809),Me=Be(78241),nt=Be(3113),ze=Be(89780),je=Be.n(ze),ve=Be(78318),we=Be(44084),Ne=Object.defineProperty,ge=Object.defineProperties,De=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(de,Le,Pe)=>Le in de?Ne(de,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):de[Le]=Pe,a=(de,Le)=>{for(var Pe in Le||(Le={}))Ee.call(Le,Pe)&&y(de,Pe,Le[Pe]);if(xe)for(var Pe of xe(Le))ie.call(Le,Pe)&&y(de,Pe,Le[Pe]);return de},ee=(de,Le)=>ge(de,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:de,onCancel:Le})=>{const[Pe,Ue]=(0,me.useState)("python");function Ge(tt){Ue(ne[tt][1])}function Ze(tt){de(tt)}return me.createElement(Me.default,ee(a({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ze,style:{width:500}}),me.createElement(Me.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},me.createElement(Ce.default,{getPopupContainer:tt=>tt.parentNode,onChange:Ge},Object.keys(ne).map(tt=>me.createElement(E,{key:tt,value:tt},ne[tt][0])))),me.createElement(Me.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},me.createElement(ae,{mode:Pe})),me.createElement("div",{className:"flex-container flex-end"},me.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),me.createElement(nt.ZP,{type:"ghost",onClick:Le},"\u53D6\u6D88")))};function ae({value:de,onChange:Le,mode:Pe,options:Ue={}}){const Ge=(0,me.useRef)(),[Ze,tt]=(0,me.useState)();return(0,me.useEffect)(()=>{if(Ze){let Te=function(pt){const Qe=pt.getValue();Le&&Le(Qe)};return Ze.on("change",Te),()=>{Ze.off("change",Te)}}},[Ze,Le]),(0,me.useEffect)(()=>{Ze&&Ze.setOption("mode",Pe)},[Ze,Pe]),(0,me.useEffect)(()=>{Ze&&(de!==Ze.getValue()||de==="")&&setTimeout(()=>{Ze.setValue(de||"")},300)},[Ze,de]),(0,me.useEffect)(()=>{if(Ge.current&&!Ze){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));tt(Te)}},[Ge.current,Ze]),me.createElement("div",{className:"my-codemirror-container"},me.createElement("textarea",{ref:Ge}))}},55659:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return ti}});var me=Be(59301),Ce=Be(89780),Me=Be.n(Ce),nt=Be(76374),ze=Be(78318),je=Be(6313),ve=Be(25717),we=Be(99498),Ne=Be(25419),ge=Be(67549),De=Be(17410),xe=({value:Pn="",className:On,showTextOnly:dn,showLines:kr,style:ua={}})=>{const Ur=(0,me.useMemo)(()=>"",[Pn]);return me.createElement(me.Fragment,null,me.createElement("div",{dangerouslySetInnerHTML:{__html:Ur}}))},Ee=Be(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(Pn,On,dn)=>On in Pn?ie(Pn,On,{enumerable:!0,configurable:!0,writable:!0,value:dn}):Pn[On]=dn,ae=(Pn,On)=>{for(var dn in On||(On={}))E.call(On,dn)&&ne(Pn,dn,On[dn]);if(ee)for(var dn of ee(On))te.call(On,dn)&&ne(Pn,dn,On[dn]);return Pn},de=(Pn,On)=>y(Pn,a(On));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:Pn,title:On,icon:dn,actionName:kr,className:ua="",children:Ur}){function Ba(){Pn(kr)}return Ee.createElement("a",{title:On,className:ua,onClick:Ba},Ee.createElement("i",{className:`${dn}`}),Ur)}var Ue=({watch:Pn,showNullButton:On,showNullProgramButton:dn,onActionCallback:kr,fullScreen:ua,insertTemp:Ur,hidetoolBar:Ba,extraUse:Ma})=>{const Fa=[...Le,{title:`${Pn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Pn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ee.createElement("ul",{className:"markdown-toolbar-container"},!Ba&&Fa.map((So,Wi)=>Ee.createElement("li",{key:Wi},So.actionName?Ee.createElement(Pe,de(ae({},So),{onActionCallback:kr})):Ee.createElement("span",{className:"v-line"}))),On?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:kr},Ee.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dn?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:kr},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:kr},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ur&&Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ur}`,onActionCallback:kr},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ma&&Ee.createElement("li",null,Ma),Ee.createElement("li",{className:"btn-full-screen"},Ee.createElement(Pe,{icon:`${ua?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ua?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kr})))},Ge=Be(74254),Ze=Be(78241),tt=Be(92832),Te=Be(3113),pt=Object.defineProperty,Qe=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,lt=(Pn,On,dn)=>On in Pn?pt(Pn,On,{enumerable:!0,configurable:!0,writable:!0,value:dn}):Pn[On]=dn,vt=(Pn,On)=>{for(var dn in On||(On={}))ot.call(On,dn)&<(Pn,dn,On[dn]);if(it)for(var dn of it(On))St.call(On,dn)&<(Pn,dn,On[dn]);return Pn},ut=(Pn,On)=>Qe(Pn,Lt(On));const at={labelCol:{span:4},wrapperCol:{span:20}};var Kt=({callback:Pn,onCancel:On})=>{function dn(kr){Pn(kr)}return me.createElement(Ze.default,ut(vt({},at),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dn,style:{width:500}}),me.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},me.createElement(tt.default,null)),me.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},me.createElement(tt.default,null)),me.createElement("div",{className:"flex-container flex-end"},me.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),me.createElement(Te.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},Vt=Be(57560),mt=Be(42307),Tt=Be(43418),wn=Be(95237),Qn=Be(40783),ln=Be(59301),Tn=({callback:Pn,onCancel:On})=>{const dn=document.createElement("canvas"),kr=dn.getContext("2d");dn.width=1e3,dn.height=800,kr.fillStyle="#ffffff",kr.fillRect(0,0,dn.width,dn.height);const ua=dn.toDataURL("image/png");return ln.createElement(Tt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ln.createElement(wn.Z,{style:{height:"100vh"}},ln.createElement(Qn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ua,visible:!0,title:String(Date.now())},onOk:Ur=>{Pn({src:Ur.url})},onClose:On})))},Bt=Be(12378);function Rn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Rn,go.CommandHandler),Rn.prototype.canAlignSelection=function(){var Pn=this.diagram;return!(Pn===null||Pn.isReadOnly||Pn.isModelReadOnly||Pn.selection.count<2)},Rn.prototype.alignLeft=function(){var Pn=this.diagram;Pn.startTransaction("aligning left");var On=1/0;Pn.selection.each(function(dn){dn instanceof go.Link||(On=Math.min(dn.position.x,On))}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(On,dn.position.y))}),Pn.commitTransaction("aligning left")},Rn.prototype.alignRight=function(){var Pn=this.diagram;Pn.startTransaction("aligning right");var On=-1/0;Pn.selection.each(function(dn){if(!(dn instanceof go.Link)){var kr=dn.actualBounds.x+dn.actualBounds.width;On=Math.max(kr,On)}}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(On-dn.actualBounds.width,dn.position.y))}),Pn.commitTransaction("aligning right")},Rn.prototype.alignTop=function(){var Pn=this.diagram;Pn.startTransaction("alignTop");var On=1/0;Pn.selection.each(function(dn){dn instanceof go.Link||(On=Math.min(dn.position.y,On))}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(dn.position.x,On))}),Pn.commitTransaction("alignTop")},Rn.prototype.alignBottom=function(){var Pn=this.diagram;Pn.startTransaction("aligning bottom");var On=-1/0;Pn.selection.each(function(dn){if(!(dn instanceof go.Link)){var kr=dn.actualBounds.y+dn.actualBounds.height;On=Math.max(kr,On)}}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(dn.actualBounds.x,On-dn.actualBounds.height))}),Pn.commitTransaction("aligning bottom")},Rn.prototype.alignCenterX=function(){var Pn=this.diagram,On=Pn.selection.first();if(On){Pn.startTransaction("aligning Center X");var dn=On.actualBounds.x+On.actualBounds.width/2;Pn.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(dn-kr.actualBounds.width/2,kr.actualBounds.y))}),Pn.commitTransaction("aligning Center X")}},Rn.prototype.alignCenterY=function(){var Pn=this.diagram,On=Pn.selection.first();if(On){Pn.startTransaction("aligning Center Y");var dn=On.actualBounds.y+On.actualBounds.height/2;Pn.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(kr.actualBounds.x,dn-kr.actualBounds.height/2))}),Pn.commitTransaction("aligning Center Y")}},Rn.prototype.alignColumn=function(Pn){var On=this.diagram;On.startTransaction("align Column"),Pn===void 0&&(Pn=0),Pn=parseFloat(Pn);var dn=new Array;On.selection.each(function(Ma){Ma instanceof go.Link||dn.push(Ma)});for(var kr=0;kr0){for(var Ma=Ur.elt(Ba-1);Ma!==null&&Ma.isTreeExpanded&&!Ma.isTreeLeaf;){var Fa=this._sortTreeChildrenByY(Ma);Ma=Fa.last()}Ma!==null&&Pn.select(Ma)}else Pn.select(ua)}}else if(dn.key==="Down")if(On.isTreeExpanded&&!On.isTreeLeaf){var kr=this._sortTreeChildrenByY(On).first();kr!==null&&Pn.select(kr)}else for(;On!==null;){var ua=On.findTreeParentNode();if(ua===null)break;var Ur=this._sortTreeChildrenByY(ua),Ba=Ur.indexOf(On);if(BaUr.y?1:ua.xUr.x?1:0}),On},Rn.prototype.copyToClipboard=function(Pn){go.CommandHandler.prototype.copyToClipboard.call(this,Pn),this._lastPasteOffset.set(this.pasteOffset)},Rn.prototype.pasteFromClipboard=function(){var Pn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Pn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Pn},Object.defineProperty(Rn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Pn){if(Pn!=="move"&&Pn!=="select"&&Pn!=="scroll"&&Pn!=="tree"&&Pn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Pn);this._arrowKeyBehavior=Pn}}),Object.defineProperty(Rn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Pn){if(!(Pn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Pn);this._pasteOffset.set(Pn)}});var qn=Rn,Xe=Be(6404),fn=Be(43604),Fe=Be(43597),fe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=Be(59301),Se=(Pn,On,dn)=>new Promise((kr,ua)=>{var Ur=Fa=>{try{Ma(dn.next(Fa))}catch(So){ua(So)}},Ba=Fa=>{try{Ma(dn.throw(Fa))}catch(So){ua(So)}},Ma=Fa=>Fa.done?kr(Fa.value):Promise.resolve(Fa.value).then(Ur,Ba);Ma((dn=dn.apply(Pn,On)).next())});function qe({onCancel:Pn,callback:On}){let dn=(0,me.useRef)(),kr=(0,me.useRef)(),ua=(0,me.useRef)(),Ur=(0,me.useRef)(!1);const Ba=(0,me.useRef)(!1),[Ma,Fa]=(0,me.useState)(0);function So(){const Fr=Bt.bx.make,Ha={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"};dn.current=new Bt.S0(kr.current,{padding:20,grid:Fr(Bt.s_,"Grid",Fr(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Fr(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Yr=>{var _a=Yr.diagram.commandHandler.addTopLevelParts(Yr.diagram.selection,!0);_a||Yr.diagram.currentTool.doCancel()},commandHandler:Fr(qn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Yr=>{var _a=Yr.subject;_a.location=_a.location.copy().snapToGridPoint(Yr.diagram.grid.gridOrigin,Yr.diagram.grid.gridCellSize),setTimeout(()=>{Yr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Yr=>{var _a=Yr.subject;setTimeout(()=>{Yr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Yr=>{var _a=Yr.parameter.part;_a.invalidateConnectedLinks();var To=Yr.subject;Yr.diagram.toolManager.linkingTool.isForwards?To.toNode.invalidateConnectedLinks():To.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dn.current.nodeTemplate=Fr(Bt.NB,"Auto",{locationSpot:Bt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Bt.$u(120,60),minSize:new Bt.$u(40,40),resizable:!0,resizeCellSize:new Bt.$u(10,10),rotatable:!0},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),new Bt.KX("desiredSize","size",Bt.$u.parse).makeTwoWay(Bt.$u.stringify),Fr(Bt.bn,{name:"SHAPE",fill:Ha.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("figure"),new Bt.KX("fill"),new Bt.KX("stroke","borderColor"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Fr(Bt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Fr(Bt.al,{margin:1,textAlign:"center",overflow:Bt.al.OverflowEllipsis,editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),dn.current.nodeTemplate.toolTip=Fr("ToolTip",Fr(Bt.s_,"Vertical",{maxSize:new Bt.$u(200,NaN)},Fr(Bt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Bt.KX("text")),Fr(Bt.al,{font:"10pt sans-serif",textAlign:"center"},new Bt.KX("text","details"))));function xi(Yr,_a){var To=(Pa,Fi)=>{Pa.handled=!0,Pa.diagram.model.commit(Yi=>{var Ps=Fi.part.adornedPart,PA=new Bt.E9().setRectSpot(Ps.actualBounds,Yr);PA.subtract(Ps.location),PA.scale(2,2),PA.x+=Math.sign(PA.x)*130,PA.y+=Math.sign(PA.y)*130,PA.add(Ps.location),PA.snapToGridPoint(Pa.diagram.grid.gridOrigin,Pa.diagram.grid.gridCellSize);var xA=Yi.copyNodeData(Ps.data);Yi.setGroupKeyForNodeData(xA,Yi.getGroupKeyForNodeData(Ps.data)),Yi.addNodeData(xA);var Li={from:Ps.key,to:Yi.getKeyForNodeData(xA)};Yi.addLinkData(Li);var Oa=Pa.diagram.findNodeForData(xA);Oa.location=PA,Pa.diagram.select(Oa),setTimeout(()=>{Pa.diagram.commandHandler.editTextBlock()},20)})};return Fr(Bt.bn,{figure:_a,alignment:Yr,alignmentFocus:Yr.opposite(),width:Yr.equals(Bt.z6.Top)||Yr.equals(Bt.z6.Bottom)?25:18,height:Yr.equals(Bt.z6.Top)||Yr.equals(Bt.z6.Bottom)?18:25,fill:"orange",stroke:Ha.white,strokeWidth:4,mouseEnter:(Pa,Fi)=>Fi.fill="dodgerblue",mouseLeave:(Pa,Fi)=>Fi.fill="orange",isActionable:!0,click:To,contextClick:To})}function ai(Yr){return Fr(Bt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(_a,To)=>To.fill="dodgerblue",mouseLeave:(_a,To)=>To.fill="orange",click:(_a,To)=>{_a.diagram.commandHandler.showContextMenu(To.part.adornedPart)}},Yr||{})}dn.current.nodeTemplate.selectionAdornmentTemplate=Fr(Bt.uz,"Spot",Fr(Bt.Vm,{padding:10}),xi(Bt.z6.Top,"TriangleUp"),xi(Bt.z6.Left,"TriangleLeft"),xi(Bt.z6.Right,"TriangleRight"),xi(Bt.z6.Bottom,"TriangleDown"),ai({alignment:new Bt.z6(.75,0)}));function di(Yr,_a){return(To,Pa)=>{To.handled=!0,To.diagram.model.commit(Fi=>{Fi.set(Pa.part.adornedPart.data,Yr,_a)})}}function Lo(Yr,_a){return _a||(_a="color"),Fr(Bt.bn,{width:16,height:16,stroke:"lightgray",fill:Yr,margin:1,background:"transparent",mouseEnter:(To,Pa)=>Pa.stroke="dodgerblue",mouseLeave:(To,Pa)=>Pa.stroke="lightgray",click:di(_a,Yr),contextClick:di(_a,Yr)})}function os(){return[Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",Lo(Ha.white,"fill"),Lo(Ha.beige,"fill"),Lo(Ha.extralightblue,"fill"),Lo(Ha.extralightred,"fill"))),Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",Lo(Ha.lightgray,"fill"),Lo(Ha.lightgreen,"fill"),Lo(Ha.lightblue,"fill"),Lo(Ha.lightred,"fill")))]}function js(){return[Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",Lo(Ha.black),Lo(Ha.green),Lo(Ha.blue),Lo(Ha.red))),Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",Lo(Ha.white),Lo(Ha.magenta),Lo(Ha.purple),Lo(Ha.orange)))]}function Es(Yr,_a){return _a||(_a="thickness"),Fr(Bt.bn,"LineH",{width:16,height:16,strokeWidth:Yr,margin:1,background:"transparent",mouseEnter:(To,Pa)=>Pa.background="dodgerblue",mouseLeave:(To,Pa)=>Pa.background="transparent",click:di(_a,Yr),contextClick:di(_a,Yr)})}function wA(Yr,_a){return _a||(_a="dash"),Fr(Bt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Yr,margin:1,background:"transparent",mouseEnter:(To,Pa)=>Pa.background="dodgerblue",mouseLeave:(To,Pa)=>Pa.background="transparent",click:di(_a,Yr),contextClick:di(_a,Yr)})}function Ys(){return[Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",Es(1),Es(2),Es(3),Es(4))),Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",wA(null),wA([2,4]),wA([4,4])))]}function ki(Yr,_a){return _a||(_a="figure"),Fr(Bt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Yr,margin:1,background:"transparent",mouseEnter:(To,Pa)=>Pa.fill="dodgerblue",mouseLeave:(To,Pa)=>Pa.fill="lightgray",click:di(_a,Yr),contextClick:di(_a,Yr)})}dn.current.nodeTemplate.contextMenu=Fr("ContextMenu",Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",ki("Rectangle"),ki("RoundedRectangle"),ki("Ellipse"),ki("Diamond"))),Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",ki("Parallelogram2"),ki("ManualOperation"),ki("Procedure"),ki("Cylinder1"))),Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",ki("Terminator"),ki("CreateRequest"),ki("Document"),ki("TriangleDown"))),os(),js(),Ys()),dn.current.groupTemplate=Fr(Bt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Bt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Yr,_a)=>{var To=_a.addMembers(_a.diagram.selection,!0);To||_a.diagram.currentTool.doCancel()},avoidable:!1},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),Fr(Bt.s_,"Auto",{name:"BODY"},Fr(Bt.bn,{parameter1:10,fill:Ha.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("fill"),new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Fr(Bt.Vm,{background:"transparent",margin:20})),Fr(Bt.al,{alignment:Bt.z6.Top,alignmentFocus:Bt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Bt.KX("text"),new Bt.KX("stroke","color"))),dn.current.groupTemplate.selectionAdornmentTemplate=Fr(Bt.uz,"Spot",Fr(Bt.s_,"Auto",Fr(Bt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Fr(Bt.Vm,{margin:1.5})),ai({alignment:Bt.z6.TopRight,alignmentFocus:Bt.z6.BottomRight})),dn.current.groupTemplate.contextMenu=Fr("ContextMenu",os(),js(),Ys()),dn.current.linkTemplate=Fr(Bt.rU,{layerName:"Foreground",routing:Bt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Bt.KX("fromSpot","fromSpot",Bt.z6.parse),new Bt.KX("toSpot","toSpot",Bt.z6.parse),new Bt.KX("fromShortLength","dir",Yr=>Yr>=1?10:0),new Bt.KX("toShortLength","dir",Yr=>Yr>=1?10:0),new Bt.KX("points").makeTwoWay(),Fr(Bt.bn,{strokeWidth:2},new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Fr(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,0),segmentOrientation:Bt.rU.OrientAlong,alignmentFocus:Bt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Yr=>Yr===1)),Fr(Bt.bn,{segmentIndex:-1,segmentOffset:new Bt.E9(-10,6),segmentOrientation:Bt.rU.OrientPlus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Yr=>Yr>=1),new Bt.KX("width","thickness",Yr=>7+3*Yr),new Bt.KX("height","thickness",Yr=>7+3*Yr),new Bt.KX("segmentOffset","thickness",Yr=>new Bt.E9(-15,4+1.5*Yr))),Fr(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,-6),segmentOrientation:Bt.rU.OrientMinus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Yr=>Yr===2),new Bt.KX("width","thickness",Yr=>7+3*Yr),new Bt.KX("height","thickness",Yr=>7+3*Yr),new Bt.KX("segmentOffset","thickness",Yr=>new Bt.E9(-15,4+1.5*Yr))),Fr(Bt.al,{alignmentFocus:new Bt.z6(0,1,-4,0),editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),dn.current.linkTemplate.selectionAdornmentTemplate=Fr(Bt.uz,Fr(Bt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:EA(2)},new Bt.KX("pathPattern","thickness",EA)),ai({alignmentFocus:new Bt.z6(0,0,-6,-4)}));function EA(Yr){return Fr(Bt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Yr+4).toString()+" H3"})}function Sl(Yr){var _a="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Yr===0?_a="M0 0 M16 16 M0 8 L16 8":Yr===2&&(_a="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Fr(Bt.bn,{geometryString:_a,margin:2,background:"transparent",mouseEnter:(To,Pa)=>Pa.background="dodgerblue",mouseLeave:(To,Pa)=>Pa.background="transparent",click:di("dir",Yr),contextClick:di("dir",Yr)})}function gA(Yr){var _a=(To,Pa)=>{To.handled=!0,To.diagram.model.commit(Fi=>{var Yi=Pa.part.adornedPart;Fi.set(Yi.data,Yr?"toSpot":"fromSpot",Bt.z6.stringify(Bt.z6.AllSides)),(Yr?Yi.toNode:Yi.fromNode).invalidateConnectedLinks()})};return Fr(Bt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(To,Pa)=>Pa.background="dodgerblue",mouseLeave:(To,Pa)=>Pa.background="transparent",click:_a,contextClick:_a})}function Or(Yr,_a){var To=0,Pa=Bt.z6.RightSide;Yr.equals(Bt.z6.Top)?(To=270,Pa=Bt.z6.TopSide):Yr.equals(Bt.z6.Left)?(To=180,Pa=Bt.z6.LeftSide):Yr.equals(Bt.z6.Bottom)&&(To=90,Pa=Bt.z6.BottomSide),_a||(To-=180);var Fi=(Yi,Ps)=>{Yi.handled=!0,Yi.diagram.model.commit(PA=>{var xA=Ps.part.adornedPart;PA.set(xA.data,_a?"toSpot":"fromSpot",Bt.z6.stringify(Pa)),(_a?xA.toNode:xA.fromNode).invalidateConnectedLinks()})};return Fr(Bt.bn,{alignment:Yr,alignmentFocus:Yr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:To,background:"transparent",mouseEnter:(Yi,Ps)=>Ps.background="dodgerblue",mouseLeave:(Yi,Ps)=>Ps.background="transparent",click:Fi,contextClick:Fi})}dn.current.linkTemplate.contextMenu=Fr("ContextMenu",js(),Ys(),Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",Sl(0),Sl(1),Sl(2))),Fr("ContextMenuButton",Fr(Bt.s_,"Horizontal",Fr(Bt.s_,"Spot",gA(!1),Or(Bt.z6.Top,!1),Or(Bt.z6.Left,!1),Or(Bt.z6.Right,!1),Or(Bt.z6.Bottom,!1)),Fr(Bt.s_,"Spot",{margin:new Bt.Zt(0,0,0,2)},gA(!0),Or(Bt.z6.Top,!0),Or(Bt.z6.Left,!0),Or(Bt.z6.Right,!0),Or(Bt.z6.Bottom,!0)))));const _c=`{ "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 fu=["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 hu(Yr){return console.log("shapeName:",Yr),fu.indexOf(Yr)>=0}var bl=new Bt.YI(ua.current,{maxSelectionCount:1,linkTemplate:Fr(Bt.rU,{locationSpot:Bt.z6.Center,selectionAdornmentTemplate:Fr(Bt.uz,"Link",{locationSpot:Bt.z6.Center},Fr(Bt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Fr(Bt.bn,{toArrow:"Standard",stroke:null}))},{routing:Bt.rU.AvoidsNodes,curve:Bt.rU.JumpOver,corner:5,toShortLength:4},new Bt.KX("points"),Fr(Bt.bn,{isPanelMain:!0,strokeWidth:2}),Fr(Bt.bn,{toArrow:"Standard",stroke:null})),model:new Bt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Bt.bn.getFigureGenerators().toArray().map(Yr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Yr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dn.current.addDiagramListener("TextEdited",function(Yr){var _a;const To=Yr.subject.part;var Pa=(_a=document.activeElement)==null?void 0:_a.value;typeof Pa=="string"&&Pa.trim()===""&&dn.current.model.commit(function(Fi){Fi.set(To.data,"text","\u672A\u547D\u540D"),dn.current.commandHandler.stopCommand()},"increment")}),bl.nodeTemplate=Fr(Bt.NB,"Auto",{locationSpot:Bt.z6.Center},new Bt.KX("location","location",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),Fr(Bt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Bt.KX("stroke").makeTwoWay(),new Bt.KX("fill").makeTwoWay(),new Bt.KX("figure")),Fr(Bt.al,{margin:new Bt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Bt.$u(16,16),maxSize:new Bt.$u(10,NaN),textAlign:"center",editable:!0},new Bt.KX("key").makeTwoWay())),setTimeout(()=>{dn.current.grid=Fr(Bt.s_,"Grid",Fr(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Fr(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dn.current.grid.visible=!0,dn.current.grid.gridCellStroke="darkgray",dn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dn.current,dn.current}const Wi=()=>Se(this,null,function*(){var Fr=dn.current.makeImage();const Ha=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Fr.src}});On({src:Ha.url})});return(0,me.useEffect)(()=>(setTimeout(()=>{So()},500),Fa(Ma+1),()=>{dn.current=null}),[]),ce.createElement("div",{ref:Ba,className:Ur.current?`${fe.maxH60} body-overflow-initial`:"body-overflow-initial"},ce.createElement(Tt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ma,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ce.createElement(wn.Z,null,ce.createElement(fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(fn.Z,{onClick:()=>{var Fr,Ha,xi=dn.current.selection.first();if(Ur.current=!Ur.current,document.activeElement&&xi){let ai=(Ha=(Fr=document.activeElement)==null?void 0:Fr.value)==null?void 0:Ha.trim();typeof ai=="string"&&dn.current.model.commit(function(di){di.set(xi.data,"text",ai||"\u672A\u547D\u540D"),dn.current.commandHandler.stopCommand()},"increment")}Fa(Ma+1)}},ce.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Pn},ce.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:fe.flowChartWrp},ce.createElement("div",{style:{display:"flex",height:"100%"}},ce.createElement("div",{style:{width:"300px",height:"100%"}},ce.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ce.createElement("div",{style:{height:"calc(100% - 50px)"},className:fe.myPaletteDiv,ref:ua})),ce.createElement("div",{style:{flex:1,position:"relative"}},ce.createElement("div",{ref:kr,style:{height:"80vh"}}))),ce.createElement("div",{className:"tr"},ce.createElement(Te.ZP,{size:"large",onClick:Wi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=qe,He=Be(5112),Ye=Be(5871);const Pt=He.ZP.Group,gt={margin:"0 8px"};var st=({callback:Pn,onCancel:On})=>{function dn(kr){Pn(kr)}return me.createElement(Ze.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dn},me.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},me.createElement("span",{style:gt},"\u5355\u5143\u683C\u6570\uFF1A"),me.createElement("span",{style:gt},"\u884C\u6570"),me.createElement(Ze.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},me.createElement(Ye.Z,null)),me.createElement("span",{style:gt},"\u5217\u6570"),me.createElement(Ze.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},me.createElement(Ye.Z,null))),me.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},me.createElement("span",{style:gt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),me.createElement(Ze.default.Item,{name:"align"},me.createElement(Pt,null,me.createElement(He.ZP,{value:"default"},me.createElement("i",{className:"fa fa-align-justify"})),me.createElement(He.ZP,{value:"left"},me.createElement("i",{className:"fa fa-align-left"})),me.createElement(He.ZP,{value:"center"},me.createElement("i",{className:"fa fa-align-center"})),me.createElement(He.ZP,{value:"right"},me.createElement("i",{className:"fa fa-align-right"}))))),me.createElement("div",{className:"flex-container flex-end"},me.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),me.createElement(Te.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},Rt=Be(78673),hn=Be(93127),It=Be.n(hn),Ft=(0,me.forwardRef)(({use3d:Pn,width:On,height:dn,callback:kr,showSaveButton:ua},Ur)=>{const Ba=(0,me.useRef)(),Ma=(0,me.useRef)(),[Fa,So]=(0,me.useState)(!1),Wi=(0,me.useRef)({id:Ba,appName:"graphing",width:On||1e3,height:dn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,me.useEffect)(()=>{Ma.current=new(It())(Wi.current,!0),window.onload=function(){Ma.current.inject("applet_container")}},[]);const Fr=()=>{var Ha=window.ggbApplet.getPNGBase64(1,!0,72);return kr&&kr(Ha),Ha};return(0,me.useEffect)(()=>{Wi.current.appName=Fa?"3D":"graphing",Ma.current.inject("applet_container")},[Fa]),(0,me.useEffect)(()=>{So(Pn)},[Pn]),(0,me.useImperativeHandle)(Ur,()=>({getImgData:Fr})),me.createElement(me.Fragment,null,me.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ba}),me.createElement(wn.Z,{align:"middle"},me.createElement(fn.Z,{flex:1},me.createElement(Rt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Fa,onChange:Ha=>So(Ha)})),me.createElement(fn.Z,null,me.createElement(Te.ZP,{size:"large",onClick:Fr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=Be(57765),At=Be(1012),Jt=Be(8591);const gn="link",pn="upload-image",Yn="add-flowchart",ir="draw-image",yr="add-flowchart",Cr="code-block",ur="add-table",ar="------------",Ar={default:ar,left:`:${ar}`,center:`:${ar}:`,right:`${ar}:`};var Er=Be(61346),ea=(Pn,On,dn)=>new Promise((kr,ua)=>{var Ur=Fa=>{try{Ma(dn.next(Fa))}catch(So){ua(So)}},Ba=Fa=>{try{Ma(dn.throw(Fa))}catch(So){ua(So)}},Ma=Fa=>Fa.done?kr(Fa.value):Promise.resolve(Fa.value).then(Ur,Ba);Ma((dn=dn.apply(Pn,On)).next())});function ya(){}let Tr=0;const qa=1e4,Za="\u2581",_r="@\u2581\u2581@",rn="@\u2581@",ei=` **\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`,vo=["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 ci(Pn){return/^\d+$/.test(Pn)?`${Pn}px`:Pn}const Fo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ki={[Fo+"-B"]:"bold",[Fo+"-I"]:"italic"},Gi={[gn]:"\u6DFB\u52A0\u94FE\u63A5",[Cr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[pn]:"\u6DFB\u52A0\u56FE\u7247",[ir]:"\u6DFB\u52A0\u753B\u56FE",[Yn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ur]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ti=({defaultValue:Pn="",onChange:On,width:dn="100%",height:kr=400,miniToolbar:ua=!1,isFocus:Ur=!1,watch:Ba,insertTemp:Ma,mode:Fa="markdown",id:So="markdown-editor-id",showResizeBar:Wi=!1,noStorage:Fr=!1,showNullButton:Ha=!1,showNullProgramButton:xi=!1,hidetoolBar:ai=!1,fullScreen:di=!1,onBlur:Lo,onCMBeforeChange:os,onFullScreen:js,className:Es="",disablePaste:wA=!1,disabled:Ys=!1,disabledFill:ki=!1,placeholder:EA="",values:Sl="",extraUse:gA})=>{const[Or,_c]=(0,me.useState)(null),[fu,hu]=(0,me.useState)(Pn),[bl,Yr]=(0,me.useState)(Ba),[_a,To]=(0,me.useState)(di),[Pa,Fi]=(0,me.useState)(""),[Yi,Ps]=(0,me.useState)(0),[PA,xA]=(0,me.useState)(kr),[Li,Oa]=(0,me.useState)(!1),Bc=(0,me.useRef)((0,At.Z)()),Hu=(0,me.useRef)(!1),Fu=(0,me.useRef)(),[Cl,Lu]=(0,me.useState)(0),[Jl,jl]=(0,me.useState)(0),ql=(0,me.useRef)(),dl=(0,me.useRef)(),rr=(0,me.useRef)(),Zn=(0,me.useRef)(),cr=()=>ea(void 0,null,function*(){var Jr;const jr=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Bc.current}});(Jr=jr==null?void 0:jr.attachments)!=null&&Jr.length&&(console.log("cm:",Or,ql),jr.attachments.map(Wt=>{Wt.content_type.indexOf("image")>-1?Or.replaceSelection(`![,](/api/attachments/${Wt.id}?type=${Wt.content_type})`):Wt.content_type.indexOf("video")>-1?Or.replaceSelection(``):Wt.content_type.indexOf("pdf")>-1?Or.replaceSelection(`${Wt.name}`):Or.replaceSelection(`[${Wt.name}](${ENV.API_SERVER}/api/attachments/${Wt.id}?type=${Wt.content_type})`)}))});(0,me.useEffect)(()=>{const Jr=window.scrollY||window.pageYOffset;hu(Sl),Or==null||Or.setValue(Sl),window.scrollTo(0,Jr)},[Sl]),(0,me.useEffect)(()=>{js==null||js(_a)},[_a]),(0,me.useEffect)(()=>{if(ql.current){let Jr=function(Wt,Qt){var xn;if(wA){Qt.preventDefault();return}const sr=Qt.clipboardData;if(sr){const ta=sr.types.toString(),ma=sr.items;if(ta==="Files"||sr.types.indexOf("Files")>-1){if(Qt.preventDefault(),Fa=="stex")return;try{let oa=ma[1];((xn=ma[0])==null?void 0:xn.kind)==="file"&&(oa=ma[0]);const Dr=oa.getAsFile(),sa=Dr.name.split(".").pop();(0,mt.I)(Dr,Qa=>{var Co,wi,La;Qa.id?((Co=Dr==null?void 0:Dr.type)==null?void 0:Co.indexOf("image"))>-1?jr.replaceSelection(``):((wi=Dr==null?void 0:Dr.type)==null?void 0:wi.indexOf("video"))>-1?jr.replaceSelection(``):((La=Dr==null?void 0:Dr.type)==null?void 0:La.indexOf("pdf"))>-1?jr.replaceSelection(`${Dr.name}`):vo.includes(sa)?jr.replaceSelection(`${Dr.name}`):jr.replaceSelection(`[${Dr.name}](/api/attachments/${Qa.id}?type=${Qa.content_type})`):(Qa==null?void 0:Qa.status)===401&&(Jt.ZP.warning((Qa==null?void 0:Qa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(oa){Jt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jr=Me().fromTextArea(ql.current,{mode:Fa,lineNumbers:!ua,lineWrapping:!0,value:Pn,autoCloseTags:!xi,autoCloseBrackets:!0});return jr.on("keyup",function(Wt,Qt){Qt.keyCode===8&&(Wt.getValue()==""?jr.setOption("placeholder",EA):jr.setOption("placeholder",null))}),jr.on("keydown",function(Wt,Qt){if(Qt.keyCode===8){var xn=zt(Wt);xn&&Qt.preventDefault()}}),Ur&&jr.focus(),jr.on("paste",Jr),jr.on("dragleave",function(Wt,Qt){dl.current.classList.remove("mouse-hover-md")}),Ys&&jr.on("beforeChange",function(Wt,Qt){(Qt.origin==="paste"||Qt.origin==="+input")&&Qt.cancel()}),_c(jr),()=>{jr.off("paste",Jr)}}},[]);const Xr=(0,me.useCallback)(()=>{if(dl.current)try{}catch(Jr){console.log(Jr,"---- to set md editor body height")}},[PA,dl,_a]);(0,me.useEffect)(()=>{function Jr(){let jr=new nt.Z(Wt=>{for(let Qt of Wt)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&(Xr(),Or.setSize("100%","100%"),Or.refresh())});return jr.observe(ql.current.parentElement),jr}if(Or){const jr=Jr();return()=>{var Wt,Qt;(Wt=ql.current)!=null&&Wt.parentElement&&jr.unobserve((Qt=ql.current)==null?void 0:Qt.parentElement)}}},[Or,Xr]),(0,me.useEffect)(()=>{if(Or){let Jr=[];for(const[jr,Wt]of Object.entries(Ki)){let Qt={[jr]:()=>{Io(Wt)}};Jr.push(Qt),Or.addKeyMap(Qt)}return Fu.current=setInterval(()=>{Hu.current&&cr()},4e3),()=>{clearInterval(Fu.current);for(let jr of Jr)Or.removeKeyMap(jr)}}},[Or]),(0,me.useEffect)(()=>{di!==_a&&To(di)},[di]),(0,Er.Z)(()=>{if(!Fr&&Yi>0){let Jr=new Date().getTime(),jr=window.sessionStorage.getItem(So);Jr>=Yi+qa&&(!jr||jr!==fu)&&(window.sessionStorage.setItem(So,fu),Oa(!0))}},qa),(0,me.useEffect)(()=>{Yr(Ba)},[Or,Ba]),(0,me.useEffect)(()=>{Or&&Ur&&Or.focus()},[Or,Ur]),(0,me.useEffect)(()=>{if(bl&&Or){let Jr=function(Wt){let Qt=Wt.target;if(Zn.current){let xn=Qt.scrollTop/Qt.scrollHeight;Zn.current.scrollTop=Zn.current.scrollHeight*xn}};const jr=Or.getScrollerElement();return jr.addEventListener("scroll",Jr),()=>{jr.removeEventListener("scroll",Jr)}}},[Or,bl]),(0,me.useEffect)(()=>{if(Or&&os){let Jr=function(jr,Wt){os(jr,Wt)};return Or.on("beforeChange",Jr),()=>{Or.off("beforeChange",Jr)}}},[Or,os]),(0,me.useEffect)(()=>{if(Or&&Lo){let Jr=function(){Lo(Or.getValue())};return Or.on("blur",Jr),()=>{Or.off("blur",Jr)}}},[Or,Lo]);function zt(Jr,jr){var Wt=Jr.getDoc(),Qt=Wt.getCursor(),xn=Wt.getLine(Qt.line),sr=xn.charAt(Qt.ch-1),ta=xn.lastIndexOf("@\u2581@",Qt.ch),ma=xn.lastIndexOf("@\u2581\u2581@",Qt.ch),oa=ta>ma?ta:ma,Dr=ta>ma?3:4;if(_r.indexOf(sr)===-1)return null;if(console.log("change1:",jr,Jr,xn,Qt,oa,ta,ma,sr),oa>=0&&Qt.ch-oa<5){var sa=oa+Dr;return Wt.replaceRange("",{line:Qt.line,ch:oa},{line:Qt.line,ch:sa}),{line:Qt.line,ch:sa}}return null}(0,me.useEffect)(()=>{if(Or){let Jr=function(jr,Wt){const Qt=jr.getValue();hu(Qt),Ps(new Date().getTime()),jr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),On&&(xi?On(Qt,zo(Qt)):On(Qt))};return Or.on("change",Jr),()=>{Or.off("change",Jr)}}},[Or,On]),(0,me.useEffect)(()=>{if(Or)if(Pn==null)Or.setValue(""),hu("");else{const Jr=window.scrollY||window.pageYOffset;Pn!==Or.getValue()&&(Or.setValue(Pn),hu(Pn),Or.setCursor(Ys?1:Or.lineCount(),0),window.scrollTo(0,Jr))}},[Or,Pn]);const Io=(0,me.useCallback)(Jr=>{const jr=Or.getCursor(),Wt=Or.getSelection();let Qt=Wt.split(` `);switch(Jr){case"bold":return Or.replaceSelection("**"+Wt+"**"),Wt===""&&Or.setCursor(jr.line,jr.ch+2),Or.focus();case"italic":return Or.replaceSelection("*"+Wt+"*"),Wt===""&&Or.setCursor(jr.line,jr.ch+1),Or.focus();case"code":return Or.replaceSelection("`"+Wt+"`"),Wt===""&&Or.setCursor(jr.line,jr.ch+1),Or.focus();case"inline-latex":return Fi("inline-latex"),Or.focus();case"latex":return Or.replaceSelection("```latex\n"+Wt+"\n```"),Or.setCursor(jr.line+1,Wt.length+1),Or.focus();case"line-break":return Or.replaceSelection(`
`),Or.focus();case"list-ul":return Wt===""?Or.replaceSelection("- "+Wt):Or.replaceSelection(Qt.map(xn=>xn===""?"":`- ${xn}`).join(` `)),Or.focus();case"list-ol":return Wt===""?Or.replaceSelection("1. "+Wt):Or.replaceSelection(Qt.map((xn,sr)=>xn===""?"":`${sr+1}. ${xn}`).join(` `)),Or.focus();case"add-null-ch":return Wt===""&&Or.setCursor(jr.line,jr.ch),Or.replaceSelection(Za),Or.focus();case"add-signal":return Wt===""&&Or.setCursor(jr.line,jr.ch),Or.replaceSelection(rn),Or.focus();case"add-multiple":return Wt===""&&Or.setCursor(jr.line,jr.ch),Or.replaceSelection(_r),Or.focus();case"inster-template-1":return Wt===""&&Or.setCursor(jr.line,jr.ch),Or.replaceSelection(ei),Or.focus();case"eraser":return Or.setValue(""),Or.focus();case"trigger-watch":return Yr(!bl),Or.focus();case"trigger-full-screen":return To(!_a),Or.focus();case gn:Fi(gn);return;case Cr:Fi(Cr);return;case pn:Fi(pn);return;case ir:Fi(ir);return;case"maths-latex":Fi("maths-latex");return;case Yn:Fi(Yn);return;case ur:Fi(ur);return;default:throw new Error}},[Or,bl,_a]),Hr=(0,me.useCallback)((Jr,jr)=>{var Wt,Qt,xn,sr,ta,ma;switch(Fi(""),Pa){case gn:const{title:Co,link:wi}=Jr;return Or.replaceSelection(`[${Co}](${wi})`),Or.focus();case Cr:const{language:La,content:ss}=Jr;return Or.replaceSelection(["```"+La,ss,"```"].join(` `)),Or.focus();case"maths-latex":for(var oa=atob(Jr),Dr=new Uint8Array(oa.length),sa=0;sa{Ms.id?Or.replaceSelection(`![,](/api/attachments/${Ms.id}?type=${Ms.content_type})`):(Ms==null?void 0:Ms.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Or.replaceSelection("`$$"+Jr+"$$`");break;case pn:case ir:case yr:const{src:oi,alt:gi}=Jr,Gr=jr,Ia=(xn=(Qt=(Wt=Gr==null?void 0:Gr.name)==null?void 0:Wt.split("."))==null?void 0:Qt.pop)==null?void 0:xn.call(Qt);return((sr=Gr==null?void 0:Gr.type)==null?void 0:sr.indexOf("image"))>-1||!(Gr!=null&&Gr.type)?Gr.align||Gr.width?Or.replaceSelection(`

${gi||

`):Or.replaceSelection(`${gi||`):((ta=Gr==null?void 0:Gr.type)==null?void 0:ta.indexOf("video"))>-1?Or.replaceSelection(``):((ma=Gr==null?void 0:Gr.type)==null?void 0:ma.indexOf("pdf"))>-1?Or.replaceSelection(`${Gr.name}`):vo.includes(Ia)?Or.replaceSelection(`${Gr.name}`):Or.replaceSelection(`[${Gr.name}](${oi})`),Or.focus();case ur:const{row:so,col:pi,align:Zi}=Jr;let Vi=` `;for(let Ms=0;Ms{switch(Pa){case gn:return me.createElement(Kt,{callback:Hr,onCancel:za});case Cr:return me.createElement(Vt.Z,{callback:Hr,onCancel:za});case pn:return me.createElement(mt.Z,{callback:Hr,onCancel:za});case Yn:return me.createElement(dt,{callback:Hr,onCancel:za});case ur:return me.createElement(st,{callback:Hr,onCancel:za});case"maths-latex":return me.createElement(Ft,{showSaveButton:!0,callback:Hr});case"inline-latex":return me.createElement(yn.Z,{showSaveButton:!0,callback:Hr});default:return null}},[Pa]);function za(){Fi("")}(0,me.useEffect)(()=>{if(rr.current){let Jr=function(ta){xn=!0,sr=ta.pageY},jr=function(){xn=!1},Wt=function(ta){if(xn){let ma=ta.pageY-sr;ma<0&&(ma=0),ma>300&&(ma=300);let oa=kr+ma+"px";xA(oa)}},Qt=rr.current,xn=!1,sr=0;return Qt.addEventListener("mousedown",Jr),document.addEventListener("mousemove",Wt),document.addEventListener("mouseup",jr),()=>{Qt.removeEventListener("mousedown",Jr),document.removeEventListener("mousemove",Wt),document.removeEventListener("mouseup",jr)}}},[Or,rr]),(0,me.useEffect)(()=>{xA(kr)},[kr]);const mi=ci(dn),co=ci(PA),Sa={width:mi,height:co},Mo=(0,me.useMemo)(()=>{if(Yi){let Jr=new Date(Yi),jr=Jr.getHours(),Wt=Jr.getMinutes(),Qt=Jr.getSeconds();return jr=jr<10?"0"+jr:jr,Wt=Wt<10?"0"+Wt:Wt,Qt=Qt<10?"0"+Qt:Qt,`${jr}:${Wt}:${Qt}`}return 0},[Yi]),zo=Jr=>{const jr=[];if(xi){let Wt=-1;Jr=Jr.replace(/(@▁▁@|@▁@)/g,function(Qt,xn,sr){jr.push({multiLine:Qt!==rn})})}return jr};function Hs(){window.sessionStorage.removeItem(So),Oa(!1),Ps(0)}function no(){Oa(!1),Ps(0),Or.setValue(window.sessionStorage.getItem(So))}(0,me.useEffect)(()=>{Gi[Pa]&&Pa!==ir&&Pa!==Yn&&setTimeout(()=>{const Jr=document.getElementsByClassName("markdown-popup-form")[0],jr=window.innerWidth/2-Jr.offsetWidth/2,Wt=window.innerHeight/2-Jr.offsetHeight/2;Lu(jr),jl(Wt)},0)},[Pa]);const is=Jr=>{Jr.preventDefault();const jr=Jr.clientX-Cl,Wt=Jr.clientY-Jl;document.body.onmousemove=Qt=>{let xn=Qt.clientX-jr,sr=Qt.clientY-Wt;const ta=document.getElementsByClassName("markdown-popup-form")[0],ma=window.innerWidth-ta.offsetWidth,oa=window.innerHeight-ta.offsetHeight;xn=Math.max(0,Math.min(xn,ma)),sr=Math.max(0,Math.min(sr,oa)),xs(Qt.clientX,Qt.clientY,jr,Wt)&&(Lu(xn),jl(sr))},document.body.onmouseup=function(){document.body.onmousemove=null}},xs=(Jr,jr,Wt,Qt)=>{const xn=document.body.clientHeight,sr=document.body.clientWidth;return Jr<20&&Wt>Jr||Jr>sr-20&&Wtjr||jr>xn-20&&Qttt in Ze?xe(Ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[tt]=Te,te=(Ze,tt)=>{for(var Te in tt||(tt={}))a.call(tt,Te)&&E(Ze,Te,tt[Te]);if(y)for(var Te of y(tt))ee.call(tt,Te)&&E(Ze,Te,tt[Te]);return Ze},ne=(Ze,tt)=>Ee(Ze,ie(tt));const{useForm:ae}=me.default,de={width:280,marginRight:10},Le={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ze,onCancel:tt})=>{const[Te]=ae();let pt=(0,Ne.useRef)();function Qe(ot){pt.current.width=Te.getFieldValue("width"),pt.current.align=Te.getFieldValue("align"),Ze(ot,pt.current)}function Lt(ot,St){if(ot.status===-1){Ce.ZP.error(ot.message);return}Te.setFieldsValue({src:`/api/attachments/${ot.id}`,type:St.type})}function it(ot){let St=ot.target.files[0];pt.current=St,Ge(St,Lt)}return De.createElement(me.default,ne(te({form:Te},Le),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),De.createElement(me.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},De.createElement("div",{className:"flex-container"},De.createElement(me.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},De.createElement(Me.default,{style:de})),De.createElement(Ue,{onFileChange:it}))),De.createElement(me.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},De.createElement(Me.default,{style:{width:264}})),De.createElement(me.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},De.createElement(nt.Z,null,De.createElement(me.default.Item,{name:"width",style:{margin:0}},De.createElement(ze.Z,{style:{width:264}})),De.createElement("span",{className:"ml8"},"%"))),De.createElement(me.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(me.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:tt},"\u53D6\u6D88"))))};function Ue({onFileChange:Ze}){return De.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",De.createElement("input",{type:"file",onChange:Ze}))}function Ge(Ze,tt){if(!Ze)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ge.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",Ze),Te.append("file_param_name","editormd-image-file"),Te.append("byxhr","true");var pt=new window.XMLHttpRequest;pt.withCredentials=!0,pt.addEventListener("load",function(Qe){tt(JSON.parse(Qe.target.responseText),Ze)},!1),pt.addEventListener("error",function(Qe){console.error(Qe)},!1),pt.open("POST",`${we.KI}/api/attachments.json`),pt.send(Te)}},74254:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Me}});var me=Be(59301),Ce=Be(4676);class Me extends me.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)}}},53253:function(Yt,Dt,Be){"use strict";Be.d(Dt,{i:function(){return Le},Z:function(){return Ue}});var me={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),Me=Be(6848),nt=Be(93948),ze=Be(92310),je=Be.n(ze),ve=Be(94601),we=Be(62556),Ne=Be(47141),ge=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),de=Be(59301);const Le=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ge,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:Ze=[],col:tt=4,right:Te,bottom:pt=23,precision:Qe=0,wrapWidth:Lt=1200,trackEventItems:it,loading:ot,onRemove:St=()=>{},isCurrent:lt=!0,showAlias:vt=!1,showProgress:ut=!1})=>{const at=Math.floor((Lt-(tt-1)*Te)/tt),Kt=[{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(Vt=>(window.ENV==="build"&&(Vt.ptimg=`/react/build${Vt.ptimg}`,Vt.swimg=`/react/build${Vt.swimg}`),Vt));return de.createElement(Ce.Z,{spinning:ot},de.createElement("div",{className:je()(me.list,Ge)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((Vt,mt)=>{var Tt,wn,Qn,ln,Tn,Bt;const{name:Rn,id:qn,identifier:Xe,featured:fn,school_name:Fe,image_url:fe,excellent:ce,is_plan:Se}=Vt;return de.createElement("div",{key:qn,className:lt&&ut?me.wrapisCurrent:me.wrap,style:{width:at,marginRight:(1+mt)%tt===0?0:Te+Qe,marginBottom:pt}},de.createElement("a",{className:me.li,onClick:qe=>{qe.preventDefault(),qe.stopPropagation(),it&&(0,ve.L9)([it]),(0,ve.xg)(`/paths/${Xe}`)}},de.createElement("div",{className:me.img},de.createElement("img",{className:me.cover,src:`${fe}`}),lt&&(0,Ne.bg)()&&(Vt==null?void 0:Vt.studying)&&de.createElement("div",{className:`${me.movebq} user-path-items`,onClick:qe=>{qe.stopPropagation(),St(Vt)}},de.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),de.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Tt=Vt==null?void 0:Vt.subject_tags)==null?void 0:Tt.map((qe,dt)=>{var He,Ye;if(dt===0){const gt=(He=Kt.find(st=>st.name==qe))==null?void 0:He.swimg;return de.createElement("img",{className:me.sign,src:gt,style:{left:"-4px"}})}const Pt=(Ye=Kt.find(gt=>gt.name==qe))==null?void 0:Ye.ptimg;return de.createElement("img",{className:me.sign,src:Pt,style:{left:`${48+52*(dt-1)+2*dt}px`}})}),de.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Vt==null?void 0:Vt.excellent)&&de.createElement("div",{className:me.bq},"\u5F00\u653E\u8BFE\u7A0B"))),de.createElement("div",{className:me.name},de.createElement(Me.Z,{title:vt&&(Vt!=null&&Vt.excellent_alias_name)?de.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Rn}`,de.createElement("br",null),de.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Vt==null?void 0:Vt.excellent_alias_name}`)):Rn},de.createElement("span",{className:me.e},vt&&(Vt==null?void 0:Vt.excellent_alias_name)||Rn))),lt&&ut&&((wn=Vt==null?void 0:Vt.progress)==null?void 0:wn.all_score)!=0&&de.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},de.createElement(nt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Qn=Vt==null?void 0:Vt.progress)==null?void 0:Qn.my_score)/((ln=Vt==null?void 0:Vt.progress)==null?void 0:ln.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Tn=Vt==null?void 0:Vt.progress)==null?void 0:Tn.my_score,"/",(Bt=Vt==null?void 0:Vt.progress)==null?void 0:Bt.all_score),(!lt||!ut)&&de.createElement("div",{className:me.tags},de.createElement("div",null,de.createElement(Me.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},de.createElement("span",null,de.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),de.createElement("span",null,Vt.stages_count))),de.createElement(Me.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},de.createElement("span",null,de.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),de.createElement("span",null,Vt.members_count)))))))})),!Ze.length&&de.createElement(we.Z,null)))}},15817:function(Yt,Dt,Be){"use strict";Be.d(Dt,{jL:function(){return ze},w9:function(){return on},dN:function(){return Jt},QD:function(){return Fa},cQ:function(){return ln.Z},Oz:function(){return gt},op:function(){return dn},O5:function(){return fu},_b:function(){return ai},t7:function(){return Ze},Gi:function(){return Ar},YG:function(){return ir},kT:function(){return ur},qp:function(){return ee},K3:function(){return ne},vr:function(){return Fr},qE:function(){return Ur},Je:function(){return pt},wb:function(){return mt},lB:function(){return Qn},cq:function(){return Za},tp:function(){return Le},Si:function(){return Yr},k8:function(){return dl},Du:function(){return xA}});var me=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"},Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ze=({dataSource:rr=[],img:Zn,imgWidth:cr=346,title:Xr,sunTitle:zt,bannerExtraContent:Io})=>me.createElement("div",{className:Ce.banner},me.createElement("div",{className:Ce.content},me.createElement("aside",null,me.createElement("p",null,me.createElement("b",null,Xr),me.createElement("span",null,zt)),rr.length>0&&me.createElement("div",{className:Ce.btns},rr.map((Hr,fo)=>me.createElement("div",{key:fo,onClick:Hr.click},Hr.name,Hr.sign?me.createElement("img",{src:Me,width:39}):null))),Io),Zn&&me.createElement("img",{style:{marginTop:33,marginRight:38},src:Zn,width:cr}))),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),ge=Object.defineProperty,De=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,ie=(rr,Zn,cr)=>Zn in rr?ge(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:cr}):rr[Zn]=cr,y=(rr,Zn)=>{for(var cr in Zn||(Zn={}))xe.call(Zn,cr)&&ie(rr,cr,Zn[cr]);if(De)for(var cr of De(Zn))Ee.call(Zn,cr)&&ie(rr,cr,Zn[cr]);return rr},ee=({dataSource:rr=[],value:Zn,onChange:cr,onTitleChange:Xr,className:zt,title:Io,titleWidth:Hr=41,style:fo={},fontColor:za="#6A7283",showCount:mi,classNameActive:co,styleItem:Sa={}})=>{const[Mo,zo]=(0,me.useState)(0),[Hs,no]=(0,me.useState)(!1),is=(0,me.useRef)(null),xs=(0,me.useRef)(null);return(0,me.useEffect)(()=>{var Jr;rr.length!==0&&(((Jr=is==null?void 0:is.current)==null?void 0:Jr.clientHeight)>97?zo(1):zo(0)),rr.length===0&&zo(0),no(!1)},[rr]),me.createElement("div",{className:we()(je.row,zt),style:fo},me.createElement("div",{onClick:(0,Ne.throttle)(()=>Xr==null?void 0:Xr(),2e3),style:{width:Hr,marginTop:Hs?12:4},className:`${je.title} ${Xr?"current":""}`},Io),me.createElement("div",{className:Hs?`${je.tagsWrap} ${je.tagsBorderWrap}`:je.tagsWrap},me.createElement("div",{className:je.bar,ref:xs,style:Mo>0?{height:Mo===1?97:"auto",overflow:Mo===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},me.createElement("div",{className:je.tag,ref:is},rr==null?void 0:rr.map(Jr=>me.createElement("span",{onClick:()=>cr(Jr.id),key:Jr.id,style:y(y({color:za},Sa),(Jr==null?void 0:Jr.style)||{}),className:Zn===Jr.id?we()(co||je.active,Jr.classNameActive):""},me.createElement("span",{title:Jr.name,className:je.name},Jr.name),!!mi&&me.createElement("span",{className:je.num},Jr.count))))),!!Mo&&me.createElement(me.Fragment,null,Mo===1?me.createElement("div",{onClick:()=>{var Jr;zo(2),((Jr=is==null?void 0:is.current)==null?void 0:Jr.clientHeight)>245?no(!0):no(!1)},className:je.action},"\u5C55\u5F00",me.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):me.createElement("div",{onClick:()=>{xs.current.scrollTop=0,zo(1),no(!1)},className:je.action},"\u6536\u8D77",me.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:rr=[],value:Zn,onChange:cr,onTitleChange:Xr,className:zt,title:Io,titleWidth:Hr=41,style:fo={},fontColor:za="#6A7283",showCount:mi,expand:co=!0})=>{const[Sa,Mo]=(0,me.useState)(0),[zo,Hs]=(0,me.useState)(!1),no=(0,me.useRef)(null),is=(0,me.useRef)(null),[xs,Jr]=(0,me.useState)(co);return me.createElement("div",{className:we()(E.row,zt),style:fo},me.createElement("div",{className:"flex item-center justify-between"},me.createElement("div",{onClick:(0,Ne.throttle)(()=>Xr==null?void 0:Xr(),2e3),style:{width:Hr,marginTop:zo?12:4},className:`${E.title} ${Xr?"current":""}`},Io),me.createElement("i",{className:`iconfont ${xs?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:xs?8:10},onClick:()=>Jr(!xs)})),xs&&me.createElement("div",{className:zo?`${E.tagsWrap} ${E.tagsBorderWrap}`:E.tagsWrap},me.createElement("div",{className:E.fenge}),me.createElement("div",{className:E.bar,ref:is},me.createElement("div",{className:E.tag,ref:no},rr==null?void 0:rr.map(jr=>me.createElement("span",{onClick:()=>cr(jr.id),key:jr.id,style:{color:za},className:Zn===jr.id?E.active:""},me.createElement("span",{title:jr.name,className:E.name},jr.name),!!mi&&me.createElement("span",{className:E.num},jr.count)))))))},ae={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"},Le=({dataSource:rr=[],value:Zn,onChange:cr,className:Xr,style:zt={}})=>me.createElement("div",{style:zt,className:we()(ae.tabs,Xr)},rr.map(Io=>me.createElement("span",{onClick:()=>cr(Io.id),className:Zn===Io.id?ae.active:"",key:Io.id},Io.name))),Pe={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"},Ue=Be(92832),Ze=({dataSource:rr=[],value:Zn="",onChange:cr,onInputChange:Xr=()=>{},className:zt,style:Io={},placeholder:Hr,allowClear:fo=!1})=>{var za;const[mi,co]=(0,me.useState)(""),[Sa,Mo]=(0,me.useState)("");(0,me.useEffect)(()=>{var no;let is=Zn;(no=JSON.stringify(Zn))!=null&&no.includes("{")&&(co(Zn.id),is=Zn.value||"");try{Mo(decodeURIComponent(is||""))}catch(xs){Mo(decodeURIComponent(is||""))}},[Zn]);const zo=()=>{cr(encodeURIComponent(Sa),mi||null)},Hs=no=>{no!==mi&&(co(no),cr(encodeURIComponent(Sa),no))};return me.createElement("div",{className:we()(Pe.input,zt),style:Io},!!rr.length&&me.createElement("div",{className:Pe.dropdown},me.createElement("div",{className:Pe.text},(za=rr.find(no=>no.id===mi))==null?void 0:za.name,me.createElement("i",{className:"iconfont icon-zhankai4"}),me.createElement("b",{className:Pe.b1}),me.createElement("b",{className:Pe.b2})),me.createElement("div",{className:Pe.menu},rr.map((no,is)=>me.createElement("div",{key:is,onClick:()=>Hs(no.id)},no.name)))),me.createElement(Ue.default,{onPressEnter:zo,value:Sa,onChange:no=>{Mo(no.target.value),Xr(encodeURIComponent(no.target.value),mi||null)},bordered:!1,placeholder:Hr}),me.createElement("i",{onClick:zo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},tt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},pt=({value:rr,onChange:Zn,className:cr,total:Xr,pageSize:zt,style:Io={}})=>{const Hr=rr<2,fo=rr>=Math.ceil(Xr/zt);return Xr<=zt?me.createElement(me.Fragment,null):me.createElement("div",{className:we()(tt.quickPager,cr),style:Io},me.createElement("div",{onClick:()=>{Hr||Zn(rr-1,"prev")},className:Hr?tt.disabled:""},"\u4E0A\u4E00\u9875"),me.createElement("div",{onClick:()=>{fo||Zn(rr+1,"next")},className:fo?tt.disabled:""},"\u4E0B\u4E00\u9875"))},Qe={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"},Lt=Be(71418),it=Be(6848),ot=Be(13570),St=Be(85386),lt=Be(94601),vt=Be(96908),ut=Be(57177),at=Be(81378),Kt=Be(62556),mt=({className:rr,dataSource:Zn=[],col:cr=4,right:Xr,bottom:zt=23,precision:Io=0,wrapWidth:Hr=1200,trackEventItems:fo,loading:za})=>{const mi=Math.floor((Hr-(cr-1)*Xr)/cr);return me.createElement(Lt.Z,{spinning:za},me.createElement("div",{className:we()(Qe.list,rr)},!!Zn.length&&Zn.map((co,Sa)=>{const{name:Mo,id:zo,identifier:Hs,power:no,cover_image_id:is,pic:xs}=co;return me.createElement("div",{className:Qe.wrap,key:zo,style:{width:mi,marginRight:(1+Sa)%cr===0?0:Xr+Io,marginBottom:zt}},me.createElement("a",{target:"_blank",href:`/shixuns/${Hs}/challenges`,className:Qe.li,onClick:Jr=>{Jr.preventDefault(),fo&&(0,lt.L9)([fo]),no&&(0,lt.xg)(`/shixuns/${Hs}/challenges`)}},me.createElement("div",{className:Qe.img},me.createElement("img",{className:Qe.cover,src:`${xs}`}),co.is_jupyter&&me.createElement("img",{className:Qe.sign,src:vt}),co.is_jupyter_lab&&me.createElement("img",{className:Qe.sign,src:ut}),co.is_unity_3d&&me.createElement("img",{className:Qe.sign,src:at})),me.createElement("div",{className:Qe.name},me.createElement(it.Z,{title:Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},me.createElement("span",{className:Qe.e},Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),me.createElement("div",{className:Qe.tags},me.createElement(it.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),me.createElement("span",null,co.challenges_count))),!!co.myshixuns_count&&me.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),me.createElement("span",null,co.myshixuns_count))),me.createElement(it.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},me.createElement("span",null,me.createElement("span",null,co.level))),me.createElement("div",{className:Qe.rate},me.createElement(ot.Z,{allowHalf:!0,disabled:!0,defaultValue:co.score_info}),me.createElement("span",null,"\xA0",co.score_info?`${co.score_info}\u5206`:"5\u5206")))),!no&&me.createElement("div",{className:Qe.lockWrap},me.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),me.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&me.createElement(Kt.Z,null)))},Tt={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"},Qn=({className:rr,dataSource:Zn=[],col:cr=4,right:Xr,bottom:zt=23,precision:Io=0,wrapWidth:Hr=1200,wrapClassName:fo,trackEventItems:za,loading:mi})=>{const co=Math.floor((Hr-(cr-1)*Xr)/cr);return me.createElement(Lt.Z,{spinning:mi},me.createElement("div",{className:we()(Tt.list,rr)},!!Zn.length&&Zn.map((Sa,Mo)=>{const{name:zo,id:Hs,identifier:no,power:is,cover_image_id:xs,pic:Jr}=Sa;return me.createElement("div",{className:we()(Tt.wrap,fo),key:Hs,style:{width:co,marginRight:(1+Mo)%cr===0?0:Xr+Io,marginBottom:zt}},me.createElement("a",{target:"_blank",href:`/shixuns/${no}/challenges`,className:Tt.li,onClick:jr=>{jr.preventDefault(),za&&(0,lt.L9)([za]),is&&(0,lt.xg)(`/shixuns/${no}/challenges`)}},me.createElement("img",{src:Be(47621),className:Tt.titleBg}),me.createElement("div",{className:Tt.name},me.createElement(it.Z,{title:zo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},me.createElement("span",{className:Tt.e},zo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),me.createElement("div",{style:{padding:"14px",paddingBottom:0}},me.createElement("div",{className:Tt.img},me.createElement("img",{className:Tt.cover,src:xs?`${St.Z.API_SERVER}/api/attachments/${xs}`:`${St.Z.IMG_SERVER+Jr}`}),Sa.is_jupyter&&me.createElement("div",{className:Tt.bq},"Jupyter"),Sa.is_jupyter_lab&&me.createElement("div",{className:Tt.bq},"JupyterLab"),Sa.is_unity_3d&&me.createElement("div",{className:Tt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),me.createElement("div",{className:"mt20 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:Tt.text},"\u5B66\u4E60\u4EBA\u6570"),me.createElement("span",{className:Tt.value},Sa.myshixuns_count)),me.createElement("div",null,me.createElement("span",{className:Tt.text},"\u56F0\u96BE\u7B49\u7EA7"),me.createElement("span",{className:Tt.value},Sa.level))),me.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:Tt.text},"\u5173\u5361\u6570"),me.createElement("span",{className:Tt.value},Sa.challenges_count)),me.createElement("div",{className:Tt.rate},me.createElement(ot.Z,{allowHalf:!0,disabled:!0,defaultValue:Sa.score_info}),me.createElement("span",{className:Tt.value,style:{color:"#FF9C00"}},"\xA0",Sa.score_info?`${Sa.score_info}\u5206`:"5\u5206"))))),!is&&me.createElement("div",{className:Tt.lockWrap},me.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),me.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&me.createElement(Kt.Z,null)))},ln=Be(53253),Tn={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Bt=Be(79005),Rn=Be(20345),qn=Be(77882),Xe=Be(31081),fn=Be(75309),Fe=Be(71979),fe=Be(47558),ce=Be(42922),Se=Be(66832),qe=Be(96593),dt=Be(19664),He=Be(91833);const Ye=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Bt,swimg:Rn},{name:"101\u8BA1\u5212",ptimg:qn,swimg:Xe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:fn,swimg:Fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:fe,swimg:ce},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Se,swimg:qe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:dt,swimg:He}];var gt=({className:rr,dataSource:Zn=[],col:cr=4,right:Xr,bottom:zt=23,precision:Io=0,wrapWidth:Hr=1200,trackEventItems:fo,loading:za,wrapClassName:mi,imgClassName:co,isArrow:Sa=!1})=>{const Mo=Math.floor((Hr-(cr-1)*Xr)/cr),[zo,Hs]=(0,me.useState)(),[no,is]=(0,me.useState)(),xs=jr=>Hs(jr),Jr=()=>Hs(-1);return me.createElement(Lt.Z,{spinning:za},me.createElement("div",{className:we()(Tn.list,rr)},!!(Zn!=null&&Zn.length)&&(Zn==null?void 0:Zn.map((jr,Wt)=>{var Qt;const{name:xn,id:sr,identifier:ta,featured:ma,school_name:oa,image_url:Dr,excellent:sa,is_plan:Qa}=jr;return me.createElement("div",{key:sr,className:we()(Tn.wrap,mi),style:{width:Mo,marginRight:(1+Wt)%cr===0?0:Xr+Io,marginBottom:zt}},me.createElement("a",{target:"_blank",href:`/paths/${ta}`,className:Tn.li,onClick:Co=>{Co.preventDefault(),fo&&(0,lt.L9)([fo]),(0,lt.xg)(`/paths/${ta}`)}},me.createElement("img",{src:Be(39057),className:Tn.titleBg}),me.createElement("div",{className:Tn.name},me.createElement(it.Z,{title:xn},me.createElement("span",{className:Tn.e,style:{color:Sa&&zo===Wt?"#145DFF":"#000000"},onMouseEnter:()=>{xs(Wt)},onMouseLeave:Jr},xn))),me.createElement("div",{style:{padding:"14px",paddingBottom:0}},me.createElement("div",{className:we()(Tn.img,co)},me.createElement("img",{className:Tn.cover,src:`${St.Z.IMG_SERVER+Dr}`}),(Qt=jr==null?void 0:jr.subject_tags)==null?void 0:Qt.map((Co,wi)=>{var La,ss;if(wi===0){const gi=(La=Ye.find(Gr=>Gr.name==Co))==null?void 0:La.swimg;return me.createElement("img",{className:Tn.sign,src:gi,style:{left:"-4px"}})}const oi=(ss=Ye.find(gi=>gi.name==Co))==null?void 0:ss.ptimg;return me.createElement("img",{className:Tn.sign,src:oi,style:{left:`${48+52*(wi-1)+2*wi}px`}})}),me.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(jr==null?void 0:jr.excellent)&&me.createElement("div",{className:Tn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),me.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:Tn.text},"\u7AE0\u8282\u6570"),me.createElement("span",{className:Tn.value},jr.stages_count)),me.createElement("div",null,me.createElement("span",{className:Tn.text},"\u5B66\u4E60\u4EBA\u6570"),me.createElement("span",{className:Tn.value},jr.members_count))))))})),!Zn.length&&me.createElement(Kt.Z,null)))},st={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"},Rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",hn=Be(59301),on=({className:rr,dataSource:Zn=[],col:cr=4,right:Xr,bottom:zt=23,precision:Io=0,wrapWidth:Hr=1200,trackEventItems:fo,loading:za})=>{const mi=Math.floor((Hr-(cr-1)*Xr)/cr);return hn.createElement(Lt.Z,{spinning:za},hn.createElement("div",{className:we()(st.list,rr)},!!Zn.length&&Zn.map((co,Sa)=>{const{subject_identifier:Mo,id:zo,identifier:Hs,power:no}=co,is=co.is_public!=0&&co.is_public;return hn.createElement("div",{className:st.wrap,key:zo,style:{width:mi,marginRight:(1+Sa)%cr===0?0:Xr+Io,marginBottom:zt}},hn.createElement("a",{className:st.li,onClick:xs=>{xs.preventDefault(),fo&&(0,lt.L9)([fo]),(0,lt.xg)(co.first_category_url)}},hn.createElement("div",{className:st.top},hn.createElement(it.Z,{title:co.name},hn.createElement("div",{className:st.name},co.name)),hn.createElement("img",{className:st.img,src:St.Z.IMG_SERVER+"/images/"+co.avatar_url}),hn.createElement("div",{className:st.text,title:co.creator},co.creator),Mo&&hn.createElement("div",{className:st.btns},hn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),hn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),is&&hn.createElement("div",{className:st.sign},"\u516C\u5F00")),hn.createElement("div",{className:st.bottom},co.visits>0&&hn.createElement(it.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},hn.createElement("span",null,hn.createElement("i",{className:"iconfont icon-liulanyan"}),hn.createElement("span",null,co.visits))),co.course_members_count>0&&hn.createElement(it.Z,{title:"\u6210\u5458",placement:"bottom"},hn.createElement("span",null,hn.createElement("i",{className:"iconfont icon-chengyuan"}),co.course_members_count)),co.tasks_count>0&&hn.createElement(it.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},hn.createElement("span",null,hn.createElement("i",{className:"iconfont icon-zuoye"}),co.tasks_count)),co.is_end?hn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):hn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!co.is_accessible&&hn.createElement("div",{className:st.lockWrap},hn.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),hn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&hn.createElement(Kt.Z,null)))},Ft={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"},yn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Jt=({className:rr,dataSource:Zn=[],col:cr=4,right:Xr,bottom:zt=23,precision:Io=0,wrapWidth:Hr=1200,wrapClassName:fo,trackEventItems:za,loading:mi})=>{const co=Math.floor((Hr-(cr-1)*Xr)/cr);return me.createElement(Lt.Z,{spinning:mi},me.createElement("div",{className:we()(Ft.list,rr)},!!Zn.length&&Zn.map((Sa,Mo)=>{const{subject_identifier:zo,id:Hs,identifier:no,power:is}=Sa,xs=Sa.is_public!=0&&Sa.is_public;return me.createElement("div",{className:we()(`${Ft.wrap} ${Sa.is_accessible?"":Ft.warpStyle}`,fo),key:Hs,style:{width:co,marginRight:(1+Mo)%cr===0?0:Xr+Io,marginBottom:zt}},me.createElement("a",{className:Ft.li,onClick:Jr=>{Jr.preventDefault(),za&&(0,lt.L9)([za]),(0,lt.xg)(Sa.first_category_url)}},me.createElement("div",{className:Ft.creator},me.createElement("img",{className:Ft.img,src:St.Z.IMG_SERVER+"/images/"+Sa.avatar_url}),me.createElement("div",{className:Ft.text,title:Sa.creator},Sa.creator)),me.createElement("div",{className:Ft.top},me.createElement(it.Z,{title:Sa.name},me.createElement("div",{className:Ft.name},Sa.name)),xs&&me.createElement("div",{className:Ft.sign},"\u516C\u5F00")),me.createElement("div",{className:Ft.middle},me.createElement("div",{className:Ft.row,style:{marginBottom:6}},me.createElement("div",null,me.createElement("span",{className:Ft.text},"\u8BBF\u95EE\u91CF"),me.createElement("span",{className:Ft.value},(Sa==null?void 0:Sa.visits)||0)),me.createElement("div",null,me.createElement("span",{className:Ft.text},"\u6210\u5458"),me.createElement("span",{className:Ft.value},(Sa==null?void 0:Sa.course_members_count)||0))),me.createElement("div",{className:Ft.row},me.createElement("div",null,me.createElement("span",{className:Ft.text,style:{width:42}},"\u4F5C",me.createElement("span",{style:{marginLeft:14}},"\u4E1A")),me.createElement("span",{className:Ft.value},(Sa==null?void 0:Sa.tasks_count)||0)),me.createElement("div",null,me.createElement("span",{className:Ft.text},"\u72B6\u6001"),Sa.is_end?me.createElement("span",{className:Ft.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):me.createElement("span",{className:Ft.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),zo&&me.createElement("div",{className:Ft.btns},me.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),me.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Sa.is_accessible&&me.createElement("div",{className:Ft.lockWrap},me.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),me.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&me.createElement(Kt.Z,null)))},gn={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"},pn=Be(92123),ir=({dataSource:rr=[],value:Zn,onChange:cr,className:Xr,style:zt={},tabBarExtraContent:Io})=>me.createElement("div",{className:we()(gn.tabs,Xr),style:zt},me.createElement("div",{className:gn.tabsWrap},rr.map((Hr,fo)=>me.createElement("aside",{className:gn.tab,onClick:()=>{cr(Hr.id),Hr.link&&pn.history.push(Hr.link)},key:fo},me.createElement("div",{className:Zn===Hr.id?gn.active:""},Hr.name),(Hr==null?void 0:Hr.resetCount)==null&&(Hr==null?void 0:Hr.total)!==void 0&&me.createElement("span",null,"\uFF08",Hr==null?void 0:Hr.total,"\uFF09"),(Hr==null?void 0:Hr.resetCount)!==void 0&&(Hr==null?void 0:Hr.total)!==void 0&&me.createElement(it.Z,{title:(Hr==null?void 0:Hr.tip)!=null?Hr==null?void 0:Hr.tip:""},me.createElement("span",{style:{color:"#9096A3"}},"\uFF08",me.createElement("span",{style:{color:"#000"}},Hr==null?void 0:Hr.resetCount),"/",me.createElement("span",null,Hr==null?void 0:Hr.total),"\uFF09"))))),me.createElement("div",{className:gn.tabBar},Io)),yr={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},ur=({dataSource:rr=[],value:Zn,onChange:cr,className:Xr,style:zt={},tabBarExtraContent:Io})=>me.createElement("div",{className:we()(yr.tabs,Xr),style:zt},me.createElement("div",{className:yr.tabsWrap},rr.map((Hr,fo)=>me.createElement("aside",{className:yr.tab,onClick:()=>{cr(Hr.id),Hr.link&&pn.history.push(Hr.link)},key:fo},me.createElement("div",{className:Zn===Hr.id?yr.active:""},Hr.name),(Hr==null?void 0:Hr.resetCount)==null&&(Hr==null?void 0:Hr.total)!==void 0&&me.createElement("span",null,"\uFF08",Hr==null?void 0:Hr.total,"\uFF09"),(Hr==null?void 0:Hr.resetCount)!==void 0&&(Hr==null?void 0:Hr.total)!==void 0&&me.createElement(it.Z,{title:(Hr==null?void 0:Hr.tip)!=null?Hr==null?void 0:Hr.tip:""},me.createElement("span",{style:{color:"#9096A3"}},"\uFF08",me.createElement("span",{style:{color:"#000"}},Hr==null?void 0:Hr.resetCount),"/",me.createElement("span",null,Hr==null?void 0:Hr.total),"\uFF09"))))),me.createElement("div",{className:yr.tabBar},Io)),Ar=({className:rr,style:Zn={},children:cr})=>me.createElement("div",{className:we()(rr),style:Zn},cr),Er={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"},ea=Be(38854),ya=Be(20834);const Tr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Za=({sortValue:rr,dropValue:Zn,className:cr,onSort:Xr,onDrop:zt,dataSource:Io=Tr})=>{var Hr;return me.createElement("div",{className:we()(Er.orderWrap,cr)},me.createElement(ea.Z,{dropdownRender:()=>me.createElement(ya.default,null,Io.map((fo,za)=>me.createElement(ya.default.Item,{key:za,onClick:()=>zt(fo.id)},fo.name)))},me.createElement("span",{className:Er.orderTextWrap},(Hr=Io.find(fo=>Zn===fo.id))==null?void 0:Hr.name)),me.createElement("span",{className:Er.orderIconWrap},me.createElement("span",{className:Er.orderAsc},me.createElement("i",{className:rr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Er.cursorPointer} ${Er.active}`:`iconfont icon-sanjiaoxing-up font12 ${Er.cursorPointer}`,onClick:()=>Xr(rr==="asc"?"desc":"asc")})),me.createElement("span",{className:Er.orderDesc},me.createElement("i",{className:rr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Er.cursorPointer} ${Er.active}`:`iconfont icon-sanjiaoxing-down font12 ${Er.cursorPointer}`,onClick:()=>Xr(rr==="asc"?"desc":"asc")}))))},_r={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"},rn=Be(3113),ei=Be(21585),vo=Object.defineProperty,ci=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Ki=(rr,Zn,cr)=>Zn in rr?vo(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:cr}):rr[Zn]=cr,Gi=(rr,Zn)=>{for(var cr in Zn||(Zn={}))zi.call(Zn,cr)&&Ki(rr,cr,Zn[cr]);if(ci)for(var cr of ci(Zn))Fo.call(Zn,cr)&&Ki(rr,cr,Zn[cr]);return rr},ti=(rr,Zn)=>{var cr={};for(var Xr in rr)zi.call(rr,Xr)&&Zn.indexOf(Xr)<0&&(cr[Xr]=rr[Xr]);if(rr!=null&&ci)for(var Xr of ci(rr))Zn.indexOf(Xr)<0&&Fo.call(rr,Xr)&&(cr[Xr]=rr[Xr]);return cr},Pn=(rr,Zn,cr)=>new Promise((Xr,zt)=>{var Io=za=>{try{fo(cr.next(za))}catch(mi){zt(mi)}},Hr=za=>{try{fo(cr.throw(za))}catch(mi){zt(mi)}},fo=za=>za.done?Xr(za.value):Promise.resolve(za.value).then(Io,Hr);fo((cr=cr.apply(rr,Zn)).next())}),dn=rr=>{var Zn=rr,{className:cr,style:Xr,children:zt,loading:Io=!1,openLoading:Hr,onClick:fo=()=>{},size:za="middle",shape:mi="round",theme:co}=Zn,Sa=ti(Zn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Mo,zo]=(0,me.useState)(!1),Hs=(0,me.useMemo)(()=>{switch(co){case ei.Fy.THEMEONE:return _r.ThemeOne;case ei.Fy.DEFAULT:default:return _r.btn}},[co]);return me.createElement(rn.ZP,Gi({onClick:(0,Ne.throttle)(no=>Pn(void 0,null,function*(){Hr&&zo(!0);try{yield fo(no)}catch(is){console.log("error",is)}Hr&&zo(!1)}),2e3,{leading:!0,trailing:!1}),className:we()(Hs,_r[`${za}-${mi}`],cr),style:Xr,size:za,shape:mi,loading:Mo||Io},Sa),zt)},kr={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"},Ur=({className:rr,style:Zn,children:cr=null,onClick:Xr,title:zt})=>me.createElement("div",{className:we()(kr.head,rr),style:Zn},me.createElement("span",{className:"primary-hover",onClick:Xr},me.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),me.createElement("b",{title:zt},zt),me.createElement("div",{className:kr.node},cr)),Ba={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"},Fa=({confirmShow:rr=!0,confirmTitle:Zn,confirmClick:cr,cancelShow:Xr=!0,cancelTitle:zt,cancelClick:Io,className:Hr,style:fo,confirmLoading:za=!1})=>me.createElement("div",{className:we()(Ba.btns,Hr),style:fo},rr&&me.createElement(rn.ZP,{loading:za,onClick:cr,type:"primary",className:Ba.confirm},Zn),Xr&&me.createElement(rn.ZP,{onClick:Io,className:Ba.cancel},zt)),So={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"},Fr=({className:rr,style:Zn={},LeftContent:cr,children:Xr,RightContent:zt})=>me.createElement("div",{className:we()(So.fixedBottom,rr),style:Zn},me.createElement("div",{className:So.wrap},me.createElement("div",{className:So.left},cr),me.createElement("div",{className:So.center},Xr),me.createElement("div",{className:So.right},zt))),Ha={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"},ai=({className:rr,style:Zn={},dataSource:cr=[]})=>me.createElement("div",{className:we()(Ha.crumbs,rr),style:Zn},cr.map((Xr,zt)=>ztpn.history.push(Xr.path)},Xr.name):me.createElement("span",null,Xr.name),me.createElement("span",null,"\xA0",">","\xA0")):me.createElement("span",{key:zt,style:{color:"#5F6368"}},Xr.name))),di=Be(31797),Lo=Object.defineProperty,os=Object.defineProperties,js=Object.getOwnPropertyDescriptors,Es=Object.getOwnPropertySymbols,wA=Object.prototype.hasOwnProperty,Ys=Object.prototype.propertyIsEnumerable,ki=(rr,Zn,cr)=>Zn in rr?Lo(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:cr}):rr[Zn]=cr,EA=(rr,Zn)=>{for(var cr in Zn||(Zn={}))wA.call(Zn,cr)&&ki(rr,cr,Zn[cr]);if(Es)for(var cr of Es(Zn))Ys.call(Zn,cr)&&ki(rr,cr,Zn[cr]);return rr},Sl=(rr,Zn)=>os(rr,js(Zn)),gA=(rr,Zn)=>{var cr={};for(var Xr in rr)wA.call(rr,Xr)&&Zn.indexOf(Xr)<0&&(cr[Xr]=rr[Xr]);if(rr!=null&&Es)for(var Xr of Es(rr))Zn.indexOf(Xr)<0&&Ys.call(rr,Xr)&&(cr[Xr]=rr[Xr]);return cr};const{Countdown:Or}=di.default;var fu=rr=>{var Zn=rr,{onChange:cr}=Zn,Xr=gA(Zn,["onChange"]);const[zt,Io]=(0,me.useState)(null);(0,me.useEffect)(()=>{typeof zt=="number"&&zt>=0&&cr(zt)},[zt]);const Hr=fo=>{const za=Math.floor(fo/1e3);Io(za)};return me.createElement(Or,Sl(EA({},Xr),{onChange:Hr}))},hu={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Yr=({DataProps:rr,className:Zn,style:cr={}})=>{var Xr;return me.createElement("div",{className:we()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",hu.ClassRoomItem,Zn),style:cr,onClick:()=>{(0,lt.xg)(rr==null?void 0:rr.first_category_url)}},me.createElement("div",{className:"flex flex-col item-center"},me.createElement("img",{src:`${(Xr=St.Z)==null?void 0:Xr.IMG_SERVER}/images/${rr==null?void 0:rr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(rr==null?void 0:rr.subject_identifier)&&me.createElement("div",{className:"mt-40px"},me.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),me.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),me.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},me.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(rr!=null&&rr.is_public)&&me.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"),me.createElement("span",{className:we()("text-16px font-medium",hu.TitleDom)},rr==null?void 0:rr.name)),me.createElement("div",{className:"c-grey-333 font-medium"},rr==null?void 0:rr.creator),me.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",rr==null?void 0:rr.course_members_count),me.createElement("div",{className:"c-grey-333 flex item-center justify-between"},me.createElement("div",null,"\u4F5C\u4E1A\uFF1A",rr==null?void 0:rr.tasks_count),rr!=null&&rr.is_end?me.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):me.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},_a=Object.defineProperty,To=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,Yi=(rr,Zn,cr)=>Zn in rr?_a(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:cr}):rr[Zn]=cr,Ps=(rr,Zn)=>{for(var cr in Zn||(Zn={}))Pa.call(Zn,cr)&&Yi(rr,cr,Zn[cr]);if(To)for(var cr of To(Zn))Fi.call(Zn,cr)&&Yi(rr,cr,Zn[cr]);return rr},xA=({DataProps:rr=[],selectValue:Zn,onChange:cr,className:Xr,style:zt={},extra:Io,classNameItem:Hr,styleItem:fo={},barHidden:za})=>{const[mi,co]=(0,me.useState)();return(0,me.useEffect)(()=>{co(Array.isArray(Zn)?Zn:[Zn])},[Zn]),me.createElement("div",{className:we()("flex px-20px py-10px gap-40px",Xr),style:Ps({borderBottom:"1px solid #D3F0FF"},zt)},rr==null?void 0:rr.map(Sa=>me.createElement("div",{key:Sa==null?void 0:Sa.id,className:we()("flex item-center justify-center current c-grey-333 text-16 relative",Hr,Sa==null?void 0:Sa.className),style:Ps(Ps({color:mi!=null&&mi.includes(Sa==null?void 0:Sa.id)?"#1890FF":"",minWidth:88},fo),(Sa==null?void 0:Sa.style)||{}),onClick:Mo=>{cr==null||cr({domEvent:Mo,item:Sa}),Sa!=null&&Sa.link&&pn.history.push(Sa==null?void 0:Sa.link)}},Sa==null?void 0:Sa.name,!za&&(mi==null?void 0:mi.includes(Sa==null?void 0:Sa.id))&&me.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),me.createElement("div",{className:"ml-auto"},Io))},Li=Object.defineProperty,Oa=Object.defineProperties,Bc=Object.getOwnPropertyDescriptors,Hu=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,Cl=Object.prototype.propertyIsEnumerable,Lu=(rr,Zn,cr)=>Zn in rr?Li(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:cr}):rr[Zn]=cr,Jl=(rr,Zn)=>{for(var cr in Zn||(Zn={}))Fu.call(Zn,cr)&&Lu(rr,cr,Zn[cr]);if(Hu)for(var cr of Hu(Zn))Cl.call(Zn,cr)&&Lu(rr,cr,Zn[cr]);return rr},jl=(rr,Zn)=>Oa(rr,Bc(Zn)),dl=({value:rr,onChange:Zn,onInputChange:cr,className:Xr,style:zt={},InputProps:Io})=>{const[Hr,fo]=(0,me.useState)(rr);return me.createElement("div",{className:we()("flex item-center rounded-full px-10px py-2px",Xr),style:Jl({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},zt)},me.createElement(Ue.default,jl(Jl({bordered:!1},Io),{onChange:za=>{fo(za.target.value),cr==null||cr(encodeURIComponent(za.target.value))},onPressEnter:za=>{Zn==null||Zn({domEvent:za,item:{value:Hr}})}})),me.createElement("img",{className:"h-22px current",src:Be(25365),height:22,onClick:za=>{Zn==null||Zn({domEvent:za,item:{value:Hr}})}}))}},61346:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Ce}});var me=Be(59301);function Ce(Me,nt){const ze=(0,me.useRef)();(0,me.useEffect)(()=>{ze.current=Me}),(0,me.useEffect)(()=>{function je(){ze.current()}if(nt!==null){let ve=setInterval(je,nt);return()=>clearInterval(ve)}},[nt])}},82644:function(Yt,Dt,Be){"use strict";var me=Be(43418),Ce=Be(8591),Me=Be(43597),nt=Be(92123),ze=Be(47141),je=Be(59301),ve=(Ne,ge,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,ge)).next())});const we=({shixunHomeworks:Ne,classroomList:ge,dispatch:De})=>{const xe=(0,nt.useParams)();return je.createElement(me.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 Ee,ie,y,a;if((0,ze.Rm)()&&!((Ee=ge.AssistantObject.practice)!=null&&Ee.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 ee=yield(0,Me.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:xe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(ee.shixun_identifier){Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===xe.categoryId))==null?void 0:y.id;if((0,ze.Rm)()&&!((a=ge.AssistantObject.practice)!=null&&a.can_view))return;nt.history.replace(`/classrooms/${xe.coursesId}/shixun_homework/${xe.categoryId}/${E}/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,nt.connect)(({shixunHomeworks:Ne,classroomList:ge})=>({shixunHomeworks:Ne,classroomList:ge}))(we)},21613:function(Yt,Dt,Be){"use strict";Be.r(Dt),Be.d(Dt,{default:function(){return jr}});var me=Be(21585),Ce=Be(59301),Me=Be(92123),nt=Be(56656),ze=Be.n(nt),je=Be(86129),ve=Be.n(je),we=Be(43597),Ne=Be(43418),ge=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),de=Be(95869),Le=Be(87169),Pe=Be(26227),Ue=Be(85386),Ge=Be(47141),Ze=Be(94601),tt=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_"},pt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Qe=({shixunHomeworks:Wt,data:Qt,globalSetting:xn,loading:sr,dispatch:ta})=>{var ma;const{shixunWorkReport:oa}=Wt;let Dr=((ma=Qt==null?void 0:Qt.efficiency_list)==null?void 0:ma.length)-parseInt(Qt==null?void 0:Qt.myself_eff[0]);const sa=()=>({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(Co){return Co.name===oa.username?"\u59D3\u540D\uFF1A"+oa.username+"
\u5B66\u53F7\uFF1A "+oa.user_id+"
\u6548\u7387\uFF1A"+(Qt==null?void 0:Qt.myself_eff[1]):Co.name+":"+Co.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:Qt==null?void 0:Qt.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:oa.username,xAxis:Dr,yAxis:Qt==null?void 0:Qt.myself_eff[1],value:Qt==null?void 0:Qt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Qa=()=>({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(Co){var wi=Co.value;if(Co.name===oa.username)return"\u59D3\u540D\uFF1A"+oa.username+"
\u5B66\u53F7\uFF1A "+oa.user_id+"
\u5F97\u5206\uFF1A"+(Qt==null?void 0:Qt.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:pt,data:Qt==null?void 0:Qt.consume_list,symbolSize:function(Co){return Math.round(Co[2])},markPoint:{data:[{name:oa.username,xAxis:Qt==null?void 0:Qt.myself_object[0],yAxis:Qt==null?void 0:Qt.myself_object[1],value:Qt==null?void 0:Qt.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(tt.Z,{style:{width:750,height:580},option:sa()})),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"},oa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},oa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.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(tt.Z,{style:{width:750,height:580},option:Qa()})),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"},oa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},oa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.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 Lt=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects}))(Qe),it=Be(71775),ot=Be(5871),St=({defaultValue:Wt,onBlur:Qt,max:xn,className:sr="game-score"})=>{const[ta,ma]=(0,Ce.useState)(Wt);(0,Ce.useEffect)(()=>{ma(Wt)},[Wt]);function oa(sa){ma(sa)}function Dr(){ta!==Wt&&Qt(ta>xn?xn:ta)}return Ce.createElement(ot.Z,{max:xn,min:0,className:sr,value:ta,onChange:oa,onBlur:Dr})},lt=Be(55659),vt={md:"md___GIQyK"},ut=Be(59301),at=Object.defineProperty,Kt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,Qn=(Wt,Qt,xn)=>Qt in Wt?at(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,ln=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Tt.call(Qt,xn)&&Qn(Wt,xn,Qt[xn]);if(mt)for(var xn of mt(Qt))wn.call(Qt,xn)&&Qn(Wt,xn,Qt[xn]);return Wt},Tn=(Wt,Qt)=>Kt(Wt,Vt(Qt));const Bt=ne.default.Option,Rn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var qn=(Wt=>(Wt[Wt.SET_PATH=0]="SET_PATH",Wt[Wt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Wt))(qn||{});function Xe(Wt,Qt){switch(Qt.type){case 0:return Tn(ln({},Wt),{selectedPath:Qt.payload});case 1:return Tn(ln({},Wt),{passedContent:Qt.payload});default:throw new Error}}var fn=({path:Wt,game_id:Qt,onPathChange:xn,autoHeight:sr,diff_code_count:ta,data:ma,game_codes_cn:oa})=>{var Dr,sa,Qa,Co;const wi=Wt.split("\uFF1B").filter(so=>!!so),[La,ss]=(0,Ce.useReducer)(Xe,{selectedPath:wi[0],passedContent:{language:"python",content:""}}),{selectedPath:oi,passedContent:gi}=La;function Gr(so){ss({type:0,payload:so})}const Ia={\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 ut.createElement(ut.Fragment,null,ut.createElement("h2",null," ",ut.createElement("span",null,oa,ut.createElement(ie.Z,{title:ut.createElement("div",null,ut.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ut.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ut.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"),ut.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ut.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ta&&ut.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ta),ut.createElement("span",null,ut.createElement(ne.default,{style:{width:200},value:oi,onChange:Gr}," ",wi.map(so=>ut.createElement(Bt,{key:so,value:so},so))," "))," "),(oi==null?void 0:oi.split(".")[1])==="md"&&ut.createElement(lt.Z,{height:300,autoHeight:sr,defaultValue:((sa=(Dr=ma==null?void 0:ma.filter(so=>so.path===oi))==null?void 0:Dr[0])==null?void 0:sa.content)||"",className:vt.md}),(oi==null?void 0:oi.split(".")[1])!=="md"&&ut.createElement(it.ZP,{height:300,language:gi.language,value:((Co=(Qa=ma==null?void 0:ma.filter(so=>so.path===oi))==null?void 0:Qa[0])==null?void 0:Co.content)||"",autoHeight:sr,theme:"default",isCopy:!0,options:Rn}))},Fe=Be(19284),fe=Be(96249),ce=Be.n(fe),Se=Object.defineProperty,qe=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ye=(Wt,Qt,xn)=>Qt in Wt?Se(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Pt=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))dt.call(Qt,xn)&&Ye(Wt,xn,Qt[xn]);if(qe)for(var xn of qe(Qt))He.call(Qt,xn)&&Ye(Wt,xn,Qt[xn]);return Wt},gt=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ma=sa=>{try{Dr(xn.next(sa))}catch(Qa){ta(Qa)}},oa=sa=>{try{Dr(xn.throw(sa))}catch(Qa){ta(Qa)}},Dr=sa=>sa.done?sr(sa.value):Promise.resolve(sa.value).then(ma,oa);Dr((xn=xn.apply(Wt,Qt)).next())});const st=({shixunHomeworks:Wt,autoHeight:Qt,classroomList:xn,dispatch:sr})=>{var ta,ma,oa,Dr,sa,Qa,Co;const{shixunWorkReport:wi}=Wt,{stage_list:La,work_id:ss}=wi,[oi,gi]=(0,Ce.useState)(!1),[Gr,Ia]=(0,Ce.useState)(!0),[so,pi]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),Zi=(0,Ce.useRef)(null),[Vi,Ms]=(0,Ce.useState)(!1),ds=(ho,$a)=>{var Fs;const{clientWidth:FA,clientHeight:Ls}=window.document.documentElement,_s=(Fs=Zi.current)==null?void 0:Fs.getBoundingClientRect();_s&&pi({left:-_s.left+$a.x,right:FA-(_s.right-$a.x),top:-_s.top+$a.y,bottom:Ls-(_s.bottom-$a.y)})},yA=(0,Me.useParams)(),El=(0,Ge.GJ)(),$l={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(yA)},[]);const Pl=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(ho,$a,Fs)=>Ce.createElement("div",null,ho,$a.is_work_end_evaluate&&Ce.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:ho=>ze()(ho).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(ho,$a)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>gt(void 0,null,function*(){var Fs,FA;const Ls=yield(0,Fe.Lk)($a.game_identifier,{path:(FA=(Fs=$a.path)==null?void 0:Fs.replace(/\;/g,";"))==null?void 0:FA.split(";")[0],query_index:$a.query_index,homework_common_id:yA.categoryId});(Ls==null?void 0:Ls.status)===0&&(Ms(Ls),gi(!0))})},$a.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],eu=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(ho,$a)=>{var Fs;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((Fs=$a==null?void 0:$a.user)==null?void 0:Fs.image_url)}),ho)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:ho=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",ho,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:ho=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",ho,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:ho=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",ho?ze()(ho).format("YYYY-MM-DD HH:mm"):"--")}];function Ln(ho,$a){return gt(this,null,function*(){const{challenge_id:Fs}=La[ho],FA=yield sr({type:"shixunHomeworks/changeScore",payload:{categoryId:yA.homeworkId,type:"report",score:$a,challenge_id:Fs}});yield sr({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},yA)}),FA.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(ho,$a){return(0,we.U2)(`student_works/${ss}/rep_passed_content.json`,{path:$a,game_id:ho})}const xl=wi.shixun_detail;return Ce.createElement(Ce.Fragment,null,xl==null?void 0:xl.map(function(ho,$a){var Fs,FA;return Ce.createElement("div",{key:$a},Ce.createElement("aside",{className:"pl30 pr30",key:$a},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",$a+1,"\u5173 ",Ce.createElement(Me.Link,{className:"c-black",target:"_blank",to:`/tasks/${yA.coursesId}/${yA.categoryId}/${ho.game_identifier}`},ho.subject))),El?Ce.createElement("span",null,"\u8C03\u5206\uFF1A",Ce.createElement(St,{className:"game-score",max:La[$a].game_score_full,defaultValue:La[$a].game_score,onBlur:Ls=>{var _s;if((0,Ge.Rm)()&&!((_s=xn.AssistantObject.practice)!=null&&_s.can_appraise)){ge.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}Ln($a,Ls)}})):null),Ce.createElement("div",{className:"font16 mt10"},ho.st===0&&(ho.path?typeof(ho==null?void 0:ho.game_codes_cn)=="string"?Ce.createElement("aside",{className:Te.shixunWrp},Ce.createElement(fn,{game_codes_cn:ho==null?void 0:ho.game_codes_cn,autoHeight:Qt,path:ho.path,game_id:ho.id,data:ho.game_codes,diff_code_count:ho.diff_code_count,onPathChange:In})):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"),ho.st===1&&(ho.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"},(Fs=ho.outputs)!=null&&Fs.length?Ce.createElement(te.default,{columns:Pl,pagination:{hideOnSinglePage:!0},dataSource:ho.outputs.map(Ls=>Pt(Pt({},ho),Ls))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ce.createElement("aside",{className:"mt10 font16"},((FA=ho==null?void 0:ho.adjust_review_score_list)==null?void 0:FA.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:eu,pagination:{hideOnSinglePage:!0},dataSource:ho.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(Ne.default,{open:oi,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Ms({}),gi(!1)},onCancel:()=>{Ms({}),gi(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Gr&&Ia(!1)},onMouseOut:()=>{Ia(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:ho=>Ce.createElement(ce(),{disabled:Gr,bounds:so,nodeRef:Zi,onStart:($a,Fs)=>ds($a,Fs)},Ce.createElement("div",{ref:Zi},ho))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((ta=Vi==null?void 0:Vi.data)==null?void 0:ta.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=Vi==null?void 0:Vi.data)==null?void 0:ma.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(oa=Vi==null?void 0:Vi.data)==null?void 0:oa.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()((Dr=Vi==null?void 0:Vi.data)==null?void 0:Dr.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"}},(sa=Vi==null?void 0:Vi.data)==null?void 0:sa.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Qa=Vi==null?void 0:Vi.data)==null?void 0:Qa.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"}},((Co=Vi==null?void 0:Vi.data)==null?void 0:Co.test_set_passed_rate)*100,"%")))),Ce.createElement(it.ZP,{height:500,autoHeight:Qt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Vi==null?void 0:Vi.content)||""))),options:$l})))};var Rt=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn,classroomList:sr})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects,classroomList:sr}))(st),hn=Be(78241),It={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},on=Be(4034),Ft=Be(59301),yn=Object.defineProperty,At=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,pn=(Wt,Qt,xn)=>Qt in Wt?yn(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Yn=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Jt.call(Qt,xn)&&pn(Wt,xn,Qt[xn]);if(At)for(var xn of At(Qt))gn.call(Qt,xn)&&pn(Wt,xn,Qt[xn]);return Wt},ir=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ma=sa=>{try{Dr(xn.next(sa))}catch(Qa){ta(Qa)}},oa=sa=>{try{Dr(xn.throw(sa))}catch(Qa){ta(Qa)}},Dr=sa=>sa.done?sr(sa.value):Promise.resolve(sa.value).then(ma,oa);Dr((xn=xn.apply(Wt,Qt)).next())});const yr=({shixunHomeworks:Wt,dispatch:Qt,classroomList:xn})=>{const{shixunWorkReport:sr}=Wt,ta=(0,Me.useParams)(),[ma,oa]=(0,Ce.useState)(!1),[Dr]=hn.default.useForm(),[sa,Qa]=Ne.default.useModal(),[Co,wi]=(0,Ce.useState)(!1),[La,ss]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var Gr,Ia,so,pi;Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Dr.setFieldsValue({comment:(Ia=(Gr=Wt.actionTabs.selectArrs)==null?void 0:Gr.data)==null?void 0:Ia.work_comment,hidden_comment:(pi=(so=Wt.actionTabs.selectArrs)==null?void 0:so.data)==null?void 0:pi.work_comment_hidden})},[Wt.actionTabs.key]);const oi=()=>ir(void 0,null,function*(){const Gr=Dr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${ta.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Gr.hidden_comment,comment:Gr.comment}})).status===0&&(ge.ZP.success("\u8BC4\u9605\u6210\u529F"),Dr.resetFields(),Qt({type:"shixunHomeworks/setActionTabs",payload:{}}),Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Yn({},ta)}))}),gi=[{title:"\u5173\u5361",dataIndex:"name",render:(Gr,Ia,so)=>so+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Gr,Ia,so)=>Ft.createElement("div",null,Gr,Ia.complete_status===4&&Ft.createElement(Ze.vA,{status:Ia.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Gr=>Gr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Gr,Ia)=>Ft.createElement("div",null,Ft.createElement("span",{style:{color:parseFloat(Ia.game_score_full)!==parseFloat(Gr)?"#E30000":"#53C41B"}},Gr),"/",Ia.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Gr,Ia)=>(0,Ge.GJ)()?Ft.createElement(St,{max:Ia.game_score_full,defaultValue:parseFloat(Gr),onBlur:so=>ir(void 0,null,function*(){var pi,Zi;if((0,Ge.Rm)()&&!((pi=xn.AssistantObject.practice)!=null&&pi.can_appraise)){ge.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 Vi=yield Qt({type:"shixunHomeworks/changeScore",payload:{categoryId:ta.homeworkId,type:"report",score:so,challenge_id:Ia.challenge_id}});(Zi=Wt==null?void 0:Wt.actionTabs)==null||Zi.fn(),yield Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Yn({},ta)}),Vi.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Gr}];return Ft.createElement(Ft.Fragment,null,Qa,Ft.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ir(void 0,null,function*(){var Gr;if((0,Ge.Rm)()&&!((Gr=xn.AssistantObject.practice)!=null&&Gr.can_appraise)){ge.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 Ia=Dr.getFieldsValue();JSON.stringify(Ia)==="{}"||Ia.hidden_comment===""&&Ia.comment===""?oa(!0):oi()}),onCancel:()=>{Qt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Ft.createElement(ee.Z,{justify:"space-between",className:It.info},Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u59D3\u540D"),Ft.createElement("span",{className:It.blackContent},sr==null?void 0:sr.username)),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u5B66\u53F7"),Ft.createElement("span",{className:It.blackContent},(sr==null?void 0:sr.student_id)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u73ED\u7EA7"),Ft.createElement("span",{className:It.blackContent},(sr==null?void 0:sr.group_name)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u5173\u5361\u5F97\u5206"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.challenge_score)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u6548\u7387\u5206"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.eff_score)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u8865\u4EA4\u6263\u5206"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.late_penalty)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.work_score)||"--"))),Ft.createElement(hn.default,{form:Dr,onChange:()=>{ma&&oa(!1)}},Ft.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Ft.createElement(E.Z,null,Ft.createElement("div",{className:`${It.inputLabel} ${It.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ft.createElement(E.Z,null,Ft.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Co,onCancel:()=>{wi(!1)}},onDataSelect:(Gr,Ia)=>ir(void 0,[Gr,Ia],function*(so,{node:pi}){const Zi=()=>{Dr.setFieldsValue({comment:pi==null?void 0:pi.value}),wi(!1)};if(Dr.getFieldValue("comment")){sa.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:Zi});return}Zi()})},Ft.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Ft.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Gr=>{wi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ft.createElement(hn.default.Item,{name:"comment"},Ft.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Ft.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Ft.createElement(E.Z,null,Ft.createElement("div",{className:`${It.inputLabel} ${It.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ft.createElement(E.Z,null,Ft.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:La,onCancel:()=>{ss(!1)}},onDataSelect:(Gr,Ia)=>ir(void 0,[Gr,Ia],function*(so,{node:pi}){const Zi=()=>{Dr.setFieldsValue({hidden_comment:pi==null?void 0:pi.value}),ss(!1)};if(Dr.getFieldValue("hidden_comment")){sa.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:Zi});return}Zi()})},Ft.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Ft.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Gr=>{ss(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ft.createElement(hn.default.Item,{name:"hidden_comment"},Ft.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),ma&&Ft.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Ft.createElement("div",{className:It.tableTitle},"\u5173\u5361\u6210\u7EE9"),Ft.createElement(te.default,{className:It.scoreTable,dataSource:sr.stage_list,rowKey:"challenge_id",pagination:!1,columns:gi,scroll:{x:"max-content"}})))};var Cr=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt})=>({shixunHomeworks:Wt,classroomList:Qt}))(yr),ur=Be(79702),ar=Be(17410),Ar=Be(4604),Er=Be(44164),ea=Be.n(Er),ya={wrap:"wrap___rFTBy",line:"line___kZzhh"},Tr=Be(61328),Za=({detailData:Wt})=>{var Qt;return Ce.createElement("div",{className:ya.wrap},Ce.createElement(Tr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Tr.Uf)(Wt),(Wt==null?void 0:Wt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ce.createElement(Tr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Tr.Uf)(Wt)}),!!((Qt=Wt==null?void 0:Wt.photos)!=null&&Qt.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:ya.line}),Ce.createElement(Tr._s,{dataSource:Wt==null?void 0:Wt.photos,right:21,col:4,wrapWidth:1140}))))},_r=Be(18167),rn=Be(59301),ei=Object.defineProperty,vo=Object.defineProperties,ci=Object.getOwnPropertyDescriptors,zi=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable,Gi=(Wt,Qt,xn)=>Qt in Wt?ei(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,ti=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Fo.call(Qt,xn)&&Gi(Wt,xn,Qt[xn]);if(zi)for(var xn of zi(Qt))Ki.call(Qt,xn)&&Gi(Wt,xn,Qt[xn]);return Wt},Pn=(Wt,Qt)=>vo(Wt,ci(Qt)),On=(Wt,Qt)=>{var xn={};for(var sr in Wt)Fo.call(Wt,sr)&&Qt.indexOf(sr)<0&&(xn[sr]=Wt[sr]);if(Wt!=null&&zi)for(var sr of zi(Wt))Qt.indexOf(sr)<0&&Ki.call(Wt,sr)&&(xn[sr]=Wt[sr]);return xn},dn=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ma=sa=>{try{Dr(xn.next(sa))}catch(Qa){ta(Qa)}},oa=sa=>{try{Dr(xn.throw(sa))}catch(Qa){ta(Qa)}},Dr=sa=>sa.done?sr(sa.value):Promise.resolve(sa.value).then(ma,oa);Dr((xn=xn.apply(Wt,Qt)).next())});const kr=Wt=>{var Qt=Wt,{shixunHomeworks:xn,classroomList:sr,globalSetting:ta,loading:ma,user:oa,dispatch:Dr}=Qt,sa=On(Qt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Qa,Co,wi;const[La,ss]=(0,Ce.useState)(ti({},(0,Me.useParams)())),oi=(0,Me.useParams)(),[gi,Gr]=(0,Ce.useState)({page:1,page_size:10}),Ia=(0,Me.useLocation)(),[]=(0,Ce.useState)([]),[so,pi]=(0,Ce.useState)(),Zi=(0,Ce.useRef)(),[Vi,Ms]=(0,Ce.useState)(!1),[ds,yA]=(0,Ce.useState)(!0),[El,$l]=(0,Ce.useState)(!1),[Pl,eu]=(0,Ce.useState)(!1),{shixunWorkReport:Ln}=xn,[In,xl]=(0,Ce.useState)(),[ho,$a]=(0,Ce.useState)([]),[Fs,FA]=(0,Ce.useState)(),[Ls,_s]=(0,Ce.useState)("all"),HA=(0,Ge.GJ)(),[ec,VA]=(0,Ce.useState)(new(ve())),[Xs,ro]=(0,Ce.useState)(0),[Eo,ms]=(0,Ce.useState)(!1),[Is,SA]=(0,Ce.useState)(!1),[Zo,Hl]=(0,Ce.useState)(!1),[Fl,Ll]=(0,Ce.useState)(""),[As,YA]=(0,Ce.useState)(!1),[tu,Kc]=(0,Ce.useState)(!0),[Ks,Il]=(0,Ce.useState)(0),Ns=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Ji=(0,Ce.useRef)(),nA=()=>dn(void 0,null,function*(){(oa.userInfo.is_teacher||oa.userInfo.admin)&&(YA(!0),Kc(!1))});(0,Ce.useEffect)(()=>{var Rr;(0,Ge.Rm)()&&sr.AssistantObject.practice&&!((Rr=sr.AssistantObject.practice)!=null&&Rr.can_view)&&Me.history.replace("/403")},[(Qa=sr.AssistantObject.practice)==null?void 0:Qa.can_view]),(0,Ce.useEffect)(()=>{nA(),console.log("\u6253\u5370\u7684------",Ln),Ji.current=Ln==null?void 0:Ln.next_student_work_id,Ll(Ln.repeat_minus_score)},[Ln,oa]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Ln.work_score),Il(Ln.work_score)},[Ln.work_score,Fl]),(0,Ce.useEffect)(()=>(Dr({type:"globalSetting/footerToggle",payload:!1}),()=>{Dr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var Rr;if(Ln){let ao=[];(Rr=Ln==null?void 0:Ln.target_test_sets)==null||Rr.map((fr,io)=>{var Jo;(Jo=fr==null?void 0:fr.targets)==null||Jo.map((bA,LA)=>{var zs;bA.name=fr==null?void 0:fr.name,bA.total_target_score=fr==null?void 0:fr.total_target_score,bA.actual_target_score=fr==null?void 0:fr.actual_target_score,bA.rowSpan=LA===0?(zs=fr==null?void 0:fr.targets)==null?void 0:zs.length:0,bA.order=io+1,ao.push(bA)})}),xl(ao),(0,Ge.Rm)()&&Dr({type:"classroomList/getAssistantPermissions",payload:{course_id:La.coursesId}})}},[Ln]),(0,Ce.useEffect)(()=>{xn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Ln==null?void 0:Ln.students_count)>0&&!ds&&setTimeout(()=>{Ds("all")},800)},[Ln==null?void 0:Ln.homework_common_id,ds]),(0,Ce.useEffect)(()=>{ss(ti({},oi))},[Ia.pathname]);const tc=()=>{document.body.scrollIntoView()},zc=Rr=>{gi.page=Rr,Gr(ti({},gi)),rA(gi,Ls)},rA=(Rr,ao)=>dn(void 0,null,function*(){$l(!0);const fr=yield(0,we.ZP)(`/api/student_works/${La==null?void 0:La.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Pn(ti({},Rr),{challenge_id:ao=="all"?null:ao})});(fr==null?void 0:fr.status)===0&&($a(fr==null?void 0:fr.list),FA(fr==null?void 0:fr.count)),$l(!1)});function nu(){return dn(this,null,function*(){Ns.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const fA=()=>{document.querySelectorAll("canvas").forEach(Rr=>{(!Rr.clientWidth||!Rr.clientHeight)&&Rr.remove()})},ru=Rr=>dn(void 0,null,function*(){const ao=yield(0,Ar.t1)({homeworkId:Rr||La.homeworkId});pi(ao==null?void 0:ao.data)}),Ds=Rr=>dn(void 0,null,function*(){var ao,fr,io,Jo;let bA=0,LA;LA=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"},bA+1),"/",Rr!=="all"?1:Ln==null?void 0:Ln.students_count,rn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Te.modal,onOk:()=>{}});const zs={margin:[0,0],filename:`${Ln!=null&&Ln.student_id&&(Ln==null?void 0:Ln.student_id)!="--"?Ln==null?void 0:Ln.student_id:""}${Ln.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},ou=ec.folder(Ln==null?void 0:Ln.shixun_name);function mu(pu){return dn(this,null,function*(){yield ru(pu||Ji.current);const Ti=yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:ti({homeworkId:pu||Ji.current},Ns.current||{})});Ji.current=Ti==null?void 0:Ti.next_student_work_id,tc(),bA++,setTimeout(()=>dn(this,null,function*(){var Vo,ko,Us,hA;fA();const aA=ou.folder(`${Ti==null?void 0:Ti.group_name}`).folder(`${Ti!=null&&Ti.student_id&&(Ti==null?void 0:Ti.student_id)!="--"?Ti.student_id+"+":""}${Ti==null?void 0:Ti.username}`),Nl=document.querySelector("#export-all").children;let Ml=ea()();for(let qs=0;qsdn(this,null,function*(){qs0&&((Us=(ko=Ti==null?void 0:Ti.shixun_detail)==null?void 0:ko.filter(qs=>{var DA;return((DA=qs==null?void 0:qs.game_codes)==null?void 0:DA.length)>0}))==null?void 0:Us.length)>0){const qs=aA.folder("\u4EE3\u7801\u6587\u4EF6");(hA=Ti==null?void 0:Ti.shixun_detail)==null||hA.map((DA,oA)=>{var UA,Gs;if(((UA=DA==null?void 0:DA.game_codes)==null?void 0:UA.length)>0){const Du=qs.folder(`\u7B2C${oA+1}\u5173-${DA.subject}-${DA.id}`);(Gs=DA==null?void 0:DA.game_codes)==null||Gs.map(Dl=>{Du.file(`${Dl.filename}.txt`,Dl==null?void 0:Dl.content)})}})}LA.update({content:rn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",rn.createElement("span",{className:"c-blue"},bA),"/",Ti==null?void 0:Ti.students_count,rn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),bA==(Ti==null?void 0:Ti.students_count)?(LA.destroy(),Mu()):mu()}),2200)})}if(Rr!=="all"||(Ln==null?void 0:Ln.students_count)<2){fA(),tc();const pu=Zi.current.children;let Ti=ea()();const ko=ou.folder(`${Ln==null?void 0:Ln.group_name}`).folder(`${Ln!=null&&Ln.student_id&&(Ln==null?void 0:Ln.student_id)!="--"?(Ln==null?void 0:Ln.student_id)+"+":""}${Ln==null?void 0:Ln.username}`);for(let Us=0;Usdn(void 0,null,function*(){Us0&&((io=(fr=Ln==null?void 0:Ln.shixun_detail)==null?void 0:fr.filter(Us=>{var hA;return((hA=Us==null?void 0:Us.game_codes)==null?void 0:hA.length)>0}))==null?void 0:io.length)>0){const Us=ko.folder("\u4EE3\u7801\u6587\u4EF6");(Jo=Ln==null?void 0:Ln.shixun_detail)==null||Jo.map((hA,Js)=>{var aA,Nl;if(((aA=hA==null?void 0:hA.game_codes)==null?void 0:aA.length)>0){const Ml=Us.folder(`\u7B2C${Js+1}\u5173-${hA.subject}-${hA.id}`);(Nl=hA==null?void 0:hA.game_codes)==null||Nl.map(qs=>{Ml.file(`${qs.filename}.txt`,qs==null?void 0:qs.content)})}})}LA.destroy(),Mu();return}else mu(Ln==null?void 0:Ln.first_student_work_id)}),Mu=()=>{ec.generateAsync({type:"blob"}).then(function(Rr){console.log(Ln,"shixunWorkReport");const ao=document.createElement("a");ao.href=window.URL.createObjectURL(Rr),ao.download=(Ln==null?void 0:Ln.shixun_name)+".zip",document.body.appendChild(ao);const fr=document.createEvent("MouseEvents");fr.initEvent("click",!1,!1),ao.dispatchEvent(fr),document.body.removeChild(ao),VA(new(ve()))}),eu(!1)};(0,Ce.useEffect)(()=>{au()},[La.homeworkId]);const au=()=>dn(void 0,null,function*(){yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},La),Ns.current||{})}),ru(),(0,Ge.GJ)()&&nu(),yA(!1)}),Iu=[{title:"\u5173\u5361",dataIndex:"name",render:(Rr,ao,fr)=>fr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Rr,ao,fr)=>rn.createElement("div",null,Rr,ao.complete_status===4&&rn.createElement(Ze.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:(Rr,ao,fr)=>Rr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Rr=>Rr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Rr,ao)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(ao.myself_experience)!==parseFloat(Rr)?"red":"green"}},ao.myself_experience),"/",Rr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Rr,ao)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(ao.game_score_full)!==parseFloat(Rr)?"red":"green"}},Rr),"/",ao.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Rr,ao)=>HA?rn.createElement(St,{max:ao.game_score_full,defaultValue:parseFloat(Rr),onBlur:fr=>dn(void 0,null,function*(){var io;if((0,Ge.Rm)()&&!((io=sr.AssistantObject.practice)!=null&&io.can_appraise)){ge.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 Jo=yield Dr({type:"shixunHomeworks/changeScore",payload:{categoryId:La.homeworkId,type:"report",score:fr,challenge_id:ao.challenge_id}});rA({page:1,page_size:10},"all"),yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},La),Ns.current||{})}),Jo.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Rr}];let Gc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Rr,ao,fr)=>({children:Rr,props:{rowSpan:ao.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Rr,ao,fr)=>({children:Rr,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:(Rr,ao,fr)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(ao.actual_test_score)!==parseFloat(Rr)?"red":"green"}},ao.actual_test_score),"/",Rr)},{title:"\u6307\u6807\u603B\u5206",render:(Rr,ao,fr)=>({children:rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(ao.actual_target_score)!==parseFloat(Rr)?"red":"green"}},ao.actual_target_score),"/",Rr),props:{rowSpan:ao.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Nu=[{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:Rr=>rn.createElement("span",null,Rr?ze()(Rr).format("YYYY-MM-DD HH:mm"):"--")}],wc=Rr=>{Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Rr==="next"?Me.history.push(`/classrooms/${La.coursesId}/shixun_homework/${La.categoryId}/${Ln==null?void 0:Ln.next_student_work_id}/comment`):Me.history.push(`/classrooms/${La.coursesId}/shixun_homework/${La.categoryId}/${Ln==null?void 0:Ln.pre_student_work_id}/comment`)},200)},al=Rr=>{Ll(""),Rr.target.value&&(console.log("\u8FDB\u6765",Ln),Rr.target.value=Rr.target.value>Ln.repeat_setting_score?Ln.repeat_setting_score:Rr.target.value,Ll(Rr.target.value))},nc=()=>dn(void 0,null,function*(){const Rr=yield(0,we.ZP)(`/api/student_works/${Ln==null?void 0:Ln.work_id}/update_repeat_score`,{method:"put",body:{score:Fl}});yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},La),Ns.current||{})}),Rr.status===0&&ge.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:ma["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Ln.course_id&&rn.createElement("section",{className:"animated fadeIn pt-10px"},Ln.category&&rn.createElement(xe.Z,{separator:">",items:[{title:rn.createElement(Me.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework`}," ",Ln.course_name)},{title:rn.createElement(Me.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework/${Ln.category.main?"":Ln.category.category_id}`}," ",Ln.category.category_name)},{title:rn.createElement(Me.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework/${Ln.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Ln.username}]}),rn.createElement("div",{className:"mt20 flex item-center gap-10px"},rn.createElement("strong",{className:"font20"}," ",Ln==null?void 0:Ln.homework_name," "),rn.createElement(Ze.VV,{temporary:!0,status:Ln.homework_status}),rn.createElement("div",{className:"ml-auto flex item-center gap-10px"},Ln.view_tpi&&rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Rr,ao;(0,Ze.xg)(`/tasks/${Ln==null?void 0:Ln.course_id}/${Ln==null?void 0:Ln.homework_common_id}/${(ao=(Rr=Ln==null?void 0:Ln.shixun_detail)==null?void 0:Rr[0])==null?void 0:ao.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ge.GJ)()&&Ln.homework_end===!1&&!!Ln.myshixun_id&&rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>dn(void 0,null,function*(){yield Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Ln.myshixun_identifier},homework_common_id:oi.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Rr;if((0,Ge.Rm)()&&!((Rr=sr.AssistantObject.practice)!=null&&Rr.can_download)){ge.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}Ds("")},loading:Vi},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(Ln==null?void 0:Ln.students_count)>1&&rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Rr;if((0,Ge.Rm)()&&!((Rr=sr.AssistantObject.practice)!=null&&Rr.can_download)){ge.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:()=>{Ds("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,_r.jj)({categoryId:La.categoryId,coursesId:La.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:Zi},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(de.Z,{rev:void 0}),onClick:()=>{Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Ln.user_id,data:ti({},Ln)},fn:()=>rA({page:1,page_size:10},"all")}})}}," ",Ln.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/${Ln.image_url}`,alt:Ln.username}),rn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},rn.createElement(Ze.vA,{status:Ln.compelete_status}))),rn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Ln.username),rn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",rn.createElement("span",{className:"ml10 c-grey-333"},Ln.student_id||"--")),rn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",rn.createElement("span",{className:"ml10 c-grey-333"},Ln.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"},Ln.complete_count||"--"),"/",rn.createElement("span",{className:"c-red"},Ln.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-red"},Ln.current_complete_count||"--"),"/",rn.createElement("span",{className:"c-red"},Ln.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Ln&&Ln.efficiency===null?"--":Ln&&Ln.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Ln&&Ln.max_efficiency===null?"--":Ln&&Ln.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},Ln.challenge_score),"/",rn.createElement("span",{className:"c-light-black"},Ln.challenge_score_full)),hidden:!(Ln!=null&&Ln.eff_score_full)},{title:"\u6548\u7387\u5206",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},Ln.eff_score),"/",rn.createElement("span",{className:"c-light-black"},Ln.eff_score_full)),hidden:!(Ln!=null&&Ln.eff_score_full)}].map((Rr,ao)=>!(Rr!=null&&Rr.hidden)&&rn.createElement("div",{key:ao,className:"flex flex-col item-center gap-10px"},rn.createElement("div",{className:"text-16px"},Rr==null?void 0:Rr.children),rn.createElement("div",{style:{color:"#8E8E8E"}},Rr==null?void 0:Rr.title)))),rn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Ln&&Ln.passed_time===null||Ln&&Ln.passed_time==="--"?"--":ze()(Ln&&Ln.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:Rr=>{ms(!0)}})),children:Ln==null?void 0:Ln.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:Rr=>{SA(!0)}})),children:Ln==null?void 0:Ln.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Ln.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Ln&&Ln.passed_time===null||Ln&&Ln.passed_time==="--"?"--":ze()(Ln&&Ln.passed_time).format("YYYY-MM-DD HH:mm")},{title:rn.createElement(rn.Fragment,null," \u67E5\u91CD\u6263\u5206",Ln!=null&&Ln.review_rate?rn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Ln!=null&&Ln.review_id&&As&&(localStorage.setItem("studentDetial",window.location.pathname),Me.history.push(`/classrooms/:coursesId/shixun_homework/${La.categoryId}/review_detail/${Ln==null?void 0:Ln.review_id}`))}}," ",Ln.review_rate.toFixed(1),"% "):rn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:rn.createElement(rn.Fragment,null,(Ln==null?void 0:Ln.repeat_minus_score)!==0?"- -":rn.createElement(rn.Fragment,null,As?rn.createElement(rn.Fragment,null,rn.createElement(y.default,{style:{width:"45px",height:"22px"},value:Fl,onChange:Rr=>{al(Rr)},onBlur:nc,disabled:tu})," / ",Ln==null?void 0:Ln.repeat_setting_score):rn.createElement(rn.Fragment,null," ",Ln==null?void 0:Ln.repeat_minus_score," / ",Ln==null?void 0:Ln.repeat_setting_score," "))),hidden:!(Ln!=null&&Ln.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Ln.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},Ks),"/",rn.createElement("span",{className:"c-light-black"},Ln.all_work_score))}].map((Rr,ao)=>!(Rr!=null&&Rr.hidden)&&rn.createElement("div",{key:ao,className:"flex flex-col item-center gap-10px"},rn.createElement("div",{className:"text-16px"},Rr==null?void 0:Rr.children),rn.createElement("div",{style:{color:"#8E8E8E"}},Rr==null?void 0:Rr.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`}},Ln.overall_appraisal)),rn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Ln.work_comment_hidden||Ln.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:()=>dn(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 dn(this,null,function*(){(yield(0,Ar.gZ)({comment_id:Ln.comment_id,homeworkId:La.homeworkId})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),Dr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},La),Ns.current||{})}))})}})})},rn.createElement(Pe.Z,null),"\u5220\u9664"))),rn.createElement(a.Z,{style:{margin:0}}),Ln.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(ar.Z,{value:Ln.work_comment})),Ln.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(ar.Z,{value:Ln.work_comment_hidden}))),(Ln==null?void 0:Ln.action_analysis)&&rn.createElement(Za,{detailData:Ln}),rn.createElement("div",{className:Te.score},rn.createElement("h1",{className:Te.title},"\u9636\u6BB5\u6210\u7EE9"),(Ln==null?void 0:Ln.adjust_review_score_count)>0&&(0,Ge.GJ)()&&rn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{Hl(!0),rA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Ln==null?void 0:Ln.adjust_review_score_count,"\u6B21\uFF09")),rn.createElement(te.default,{className:Te.TableStyle,dataSource:Ln.stage_list,rowKey:Rr=>Rr==null?void 0:Rr.challenge_id,pagination:!1,columns:Iu}),((Co=Ln==null?void 0:Ln.target_test_sets)==null?void 0:Co.length)>0&&rn.createElement("div",null,rn.createElement("h1",{className:Te.title},"\u6307\u6807\u6210\u7EE9"),rn.createElement(te.default,{className:Te.TableStyle,dataSource:In,rowKey:Rr=>Rr==null?void 0:Rr.challenge_id,pagination:!1,bordered:!0,columns:Gc})),(Ln==null?void 0:Ln.work_description)&&rn.createElement(rn.Fragment,null,rn.createElement("h1",{className:Te.title},"\u4E2A\u4EBA\u603B\u7ED3"),rn.createElement(ar.Z,{value:Ln==null?void 0:Ln.work_description})),rn.createElement("h1",{className:Te.title},"\u56FE\u5F62\u7EDF\u8BA1"),rn.createElement(Lt,{data:so}),rn.createElement("h1",{className:Te.title},"\u5B9E\u8BAD\u8BE6\u60C5")),rn.createElement(Rt,{autoHeight:Pl}))))),(0,Ge.GJ)()&&rn.createElement("aside",{className:`sticky ${Te.footerBar}`},rn.createElement("aside",{className:"edu-container flex item-center"},rn.createElement(Me.Link,{className:Te.exitComment,to:`/classrooms/${La.coursesId}/shixun_homework/${La.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),rn.createElement("div",{className:"ml-auto flex item-center gap-20px"},rn.createElement(Ee.ZP,{disabled:!(Ln!=null&&Ln.pre_student_work_id),onClick:()=>wc()},"\u4E0A\u4E00\u4E2A"),rn.createElement(Ee.ZP,{disabled:!(Ln!=null&&Ln.next_student_work_id),onClick:()=>wc("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&rn.createElement(Ee.ZP,{className:Te.NewButtonStyle,type:"primary",onClick:()=>dn(void 0,null,function*(){Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Ln.user_id,data:ti({},Ln)},fn:()=>rA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),rn.createElement(Cr,null),rn.createElement(ur.Z,null),rn.createElement(Ne.default,{open:Eo,width:860,centered:!0,onCancel:()=>{ms(!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:Is,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{SA(!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:Zo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{_s("all"),Hl(!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:Ls,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Rr=>dn(void 0,null,function*(){_s(Rr),rA({page:1,page_size:10},Rr)})},rn.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(wi=Ln==null?void 0:Ln.stage_list)==null?void 0:wi.map((Rr,ao)=>rn.createElement(ne.default.Option,{key:ao,value:Rr==null?void 0:Rr.challenge_id},"\u7B2C",(0,Ze.EM)(ao+1),"\u5173")))),rn.createElement("div",{className:"mt20"},rn.createElement(te.default,{dataSource:ho,rowKey:Rr=>Rr==null?void 0:Rr.id,pagination:!1,columns:Nu,loading:El})),rn.createElement("div",{className:Te.footer},rn.createElement("div",null,rn.createElement("span",{style:{color:"#656F87"}},"\u5171",rn.createElement("span",{className:"c-light-primary"},Fs),"\u6761\u6570\u636E")),rn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(gi==null?void 0:gi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Fs,onChange:zc})))))};var ua=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt,loading:xn,globalSetting:sr,user:ta})=>({shixunHomeworks:Wt,classroomList:Qt,globalSetting:sr,loading:xn.effects,user:ta}))(kr),Ur=Be(27812),Ba={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"},Ma={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Fa=({shixunHomeworks:Wt,data:Qt,globalSetting:xn,loading:sr,dispatch:ta})=>{var ma;const{shixunWorkReport:oa}=Wt;let Dr=((ma=Qt==null?void 0:Qt.efficiency_list)==null?void 0:ma.length)-parseInt(Qt==null?void 0:Qt.myself_eff[0]);const sa=()=>({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(Co){return Co.name===oa.username?"\u59D3\u540D\uFF1A"+oa.username+"
\u5B66\u53F7\uFF1A "+oa.user_id+"
\u6548\u7387\uFF1A"+(Qt==null?void 0:Qt.myself_eff[1]):Co.name+":"+Co.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:Qt==null?void 0:Qt.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:oa.username,xAxis:Dr,yAxis:Qt==null?void 0:Qt.myself_eff[1],value:Qt==null?void 0:Qt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Qa=()=>({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(Co){var wi=Co.value;if(Co.name===oa.username)return"\u59D3\u540D\uFF1A"+oa.username+"
\u5B66\u53F7\uFF1A "+oa.user_id+"
\u5F97\u5206\uFF1A"+(Qt==null?void 0:Qt.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:Ma,data:Qt==null?void 0:Qt.consume_list,symbolSize:function(Co){return Math.round(Co[2])},markPoint:{data:[{name:oa.username,xAxis:Qt==null?void 0:Qt.myself_object[0],yAxis:Qt==null?void 0:Qt.myself_object[1],value:Qt==null?void 0:Qt.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(tt.Z,{style:{width:750,height:580},option:sa()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Ba.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},oa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},oa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.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(tt.Z,{style:{width:750,height:580},option:Qa()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Ba.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},oa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},oa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.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 So=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects}))(Fa),Wi=({defaultValue:Wt,onBlur:Qt,max:xn,className:sr="game-score"})=>{const[ta,ma]=(0,Ce.useState)(Wt);(0,Ce.useEffect)(()=>{ma(Wt)},[Wt]);function oa(sa){ma(sa)}function Dr(){ta!==Wt&&Qt(ta>xn?xn:ta)}return Ce.createElement(ot.Z,{max:xn,min:0,className:sr,value:ta,onChange:oa,onBlur:Dr})},Fr={md:"md___TEmcT"},Ha=Be(59301),xi=Object.defineProperty,ai=Object.defineProperties,di=Object.getOwnPropertyDescriptors,Lo=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,js=Object.prototype.propertyIsEnumerable,Es=(Wt,Qt,xn)=>Qt in Wt?xi(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,wA=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))os.call(Qt,xn)&&Es(Wt,xn,Qt[xn]);if(Lo)for(var xn of Lo(Qt))js.call(Qt,xn)&&Es(Wt,xn,Qt[xn]);return Wt},Ys=(Wt,Qt)=>ai(Wt,di(Qt));const ki=ne.default.Option,EA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Sl=(Wt=>(Wt[Wt.SET_PATH=0]="SET_PATH",Wt[Wt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Wt))(Sl||{});function gA(Wt,Qt){switch(Qt.type){case 0:return Ys(wA({},Wt),{selectedPath:Qt.payload});case 1:return Ys(wA({},Wt),{passedContent:Qt.payload});default:throw new Error}}var Or=({path:Wt,game_id:Qt,onPathChange:xn,autoHeight:sr,diff_code_count:ta,data:ma,game_codes_cn:oa})=>{var Dr,sa,Qa,Co;const wi=Wt.split("\uFF1B").filter(so=>!!so),[La,ss]=(0,Ce.useReducer)(gA,{selectedPath:wi[0],passedContent:{language:"python",content:""}}),{selectedPath:oi,passedContent:gi}=La;function Gr(so){ss({type:0,payload:so})}const Ia={\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 Ha.createElement(Ha.Fragment,null,Ha.createElement("h2",null," ",Ha.createElement("span",null,oa,Ha.createElement(ie.Z,{title:Ha.createElement("div",null,Ha.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ha.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ha.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"),Ha.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ha.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ta&&Ha.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ta),Ha.createElement("span",null,Ha.createElement(ne.default,{style:{width:200},value:oi,onChange:Gr}," ",wi.map(so=>Ha.createElement(ki,{key:so,value:so},so))," "))," "),(oi==null?void 0:oi.split(".")[1])==="md"&&Ha.createElement(lt.Z,{height:300,autoHeight:sr,defaultValue:((sa=(Dr=ma==null?void 0:ma.filter(so=>so.path===oi))==null?void 0:Dr[0])==null?void 0:sa.content)||"",className:Fr.md}),(oi==null?void 0:oi.split(".")[1])!=="md"&&Ha.createElement(it.ZP,{height:300,language:gi.language,value:((Co=(Qa=ma==null?void 0:ma.filter(so=>so.path===oi))==null?void 0:Qa[0])==null?void 0:Co.content)||"",autoHeight:sr,theme:"default",isCopy:!0,options:EA}))},_c=Be(91604),fu=Object.defineProperty,hu=Object.defineProperties,bl=Object.getOwnPropertyDescriptors,Yr=Object.getOwnPropertySymbols,_a=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Pa=(Wt,Qt,xn)=>Qt in Wt?fu(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Fi=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))_a.call(Qt,xn)&&Pa(Wt,xn,Qt[xn]);if(Yr)for(var xn of Yr(Qt))To.call(Qt,xn)&&Pa(Wt,xn,Qt[xn]);return Wt},Yi=(Wt,Qt)=>hu(Wt,bl(Qt)),Ps=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ma=sa=>{try{Dr(xn.next(sa))}catch(Qa){ta(Qa)}},oa=sa=>{try{Dr(xn.throw(sa))}catch(Qa){ta(Qa)}},Dr=sa=>sa.done?sr(sa.value):Promise.resolve(sa.value).then(ma,oa);Dr((xn=xn.apply(Wt,Qt)).next())});const PA=({shixunHomeworks:Wt,autoHeight:Qt,classroomList:xn,dispatch:sr})=>{var ta,ma,oa,Dr,sa,Qa,Co,wi;const{shixunWorkReport:La}=Wt,{stage_list:ss,work_id:oi,ai_code_evaluation_promote:gi}=La,[Gr,Ia]=(0,Ce.useState)(!1),[so,pi]=(0,Ce.useState)(!0),[Zi,Vi]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),Ms=(0,Ce.useRef)(null),[ds,yA]=(0,Ce.useState)(!1),[El,$l]=(0,Ce.useState)(""),Pl=(0,Ce.useRef)(null),eu=(ro,Eo)=>{var ms;const{clientWidth:Is,clientHeight:SA}=window.document.documentElement,Zo=(ms=Ms.current)==null?void 0:ms.getBoundingClientRect();Zo&&Vi({left:-Zo.left+Eo.x,right:Is-(Zo.right-Eo.x),top:-Zo.top+Eo.y,bottom:SA-(Zo.bottom-Eo.y)})},Ln=(0,Me.useParams)(),In=(0,Ge.GJ)(),xl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(Ln)},[]);const ho=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(ro,Eo,ms)=>Ce.createElement("div",null,ro,Eo.is_work_end_evaluate&&Ce.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:ro=>ze()(ro).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(ro,Eo)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>Ps(void 0,null,function*(){var ms,Is;const SA=yield(0,Fe.Lk)(Eo.game_identifier,{path:(Is=(ms=Eo.path)==null?void 0:ms.replace(/\;/g,";"))==null?void 0:Is.split(";")[0],query_index:Eo.query_index,homework_common_id:Ln.categoryId});(SA==null?void 0:SA.status)===0&&(yA(SA),Ia(!0))})},Eo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],$a=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(ro,Eo)=>{var ms;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((ms=Eo==null?void 0:Eo.user)==null?void 0:ms.image_url)}),ro)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:ro=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",ro,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:ro=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",ro,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:ro=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",ro?ze()(ro).format("YYYY-MM-DD HH:mm"):"--")}];function Fs(ro,Eo){return Ps(this,null,function*(){const{challenge_id:ms}=ss[ro],Is=yield sr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ln.homeworkId,type:"report",score:Eo,challenge_id:ms}});yield sr({type:"shixunHomeworks/getShixunWorkReport",payload:Fi({},Ln)}),Is.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function FA(ro,Eo){return(0,we.U2)(`student_works/${oi}/rep_passed_content.json`,{path:Eo,game_id:ro})}const[Ls,_s]=(0,Ce.useState)((ta=La==null?void 0:La.shixun_detail)==null?void 0:ta.map(ro=>Yi(Fi({},ro),{commentEdit:!1}))),HA=ro=>ro.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[ec,VA]=(0,Ce.useState)(!1),Xs=(ro,Eo)=>Ps(void 0,null,function*(){var ms,Is;VA(!0),Pl.current=new _c.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:gi,shixun_id:La==null?void 0:La.myshixun_identifier,game_id:ro==null?void 0:ro.id,source:"shixun",is_chat:!1,type:9,description:ro==null?void 0:ro.challenge_description,query:(Is=(ms=ro==null?void 0:ro.game_codes)==null?void 0:ms[0])==null?void 0:Is.content,homework_common_id:Ln.categoryId}),yield new Promise((SA,Zo)=>{Pl.current.on("data",Hl=>{const Fl=[...Ls];Fl[Eo].comment=HA(Hl==null?void 0:Hl.full),_s(Fl)}),Pl.current.on("done",()=>Ps(void 0,null,function*(){var Hl;VA(!1);const Fl=[...Ls],Ll=yield(0,we.ZP)(`/api/student_works/${Ln==null?void 0:Ln.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:ro==null?void 0:ro.challenge_id,comment:Fl[Eo].comment}});if((Ll==null?void 0:Ll.status)==0){ge.ZP.success("\u8BC4\u4EF7\u6210\u529F");const As=[...Ls];As[Eo].comment_updated_at=(Hl=Ll==null?void 0:Ll.data)==null?void 0:Hl.comment_updated_at,_s(As)}})),Pl.current.startStream()})});return Ce.createElement(Ce.Fragment,null,Ls==null?void 0:Ls.map(function(ro,Eo){var ms,Is;return Ce.createElement("div",{key:Eo},Ce.createElement("aside",{className:"pl30 pr30",key:Eo},Ce.createElement("div",{className:`${Ba.shixunTitle} mt10`},Ce.createElement("div",null,Ce.createElement("span",{className:"fa fa-code "}),Ce.createElement("strong",{className:"c-black"},"\u7B2C",Eo+1,"\u5173 ",Ce.createElement(Me.Link,{className:"c-black",target:"_blank",to:`/tasks/${Ln.coursesId}/${Ln.categoryId}/${ro.game_identifier}`},ro.subject))),In?Ce.createElement("span",null,"\u8C03\u5206\uFF1A",Ce.createElement(Wi,{className:"game-score",max:ss[Eo].game_score_full,defaultValue:ss[Eo].game_score,onBlur:SA=>{var Zo;if((0,Ge.Rm)()&&!((Zo=xn.AssistantObject.practice)!=null&&Zo.can_appraise)){ge.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}Fs(Eo,SA)}})):null),Ce.createElement("div",{className:"font16 mt10"},ro.st===0&&(ro.path?typeof(ro==null?void 0:ro.game_codes_cn)=="string"?Ce.createElement("aside",{className:Ba.shixunWrp},Ce.createElement(Or,{game_codes_cn:ro==null?void 0:ro.game_codes_cn,autoHeight:Qt,path:ro.path,game_id:ro.id,data:ro.game_codes,diff_code_count:ro.diff_code_count,onPathChange:FA})):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"),ro.st===1&&(ro.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"},(ms=ro.outputs)!=null&&ms.length?Ce.createElement(te.default,{columns:ho,pagination:{hideOnSinglePage:!0},dataSource:ro.outputs.map(SA=>Fi(Fi({},ro),SA))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ce.createElement("aside",{className:"mt10 font16"},((Is=ro==null?void 0:ro.adjust_review_score_list)==null?void 0:Is.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:$a,pagination:{hideOnSinglePage:!0},dataSource:ro.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(Ne.default,{open:Gr,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{yA({}),Ia(!1)},onCancel:()=>{yA({}),Ia(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{so&&pi(!1)},onMouseOut:()=>{pi(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:ro=>Ce.createElement(ce(),{disabled:so,bounds:Zi,nodeRef:Ms,onStart:(Eo,ms)=>eu(Eo,ms)},Ce.createElement("div",{ref:Ms},ro))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((ma=ds==null?void 0:ds.data)==null?void 0:ma.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:((oa=ds==null?void 0:ds.data)==null?void 0:oa.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Dr=ds==null?void 0:ds.data)==null?void 0:Dr.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()((sa=ds==null?void 0:ds.data)==null?void 0:sa.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"}},(Qa=ds==null?void 0:ds.data)==null?void 0:Qa.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Co=ds==null?void 0:ds.data)==null?void 0:Co.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"}},((wi=ds==null?void 0:ds.data)==null?void 0:wi.test_set_passed_rate)*100,"%")))),Ce.createElement(it.ZP,{height:500,autoHeight:Qt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ds==null?void 0:ds.content)||""))),options:xl})))};var xA=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn,classroomList:sr})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects,classroomList:sr}))(PA),Li={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Oa=Be(59301),Bc=Object.defineProperty,Hu=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,Cl=Object.prototype.propertyIsEnumerable,Lu=(Wt,Qt,xn)=>Qt in Wt?Bc(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Jl=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Fu.call(Qt,xn)&&Lu(Wt,xn,Qt[xn]);if(Hu)for(var xn of Hu(Qt))Cl.call(Qt,xn)&&Lu(Wt,xn,Qt[xn]);return Wt},jl=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ma=sa=>{try{Dr(xn.next(sa))}catch(Qa){ta(Qa)}},oa=sa=>{try{Dr(xn.throw(sa))}catch(Qa){ta(Qa)}},Dr=sa=>sa.done?sr(sa.value):Promise.resolve(sa.value).then(ma,oa);Dr((xn=xn.apply(Wt,Qt)).next())});const ql=({shixunHomeworks:Wt,dispatch:Qt,classroomList:xn})=>{const{shixunWorkReport:sr}=Wt,ta=(0,Me.useParams)(),[ma,oa]=(0,Ce.useState)(!1),[Dr]=hn.default.useForm(),[sa,Qa]=Ne.default.useModal(),[Co,wi]=(0,Ce.useState)(!1),[La,ss]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var Gr,Ia,so,pi;Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Dr.setFieldsValue({comment:(Ia=(Gr=Wt.actionTabs.selectArrs)==null?void 0:Gr.data)==null?void 0:Ia.work_comment,hidden_comment:(pi=(so=Wt.actionTabs.selectArrs)==null?void 0:so.data)==null?void 0:pi.work_comment_hidden})},[Wt.actionTabs.key]);const oi=()=>jl(void 0,null,function*(){const Gr=Dr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${ta.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Gr.hidden_comment,comment:Gr.comment}})).status===0&&(ge.ZP.success("\u8BC4\u9605\u6210\u529F"),Dr.resetFields(),Qt({type:"shixunHomeworks/setActionTabs",payload:{}}),Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Jl({},ta)}))}),gi=[{title:"\u5173\u5361",dataIndex:"name",render:(Gr,Ia,so)=>so+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Gr,Ia,so)=>Oa.createElement("div",null,Gr,Ia.complete_status===4&&Oa.createElement(Ze.vA,{status:Ia.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Gr=>Gr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Gr,Ia)=>Oa.createElement("div",null,Oa.createElement("span",{style:{color:parseFloat(Ia.game_score_full)!==parseFloat(Gr)?"#E30000":"#53C41B"}},Gr),"/",Ia.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Gr,Ia)=>(0,Ge.GJ)()?Oa.createElement(Wi,{max:Ia.game_score_full,defaultValue:parseFloat(Gr),onBlur:so=>jl(void 0,null,function*(){var pi,Zi;if((0,Ge.Rm)()&&!((pi=xn.AssistantObject.practice)!=null&&pi.can_appraise)){ge.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 Vi=yield Qt({type:"shixunHomeworks/changeScore",payload:{categoryId:ta.homeworkId,type:"report",score:so,challenge_id:Ia.challenge_id}});(Zi=Wt==null?void 0:Wt.actionTabs)==null||Zi.fn(),yield Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Jl({},ta)}),Vi.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Gr}];return Oa.createElement(Oa.Fragment,null,Qa,Oa.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>jl(void 0,null,function*(){var Gr;if((0,Ge.Rm)()&&!((Gr=xn.AssistantObject.practice)!=null&&Gr.can_appraise)){ge.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 Ia=Dr.getFieldsValue();JSON.stringify(Ia)==="{}"||Ia.hidden_comment===""&&Ia.comment===""?oa(!0):oi()}),onCancel:()=>{Qt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Oa.createElement(ee.Z,{justify:"space-between",className:Li.info},Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${Li.label} ${Li.greyText}`},"\u59D3\u540D"),Oa.createElement("span",{className:Li.blackContent},sr==null?void 0:sr.username)),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${Li.label} ${Li.greyText}`},"\u5B66\u53F7"),Oa.createElement("span",{className:Li.blackContent},(sr==null?void 0:sr.student_id)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${Li.label} ${Li.greyText}`},"\u73ED\u7EA7"),Oa.createElement("span",{className:Li.blackContent},(sr==null?void 0:sr.group_name)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${Li.label} ${Li.greyText}`},"\u5173\u5361\u5F97\u5206"),Oa.createElement("span",{className:Li.orangeContent},(sr==null?void 0:sr.challenge_score)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${Li.label} ${Li.greyText}`},"\u6548\u7387\u5206"),Oa.createElement("span",{className:Li.orangeContent},(sr==null?void 0:sr.eff_score)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${Li.label} ${Li.greyText}`},"\u8865\u4EA4\u6263\u5206"),Oa.createElement("span",{className:Li.orangeContent},(sr==null?void 0:sr.late_penalty)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${Li.label} ${Li.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Oa.createElement("span",{className:Li.orangeContent},(sr==null?void 0:sr.work_score)||"--"))),Oa.createElement(hn.default,{form:Dr,onChange:()=>{ma&&oa(!1)}},Oa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Oa.createElement(E.Z,null,Oa.createElement("div",{className:`${Li.inputLabel} ${Li.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oa.createElement(E.Z,null,Oa.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Co,onCancel:()=>{wi(!1)}},onDataSelect:(Gr,Ia)=>jl(void 0,[Gr,Ia],function*(so,{node:pi}){const Zi=()=>{Dr.setFieldsValue({comment:pi==null?void 0:pi.value}),wi(!1)};if(Dr.getFieldValue("comment")){sa.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:Zi});return}Zi()})},Oa.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Oa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Gr=>{wi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oa.createElement(hn.default.Item,{name:"comment"},Oa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Oa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Oa.createElement(E.Z,null,Oa.createElement("div",{className:`${Li.inputLabel} ${Li.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oa.createElement(E.Z,null,Oa.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:La,onCancel:()=>{ss(!1)}},onDataSelect:(Gr,Ia)=>jl(void 0,[Gr,Ia],function*(so,{node:pi}){const Zi=()=>{Dr.setFieldsValue({hidden_comment:pi==null?void 0:pi.value}),ss(!1)};if(Dr.getFieldValue("hidden_comment")){sa.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:Zi});return}Zi()})},Oa.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Oa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Gr=>{ss(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oa.createElement(hn.default.Item,{name:"hidden_comment"},Oa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),ma&&Oa.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Oa.createElement("div",{className:Li.tableTitle},"\u5173\u5361\u6210\u7EE9"),Oa.createElement(te.default,{className:Li.scoreTable,dataSource:sr.stage_list,rowKey:"challenge_id",pagination:!1,columns:gi,scroll:{x:"max-content"}})))};var dl=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt})=>({shixunHomeworks:Wt,classroomList:Qt}))(ql),rr=Be(82644),Zn={wrap:"wrap___LZOi9",line:"line___oju0L"},Xr=({detailData:Wt})=>{var Qt;return Ce.createElement("div",{className:Zn.wrap},Ce.createElement(Tr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Tr.Uf)(Wt),(Wt==null?void 0:Wt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ce.createElement(Tr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Tr.Uf)(Wt)}),!!((Qt=Wt==null?void 0:Wt.photos)!=null&&Qt.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:Zn.line}),Ce.createElement(Tr._s,{dataSource:Wt==null?void 0:Wt.photos,right:21,col:4,wrapWidth:1140}))))},zt=Be(59301),Io=Object.defineProperty,Hr=Object.defineProperties,fo=Object.getOwnPropertyDescriptors,za=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Sa=(Wt,Qt,xn)=>Qt in Wt?Io(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Mo=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))mi.call(Qt,xn)&&Sa(Wt,xn,Qt[xn]);if(za)for(var xn of za(Qt))co.call(Qt,xn)&&Sa(Wt,xn,Qt[xn]);return Wt},zo=(Wt,Qt)=>Hr(Wt,fo(Qt)),Hs=(Wt,Qt)=>{var xn={};for(var sr in Wt)mi.call(Wt,sr)&&Qt.indexOf(sr)<0&&(xn[sr]=Wt[sr]);if(Wt!=null&&za)for(var sr of za(Wt))Qt.indexOf(sr)<0&&co.call(Wt,sr)&&(xn[sr]=Wt[sr]);return xn},no=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ma=sa=>{try{Dr(xn.next(sa))}catch(Qa){ta(Qa)}},oa=sa=>{try{Dr(xn.throw(sa))}catch(Qa){ta(Qa)}},Dr=sa=>sa.done?sr(sa.value):Promise.resolve(sa.value).then(ma,oa);Dr((xn=xn.apply(Wt,Qt)).next())});const is=Wt=>{var Qt=Wt,{shixunHomeworks:xn,classroomList:sr,globalSetting:ta,loading:ma,user:oa,dispatch:Dr}=Qt,sa=Hs(Qt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Qa,Co,wi;const[La,ss]=(0,Ce.useState)(Mo({},(0,Me.useParams)())),oi=(0,Me.useParams)(),[gi,Gr]=(0,Ce.useState)({page:1,page_size:10}),Ia=(0,Me.useLocation)(),[]=(0,Ce.useState)([]),[so,pi]=(0,Ce.useState)(),Zi=(0,Ce.useRef)(),Vi=(0,Ce.useRef)(),[Ms,ds]=(0,Ce.useState)(!1),[yA,El]=(0,Ce.useState)(!0),[$l,Pl]=(0,Ce.useState)(!1),[eu,Ln]=(0,Ce.useState)(!1),{shixunWorkReport:In}=xn,[xl,ho]=(0,Ce.useState)(),[$a,Fs]=(0,Ce.useState)([]),[FA,Ls]=(0,Ce.useState)(),[_s,HA]=(0,Ce.useState)("all"),ec=(0,Ge.GJ)(),[VA,Xs]=(0,Ce.useState)(new(ve())),[ro,Eo]=(0,Ce.useState)(0),[ms,Is]=(0,Ce.useState)(!1),[SA,Zo]=(0,Ce.useState)(!1),[Hl,Fl]=(0,Ce.useState)(!1),[Ll,As]=(0,Ce.useState)(""),[YA,tu]=(0,Ce.useState)(!1),[Kc,Ks]=(0,Ce.useState)(!0),[Il,Ns]=(0,Ce.useState)(0),Ji=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),nA=(0,Ce.useRef)(),tc=()=>no(void 0,null,function*(){(oa.userInfo.is_teacher||oa.userInfo.admin)&&(tu(!0),Ks(!1))});(0,Ce.useEffect)(()=>{var fr;(0,Ge.Rm)()&&sr.AssistantObject.practice&&!((fr=sr.AssistantObject.practice)!=null&&fr.can_view)&&Me.history.replace("/403")},[(Qa=sr.AssistantObject.practice)==null?void 0:Qa.can_view]),(0,Ce.useEffect)(()=>{tc(),console.log("\u6253\u5370\u7684------",In),nA.current=In==null?void 0:In.next_student_work_id,As(In.repeat_minus_score)},[In,oa]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",In.work_score),Ns(In.work_score)},[In.work_score,Ll]),(0,Ce.useEffect)(()=>(Dr({type:"globalSetting/footerToggle",payload:!1}),()=>{Dr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var fr;if(In){let io=[];(fr=In==null?void 0:In.target_test_sets)==null||fr.map((Jo,bA)=>{var LA;(LA=Jo==null?void 0:Jo.targets)==null||LA.map((zs,ou)=>{var mu;zs.name=Jo==null?void 0:Jo.name,zs.total_target_score=Jo==null?void 0:Jo.total_target_score,zs.actual_target_score=Jo==null?void 0:Jo.actual_target_score,zs.rowSpan=ou===0?(mu=Jo==null?void 0:Jo.targets)==null?void 0:mu.length:0,zs.order=bA+1,io.push(zs)})}),ho(io),(0,Ge.Rm)()&&Dr({type:"classroomList/getAssistantPermissions",payload:{course_id:La.coursesId}})}},[In]),(0,Ce.useEffect)(()=>{xn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(In==null?void 0:In.students_count)>0&&!yA&&setTimeout(()=>{au("all")},800)},[In==null?void 0:In.homework_common_id,yA]),(0,Ce.useEffect)(()=>{ss(Mo({},oi))},[Ia.pathname]);const zc=()=>{document.body.scrollIntoView()},rA=fr=>{gi.page=fr,Gr(Mo({},gi)),nu(gi,_s)},nu=(fr,io)=>no(void 0,null,function*(){Pl(!0);const Jo=yield(0,we.ZP)(`/api/student_works/${La==null?void 0:La.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:zo(Mo({},fr),{challenge_id:io=="all"?null:io})});(Jo==null?void 0:Jo.status)===0&&(Fs(Jo==null?void 0:Jo.list),Ls(Jo==null?void 0:Jo.count)),Pl(!1)});function fA(){return no(this,null,function*(){Ji.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const ru=()=>{document.querySelectorAll("canvas").forEach(fr=>{(!fr.clientWidth||!fr.clientHeight)&&fr.remove()})},Ds=()=>{Zi.current.offsetHeight>62e3?Ln(!1):Ln(!0)},Mu=fr=>no(void 0,null,function*(){const io=yield(0,Ar.t1)({homeworkId:fr||La.homeworkId});pi(io==null?void 0:io.data)}),au=fr=>no(void 0,null,function*(){var io,Jo,bA,LA;let zs=0,ou;ou=Ne.default.info({width:460,title:zt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",zt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:zt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",zt.createElement("span",{className:"c-blue"},zs+1),"/",fr!=="all"?1:In==null?void 0:In.students_count,zt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Ba.modal,onOk:()=>{}});const mu={margin:[0,0],filename:`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?In==null?void 0:In.student_id:""}${In.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},pu=VA.folder(In==null?void 0:In.shixun_name);function Ti(Vo){return no(this,null,function*(){yield Mu(Vo||nA.current);const ko=yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo({homeworkId:Vo||nA.current},Ji.current||{})});nA.current=ko==null?void 0:ko.next_student_work_id,zc(),zs++,setTimeout(()=>no(this,null,function*(){var Us,hA,Js,aA;ru();const Ml=pu.folder(`${ko==null?void 0:ko.group_name}`).folder(`${ko!=null&&ko.student_id&&(ko==null?void 0:ko.student_id)!="--"?ko.student_id+"+":""}${ko==null?void 0:ko.username}`),qs=document.querySelector("#export-all").children;let DA=ea()();for(let oA=0;oAno(this,null,function*(){oA0&&((Js=(hA=ko==null?void 0:ko.shixun_detail)==null?void 0:hA.filter(oA=>{var UA;return((UA=oA==null?void 0:oA.game_codes)==null?void 0:UA.length)>0}))==null?void 0:Js.length)>0){const oA=Ml.folder("\u4EE3\u7801\u6587\u4EF6");(aA=ko==null?void 0:ko.shixun_detail)==null||aA.map((UA,Gs)=>{var Du,Dl;if(((Du=UA==null?void 0:UA.game_codes)==null?void 0:Du.length)>0){const Uu=oA.folder(`\u7B2C${Gs+1}\u5173-${UA.subject}-${UA.id}`);(Dl=UA==null?void 0:UA.game_codes)==null||Dl.map(fd=>{Uu.file(`${fd.filename}.txt`,fd==null?void 0:fd.content)})}})}ou.update({content:zt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",zt.createElement("span",{className:"c-blue"},zs),"/",ko==null?void 0:ko.students_count,zt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),zs==(ko==null?void 0:ko.students_count)?(ou.destroy(),Iu()):Ti()}),2200)})}if(fr!=="all"||(In==null?void 0:In.students_count)<2){ru(),zc();const Vo=Vi.current.children;let ko=ea()();const hA=pu.folder(`${In==null?void 0:In.group_name}`).folder(`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?(In==null?void 0:In.student_id)+"+":""}${In==null?void 0:In.username}`);for(let Js=0;Jsno(void 0,null,function*(){Js0&&((bA=(Jo=In==null?void 0:In.shixun_detail)==null?void 0:Jo.filter(Js=>{var aA;return((aA=Js==null?void 0:Js.game_codes)==null?void 0:aA.length)>0}))==null?void 0:bA.length)>0){const Js=hA.folder("\u4EE3\u7801\u6587\u4EF6");(LA=In==null?void 0:In.shixun_detail)==null||LA.map((aA,Nl)=>{var Ml,qs;if(((Ml=aA==null?void 0:aA.game_codes)==null?void 0:Ml.length)>0){const DA=Js.folder(`\u7B2C${Nl+1}\u5173-${aA.subject}-${aA.id}`);(qs=aA==null?void 0:aA.game_codes)==null||qs.map(oA=>{DA.file(`${oA.filename}.txt`,oA==null?void 0:oA.content)})}})}ou.destroy(),Iu();return}else Ti(In==null?void 0:In.first_student_work_id)}),Iu=()=>{VA.generateAsync({type:"blob"}).then(function(fr){console.log(In,"shixunWorkReport");const io=document.createElement("a");io.href=window.URL.createObjectURL(fr),io.download=(In==null?void 0:In.shixun_name)+".zip",document.body.appendChild(io);const Jo=document.createEvent("MouseEvents");Jo.initEvent("click",!1,!1),io.dispatchEvent(Jo),document.body.removeChild(io),Xs(new(ve()))}),Ln(!1)};(0,Ce.useEffect)(()=>{Gc()},[La.homeworkId]);const Gc=()=>no(void 0,null,function*(){El(!0),yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},La),Ji.current||{})}),Mu(),(0,Ge.GJ)()&&fA(),El(!1)}),Nu=[{title:"\u5173\u5361",dataIndex:"name",render:(fr,io,Jo)=>Jo+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(fr,io,Jo)=>zt.createElement("div",null,fr,io.complete_status===4&&zt.createElement(Ze.vA,{status:io.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(fr,io,Jo)=>fr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:fr=>fr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(fr,io)=>zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.myself_experience)!==parseFloat(fr)?"red":"green"}},io.myself_experience),"/",fr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(fr,io)=>zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.game_score_full)!==parseFloat(fr)?"red":"green"}},fr),"/",io.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(fr,io)=>ec?zt.createElement(Wi,{max:io.game_score_full,defaultValue:parseFloat(fr),onBlur:Jo=>no(void 0,null,function*(){var bA;if((0,Ge.Rm)()&&!((bA=sr.AssistantObject.practice)!=null&&bA.can_appraise)){ge.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 LA=yield Dr({type:"shixunHomeworks/changeScore",payload:{categoryId:La.homeworkId,type:"report",score:Jo,challenge_id:io.challenge_id}});nu({page:1,page_size:10},"all"),yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},La),Ji.current||{})}),LA.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):fr}];let wc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(fr,io,Jo)=>({children:fr,props:{rowSpan:io.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(fr,io,Jo)=>({children:fr,props:{rowSpan:io.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:(fr,io,Jo)=>zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.actual_test_score)!==parseFloat(fr)?"red":"green"}},io.actual_test_score),"/",fr)},{title:"\u6307\u6807\u603B\u5206",render:(fr,io,Jo)=>({children:zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.actual_target_score)!==parseFloat(fr)?"red":"green"}},io.actual_target_score),"/",fr),props:{rowSpan:io.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const al=[{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:fr=>zt.createElement("span",null,fr?ze()(fr).format("YYYY-MM-DD HH:mm"):"--")}],nc=fr=>{Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{fr==="next"?Me.history.push(`/classrooms/${La.coursesId}/shixun_homework/${La.categoryId}/${In==null?void 0:In.next_student_work_id}/comment`):Me.history.push(`/classrooms/${La.coursesId}/shixun_homework/${La.categoryId}/${In==null?void 0:In.pre_student_work_id}/comment`)},200)},Rr=fr=>{As(""),fr.target.value&&(console.log("\u8FDB\u6765",In),fr.target.value=fr.target.value>In.repeat_setting_score?In.repeat_setting_score:fr.target.value,As(fr.target.value))},ao=()=>no(void 0,null,function*(){const fr=yield(0,we.ZP)(`/api/student_works/${In==null?void 0:In.work_id}/update_repeat_score`,{method:"put",body:{score:Ll}});yield Dr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},La),Ji.current||{})}),fr.status===0&&ge.ZP.info("\u64CD\u4F5C\u6210\u529F")});return zt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},zt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},zt.createElement(De.Z,{loading:ma["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},zt.createElement("div",{className:"edu-container"},In.course_id&&zt.createElement("section",{className:"animated fadeIn"},zt.createElement("aside",{className:""},In.category&&zt.createElement(xe.Z,{separator:">"},zt.createElement(xe.Z.Item,null,zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework`},In.course_name)),zt.createElement(xe.Z.Item,null,zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework/${In.category.main?"":In.category.category_id}`},In.category.category_name)),zt.createElement(xe.Z.Item,null,zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework/${In.homework_common_id}/detail${(0,Ge.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),zt.createElement(xe.Z.Item,null,In.username))),zt.createElement("aside",{className:[Ba.title1,"mt20"].join(" ")},zt.createElement(ee.Z,{align:"middle"},zt.createElement(E.Z,{flex:1},zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework/${In.homework_common_id}/detail`},zt.createElement(Ur.Z,{className:"font16 c-black"})),zt.createElement("strong",{className:"font20 ml5"},In==null?void 0:In.homework_name),zt.createElement(Ze.VV,{temporary:!0,status:In.homework_status})),zt.createElement(E.Z,{className:Ba.title1_right},In.view_tpi&&zt.createElement(Ee.ZP,{onClick:()=>{var fr,io;(0,Ze.xg)(`/tasks/${In==null?void 0:In.course_id}/${In==null?void 0:In.homework_common_id}/${(io=(fr=In==null?void 0:In.shixun_detail)==null?void 0:fr[0])==null?void 0:io.game_identifier}`)}},zt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ge.GJ)()&&In.homework_end===!1&&!!In.myshixun_id&&zt.createElement(Ee.ZP,{className:"ml10",onClick:()=>no(void 0,null,function*(){yield Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:In.myshixun_identifier},homework_common_id:oi.categoryId}})})},zt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),zt.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var fr;if((0,Ge.Rm)()&&!((fr=sr.AssistantObject.practice)!=null&&fr.can_download)){ge.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}au("")},loading:Ms},zt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(In==null?void 0:In.students_count)>1&&zt.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var fr;if((0,Ge.Rm)()&&!((fr=sr.AssistantObject.practice)!=null&&fr.can_download)){ge.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:zt.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:zt.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:()=>{au("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,_r.jj)({categoryId:La.categoryId,coursesId:La.coursesId},"shixun_report")}}})}},zt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),zt.createElement("aside",{className:"mt30 relative"})),zt.createElement("aside",{className:"edu-container bg-white",ref:Zi},zt.createElement("div",{id:"export-all",ref:Vi},zt.createElement("div",{id:"export-all-1"},zt.createElement("div",{className:Ba.title},zt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),zt.createElement("div",null,(0,Ge.GJ)()&&zt.createElement(Ee.ZP,{className:"mr20",type:"primary",onClick:()=>{Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:Mo({},In)},fn:()=>nu({page:1,page_size:10},"all")}})}},zt.createElement(de.Z,null),In.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),zt.createElement(a.Z,{style:{marginTop:0}}),zt.createElement(ee.Z,{className:"pl30 pr30"},zt.createElement(E.Z,null,zt.createElement("img",{className:Ba.userPic,src:`${Ue.Z.IMG_SERVER}/images/${In.image_url}`,alt:In.username})),zt.createElement(E.Z,null,zt.createElement("span",{className:"font16 ml40"},In.username),zt.createElement(Ze.vA,{status:In.compelete_status}),zt.createElement("ul",{className:Ba.userInfo},zt.createElement("li",null,"\u5B66\u53F7\uFF1A",In.student_id||"--"),zt.createElement("li",null,"\u5206\u73ED\uFF1A",In.group_name||"--"),zt.createElement("br",null),zt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",zt.createElement("span",{className:"c-red"},In.complete_count),"/",zt.createElement("span",{className:"c-red"},In.challenges_count)),zt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",zt.createElement("span",{className:"c-red"},In.current_complete_count||"-"),"/",zt.createElement("span",{className:"c-red"},In.challenges_count)),zt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.efficiency===null?"--":In&&In.efficiency),zt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.max_efficiency===null?"--":In&&In.max_efficiency))),zt.createElement("ul",{className:[Ba.listItem,"mt10"].join(" ")},zt.createElement("li",null,zt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),zt.createElement("div",{className:"c-light-black mt20"},In&&In.passed_time===null||In&&In.passed_time==="--"?"--":ze()(In&&In.passed_time).format("YYYY-MM-DD HH:mm"))),zt.createElement("li",null,zt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",zt.createElement("i",{onClick:fr=>{fr.stopPropagation(),fr.preventDefault(),Is(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),zt.createElement("div",{className:"c-light-black mt20"},In==null?void 0:In.human_training_time_rules)),zt.createElement("li",null,zt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",zt.createElement("i",{onClick:fr=>{fr.stopPropagation(),fr.preventDefault(),Zo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),zt.createElement("div",{className:"c-light-black mt20"},In.time_consuming)),zt.createElement("li",null,zt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),zt.createElement("div",{className:"mt20"},In.evaluate_count)),(In==null?void 0:In.eff_score_full)&&zt.createElement(zt.Fragment,null,zt.createElement("li",null,zt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},In.challenge_score),"/",zt.createElement("span",{className:"c-light-black"},In.challenge_score_full))),zt.createElement("li",null,zt.createElement("strong",null,"\u6548\u7387\u5206"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},In.eff_score),"/",zt.createElement("span",{className:"c-light-black"},In.eff_score_full)))),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)!==0&&zt.createElement("li",{style:{position:"relative"}},zt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},zt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),zt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},In!=null&&In.review_rate?zt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(In!=null&&In.review_id&&YA)localStorage.setItem("studentDetial",window.location.pathname),Me.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${La.categoryId}/review_detail/${In==null?void 0:In.review_id}`});else return}},In.review_rate.toFixed(1),"%"):zt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),YA?zt.createElement("div",{className:"mt20"},zt.createElement(y.default,{style:{width:"45px",height:"22px"},value:Ll,onChange:fr=>{Rr(fr)},onBlur:ao,disabled:Kc})," / ",In==null?void 0:In.repeat_setting_score):zt.createElement("div",{className:"mt20"},In==null?void 0:In.repeat_minus_score," / ",In==null?void 0:In.repeat_setting_score)),console.log("sssssssssssssssssssssss",In==null?void 0:In.have_repeat,In==null?void 0:In.repeat_minus_score),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)===0&&zt.createElement("li",null,zt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),zt.createElement("div",{className:"mt20"}," - -")),!(In!=null&&In.have_repeat)&&zt.createElement("li",null,zt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),zt.createElement("div",{className:"mt20"}," - -")),zt.createElement("li",null,zt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),zt.createElement("div",{className:"mt20"},zt.createElement("span",null,In.late_penalty||"- -"))),zt.createElement("li",null,zt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},Il),"/",zt.createElement("span",{className:"c-light-black"},In.all_work_score))),zt.createElement("li",null,zt.createElement("strong",null,"\u603B\u8BC4"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},In.overall_appraisal))))),zt.createElement(a.Z,{style:{margin:0}}),(In.work_comment_hidden||In.work_comment)&&zt.createElement("div",null,zt.createElement(ee.Z,{align:"middle"},zt.createElement(E.Z,{flex:1},zt.createElement("h1",{className:Ba.title},"\u70B9\u8BC4\u5185\u5BB9")),zt.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&zt.createElement(Ee.ZP,{onClick:()=>no(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:zt.createElement(Le.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return no(this,null,function*(){(yield(0,Ar.gZ)({comment_id:In.comment_id,homeworkId:La.homeworkId})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),Dr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},La),Ji.current||{})}))})}})})},zt.createElement(Pe.Z,null),"\u5220\u9664"))),zt.createElement(a.Z,{style:{margin:0}}),In.work_comment&&zt.createElement("aside",{className:"pl30 pr30 mt20"},zt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),zt.createElement("br",null),zt.createElement(ar.Z,{value:In.work_comment})),In.work_comment_hidden&&zt.createElement("aside",{className:"pl30 pr30 mt20"},zt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),zt.createElement("br",null),zt.createElement(ar.Z,{value:In.work_comment_hidden}))),(In==null?void 0:In.action_analysis)&&zt.createElement(Xr,{detailData:In}),zt.createElement("div",{className:Ba.score},zt.createElement("h1",{className:Ba.title},"\u9636\u6BB5\u6210\u7EE9"),(In==null?void 0:In.adjust_review_score_count)>0&&(0,Ge.GJ)()&&zt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{Fl(!0),nu({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",In==null?void 0:In.adjust_review_score_count,"\u6B21\uFF09")),zt.createElement("aside",{className:"pl30 pr30"},zt.createElement(te.default,{dataSource:In.stage_list,rowKey:fr=>fr==null?void 0:fr.challenge_id,pagination:!1,columns:Nu})),((Co=In==null?void 0:In.target_test_sets)==null?void 0:Co.length)>0&&zt.createElement("div",null,zt.createElement("h1",{className:Ba.title},"\u6307\u6807\u6210\u7EE9"),zt.createElement("aside",{className:"pl30 pr30"},zt.createElement(te.default,{dataSource:xl,rowKey:fr=>fr==null?void 0:fr.challenge_id,pagination:!1,bordered:!0,columns:wc}))),(In==null?void 0:In.work_description)&&zt.createElement(zt.Fragment,null,zt.createElement("h1",{className:Ba.title},"\u4E2A\u4EBA\u603B\u7ED3"),zt.createElement("aside",{className:"pl30 pr30"},zt.createElement(ar.Z,{value:In==null?void 0:In.work_description}))),zt.createElement("h1",{className:Ba.title},"\u56FE\u5F62\u7EDF\u8BA1"),zt.createElement(So,{data:so}),zt.createElement("h1",{className:Ba.title},"\u5B9E\u8BAD\u8BE6\u60C5")),zt.createElement(xA,{autoHeight:eu}))),(0,Ge.GJ)()&&zt.createElement("aside",{className:`${Ba.footerBar} ${Ms?Ba.footerBarStatic:""}`},zt.createElement("aside",{className:"edu-container"},zt.createElement(ee.Z,{align:"middle"},zt.createElement(E.Z,{flex:"1"},zt.createElement(Me.Link,{className:Ba.exitComment,to:`/classrooms/${La.coursesId}/shixun_homework/${La.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),zt.createElement(E.Z,{flex:"1",className:"tr"},zt.createElement(Ee.ZP,{type:"default",disabled:!(In!=null&&In.pre_student_work_id),onClick:()=>nc()},"\u4E0A\u4E00\u4E2A"),zt.createElement(Ee.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(In!=null&&In.next_student_work_id),onClick:()=>nc("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&zt.createElement(Ee.ZP,{type:"primary",onClick:()=>no(void 0,null,function*(){Dr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:Mo({},In)},fn:()=>nu({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),zt.createElement(dl,null),zt.createElement(rr.Z,null),zt.createElement(Ne.default,{open:ms,width:860,centered:!0,onCancel:()=>{Is(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},zt.createElement("div",{style:{color:"#333333",fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),zt.createElement("br",null),zt.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"),zt.createElement("br",null),zt.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"),zt.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 "),zt.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")),zt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),zt.createElement("br",null),zt.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 "),zt.createElement("br",null),zt.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"),zt.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 "),zt.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"),zt.createElement("br",null),zt.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")),zt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),zt.createElement("br",null),zt.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")),zt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),zt.createElement("br",null),zt.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"))),zt.createElement(Ne.default,{open:SA,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Zo(!1)},width:600},zt.createElement("div",{style:{fontWeight:400,color:"#333333"}},zt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",zt.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"),zt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",zt.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"),zt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",zt.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"))),zt.createElement(Ne.default,{open:Hl,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{HA("all"),Fl(!1)},destroyOnClose:!0,width:900},zt.createElement("div",{style:{fontWeight:400,color:"#333333"}},zt.createElement("div",null,zt.createElement("span",null,"\u5173\u5361\uFF1A"),zt.createElement(ne.default,{style:{width:300},value:_s,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:fr=>no(void 0,null,function*(){HA(fr),nu({page:1,page_size:10},fr)})},zt.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(wi=In==null?void 0:In.stage_list)==null?void 0:wi.map((fr,io)=>zt.createElement(ne.default.Option,{key:io,value:fr==null?void 0:fr.challenge_id},"\u7B2C",(0,Ze.EM)(io+1),"\u5173")))),zt.createElement("div",{className:"mt20"},zt.createElement(te.default,{dataSource:$a,rowKey:fr=>fr==null?void 0:fr.id,pagination:!1,columns:al,loading:$l})),zt.createElement("div",{className:Ba.footer},zt.createElement("div",null,zt.createElement("span",{style:{color:"#656F87"}},"\u5171",zt.createElement("span",{className:"c-light-primary"},FA),"\u6761\u6570\u636E")),zt.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(gi==null?void 0:gi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:FA,onChange:rA})))))};var xs=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt,loading:xn,globalSetting:sr,user:ta})=>({shixunHomeworks:Wt,classroomList:Qt,globalSetting:sr,loading:xn.effects,user:ta}))(is);const Jr=({globalSetting:Wt})=>{var Qt;switch(Number((Qt=Wt==null?void 0:Wt.setting)==null?void 0:Qt.theme)){case me.Fy.THEMEONE:return Ce.createElement(ua,null);case me.Fy.DEFAULT:default:return Ce.createElement(xs,null)}};var jr=(0,Me.connect)(({globalSetting:Wt})=>({globalSetting:Wt}))(Jr)},79702:function(Yt,Dt,Be){"use strict";var me=Be(43418),Ce=Be(8591),Me=Be(43597),nt=Be(92123),ze=Be(47141),je=Be(59301),ve=(Ne,ge,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,ge)).next())});const we=({shixunHomeworks:Ne,classroomList:ge,dispatch:De})=>{const xe=(0,nt.useParams)();return je.createElement(me.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 Ee,ie,y,a;if((0,ze.Rm)()&&!((Ee=ge.AssistantObject.practice)!=null&&Ee.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 ee=yield(0,Me.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:xe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(ee.shixun_identifier){Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===xe.categoryId))==null?void 0:y.id;if((0,ze.Rm)()&&!((a=ge.AssistantObject.practice)!=null&&a.can_view))return;nt.history.replace(`/classrooms/${xe.coursesId}/shixun_homework/${xe.categoryId}/${E}/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,nt.connect)(({shixunHomeworks:Ne,classroomList:ge})=>({shixunHomeworks:Ne,classroomList:ge}))(we)},18167:function(Yt,Dt,Be){"use strict";Be.d(Dt,{AD:function(){return Lt},BA:function(){return fn},D9:function(){return ut},Hp:function(){return Le},IM:function(){return Kt},Iy:function(){return Pe},KM:function(){return Xe},KU:function(){return wn},MJ:function(){return Ue},Ne:function(){return at},ON:function(){return ln},Uj:function(){return Rn},VY:function(){return Tt},YO:function(){return Bt},YX:function(){return Tn},Zn:function(){return y},_g:function(){return ne},_k:function(){return lt},c6:function(){return pt},cr:function(){return a},eV:function(){return Qe},fi:function(){return ee},gh:function(){return tt},hS:function(){return Vt},iA:function(){return E},j6:function(){return ae},je:function(){return St},jj:function(){return de},kS:function(){return Qn},o6:function(){return Te},pO:function(){return qn},rQ:function(){return it},sA:function(){return Ze},xm:function(){return vt},xo:function(){return mt},y8:function(){return ot},yd:function(){return te}});var me=Be(19284),Ce=Be(92123),Me=Be(94601),nt=Be(8591),ze=Be(85386),je=Object.defineProperty,ve=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ge=(Fe,fe,ce)=>fe in Fe?je(Fe,fe,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Fe[fe]=ce,De=(Fe,fe)=>{for(var ce in fe||(fe={}))we.call(fe,ce)&&ge(Fe,ce,fe[ce]);if(ve)for(var ce of ve(fe))Ne.call(fe,ce)&&ge(Fe,ce,fe[ce]);return Fe},xe=(Fe,fe,ce)=>new Promise((Se,qe)=>{var dt=Pt=>{try{Ye(ce.next(Pt))}catch(gt){qe(gt)}},He=Pt=>{try{Ye(ce.throw(Pt))}catch(gt){qe(gt)}},Ye=Pt=>Pt.done?Se(Pt.value):Promise.resolve(Pt.value).then(dt,He);Ye((ce=ce.apply(Fe,fe)).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,me.YR)(De({},Fe))).status===0&&(yield(0,Me.QH)("",(0,Me.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 fe=yield(0,me.yS)(De({},Fe));if(fe.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`);else{if(fe.status===-2)return fe;fe.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 fe=yield(0,me.W0)(De({},Fe));if(fe.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`);else{if(fe.status===-4)return fe;fe.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 fe=yield(0,me.Nl)(De({},Fe));if(fe.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(fe.status===-4)return fe;fe.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 fe=yield(0,me.IU)(De({},Fe));if(fe.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`);else{if(fe.status===-4)return fe;fe.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 fe=yield(0,me.td)(De({},Fe));if(fe.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(fe.status===-2)return fe;if(fe.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(fe.status===-4)return fe}}),ae=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.QX)(De({},Fe));if(fe.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`);else{if(fe.status===-4)return fe;fe.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`))}}),de=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.o_)(De({},Fe));ce.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),Le=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.ZL)(De({},Fe));ce.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),Pe=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.aP)(De({},Fe));ce.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),Ue=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.vV)(De({},Fe));ce.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),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()}),Ze=Fe=>xe(void 0,null,function*(){Ee(),yield(0,Me.QH)("",ze.Z.API_SERVER+`/api/polls/${Fe.categoryId}/commit_result.xlsx`),ie()}),tt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.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,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/video_study_statics.xlsx`,query:Fe}))}),pt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.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,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_course_students_info.xlsx`,query:Fe}))}),Lt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Fe}))}),it=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Fe}))}),ot=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Fe}))}),St=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.Uy)(De({},Fe));fe.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`)):fe.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`))}),lt=Fe=>xe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/export_records/${Fe.id}.xlsx`,query:Fe}))}),vt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Fe}))}),ut=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/${Fe.menuKey}_statistic.xlsx?${Fe.checkedList.map(fe=>`course_group_id[]=${fe}`).join("&")}`,query:Fe}))}),at=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_training_objectives.xlsx`,query:Fe}))}),Kt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)(Fe==null?void 0:Fe.name,(0,Me.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Fe}))}),Vt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_courses.xlsx`,query:Fe}))}),mt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Fe}))}),Tt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Fe}))}),wn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe.categoryId}/rank_list.xlsx`,query:Fe}))}),Qn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Fe}))}),ln=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${Fe.id}.json`,query:Fe}))}),Tn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe.categoryId}.json`,query:Fe}))}),Bt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/polls/${Fe==null?void 0:Fe.id}/commit_result.json`,query:Fe}))}),Rn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Fe}))}),qn=(Fe,fe)=>xe(void 0,null,function*(){yield(0,Me.FH)(fe||"",(0,Me.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,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/competitions/${Fe==null?void 0:Fe.identifier}/competition_commit_records/member_works.xlsx`,query:Fe}))}),fn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/group_homeworks/import_group_template.xlsx`,query:Fe}))})},18581:function(Yt,Dt,Be){"use strict";Be.d(Dt,{U:function(){return Ne}});var me=Be(59301),Ce=Object.defineProperty,Me=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(ge,De,xe)=>De in ge?Ce(ge,De,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ge[De]=xe,ve=(ge,De)=>{for(var xe in De||(De={}))nt.call(De,xe)&&je(ge,xe,De[xe]);if(Me)for(var xe of Me(De))ze.call(De,xe)&&je(ge,xe,De[xe]);return ge},we=(ge,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(ge,De)).next())});function Ne(ge,De){const[xe,Ee]=(0,me.useState)(De),[ie,y]=(0,me.useState)(!1),[a,ee]=(0,me.useState)();return[xe,ie,(te,ne=!1)=>we(this,null,function*(){const ae=ne?De:ve(ve({},xe),te);y(!0),Ee(ae);const de=yield ge(ae);return y(!1),ee(de),de}),a]}},50371:function(Yt,Dt){"use strict";function Be(){const me=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ce=1;Ce{const ze=Me[nt];ze!==void 0&&(me[nt]=ze)})}return me}Dt.Z=Be},13845:function(Yt,Dt,Be){"use strict";Be.d(Dt,{F:function(){return me},Z:function(){return Ce}});function me(Me){return Me!=null&&Me===Me.window}function Ce(Me,nt){var ze,je;if(typeof window=="undefined")return 0;const ve=nt?"scrollTop":"scrollLeft";let we=0;return me(Me)?we=Me[nt?"pageYOffset":"pageXOffset"]:Me instanceof Document?we=Me.documentElement[ve]:(Me instanceof HTMLElement||Me)&&(we=Me[ve]),Me&&!me(Me)&&typeof we!="number"&&(we=(je=((ze=Me.ownerDocument)!==null&&ze!==void 0?ze:Me).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 me=Be(59301);function Ce(){const[,Me]=me.useReducer(nt=>nt+1,0);return Me}},68031:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return nt}});var me=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 Me=Be(13845);function nt(ze){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:we,duration:Ne=450}=je,ge=ve(),De=(0,Me.Z)(ge,!0),xe=Date.now(),Ee=()=>{const y=Date.now()-xe,a=Ce(y>Ne?Ne:y,De,ze,Ne);(0,Me.F)(ge)?ge.scrollTo(window.pageXOffset,a):ge instanceof Document||ge.constructor.name==="HTMLDocument"?ge.documentElement.scrollTop=a:ge.scrollTop=a,y{let{children:ot}=it;const{getPrefixCls:St}=ze.useContext(ve.E_),lt=St("breadcrumb");return ze.createElement("li",{className:`${lt}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};ge.__ANT_BREADCRUMB_SEPARATOR=!0;var De=ge,xe=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vtot[vt]||lt)}function ie(it,ot,St,lt){if(St==null)return null;const{className:vt,onClick:ut}=ot,at=xe(ot,["className","onClick"]),Kt=Object.assign(Object.assign({},(0,nt.Z)(at,{data:!0,aria:!0})),{onClick:ut});return lt!==void 0?ze.createElement("a",Object.assign({},Kt,{className:Ce()(`${it}-link`,vt),href:lt}),St):ze.createElement("span",Object.assign({},Kt,{className:Ce()(`${it}-link`,vt)}),St)}function y(it,ot){return(lt,vt,ut,at,Kt)=>{if(ot)return ot(lt,vt,ut,at);const Vt=Ee(lt,vt);return ie(it,lt,Vt,Kt)}}var a=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vt{const{prefixCls:ot,separator:St="/",children:lt,menu:vt,overlay:ut,dropdownProps:at,href:Kt}=it,mt=(Tt=>{if(vt||ut){const wn=Object.assign({},at);if(vt){const Qn=vt||{},{items:ln}=Qn,Tn=a(Qn,["items"]);wn.menu=Object.assign(Object.assign({},Tn),{items:ln==null?void 0:ln.map((Bt,Rn)=>{var{key:qn,title:Xe,label:fn,path:Fe}=Bt,fe=a(Bt,["key","title","label","path"]);let ce=fn!=null?fn:Xe;return Fe&&(ce=ze.createElement("a",{href:`${Kt}${Fe}`},ce)),Object.assign(Object.assign({},fe),{key:qn!=null?qn:Rn,label:ce})})})}else ut&&(wn.overlay=ut);return ze.createElement(Ne.Z,Object.assign({placement:"bottom"},wn),ze.createElement("span",{className:`${ot}-overlay-link`},Tt,ze.createElement(we.Z,null)))}return Tt})(lt);return mt!=null?ze.createElement(ze.Fragment,null,ze.createElement("li",null,mt),St&&ze.createElement(De,null,St)):null},E=it=>{const{prefixCls:ot,children:St,href:lt}=it,vt=a(it,["prefixCls","children","href"]),{getPrefixCls:ut}=ze.useContext(ve.E_),at=ut("breadcrumb",ot);return ze.createElement(ee,Object.assign({},vt,{prefixCls:at}),ie(at,vt,St,lt))};E.__ANT_BREADCRUMB_ITEM=!0;var te=E,ne=Be(17313),ae=Be(83116),de=Be(37613);const Le=it=>{const{componentCls:ot,iconCls:St}=it;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(it)),{color:it.itemColor,fontSize:it.fontSize,[St]:{fontSize:it.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:it.linkColor,transition:`color ${it.motionDurationMid}`,padding:`0 ${it.paddingXXS}px`,borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",marginInline:-it.marginXXS,"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover}},(0,ne.Qy)(it)),"li:last-child":{color:it.lastItemColor},[`${ot}-separator`]:{marginInline:it.separatorMargin,color:it.separatorColor},[`${ot}-link`]:{[` > ${St} + span, > ${St} + a `]:{marginInlineStart:it.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",padding:`0 ${it.paddingXXS}px`,marginInline:-it.marginXXS,[`> ${St}`]:{marginInlineStart:it.marginXXS,fontSize:it.fontSizeIcon},"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover,a:{color:it.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${it.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,ae.Z)("Breadcrumb",it=>{const ot=(0,de.TS)(it,{});return[Le(ot)]},it=>({itemColor:it.colorTextDescription,lastItemColor:it.colorText,iconFontSize:it.fontSize,linkColor:it.colorTextDescription,linkHoverColor:it.colorText,separatorColor:it.colorTextDescription,separatorMargin:it.marginXS})),Ue=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vt{var{breadcrumbName:at}=ut,Kt=Ue(ut,["breadcrumbName"]);return Object.assign(Object.assign({},Kt),{title:at})})}),vt}function Ze(it,ot){return(0,ze.useMemo)(()=>it||(ot?ot.map(Ge):null),[it,ot])}var tt=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vt{if(ot===void 0)return ot;let St=(ot||"").replace(/^\//,"");return Object.keys(it).forEach(lt=>{St=St.replace(`:${lt}`,it[lt])}),St},pt=it=>{const{prefixCls:ot,separator:St="/",style:lt,className:vt,rootClassName:ut,routes:at,items:Kt,children:Vt,itemRender:mt,params:Tt={}}=it,wn=tt(it,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Qn,direction:ln,breadcrumb:Tn}=ze.useContext(ve.E_);let Bt;const Rn=Qn("breadcrumb",ot),[qn,Xe]=Pe(Rn),fn=Ze(Kt,at),Fe=y(Rn,mt);if(fn&&fn.length>0){const Se=[],qe=Kt||at;Bt=fn.map((dt,He)=>{const{path:Ye,key:Pt,type:gt,menu:st,overlay:Rt,onClick:hn,className:It,separator:on,dropdownProps:Ft}=dt,yn=Te(Tt,Ye);yn!==void 0&&Se.push(yn);const At=Pt!=null?Pt:He;if(gt==="separator")return ze.createElement(De,{key:At},on);const Jt={},gn=He===fn.length-1;st?Jt.menu=st:Rt&&(Jt.overlay=Rt);let{href:pn}=dt;return Se.length&&yn!==void 0&&(pn=`#/${Se.join("/")}`),ze.createElement(ee,Object.assign({key:At},Jt,(0,nt.Z)(dt,{data:!0,aria:!0}),{className:It,dropdownProps:Ft,href:pn,separator:gn?"":St,onClick:hn,prefixCls:Rn}),Fe(dt,Tt,qe,Se,pn))})}else if(Vt){const Se=(0,Me.Z)(Vt).length;Bt=(0,Me.Z)(Vt).map((qe,dt)=>{if(!qe)return qe;const He=dt===Se-1;return(0,je.Tm)(qe,{separator:He?"":St,key:dt})})}const fe=Ce()(Rn,Tn==null?void 0:Tn.className,{[`${Rn}-rtl`]:ln==="rtl"},vt,ut,Xe),ce=Object.assign(Object.assign({},Tn==null?void 0:Tn.style),lt);return qn(ze.createElement("nav",Object.assign({className:fe,style:ce},wn),ze.createElement("ol",null,Bt)))};pt.Item=te,pt.Separator=De;var Qe=pt,Lt=Qe},24905:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return Pe}});var me=Be(92310),Ce=Be.n(me),Me=Be(5630),nt=Be(59301),ze=Be(36355),je=Be(1684),ve=Be(32441),Ne=nt.createContext(null),ge=Be(98447),De=Be(14088),xe=Be(4572),Ee=function(Ue,Ge){var Ze={};for(var tt in Ue)Object.prototype.hasOwnProperty.call(Ue,tt)&&Ge.indexOf(tt)<0&&(Ze[tt]=Ue[tt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,tt=Object.getOwnPropertySymbols(Ue);Te{var Ze;const{prefixCls:tt,className:Te,rootClassName:pt,children:Qe,indeterminate:Lt=!1,style:it,onMouseEnter:ot,onMouseLeave:St,skipGroup:lt=!1,disabled:vt}=Ue,ut=Ee(Ue,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Kt,checkbox:Vt}=nt.useContext(ze.E_),mt=nt.useContext(Ne),{isFormItemInput:Tt}=nt.useContext(ve.aM),wn=nt.useContext(je.Z),Qn=(Ze=(mt==null?void 0:mt.disabled)||vt)!==null&&Ze!==void 0?Ze:wn,ln=nt.useRef(ut.value);nt.useEffect(()=>{mt==null||mt.registerValue(ut.value)},[]),nt.useEffect(()=>{if(!lt)return ut.value!==ln.current&&(mt==null||mt.cancelValue(ln.current),mt==null||mt.registerValue(ut.value),ln.current=ut.value),()=>mt==null?void 0:mt.cancelValue(ut.value)},[ut.value]);const Tn=at("checkbox",tt),[Bt,Rn]=(0,ge.ZP)(Tn),qn=Object.assign({},ut);mt&&!lt&&(qn.onChange=function(){ut.onChange&&ut.onChange.apply(ut,arguments),mt.toggleOption&&mt.toggleOption({label:Qe,value:ut.value})},qn.name=mt.name,qn.checked=mt.value.includes(ut.value));const Xe=Ce()(`${Tn}-wrapper`,{[`${Tn}-rtl`]:Kt==="rtl",[`${Tn}-wrapper-checked`]:qn.checked,[`${Tn}-wrapper-disabled`]:Qn,[`${Tn}-wrapper-in-form-item`]:Tt},Vt==null?void 0:Vt.className,Te,pt,Rn),fn=Ce()({[`${Tn}-indeterminate`]:Lt},xe.A,Rn),Fe=Lt?"mixed":void 0;return Bt(nt.createElement(De.Z,{component:"Checkbox",disabled:Qn},nt.createElement("label",{className:Xe,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),it),onMouseEnter:ot,onMouseLeave:St},nt.createElement(Me.Z,Object.assign({"aria-checked":Fe},qn,{prefixCls:Tn,className:fn,disabled:Qn,ref:Ge})),Qe!==void 0&&nt.createElement("span",null,Qe))))};var a=nt.forwardRef(ie),ee=Be(94480),E=Be(2738),te=function(Ue,Ge){var Ze={};for(var tt in Ue)Object.prototype.hasOwnProperty.call(Ue,tt)&&Ge.indexOf(tt)<0&&(Ze[tt]=Ue[tt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,tt=Object.getOwnPropertySymbols(Ue);Te{const{defaultValue:Ze,children:tt,options:Te=[],prefixCls:pt,className:Qe,rootClassName:Lt,style:it,onChange:ot}=Ue,St=te(Ue,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:lt,direction:vt}=nt.useContext(ze.E_),[ut,at]=nt.useState(St.value||Ze||[]),[Kt,Vt]=nt.useState([]);nt.useEffect(()=>{"value"in St&&at(St.value||[])},[St.value]);const mt=nt.useMemo(()=>Te.map(fe=>typeof fe=="string"||typeof fe=="number"?{label:fe,value:fe}:fe),[Te]),Tt=fe=>{Vt(ce=>ce.filter(Se=>Se!==fe))},wn=fe=>{Vt(ce=>[].concat((0,ee.Z)(ce),[fe]))},Qn=fe=>{const ce=ut.indexOf(fe.value),Se=(0,ee.Z)(ut);ce===-1?Se.push(fe.value):Se.splice(ce,1),"value"in St||at(Se),ot==null||ot(Se.filter(qe=>Kt.includes(qe)).sort((qe,dt)=>{const He=mt.findIndex(Pt=>Pt.value===qe),Ye=mt.findIndex(Pt=>Pt.value===dt);return He-Ye}))},ln=lt("checkbox",pt),Tn=`${ln}-group`,[Bt,Rn]=(0,ge.ZP)(ln),qn=(0,E.Z)(St,["value","disabled"]),Xe=Te.length?mt.map(fe=>nt.createElement(a,{prefixCls:ln,key:fe.value.toString(),disabled:"disabled"in fe?fe.disabled:St.disabled,value:fe.value,checked:ut.includes(fe.value),onChange:fe.onChange,className:`${Tn}-item`,style:fe.style,title:fe.title},fe.label)):tt,fn={toggleOption:Qn,value:ut,disabled:St.disabled,name:St.name,registerValue:wn,cancelValue:Tt},Fe=Ce()(Tn,{[`${Tn}-rtl`]:vt==="rtl"},Qe,Lt,Rn);return Bt(nt.createElement("div",Object.assign({className:Fe,style:it},qn,{ref:Ge}),nt.createElement(Ne.Provider,{value:fn},Xe)))},ae=nt.forwardRef(ne);var de=nt.memo(ae);const Le=a;Le.Group=de,Le.__ANT_CHECKBOX=!0;var Pe=Le},98447:function(Yt,Dt,Be){"use strict";Be.d(Dt,{C2:function(){return ze}});var me=Be(17313),Ce=Be(37613),Me=Be(83116);const nt=je=>{const{checkboxCls:ve}=je,we=`${ve}-wrapper`;return[{[`${ve}-group`]:Object.assign(Object.assign({},(0,me.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[we]:Object.assign(Object.assign({},(0,me.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,me.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,me.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[nt(we)]}Dt.ZP=(0,Me.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 me=Be(92310),Ce=Be.n(me),Me=Be(59301),nt=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})),ge=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}=Me.useContext(nt.E_),{prefixCls:ee,type:E="horizontal",orientation:te="center",orientationMargin:ne,className:ae,rootClassName:de,children:Le,dashed:Pe,plain:Ue,style:Ge}=Ee,Ze=ge(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),tt=ie("divider",ee),[Te,pt]=Ne(tt),Qe=te.length>0?`-${te}`:te,Lt=!!Le,it=te==="left"&&ne!=null,ot=te==="right"&&ne!=null,St=Ce()(tt,a==null?void 0:a.className,pt,`${tt}-${E}`,{[`${tt}-with-text`]:Lt,[`${tt}-with-text${Qe}`]:Lt,[`${tt}-dashed`]:!!Pe,[`${tt}-plain`]:!!Ue,[`${tt}-rtl`]:y==="rtl",[`${tt}-no-default-orientation-margin-left`]:it,[`${tt}-no-default-orientation-margin-right`]:ot},ae,de),lt=Me.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),vt=Object.assign(Object.assign({},it&&{marginLeft:lt}),ot&&{marginRight:lt});return Te(Me.createElement("div",Object.assign({className:St,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ge)},Ze,{role:"separator"}),Le&&E!=="vertical"&&Me.createElement("span",{className:`${tt}-inner-text`,style:vt},Le)))}},91857:function(Yt,Dt,Be){"use strict";var me=Be(59301),Ce=Be(38819),Me=Be(92310),nt=Be.n(Me),ze=Be(31561),je=Be(70425),ve=Be(18929),we=Be(2738),Ne=Be(79676),ge=Be(53487),De=Be(92343),xe=Be(36355),Ee=Be(20834),ie=Be(40875),y=Be(88088),a=Be(47211);const ee=null,E=de=>{const{menu:Le,arrow:Pe,prefixCls:Ue,children:Ge,trigger:Ze,disabled:tt,dropdownRender:Te,getPopupContainer:pt,overlayClassName:Qe,rootClassName:Lt,open:it,onOpenChange:ot,visible:St,onVisibleChange:lt,mouseEnterDelay:vt=.15,mouseLeaveDelay:ut=.1,autoAdjustOverflow:at=!0,placement:Kt="",overlay:Vt,transitionName:mt}=de,{getPopupContainer:Tt,getPrefixCls:wn,direction:Qn}=me.useContext(xe.E_),ln=me.useMemo(()=>{const st=wn();return mt!==void 0?mt:Kt.includes("top")?`${st}-slide-down`:`${st}-slide-up`},[wn,Kt,mt]),Tn=me.useMemo(()=>Kt?Kt.includes("Center")?Kt.slice(0,Kt.indexOf("Center")):Kt:Qn==="rtl"?"bottomRight":"bottomLeft",[Kt,Qn]),Bt=wn("dropdown",Ue),[Rn,qn]=(0,a.Z)(Bt),[,Xe]=(0,y.Z)(),fn=me.Children.only(Ge),Fe=(0,De.Tm)(fn,{className:nt()(`${Bt}-trigger`,{[`${Bt}-rtl`]:Qn==="rtl"},fn.props.className),disabled:tt}),fe=tt?[]:Ze;let ce;fe&&fe.includes("contextMenu")&&(ce=!0);const[Se,qe]=(0,ve.Z)(!1,{value:it!=null?it:St}),dt=(0,je.useEvent)(st=>{ot==null||ot(st),lt==null||lt(st),qe(st)}),He=nt()(Qe,Lt,qn,{[`${Bt}-rtl`]:Qn==="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=me.useCallback(()=>{qe(!1)},[]),gt=()=>{let st;return Le!=null&&Le.items?st=me.createElement(Ee.default,Object.assign({},Le)):typeof Vt=="function"?st=Vt():st=Vt,Te&&(st=Te(st)),st=me.Children.only(typeof st=="string"?me.createElement("span",null,st):st),me.createElement(ie.J,{prefixCls:`${Bt}-menu`,expandIcon:me.createElement("span",{className:`${Bt}-menu-submenu-arrow`},me.createElement(Ce.Z,{className:`${Bt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:Rt=>{let{mode:hn}=Rt}},st)};return Rn(me.createElement(ze.Z,Object.assign({alignPoint:ce},(0,we.Z)(de,["rootClassName"]),{mouseEnterDelay:vt,mouseLeaveDelay:ut,visible:Se,builtinPlacements:Ye,arrow:!!Pe,overlayClassName:He,prefixCls:Bt,getPopupContainer:pt||Tt,transitionName:ln,trigger:fe,overlay:gt,placement:Tn,onVisibleChange:dt}),Fe))};function te(de){return Object.assign(Object.assign({},de),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,ge.Z)(E,"dropdown",de=>de,te),ae=de=>me.createElement(ne,Object.assign({},de),me.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ae,Dt.Z=E},38854:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return y}});var me=Be(91857),Ce=Be(92310),Me=Be.n(Ce),nt=Be(59301),ze=Be(18785),je=Be(3113),ve=Be(36355),we=Be(81327),Ne=Be(33234),ge=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}=nt.useContext(ve.E_),{prefixCls:ne,type:ae="default",danger:de,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,children:Ze,className:tt,menu:Te,arrow:pt,autoFocus:Qe,overlay:Lt,trigger:it,align:ot,open:St,onOpenChange:lt,placement:vt,getPopupContainer:ut,href:at,icon:Kt=nt.createElement(ze.Z,null),title:Vt,buttonsRender:mt=gt=>gt,mouseEnterDelay:Tt,mouseLeaveDelay:wn,overlayClassName:Qn,overlayStyle:ln,destroyPopupOnHide:Tn,dropdownRender:Bt}=a,Rn=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"]),qn=E("dropdown",ne),Xe=`${qn}-button`,[fn,Fe]=(0,ge.Z)(qn),fe={menu:Te,arrow:pt,autoFocus:Qe,align:ot,disabled:Le,trigger:Le?[]:it,onOpenChange:lt,getPopupContainer:ut||ee,mouseEnterDelay:Tt,mouseLeaveDelay:wn,overlayClassName:Qn,overlayStyle:ln,destroyPopupOnHide:Tn,dropdownRender:Bt},{compactSize:ce,compactItemClassnames:Se}=(0,Ne.ri)(qn,te),qe=Me()(Xe,Se,tt,Fe);"overlay"in a&&(fe.overlay=Lt),"open"in a&&(fe.open=St),"placement"in a?fe.placement=vt:fe.placement=te==="rtl"?"bottomLeft":"bottomRight";const dt=nt.createElement(je.ZP,{type:ae,danger:de,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,href:at,title:Vt},Ze),He=nt.createElement(je.ZP,{type:ae,danger:de,icon:Kt}),[Ye,Pt]=mt([dt,He]);return fn(nt.createElement(we.Z.Compact,Object.assign({className:qe,size:ce,block:!0},Rn),Ye,nt.createElement(me.Z,Object.assign({},fe),Pt)))};xe.__ANT_BUTTON=!0;var Ee=xe;const ie=me.Z;ie.Button=Ee;var y=ie},47211:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return De}});var me=Be(17313),Ce=Be(13826),Me=Be(92899),nt=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 ge=xe=>{const{componentCls:Ee,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:ee,antCls:E,iconCls:te,motionDurationMid:ne,dropdownPaddingVertical:ae,fontSize:de,dropdownEdgeChildPadding:Le,colorTextDisabled:Pe,fontSizeIcon:Ue,controlPaddingHorizontal:Ge,colorBgElevated:Ze}=xe;return[{[Ee]:Object.assign(Object.assign({},(0,me.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:Ze,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:Ze,backgroundClip:"padding-box",borderRadius:xe.borderRadiusLG,outline:"none",boxShadow:xe.boxShadowSecondary},(0,me.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:de,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:de,lineHeight:xe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:xe.borderRadiusSM,"&:hover, &-active":{backgroundColor:xe.controlItemBgHover}},(0,me.Qy)(xe)),{"&-selected":{color:xe.colorPrimary,backgroundColor:xe.controlItemBgActive,"&:hover, &-active":{backgroundColor:xe.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ze,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${xe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:xe.colorSplit},[`${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:Ze,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,Me.Fm)(xe,"move-up"),(0,Me.Fm)(xe,"move-down"),(0,nt._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:de}=xe,Le=(ee-E*te)/2,{dropdownArrowOffset:Pe}=(0,ze.fS)({contentRadius:de}),Ue=(0,ve.TS)(xe,{menuCls:`${ae}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:Le,dropdownEdgeChildPadding:ne});return[ge(Ue),Ne(Ue)]},xe=>({zIndexPopup:xe.zIndexPopupBase+50}))},8628:function(Yt,Dt,Be){"use strict";var me=Be(59301),Ce=Be(34280),Me=Be(56762),nt=Be(69507);function ze(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,me.useRef)({}),we=(0,Me.Z)(),Ne=(0,nt.ZP)();return(0,Ce.Z)(()=>{const ge=Ne.subscribe(De=>{ve.current=De,je&&we()});return()=>Ne.unsubscribe(ge)},[]),ve.current}Dt.Z=ze},45818:function(Yt,Dt,Be){"use strict";Be.d(Dt,{D:function(){return ne},Z:function(){return Le}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},nt=Me,ze=Be(7657),je=function(Ue,Ge){return Ce.createElement(ze.Z,(0,me.Z)({},Ue,{ref:Ge,icon:nt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(33853),ge=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 Ze in Pe)Object.prototype.hasOwnProperty.call(Pe,Ze)&&Ue.indexOf(Ze)<0&&(Ge[Ze]=Pe[Ze]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Ze=Object.getOwnPropertySymbols(Pe);tt{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:Ze,trigger:tt,children:Te,defaultCollapsed:pt=!1,theme:Qe="dark",style:Lt={},collapsible:it=!1,reverseArrow:ot=!1,width:St=200,collapsedWidth:lt=80,zeroWidthTriggerStyle:vt,breakpoint:ut,onCollapse:at,onBreakpoint:Kt}=Pe,Vt=E(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:mt}=(0,Ce.useContext)(ee.Gs),[Tt,wn]=(0,Ce.useState)("collapsed"in Pe?Pe.collapsed:pt),[Qn,ln]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{"collapsed"in Pe&&wn(Pe.collapsed)},[Pe.collapsed]);const Tn=(Fe,fe)=>{"collapsed"in Pe||wn(Fe),at==null||at(Fe,fe)},Bt=(0,Ce.useRef)();Bt.current=Fe=>{ln(Fe.matches),Kt==null||Kt(Fe.matches),Tt!==Fe.matches&&Tn(Fe.matches,"responsive")},(0,Ce.useEffect)(()=>{function Fe(ce){return Bt.current(ce)}let fe;if(typeof window!="undefined"){const{matchMedia:ce}=window;if(ce&&ut&&ut in te){fe=ce(`(max-width: ${te[ut]})`);try{fe.addEventListener("change",Fe)}catch(Se){fe.addListener(Fe)}Fe(fe)}}return()=>{try{fe==null||fe.removeEventListener("change",Fe)}catch(ce){fe==null||fe.removeListener(Fe)}}},[ut]),(0,Ce.useEffect)(()=>{const Fe=ae("ant-sider-");return mt.addSider(Fe),()=>mt.removeSider(Fe)},[]);const Rn=()=>{Tn(!Tt,"clickTrigger")},{getPrefixCls:qn}=(0,Ce.useContext)(a.E_),Xe=()=>{const Fe=qn("layout-sider",Ge),fe=(0,Ee.Z)(Vt,["collapsed"]),ce=Tt?lt:St,Se=y(ce)?`${ce}px`:String(ce),qe=parseFloat(String(lt||0))===0?Ce.createElement("span",{onClick:Rn,className:xe()(`${Fe}-zero-width-trigger`,`${Fe}-zero-width-trigger-${ot?"right":"left"}`),style:vt},tt||Ce.createElement(we,null)):null,Ye={expanded:ot?Ce.createElement(ge.Z,null):Ce.createElement(Ne.Z,null),collapsed:ot?Ce.createElement(Ne.Z,null):Ce.createElement(ge.Z,null)}[Tt?"collapsed":"expanded"],Pt=tt!==null?qe||Ce.createElement("div",{className:`${Fe}-trigger`,onClick:Rn,style:{width:Se}},tt||Ye):null,gt=Object.assign(Object.assign({},Lt),{flex:`0 0 ${Se}`,maxWidth:Se,minWidth:Se,width:Se}),st=xe()(Fe,`${Fe}-${Qe}`,{[`${Fe}-collapsed`]:!!Tt,[`${Fe}-has-trigger`]:it&&tt!==null&&!qe,[`${Fe}-below`]:!!Qn,[`${Fe}-zero-width`]:parseFloat(Se)===0},Ze);return Ce.createElement("aside",Object.assign({className:st},fe,{style:gt,ref:Ue}),Ce.createElement("div",{className:`${Fe}-children`},Te),it||Qn&&qe?Pt:null)},fn=Ce.useMemo(()=>({siderCollapsed:Tt}),[Tt]);return Ce.createElement(ne.Provider,{value:fn},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 me=Be(94480),Ce=Be(92310),Me=Be.n(Ce),nt=Be(2738),ze=Be(59301),je=Be(36355),ve=Be(83116),Ne=de=>{const{componentCls:Le,bodyBg:Pe,lightSiderBg:Ue,lightTriggerBg:Ge,lightTriggerColor:Ze}=de;return{[`${Le}-sider-light`]:{background:Ue,[`${Le}-sider-trigger`]:{color:Ze,background:Ge},[`${Le}-sider-zero-width-trigger`]:{color:Ze,background:Ge,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const ge=de=>{const{antCls:Le,componentCls:Pe,colorText:Ue,triggerColor:Ge,footerBg:Ze,triggerBg:tt,headerHeight:Te,headerPadding:pt,headerColor:Qe,footerPadding:Lt,triggerHeight:it,zeroTriggerHeight:ot,zeroTriggerWidth:St,motionDurationMid:lt,motionDurationSlow:vt,fontSize:ut,borderRadius:at,bodyBg:Kt,headerBg:Vt,siderBg:mt}=de;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Kt,"&, *":{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:mt,transition:`all ${lt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Le}-menu${Le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:it},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:it,color:Ge,lineHeight:`${it}px`,textAlign:"center",background:tt,cursor:"pointer",transition:`all ${lt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Te,insetInlineEnd:-St,zIndex:1,width:St,height:ot,color:Ge,fontSize:de.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:mt,borderStartStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at,borderEndStartRadius:0,cursor:"pointer",transition:`background ${vt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${vt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-St,borderStartStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:at}}}}},Ne(de)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:Te,padding:pt,color:Qe,lineHeight:`${Te}px`,background:Vt,[`${Le}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Lt,color:Ue,fontSize:ut,background:Ze},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var De=(0,ve.Z)("Layout",de=>[ge(de)],de=>{const{colorBgLayout:Le,controlHeight:Pe,controlHeightLG:Ue,colorText:Ge,controlHeightSM:Ze,marginXXS:tt,colorTextLightSolid:Te,colorBgContainer:pt}=de,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:`${Ze}px ${Qe}px`,footerBg:Le,siderBg:"#001529",triggerHeight:Ue+tt*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:Ue,zeroTriggerHeight:Ue,lightSiderBg:pt,lightTriggerBg:pt,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),xe=function(de,Le){var Pe={};for(var Ue in de)Object.prototype.hasOwnProperty.call(de,Ue)&&Le.indexOf(Ue)<0&&(Pe[Ue]=de[Ue]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ue=Object.getOwnPropertySymbols(de);Genull,removeSider:()=>null}});function ie(de){let{suffixCls:Le,tagName:Pe,displayName:Ue}=de;return Ge=>ze.forwardRef((tt,Te)=>ze.createElement(Ge,Object.assign({ref:Te,suffixCls:Le,tagName:Pe},tt)))}const y=ze.forwardRef((de,Le)=>{const{prefixCls:Pe,suffixCls:Ue,className:Ge,tagName:Ze}=de,tt=xe(de,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Te}=ze.useContext(je.E_),pt=Te("layout",Pe),[Qe,Lt]=De(pt),it=Ue?`${pt}-${Ue}`:pt;return Qe(ze.createElement(Ze,Object.assign({className:Me()(Pe||it,Ge,Lt),ref:Le},tt)))}),a=ze.forwardRef((de,Le)=>{const{direction:Pe}=ze.useContext(je.E_),[Ue,Ge]=ze.useState([]),{prefixCls:Ze,className:tt,rootClassName:Te,children:pt,hasSider:Qe,tagName:Lt,style:it}=de,ot=xe(de,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),St=(0,nt.Z)(ot,["suffixCls"]),{getPrefixCls:lt,layout:vt}=ze.useContext(je.E_),ut=lt("layout",Ze),[at,Kt]=De(ut),Vt=Me()(ut,{[`${ut}-has-sider`]:typeof Qe=="boolean"?Qe:Ue.length>0,[`${ut}-rtl`]:Pe==="rtl"},vt==null?void 0:vt.className,tt,Te,Kt),mt=ze.useMemo(()=>({siderHook:{addSider:Tt=>{Ge(wn=>[].concat((0,me.Z)(wn),[Tt]))},removeSider:Tt=>{Ge(wn=>wn.filter(Qn=>Qn!==Tt))}}}),[]);return at(ze.createElement(Ee.Provider,{value:mt},ze.createElement(Lt,Object.assign({ref:Le,className:Vt,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),it)},St),pt)))}),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 me=Be(59301),Ce=Be(33234),Me=Be(70425),nt=function(ve,we){var Ne={};for(var ge in ve)Object.prototype.hasOwnProperty.call(ve,ge)&&we.indexOf(ge)<0&&(Ne[ge]=ve[ge]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ge=Object.getOwnPropertySymbols(ve);De{const{children:Ne}=ve,ge=nt(ve,["children"]),De=me.useContext(ze),xe=me.useMemo(()=>Object.assign(Object.assign({},De),ge),[De,ge.prefixCls,ge.mode,ge.selectable]);return me.createElement(ze.Provider,{value:xe},me.createElement(Ce.BR,null,(0,Me.supportNodeRef)(Ne)?me.cloneElement(Ne,{ref:we}):Ne))});Dt.Z=ze},20834:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return fn}});var me=Be(15285),Ce=Be(59301),Me=Be(45818),nt=Be(92310),ze=Be.n(nt),je=Be(36355),ve=function(Fe,fe){var ce={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&fe.indexOf(Se)<0&&(ce[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{const{prefixCls:fe,className:ce,dashed:Se}=Fe,qe=ve(Fe,["prefixCls","className","dashed"]),{getPrefixCls:dt}=Ce.useContext(je.E_),He=dt("menu",fe),Ye=ze()({[`${He}-item-divider-dashed`]:!!Se},ce);return Ce.createElement(me.iz,Object.assign({className:Ye},qe))},ge=Be(11592),De=Be(2738),xe=Be(6848),Ee=Be(92343),y=(0,Ce.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Fe=>{var fe;const{className:ce,children:Se,icon:qe,title:dt,danger:He}=Fe,{prefixCls:Ye,firstLevel:Pt,direction:gt,disableMenuItemTitleTooltip:st,inlineCollapsed:Rt}=Ce.useContext(y),hn=Jt=>{const gn=Ce.createElement("span",{className:`${Ye}-title-content`},Se);return(!qe||(0,Ee.l$)(Se)&&Se.type==="span")&&Se&&Jt&&Pt&&typeof Se=="string"?Ce.createElement("div",{className:`${Ye}-inline-collapsed-noicon`},Se.charAt(0)):gn},{siderCollapsed:It}=Ce.useContext(Me.D);let on=dt;typeof dt=="undefined"?on=Pt?Se:"":dt===!1&&(on="");const Ft={title:on};!It&&!Rt&&(Ft.title=null,Ft.open=!1);const yn=(0,ge.Z)(Se).length;let At=Ce.createElement(me.ck,Object.assign({},(0,De.Z)(Fe,["title","icon","danger"]),{className:ze()({[`${Ye}-item-danger`]:He,[`${Ye}-item-only-child`]:(qe?yn+1:yn)===1},ce),title:typeof dt=="string"?dt:void 0}),(0,Ee.Tm)(qe,{className:ze()((0,Ee.l$)(qe)?(fe=qe.props)===null||fe===void 0?void 0:fe.className:"",`${Ye}-item-icon`)}),hn(Rt));return st||(At=Ce.createElement(xe.Z,Object.assign({},Ft,{placement:gt==="rtl"?"left":"right",overlayClassName:`${Ye}-inline-collapsed-tooltip`}),At)),At},te=Fe=>{var fe;const{popupClassName:ce,icon:Se,title:qe,theme:dt}=Fe,He=Ce.useContext(y),{prefixCls:Ye,inlineCollapsed:Pt,theme:gt}=He,st=(0,me.Xl)();let Rt;if(!Se)Rt=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 It=(0,Ee.l$)(qe)&&qe.type==="span";Rt=Ce.createElement(Ce.Fragment,null,(0,Ee.Tm)(Se,{className:ze()((0,Ee.l$)(Se)?(fe=Se.props)===null||fe===void 0?void 0:fe.className:"",`${Ye}-item-icon`)}),It?qe:Ce.createElement("span",{className:`${Ye}-title-content`},qe))}const hn=Ce.useMemo(()=>Object.assign(Object.assign({},He),{firstLevel:!1}),[He]);return Ce.createElement(y.Provider,{value:hn},Ce.createElement(me.Wd,Object.assign({},(0,De.Z)(Fe,["icon"]),{title:Rt,popupClassName:ze()(Ye,ce,`${Ye}-${dt||gt}`)})))},ne=Be(18785),ae=Be(70425),de=Be(62892),Le=Be(40875),Pe=function(Fe,fe){var ce={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&fe.indexOf(Se)<0&&(ce[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{if(fe&&typeof fe=="object"){const Se=fe,{label:qe,children:dt,key:He,type:Ye}=Se,Pt=Pe(Se,["label","children","key","type"]),gt=He!=null?He:`tmp-${ce}`;return dt||Ye==="group"?Ye==="group"?Ce.createElement(me.BW,Object.assign({key:gt},Pt,{title:qe}),Ue(dt)):Ce.createElement(te,Object.assign({key:gt},Pt,{title:qe}),Ue(dt)):Ye==="divider"?Ce.createElement(Ne,Object.assign({key:gt},Pt)):Ce.createElement(ee,Object.assign({key:gt},Pt),qe)}return null}).filter(fe=>fe)}function Ge(Fe){return Ce.useMemo(()=>Fe&&Ue(Fe),[Fe])}var Ze=Be(64993),tt=Be(17313),Te=Be(8378),pt=Be(13826),Qe=Be(29878),Lt=Be(83116),it=Be(37613),St=Fe=>{const{componentCls:fe,motionDurationSlow:ce,horizontalLineHeight:Se,colorSplit:qe,lineWidth:dt,lineType:He,itemPaddingInline:Ye}=Fe;return{[`${fe}-horizontal`]:{lineHeight:Se,border:0,borderBottom:`${dt}px ${He} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${fe}-item, ${fe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ye},[`> ${fe}-item:hover, > ${fe}-item-active, > ${fe}-submenu ${fe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${fe}-item, ${fe}-submenu-title`]:{transition:[`border-color ${ce}`,`background ${ce}`].join(",")},[`${fe}-submenu-arrow`]:{display:"none"}}}},vt=Fe=>{let{componentCls:fe,menuArrowOffset:ce}=Fe;return{[`${fe}-rtl`]:{direction:"rtl"},[`${fe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${fe}-rtl${fe}-vertical, ${fe}-submenu-rtl ${fe}-vertical`]:{[`${fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ce})`},"&::after":{transform:`rotate(45deg) translateY(${ce})`}}}}};const ut=Fe=>Object.assign({},(0,tt.oN)(Fe));var Kt=(Fe,fe)=>{const{componentCls:ce,itemColor:Se,itemSelectedColor:qe,groupTitleColor:dt,itemBg:He,subMenuItemBg:Ye,itemSelectedBg:Pt,activeBarHeight:gt,activeBarWidth:st,activeBarBorderWidth:Rt,motionDurationSlow:hn,motionEaseInOut:It,motionEaseOut:on,itemPaddingInline:Ft,motionDurationMid:yn,itemHoverColor:At,lineType:Jt,colorSplit:gn,itemDisabledColor:pn,dangerItemColor:Yn,dangerItemHoverColor:ir,dangerItemSelectedColor:yr,dangerItemActiveBg:Cr,dangerItemSelectedBg:ur,itemHoverBg:ar,itemActiveBg:Ar,menuSubMenuBg:Er,horizontalItemSelectedColor:ea,horizontalItemSelectedBg:ya,horizontalItemBorderRadius:Tr,horizontalItemHoverBg:qa,popupBg:Za}=Fe;return{[`${ce}-${fe}, ${ce}-${fe} > ${ce}`]:{color:Se,background:He,[`&${ce}-root:focus-visible`]:Object.assign({},ut(Fe)),[`${ce}-item-group-title`]:{color:dt},[`${ce}-submenu-selected`]:{[`> ${ce}-submenu-title`]:{color:qe}},[`${ce}-item-disabled, ${ce}-submenu-disabled`]:{color:`${pn} !important`},[`${ce}-item:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{[`&:hover, > ${ce}-submenu-title:hover`]:{color:At}},[`&:not(${ce}-horizontal)`]:{[`${ce}-item:not(${ce}-item-selected)`]:{"&:hover":{backgroundColor:ar},"&:active":{backgroundColor:Ar}},[`${ce}-submenu-title`]:{"&:hover":{backgroundColor:ar},"&:active":{backgroundColor:Ar}}},[`${ce}-item-danger`]:{color:Yn,[`&${ce}-item:hover`]:{[`&:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{color:ir}},[`&${ce}-item:active`]:{background:Cr}},[`${ce}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ce}-item-selected`]:{color:qe,[`&${ce}-item-danger`]:{color:yr},"a, a:hover":{color:"inherit"}},[`& ${ce}-item-selected`]:{backgroundColor:Pt,[`&${ce}-item-danger`]:{backgroundColor:ur}},[`${ce}-item, ${ce}-submenu-title`]:{[`&:not(${ce}-item-disabled):focus-visible`]:Object.assign({},ut(Fe))},[`&${ce}-submenu > ${ce}`]:{backgroundColor:Er},[`&${ce}-popup > ${ce}`]:{backgroundColor:Za},[`&${ce}-horizontal`]:Object.assign(Object.assign({},fe==="dark"?{borderBottom:0}:{}),{[`> ${ce}-item, > ${ce}-submenu`]:{top:Rt,marginTop:-Rt,marginBottom:0,borderRadius:Tr,"&::after":{position:"absolute",insetInline:Ft,bottom:0,borderBottom:`${gt}px solid transparent`,transition:`border-color ${hn} ${It}`,content:'""'},"&:hover, &-active, &-open":{background:qa,"&::after":{borderBottomWidth:gt,borderBottomColor:ea}},"&-selected":{color:ea,backgroundColor:ya,"&:hover":{backgroundColor:ya},"&::after":{borderBottomWidth:gt,borderBottomColor:ea}}}}),[`&${ce}-root`]:{[`&${ce}-inline, &${ce}-vertical`]:{borderInlineEnd:`${Rt}px ${Jt} ${gn}`}},[`&${ce}-inline`]:{[`${ce}-sub${ce}-inline`]:{background:Ye},[`${ce}-item, ${ce}-submenu-title`]:Rt&&st?{width:`calc(100% + ${Rt}px)`}:{},[`${ce}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${st}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${on}`,`opacity ${yn} ${on}`].join(","),content:'""'},[`&${ce}-item-danger`]:{"&::after":{borderInlineEndColor:yr}}},[`${ce}-selected, ${ce}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${It}`,`opacity ${yn} ${It}`].join(",")}}}}}};const Vt=Fe=>{const{componentCls:fe,itemHeight:ce,itemMarginInline:Se,padding:qe,menuArrowSize:dt,marginXS:He,itemMarginBlock:Ye}=Fe,Pt=qe+dt+He;return{[`${fe}-item`]:{position:"relative",overflow:"hidden"},[`${fe}-item, ${fe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Se,marginBlock:Ye,width:`calc(100% - ${Se*2}px)`},[`> ${fe}-item, > ${fe}-submenu > ${fe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`},[`${fe}-item-group-list ${fe}-submenu-title, ${fe}-submenu-title`]:{paddingInlineEnd:Pt}}};var Tt=Fe=>{const{componentCls:fe,iconCls:ce,itemHeight:Se,colorTextLightSolid:qe,dropdownWidth:dt,controlHeightLG:He,motionDurationMid:Ye,motionEaseOut:Pt,paddingXL:gt,itemMarginInline:st,fontSizeLG:Rt,motionDurationSlow:hn,paddingXS:It,boxShadowSecondary:on,collapsedWidth:Ft,collapsedIconSize:yn}=Fe,At={height:Se,lineHeight:`${Se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[fe]:{"&-inline, &-vertical":Object.assign({[`&${fe}-root`]:{boxShadow:"none"}},Vt(Fe))},[`${fe}-submenu-popup`]:{[`${fe}-vertical`]:Object.assign(Object.assign({},Vt(Fe)),{boxShadow:on})}},{[`${fe}-submenu-popup ${fe}-vertical${fe}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${He*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${fe}-inline`]:{width:"100%",[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${hn}`,`background ${hn}`,`padding ${Ye} ${Pt}`].join(","),[`> ${fe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${fe}-sub${fe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${fe}-submenu > ${fe}-submenu-title`]:At,[`& ${fe}-item-group-title`]:{paddingInlineStart:gt}},[`${fe}-item`]:At}},{[`${fe}-inline-collapsed`]:{width:Ft,[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu ${fe}-submenu-title`]:{[`> ${fe}-inline-collapsed-noicon`]:{fontSize:Rt,textAlign:"center"}}},[`> ${fe}-item, > ${fe}-item-group > ${fe}-item-group-list > ${fe}-item, > ${fe}-item-group > ${fe}-item-group-list > ${fe}-submenu > ${fe}-submenu-title, > ${fe}-submenu > ${fe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Rt/2}px - ${st}px)`,textOverflow:"clip",[` ${fe}-submenu-arrow, ${fe}-submenu-expand-icon `]:{opacity:0},[`${fe}-item-icon, ${ce}`]:{margin:0,fontSize:yn,lineHeight:`${Se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${fe}-item-icon, ${ce}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${fe}-item-icon, ${ce}`]:{display:"none"},"a, a:hover":{color:qe}},[`${fe}-item-group-title`]:Object.assign(Object.assign({},tt.vS),{paddingInline:It})}}]};const wn=Fe=>{const{componentCls:fe,motionDurationSlow:ce,motionDurationMid:Se,motionEaseInOut:qe,motionEaseOut:dt,iconCls:He,iconSize:Ye,iconMarginInlineEnd:Pt}=Fe;return{[`${fe}-item, ${fe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ce}`,`background ${ce}`,`padding ${ce} ${qe}`].join(","),[`${fe}-item-icon, ${He}`]:{minWidth:Ye,fontSize:Ye,transition:[`font-size ${Se} ${dt}`,`margin ${ce} ${qe}`,`color ${ce}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${ce} ${qe}`,`margin ${ce}`,`color ${ce}`].join(",")}},[`${fe}-item-icon`]:Object.assign({},(0,tt.Ro)()),[`&${fe}-item-only-child`]:{[`> ${He}, > ${fe}-item-icon`]:{marginInlineEnd:0}}},[`${fe}-item-disabled, ${fe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${fe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Qn=Fe=>{const{componentCls:fe,motionDurationSlow:ce,motionEaseInOut:Se,borderRadius:qe,menuArrowSize:dt,menuArrowOffset:He}=Fe;return{[`${fe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Fe.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ce} ${Se}, opacity ${ce}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${ce} ${Se}`,`transform ${ce} ${Se}`,`top ${ce} ${Se}`,`color ${ce} ${Se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${He})`},"&::after":{transform:`rotate(-45deg) translateY(${He})`}}}}},ln=Fe=>{const{antCls:fe,componentCls:ce,fontSize:Se,motionDurationSlow:qe,motionDurationMid:dt,motionEaseInOut:He,paddingXS:Ye,padding:Pt,colorSplit:gt,lineWidth:st,zIndexPopup:Rt,borderRadiusLG:hn,subMenuItemBorderRadius:It,menuArrowSize:on,menuArrowOffset:Ft,lineType:yn,menuPanelMaskInset:At,groupTitleLineHeight:Jt,groupTitleFontSize:gn}=Fe;return[{"":{[`${ce}`]:Object.assign(Object.assign({},(0,tt.dF)()),{"&-hidden":{display:"none"}})},[`${ce}-submenu-hidden`]:{display:"none"}},{[ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)(Fe)),(0,tt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize: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",[`${ce}-item`]:{flex:"none"}},[`${ce}-item, ${ce}-submenu, ${ce}-submenu-title`]:{borderRadius:Fe.itemBorderRadius},[`${ce}-item-group-title`]:{padding:`${Ye}px ${Pt}px`,fontSize:gn,lineHeight:Jt,transition:`all ${qe}`},[`&-horizontal ${ce}-submenu`]:{transition:[`border-color ${qe} ${He}`,`background ${qe} ${He}`].join(",")},[`${ce}-submenu, ${ce}-submenu-inline`]:{transition:[`border-color ${qe} ${He}`,`background ${qe} ${He}`,`padding ${dt} ${He}`].join(",")},[`${ce}-submenu ${ce}-sub`]:{cursor:"initial",transition:[`background ${qe} ${He}`,`padding ${qe} ${He}`].join(",")},[`${ce}-title-content`]:{transition:`color ${qe}`},[`${ce}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ce}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:gt,borderStyle:yn,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),wn(Fe)),{[`${ce}-item-group`]:{[`${ce}-item-group-list`]:{margin:0,padding:0,[`${ce}-item, ${ce}-submenu-title`]:{paddingInline:`${Se*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Rt,borderRadius:hn,boxShadow:"none",transformOrigin:"0 0",[`&${ce}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${At}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:At},"\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},[`> ${ce}`]:Object.assign(Object.assign(Object.assign({borderRadius:hn},wn(Fe)),Qn(Fe)),{[`${ce}-item, ${ce}-submenu > ${ce}-submenu-title`]:{borderRadius:It},[`${ce}-submenu-title::after`]:{transition:`transform ${qe} ${He}`}})}}),Qn(Fe)),{[`&-inline-collapsed ${ce}-submenu-arrow, &-inline ${ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ft})`},"&::after":{transform:`rotate(45deg) translateX(-${Ft})`}},[`${ce}-submenu-open${ce}-submenu-inline > ${ce}-submenu-title > ${ce}-submenu-arrow`]:{transform:`translateY(-${on*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ft})`},"&::before":{transform:`rotate(45deg) translateX(${Ft})`}}})},{[`${fe}-layout-header`]:{[ce]:{lineHeight:"inherit"}}}]};var Tn=(Fe,fe)=>(0,Lt.Z)("Menu",Se=>{if(fe===!1)return[];const{colorBgElevated:qe,colorPrimary:dt,colorTextLightSolid:He,controlHeightLG:Ye,fontSize:Pt,darkItemColor:gt,darkDangerItemColor:st,darkItemBg:Rt,darkSubMenuItemBg:hn,darkItemSelectedColor:It,darkItemSelectedBg:on,darkDangerItemSelectedBg:Ft,darkItemHoverBg:yn,darkGroupTitleColor:At,darkItemHoverColor:Jt,darkItemDisabledColor:gn,darkDangerItemHoverColor:pn,darkDangerItemSelectedColor:Yn,darkDangerItemActiveBg:ir}=Se,yr=Pt/7*5,Cr=(0,it.TS)(Se,{menuArrowSize:yr,menuHorizontalHeight:Ye*1.15,menuArrowOffset:`${yr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),ur=(0,it.TS)(Cr,{itemColor:gt,itemHoverColor:Jt,groupTitleColor:At,itemSelectedColor:It,itemBg:Rt,popupBg:Rt,subMenuItemBg:hn,itemActiveBg:"transparent",itemSelectedBg:on,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:gn,dangerItemColor:st,dangerItemHoverColor:pn,dangerItemSelectedColor:Yn,dangerItemActiveBg:ir,dangerItemSelectedBg:Ft,menuSubMenuBg:hn,horizontalItemSelectedColor:He,horizontalItemSelectedBg:dt});return[ln(Cr),St(Cr),Tt(Cr),Kt(Cr,"light"),Kt(ur,"dark"),vt(Cr),(0,Te.Z)(Cr),(0,pt.oN)(Cr,"slide-up"),(0,pt.oN)(Cr,"slide-down"),(0,Qe._y)(Cr,"zoom-big")]},Se=>{const{colorPrimary:qe,colorError:dt,colorTextDisabled:He,colorErrorBg:Ye,colorText:Pt,colorTextDescription:gt,colorBgContainer:st,colorFillAlter:Rt,colorFillContent:hn,lineWidth:It,lineWidthBold:on,controlItemBgActive:Ft,colorBgTextHover:yn,controlHeightLG:At,lineHeight:Jt,colorBgElevated:gn,marginXXS:pn,padding:Yn,fontSize:ir,controlHeightSM:yr,fontSizeLG:Cr,colorTextLightSolid:ur,colorErrorHover:ar}=Se,Ar=new Ze.C(ur).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:gt,groupTitleColor:gt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:st,itemBg:st,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:hn,itemActiveBg:Ft,colorSubItemBg:Rt,subMenuItemBg:Rt,colorItemBgSelected:Ft,itemSelectedBg:Ft,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:on,activeBarHeight:on,colorActiveBarBorderSize:It,activeBarBorderWidth:It,colorItemTextDisabled:He,itemDisabledColor:He,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:Ye,dangerItemActiveBg:Ye,colorDangerItemBgSelected:Ye,dangerItemSelectedBg:Ye,itemMarginInline:Se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:At,groupTitleLineHeight:Jt,collapsedWidth:At*2,popupBg:gn,itemMarginBlock:pn,itemPaddingInline:Yn,horizontalLineHeight:`${At*1.15}px`,iconSize:ir,iconMarginInlineEnd:yr-ir,collapsedIconSize:Cr,groupTitleFontSize:ir,darkItemDisabledColor:new Ze.C(ur).setAlpha(.25).toRgbString(),darkItemColor:Ar,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ur,darkItemSelectedBg:qe,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ar,darkItemHoverColor:ur,darkDangerItemHoverColor:ar,darkDangerItemSelectedColor:ur,darkDangerItemActiveBg:dt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Fe),Bt=function(Fe,fe){var ce={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&fe.indexOf(Se)<0&&(ce[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{var ce,Se;const qe=Ce.useContext(Le.Z),dt=qe||{},{getPrefixCls:He,getPopupContainer:Ye,direction:Pt,menu:gt}=Ce.useContext(je.E_),st=He(),{prefixCls:Rt,className:hn,style:It,theme:on="light",expandIcon:Ft,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:At,siderCollapsed:Jt,items:gn,children:pn,rootClassName:Yn,mode:ir,selectable:yr,onClick:Cr,overflowedIndicatorPopupClassName:ur}=Fe,ar=Bt(Fe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ar=(0,De.Z)(ar,["collapsedWidth"]),Er=Ge(gn)||pn;(ce=dt.validator)===null||ce===void 0||ce.call(dt,{mode:ir});const ea=(0,ae.useEvent)(function(){var Fo;Cr==null||Cr.apply(void 0,arguments),(Fo=dt.onClick)===null||Fo===void 0||Fo.call(dt)}),ya=dt.mode||ir,Tr=yr!=null?yr:dt.selectable,qa=Ce.useMemo(()=>Jt!==void 0?Jt:At,[At,Jt]),Za={horizontal:{motionName:`${st}-slide-up`},inline:(0,de.Z)(st),other:{motionName:`${st}-zoom-big`}},_r=He("menu",Rt||dt.prefixCls),[rn,ei]=Tn(_r,!qe),vo=ze()(`${_r}-${on}`,gt==null?void 0:gt.className,hn);let ci;if(typeof Ft=="function")ci=Ft;else if(Ft===null||Ft===!1)ci=null;else if(dt.expandIcon===null||dt.expandIcon===!1)ci=null;else{const Fo=Ft!=null?Ft:dt.expandIcon;ci=(0,Ee.Tm)(Fo,{className:ze()(`${_r}-submenu-expand-icon`,(0,Ee.l$)(Fo)?(Se=Fo.props)===null||Se===void 0?void 0:Se.className:"")})}const zi=Ce.useMemo(()=>({prefixCls:_r,inlineCollapsed:qa||!1,direction:Pt,firstLevel:!0,theme:on,mode:ya,disableMenuItemTitleTooltip:yn}),[_r,qa,Pt,yn,on]);return rn(Ce.createElement(Le.Z.Provider,{value:null},Ce.createElement(y.Provider,{value:zi},Ce.createElement(me.ZP,Object.assign({getPopupContainer:Ye,overflowedIndicator:Ce.createElement(ne.Z,null),overflowedIndicatorPopupClassName:ze()(_r,`${_r}-${on}`,ur),mode:ya,selectable:Tr,onClick:ea},Ar,{inlineCollapsed:qa,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),It),className:vo,prefixCls:_r,direction:Pt,defaultMotions:Za,expandIcon:ci,ref:fe,rootClassName:ze()(Yn,ei)}),Er))))});const Xe=(0,Ce.forwardRef)((Fe,fe)=>{const ce=(0,Ce.useRef)(null),Se=Ce.useContext(Me.D);return(0,Ce.useImperativeHandle)(fe,()=>({menu:ce.current,focus:qe=>{var dt;(dt=ce.current)===null||dt===void 0||dt.focus(qe)}})),Ce.createElement(qn,Object.assign({ref:ce},Fe,Se))});Xe.Item=ee,Xe.SubMenu=te,Xe.Divider=Ne,Xe.ItemGroup=me.BW;var fn=Xe},58421:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return dt}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},nt=Me,ze=Be(7657),je=function(Ye,Pt){return Ce.createElement(ze.Z,(0,me.Z)({},Ye,{ref:Pt,icon:nt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(49198),ge=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},de=ae,Le=Be(91735),Pe=function(He){(0,E.Z)(Pt,He);var Ye=(0,te.Z)(Pt);function Pt(){var gt;(0,a.Z)(this,Pt);for(var st=arguments.length,Rt=new Array(st),hn=0;hn=0||It.relatedTarget.className.indexOf("".concat(At,"-item"))>=0))&&yn(gt.getValidValue()))},gt.go=function(It){var on=gt.state.goInputText;on!==""&&(It.keyCode===de.ENTER||It.type==="click")&&(gt.setState({goInputText:""}),gt.props.quickGo(gt.getValidValue()))},gt}return(0,ee.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var st=this.props,Rt=st.pageSize,hn=st.pageSizeOptions;return hn.some(function(It){return It.toString()===Rt.toString()})?hn:hn.concat([Rt.toString()]).sort(function(It,on){var Ft=Number.isNaN(Number(It))?0:Number(It),yn=Number.isNaN(Number(on))?0:Number(on);return Ft-yn})}},{key:"render",value:function(){var st=this,Rt=this.props,hn=Rt.pageSize,It=Rt.locale,on=Rt.rootPrefixCls,Ft=Rt.changeSize,yn=Rt.quickGo,At=Rt.goButton,Jt=Rt.selectComponentClass,gn=Rt.buildOptionText,pn=Rt.selectPrefixCls,Yn=Rt.disabled,ir=this.state.goInputText,yr="".concat(on,"-options"),Cr=Jt,ur=null,ar=null,Ar=null;if(!Ft&&!yn)return null;var Er=this.getPageSizeOptions();if(Ft&&Cr){var ea=Er.map(function(ya,Tr){return Ce.createElement(Cr.Option,{key:Tr,value:ya.toString()},(gn||st.buildOptionText)(ya))});ur=Ce.createElement(Cr,{disabled:Yn,prefixCls:pn,showSearch:!1,className:"".concat(yr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(hn||Er[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Tr){return Tr.parentNode},"aria-label":It.page_size,defaultOpen:!1},ea)}return yn&&(At&&(Ar=typeof At=="boolean"?Ce.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Yn,className:"".concat(yr,"-quick-jumper-button")},It.jump_to_confirm):Ce.createElement("span",{onClick:this.go,onKeyUp:this.go},At)),ar=Ce.createElement("div",{className:"".concat(yr,"-quick-jumper")},It.jump_to,Ce.createElement("input",{disabled:Yn,type:"text",value:ir,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":It.page}),It.page,Ar)),Ce.createElement("li",{className:"".concat(yr)},ur,ar)}}]),Pt}(Ce.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ue=Pe,Ge=function(Ye){var Pt,gt=Ye.rootPrefixCls,st=Ye.page,Rt=Ye.active,hn=Ye.className,It=Ye.showTitle,on=Ye.onClick,Ft=Ye.onKeyPress,yn=Ye.itemRender,At="".concat(gt,"-item"),Jt=Ee()(At,"".concat(At,"-").concat(st),(Pt={},(0,ie.Z)(Pt,"".concat(At,"-active"),Rt),(0,ie.Z)(Pt,"".concat(At,"-disabled"),!st),(0,ie.Z)(Pt,Ye.className,hn),Pt)),gn=function(){on(st)},pn=function(yr){Ft(yr,on,st)},Yn=yn(st,"page",Ce.createElement("a",{rel:"nofollow"},st));return Yn?Ce.createElement("li",{title:It?st.toString():null,className:Jt,onClick:gn,onKeyPress:pn,tabIndex:0},Yn):null},Ze=Ge;function tt(){}function Te(He){var Ye=Number(He);return typeof Ye=="number"&&!Number.isNaN(Ye)&&isFinite(Ye)&&Math.floor(Ye)===Ye}var pt=function(Ye,Pt,gt){return gt};function Qe(He,Ye,Pt){var gt=typeof He=="undefined"?Ye.pageSize:He;return Math.floor((Pt.total-1)/gt)+1}var Lt=function(He){(0,E.Z)(Pt,He);var Ye=(0,te.Z)(Pt);function Pt(gt){var st;(0,a.Z)(this,Pt),st=Ye.call(this,gt),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(Ft,yn){var At=st.props.prefixCls,Jt=Ft||Ce.createElement("button",{type:"button","aria-label":yn,className:"".concat(At,"-item-link")});return typeof Ft=="function"&&(Jt=Ce.createElement(Ft,(0,y.Z)({},st.props))),Jt},st.isValid=function(Ft){var yn=st.props.total;return Te(Ft)&&Ft!==st.state.current&&Te(yn)&&yn>0},st.shouldDisplayQuickJumper=function(){var Ft=st.props,yn=Ft.showQuickJumper,At=Ft.total,Jt=st.state.pageSize;return At<=Jt?!1:yn},st.handleKeyDown=function(Ft){(Ft.keyCode===de.ARROW_UP||Ft.keyCode===de.ARROW_DOWN)&&Ft.preventDefault()},st.handleKeyUp=function(Ft){var yn=st.getValidValue(Ft),At=st.state.currentInputValue;yn!==At&&st.setState({currentInputValue:yn}),Ft.keyCode===de.ENTER?st.handleChange(yn):Ft.keyCode===de.ARROW_UP?st.handleChange(yn-1):Ft.keyCode===de.ARROW_DOWN&&st.handleChange(yn+1)},st.handleBlur=function(Ft){var yn=st.getValidValue(Ft);st.handleChange(yn)},st.changePageSize=function(Ft){var yn=st.state.current,At=Qe(Ft,st.state,st.props);yn=yn>At?At:yn,At===0&&(yn=st.state.current),typeof Ft=="number"&&("pageSize"in st.props||st.setState({pageSize:Ft}),"current"in st.props||st.setState({current:yn,currentInputValue:yn})),st.props.onShowSizeChange(yn,Ft),"onChange"in st.props&&st.props.onChange&&st.props.onChange(yn,Ft)},st.handleChange=function(Ft){var yn=st.props,At=yn.disabled,Jt=yn.onChange,gn=st.state,pn=gn.pageSize,Yn=gn.current,ir=gn.currentInputValue;if(st.isValid(Ft)&&!At){var yr=Qe(void 0,st.state,st.props),Cr=Ft;return Ft>yr?Cr=yr:Ft<1&&(Cr=1),"current"in st.props||st.setState({current:Cr}),Cr!==ir&&st.setState({currentInputValue:Cr}),Jt(Cr,pn),Cr}return Yn},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?At-2:0),gn=2;gn=hn?on=hn:on=Number(Rt),on}},{key:"getShowSizeChanger",value:function(){var st=this.props,Rt=st.showSizeChanger,hn=st.total,It=st.totalBoundaryShowSizeChanger;return typeof Rt!="undefined"?Rt:hn>It}},{key:"render",value:function(){var st=this.props,Rt=st.prefixCls,hn=st.className,It=st.style,on=st.disabled,Ft=st.hideOnSinglePage,yn=st.total,At=st.locale,Jt=st.showQuickJumper,gn=st.showLessItems,pn=st.showTitle,Yn=st.showTotal,ir=st.simple,yr=st.itemRender,Cr=st.showPrevNextJumpers,ur=st.jumpPrevIcon,ar=st.jumpNextIcon,Ar=st.selectComponentClass,Er=st.selectPrefixCls,ea=st.pageSizeOptions,ya=this.state,Tr=ya.current,qa=ya.pageSize,Za=ya.currentInputValue;if(Ft===!0&&yn<=qa)return null;var _r=Qe(void 0,this.state,this.props),rn=[],ei=null,vo=null,ci=null,zi=null,Fo=null,Ki=Jt&&Jt.goButton,Gi=gn?1:2,ti=Tr-1>0?Tr-1:0,Pn=Tr+1<_r?Tr+1:_r,On=(0,ne.Z)(this.props,{aria:!0,data:!0}),dn=Yn&&Ce.createElement("li",{className:"".concat(Rt,"-total-text")},Yn(yn,[yn===0?0:(Tr-1)*qa+1,Tr*qa>yn?yn:Tr*qa]));if(ir){Ki&&(typeof Ki=="boolean"?Fo=Ce.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},At.jump_to_confirm):Fo=Ce.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ki),Fo=Ce.createElement("li",{title:pn?"".concat(At.jump_to).concat(Tr,"/").concat(_r):null,className:"".concat(Rt,"-simple-pager")},Fo));var kr=this.renderPrev(ti);return Ce.createElement("ul",(0,me.Z)({className:Ee()(Rt,"".concat(Rt,"-simple"),(0,ie.Z)({},"".concat(Rt,"-disabled"),on),hn),style:It,ref:this.paginationNode},On),dn,kr?Ce.createElement("li",{title:pn?At.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Rt,"-prev"),(0,ie.Z)({},"".concat(Rt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kr):null,Ce.createElement("li",{title:pn?"".concat(Tr,"/").concat(_r):null,className:"".concat(Rt,"-simple-pager")},Ce.createElement("input",{type:"text",value:Za,disabled:on,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ce.createElement("span",{className:"".concat(Rt,"-slash")},"/"),_r),Ce.createElement("li",{title:pn?At.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Rt,"-next"),(0,ie.Z)({},"".concat(Rt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Pn)),Fo)}if(_r<=3+Gi*2){var ua={locale:At,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:pn,itemRender:yr};_r||rn.push(Ce.createElement(Ze,(0,me.Z)({},ua,{key:"noPager",page:1,className:"".concat(Rt,"-item-disabled")})));for(var Ur=1;Ur<=_r;Ur+=1){var Ba=Tr===Ur;rn.push(Ce.createElement(Ze,(0,me.Z)({},ua,{key:Ur,page:Ur,active:Ba})))}}else{var Ma=gn?At.prev_3:At.prev_5,Fa=gn?At.next_3:At.next_5,So=yr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ur,"prev page")),Wi=yr(this.getJumpNextPage(),"jump-next",this.getItemIcon(ar,"next page"));Cr&&(ei=So?Ce.createElement("li",{title:pn?Ma:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(Rt,"-jump-prev"),(0,ie.Z)({},"".concat(Rt,"-jump-prev-custom-icon"),!!ur))},So):null,vo=Wi?Ce.createElement("li",{title:pn?Fa:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(Rt,"-jump-next"),(0,ie.Z)({},"".concat(Rt,"-jump-next-custom-icon"),!!ar))},Wi):null),zi=Ce.createElement(Ze,{locale:At,last:!0,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_r,page:_r,active:!1,showTitle:pn,itemRender:yr}),ci=Ce.createElement(Ze,{locale:At,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:pn,itemRender:yr});var Fr=Math.max(1,Tr-Gi),Ha=Math.min(Tr+Gi,_r);Tr-1<=Gi&&(Ha=1+Gi*2),_r-Tr<=Gi&&(Fr=_r-Gi*2);for(var xi=Fr;xi<=Ha;xi+=1){var ai=Tr===xi;rn.push(Ce.createElement(Ze,{locale:At,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:xi,page:xi,active:ai,showTitle:pn,itemRender:yr}))}Tr-1>=Gi*2&&Tr!==3&&(rn[0]=(0,Ce.cloneElement)(rn[0],{className:"".concat(Rt,"-item-after-jump-prev")}),rn.unshift(ei)),_r-Tr>=Gi*2&&Tr!==_r-2&&(rn[rn.length-1]=(0,Ce.cloneElement)(rn[rn.length-1],{className:"".concat(Rt,"-item-before-jump-next")}),rn.push(vo)),Fr!==1&&rn.unshift(ci),Ha!==_r&&rn.push(zi)}var di=!this.hasPrev()||!_r,Lo=!this.hasNext()||!_r,os=this.renderPrev(ti),js=this.renderNext(Pn);return Ce.createElement("ul",(0,me.Z)({className:Ee()(Rt,hn,(0,ie.Z)({},"".concat(Rt,"-disabled"),on)),style:It,ref:this.paginationNode},On),dn,os?Ce.createElement("li",{title:pn?At.prev_page:null,onClick:this.prev,tabIndex:di?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Rt,"-prev"),(0,ie.Z)({},"".concat(Rt,"-disabled"),di)),"aria-disabled":di},os):null,rn,js?Ce.createElement("li",{title:pn?At.next_page:null,onClick:this.next,tabIndex:Lo?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Rt,"-next"),(0,ie.Z)({},"".concat(Rt,"-disabled"),Lo)),"aria-disabled":Lo},js):null,Ce.createElement(Ue,{disabled:on,locale:At,rootPrefixCls:Rt,selectComponentClass:Ar,selectPrefixCls:Er,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Tr,pageSize:qa,pageSizeOptions:ea,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ki}))}}],[{key:"getDerivedStateFromProps",value:function(st,Rt){var hn={};if("current"in st&&(hn.current=st.current,st.current!==Rt.current&&(hn.currentInputValue=hn.current)),"pageSize"in st&&st.pageSize!==Rt.pageSize){var It=Rt.current,on=Qe(st.pageSize,Rt,st);It=It>on?on:It,"current"in st||(hn.current=It,hn.currentInputValue=It),hn.pageSize=st.pageSize}return hn}}]),Pt}(Ce.Component);Lt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:tt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:tt,locale:Le.Z,style:{},itemRender:pt,totalBoundaryShowSizeChanger:50};var it=Lt,ot=Be(22075),St=Be(36355),lt=Be(19716),vt=Be(8628),ut=Be(9763),at=Be(57809);const Kt=He=>Ce.createElement(at.default,Object.assign({},He,{showSearch:!0,size:"small"})),Vt=He=>Ce.createElement(at.default,Object.assign({},He,{showSearch:!0,size:"middle"}));Kt.Option=at.default.Option,Vt.Option=at.default.Option;var mt=Be(9937),Tt=Be(17313),wn=Be(83116),Qn=Be(37613);const ln=He=>{const{componentCls:Ye}=He;return{[`${Ye}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ye}-disabled`]:{cursor:"not-allowed",[`${Ye}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:He.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:He.colorBorder,backgroundColor:He.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:He.itemActiveBgDisabled},a:{color:He.itemActiveColorDisabled}}},[`${Ye}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ye}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ye}-simple-pager`]:{color:He.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"}}}}}},Tn=He=>{const{componentCls:Ye}=He;return{[`&${Ye}-mini ${Ye}-total-text, &${Ye}-mini ${Ye}-simple-pager`]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-item`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM-2}px`},[`&${Ye}-mini:not(${Ye}-disabled) ${Ye}-item:not(${Ye}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},[`&${Ye}-mini ${Ye}-prev, &${Ye}-mini ${Ye}-next`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM}px`},[`&${Ye}-mini:not(${Ye}-disabled)`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&:hover ${Ye}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:He.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:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}},[`&${Ye}-mini ${Ye}-jump-prev, &${Ye}-mini ${Ye}-jump-next`]:{height:He.itemSizeSM,marginInlineEnd:0,lineHeight:`${He.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-options`]:{marginInlineStart:He.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:He.miniOptionsSizeChangerTop},"&-quick-jumper":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,mt.x0)(He)),{width:He.paginationMiniQuickJumperInputWidth,height:He.controlHeightSM})}}}},Bt=He=>{const{componentCls:Ye}=He;return{[` &${Ye}-simple ${Ye}-prev, &${Ye}-simple ${Ye}-next `]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,verticalAlign:"top",[`${Ye}-item-link`]:{height:He.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive},"&::after":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}}},[`&${Ye}-simple ${Ye}-simple-pager`]:{display:"inline-block",height:He.itemSizeSM,marginInlineEnd:He.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:He.marginXS,padding:`0 ${He.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:He.itemInputBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadius,outline:"none",transition:`border-color ${He.motionDurationMid}`,color:"inherit","&:hover":{borderColor:He.colorPrimary},"&:focus":{borderColor:He.colorPrimaryHover,boxShadow:`${He.inputOutlineOffset}px 0 ${He.controlOutlineWidth}px ${He.controlOutline}`},"&[disabled]":{color:He.colorTextDisabled,backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,cursor:"not-allowed"}}}}},Rn=He=>{const{componentCls:Ye}=He;return{[`${Ye}-jump-prev, ${Ye}-jump-next`]:{outline:0,[`${Ye}-item-container`]:{position:"relative",[`${Ye}-item-link-icon`]:{color:He.colorPrimary,fontSize:He.fontSizeSM,opacity:0,transition:`all ${He.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ye}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:He.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:He.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:He.paginationEllipsisTextIndent,opacity:1,transition:`all ${He.motionDurationMid}`}},"&:hover":{[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}}},[` ${Ye}-prev, ${Ye}-jump-prev, ${Ye}-jump-next `]:{marginInlineEnd:He.marginXS},[` ${Ye}-prev, ${Ye}-next, ${Ye}-jump-prev, ${Ye}-jump-next `]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,color:He.colorText,fontFamily:He.fontFamily,lineHeight:`${He.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:He.borderRadius,cursor:"pointer",transition:`all ${He.motionDurationMid}`},[`${Ye}-prev, ${Ye}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:He.colorText,cursor:"pointer",userSelect:"none"},[`${Ye}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:He.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:"none",transition:`all ${He.motionDurationMid}`},[`&:hover ${Ye}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${Ye}-disabled:hover`]:{[`${Ye}-item-link`]:{backgroundColor:"transparent"}}},[`${Ye}-slash`]:{marginInlineEnd:He.paginationSlashMarginInlineEnd,marginInlineStart:He.paginationSlashMarginInlineStart},[`${Ye}-options`]:{display:"inline-block",marginInlineStart:He.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:He.controlHeight,marginInlineStart:He.marginXS,lineHeight:`${He.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,mt.ik)(He)),{width:He.controlHeightLG*1.25,height:He.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:He.marginXS,marginInlineEnd:He.marginXS})}}}},qn=He=>{const{componentCls:Ye}=He;return{[`${Ye}-item`]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,marginInlineEnd:He.marginXS,fontFamily:He.fontFamily,lineHeight:`${He.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${He.paginationItemPaddingInline}px`,color:He.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ye}-item-active)`]:{"&:hover":{transition:`all ${He.motionDurationMid}`,backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},"&-active":{fontWeight:He.fontWeightStrong,backgroundColor:He.itemActiveBg,borderColor:He.colorPrimary,a:{color:He.colorPrimary},"&:hover":{borderColor:He.colorPrimaryHover},"&:hover a":{color:He.colorPrimaryHover}}}}},Xe=He=>{const{componentCls:Ye}=He;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.Wf)(He)),{"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:He.itemSize,marginInlineEnd:He.marginXS,lineHeight:`${He.itemSize-2}px`,verticalAlign:"middle"}}),qn(He)),Rn(He)),Bt(He)),Tn(He)),ln(He)),{[`@media only screen and (max-width: ${He.screenLG}px)`]:{[`${Ye}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${He.screenSM}px)`]:{[`${Ye}-options`]:{display:"none"}}}),[`&${He.componentCls}-rtl`]:{direction:"rtl"}}},fn=He=>{const{componentCls:Ye}=He;return{[`${Ye}${Ye}-disabled:not(${Ye}-mini)`]:{"&, &:hover":{[`${Ye}-item-link`]:{borderColor:He.colorBorder}},"&:focus-visible":{[`${Ye}-item-link`]:{borderColor:He.colorBorder}},[`${Ye}-item, ${Ye}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,[`&:hover:not(${Ye}-item-active)`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,a:{color:He.colorTextDisabled}},[`&${Ye}-item-active`]:{backgroundColor:He.itemActiveBgDisabled}},[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,color:He.colorTextDisabled},[`${Ye}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder}}},[`${Ye}:not(${Ye}-mini)`]:{[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{borderColor:He.colorPrimaryHover,backgroundColor:He.itemBg},[`${Ye}-item-link`]:{backgroundColor:He.itemLinkBg,borderColor:He.colorBorder},[`&:hover ${Ye}-item-link`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,color:He.colorPrimary},[`&${Ye}-disabled`]:{[`${Ye}-item-link`]:{borderColor:He.colorBorder,color:He.colorTextDisabled}}},[`${Ye}-item`]:{backgroundColor:He.itemBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,[`&:hover:not(${Ye}-item-active)`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,a:{color:He.colorPrimary}},"&-active":{borderColor:He.colorPrimary}}}}},Fe=He=>{const{componentCls:Ye}=He;return{[`${Ye}:not(${Ye}-disabled)`]:{[`${Ye}-item`]:Object.assign({},(0,Tt.Qy)(He)),[`${Ye}-jump-prev, ${Ye}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}},(0,Tt.oN)(He))},[`${Ye}-prev, ${Ye}-next`]:{[`&:focus-visible ${Ye}-item-link`]:Object.assign({},(0,Tt.oN)(He))}}}};var fe=(0,wn.Z)("Pagination",He=>{const Ye=(0,Qn.TS)(He,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:He.marginXXS/2,paginationMiniQuickJumperInputWidth:He.controlHeightLG*1.1,paginationItemPaddingInline:He.marginXXS*1.5,paginationEllipsisLetterSpacing:He.marginXXS/2,paginationSlashMarginInlineStart:He.marginXXS,paginationSlashMarginInlineEnd:He.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,mt.e5)(He),(0,mt.TM)(He));return[Xe(Ye),Fe(Ye),He.wireframe&&fn(Ye)]},He=>({itemBg:He.colorBgContainer,itemSize:He.controlHeight,itemSizeSM:He.controlHeightSM,itemActiveBg:He.colorBgContainer,itemLinkBg:He.colorBgContainer,itemActiveColorDisabled:He.colorTextDisabled,itemActiveBgDisabled:He.controlItemBgActiveDisabled,itemInputBg:He.colorBgContainer,miniOptionsSizeChangerTop:0})),ce=function(He,Ye){var Pt={};for(var gt in He)Object.prototype.hasOwnProperty.call(He,gt)&&Ye.indexOf(gt)<0&&(Pt[gt]=He[gt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,gt=Object.getOwnPropertySymbols(He);st{const{prefixCls:Ye,selectPrefixCls:Pt,className:gt,rootClassName:st,style:Rt,size:hn,locale:It,selectComponentClass:on,responsive:Ft,showSizeChanger:yn}=He,At=ce(He,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Jt}=(0,vt.Z)(Ft),{getPrefixCls:gn,direction:pn,pagination:Yn={}}=Ce.useContext(St.E_),ir=gn("pagination",Ye),[yr,Cr]=fe(ir),ur=yn!=null?yn:Yn.showSizeChanger,ar=Ce.useMemo(()=>{const _r=Ce.createElement("span",{className:`${ir}-item-ellipsis`},"\u2022\u2022\u2022"),rn=Ce.createElement("button",{className:`${ir}-item-link`,type:"button",tabIndex:-1},pn==="rtl"?Ce.createElement(De.Z,null):Ce.createElement(ge.Z,null)),ei=Ce.createElement("button",{className:`${ir}-item-link`,type:"button",tabIndex:-1},pn==="rtl"?Ce.createElement(ge.Z,null):Ce.createElement(De.Z,null)),vo=Ce.createElement("a",{className:`${ir}-item-link`},Ce.createElement("div",{className:`${ir}-item-container`},pn==="rtl"?Ce.createElement(Ne.Z,{className:`${ir}-item-link-icon`}):Ce.createElement(we,{className:`${ir}-item-link-icon`}),_r)),ci=Ce.createElement("a",{className:`${ir}-item-link`},Ce.createElement("div",{className:`${ir}-item-container`},pn==="rtl"?Ce.createElement(we,{className:`${ir}-item-link-icon`}):Ce.createElement(Ne.Z,{className:`${ir}-item-link-icon`}),_r));return{prevIcon:rn,nextIcon:ei,jumpPrevIcon:vo,jumpNextIcon:ci}},[pn,ir]),[Ar]=(0,ut.Z)("Pagination",ot.Z),Er=Object.assign(Object.assign({},Ar),It),ea=(0,lt.Z)(hn),ya=ea==="small"||!!(Jt&&!ea&&Ft),Tr=gn("select",Pt),qa=Ee()({[`${ir}-mini`]:ya,[`${ir}-rtl`]:pn==="rtl"},Yn==null?void 0:Yn.className,gt,st,Cr),Za=Object.assign(Object.assign({},Yn==null?void 0:Yn.style),Rt);return yr(Ce.createElement(it,Object.assign({},ar,At,{style:Za,prefixCls:ir,selectPrefixCls:Tr,className:qa,selectComponentClass:on||(ya?Kt:Vt),locale:Er,showSizeChanger:ur})))},dt=qe},93948:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return yn}});var me=Be(59301),Ce=Be(29679),Me=Be(40001),nt=Be(19248),ze=Be(99267),je=Be(92310),ve=Be.n(je),we=Be(2738),Ne=Be(36355),ge=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 Jt=(0,me.useRef)([]),gn=(0,me.useRef)(null);return(0,me.useEffect)(function(){var pn=Date.now(),Yn=!1;Jt.current.forEach(function(ir){if(ir){Yn=!0;var yr=ir.style;yr.transitionDuration=".3s, .3s, .3s, .06s",gn.current&&pn-gn.current<100&&(yr.transitionDuration="0s, 0s")}}),Yn&&(gn.current=Date.now())}),Jt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Jt){var gn=(0,De.Z)((0,De.Z)({},Ee),Jt),pn=gn.className,Yn=gn.percent,ir=gn.prefixCls,yr=gn.strokeColor,Cr=gn.strokeLinecap,ur=gn.strokeWidth,ar=gn.style,Ar=gn.trailColor,Er=gn.trailWidth,ea=gn.transition,ya=(0,xe.Z)(gn,y);delete ya.gapPosition;var Tr=Array.isArray(Yn)?Yn:[Yn],qa=Array.isArray(yr)?yr:[yr],Za=ie(),_r=ur/2,rn=100-ur/2,ei="M ".concat(Cr==="round"?_r:0,",").concat(_r,` L `).concat(Cr==="round"?rn:100,",").concat(_r),vo="0 0 100 ".concat(ur),ci=0;return me.createElement("svg",(0,ge.Z)({className:ve()("".concat(ir,"-line"),pn),viewBox:vo,preserveAspectRatio:"none",style:ar},ya),me.createElement("path",{className:"".concat(ir,"-line-trail"),d:ei,strokeLinecap:Cr,stroke:Ar,strokeWidth:Er||ur,fillOpacity:"0"}),Tr.map(function(zi,Fo){var Ki=1;switch(Cr){case"round":Ki=1-ur/100;break;case"square":Ki=1-ur/2/100;break;default:Ki=1;break}var Gi={strokeDasharray:"".concat(zi*Ki,"px, 100px"),strokeDashoffset:"-".concat(ci,"px"),transition:ea||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ti=qa[Fo]||qa[qa.length-1];return ci+=zi,me.createElement("path",{key:Fo,className:"".concat(ir,"-line-path"),d:ei,strokeLinecap:Cr,stroke:ti,strokeWidth:ur,fillOpacity:"0",ref:function(On){Za[Fo]=On},style:Gi})}))},ee=a,E=Be(76190),te=Be(42978),ne=Be(47273),ae=0,de=(0,ne.Z)();function Le(){var At;return de?(At=ae,ae+=1):At="TEST_OR_SSR",At}var Pe=function(At){var Jt=me.useState(),gn=(0,te.Z)(Jt,2),pn=gn[0],Yn=gn[1];return me.useEffect(function(){Yn("rc_progress_".concat(Le()))},[]),At||pn},Ue=function(Jt){var gn=Jt.bg,pn=Jt.children;return me.createElement("div",{style:{width:"100%",height:"100%",background:gn}},pn)};function Ge(At,Jt){return Object.keys(At).map(function(gn){var pn=parseFloat(gn),Yn="".concat(Math.floor(pn*Jt),"%");return"".concat(At[gn]," ").concat(Yn)})}var Ze=me.forwardRef(function(At,Jt){var gn=At.prefixCls,pn=At.color,Yn=At.gradientId,ir=At.radius,yr=At.style,Cr=At.ptg,ur=At.strokeLinecap,ar=At.strokeWidth,Ar=At.size,Er=At.gapDegree,ea=pn&&(0,E.Z)(pn)==="object",ya=ea?"#FFF":void 0,Tr=Ar/2,qa=me.createElement("circle",{className:"".concat(gn,"-circle-path"),r:ir,cx:Tr,cy:Tr,stroke:ya,strokeLinecap:ur,strokeWidth:ar,opacity:Cr===0?0:1,style:yr,ref:Jt});if(!ea)return qa;var Za="".concat(Yn,"-conic"),_r=Er?"".concat(180+Er/2,"deg"):"0deg",rn=Ge(pn,(360-Er)/360),ei=Ge(pn,1),vo="conic-gradient(from ".concat(_r,", ").concat(rn.join(", "),")"),ci="linear-gradient(to ".concat(Er?"bottom":"top",", ").concat(ei.join(", "),")");return me.createElement(me.Fragment,null,me.createElement("mask",{id:Za},qa),me.createElement("foreignObject",{x:0,y:0,width:Ar,height:Ar,mask:"url(#".concat(Za,")")},me.createElement(Ue,{bg:ci},me.createElement(Ue,{bg:vo}))))}),tt=Ze,Te=100,pt=function(Jt,gn,pn,Yn,ir,yr,Cr,ur,ar,Ar){var Er=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ea=pn/100*360*((360-yr)/360),ya=yr===0?0:{bottom:0,top:180,left:90,right:-90}[Cr],Tr=(100-Yn)/100*gn;ar==="round"&&Yn!==100&&(Tr+=Ar/2,Tr>=gn&&(Tr=gn-.01));var qa=Te/2;return{stroke:typeof ur=="string"?ur:void 0,strokeDasharray:"".concat(gn,"px ").concat(Jt),strokeDashoffset:Tr+Er,transform:"rotate(".concat(ir+ea+ya,"deg)"),transformOrigin:"".concat(qa,"px ").concat(qa,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Lt(At){var Jt=At!=null?At:[];return Array.isArray(Jt)?Jt:[Jt]}var it=function(Jt){var gn=(0,De.Z)((0,De.Z)({},Ee),Jt),pn=gn.id,Yn=gn.prefixCls,ir=gn.steps,yr=gn.strokeWidth,Cr=gn.trailWidth,ur=gn.gapDegree,ar=ur===void 0?0:ur,Ar=gn.gapPosition,Er=gn.trailColor,ea=gn.strokeLinecap,ya=gn.style,Tr=gn.className,qa=gn.strokeColor,Za=gn.percent,_r=(0,xe.Z)(gn,Qe),rn=Te/2,ei=Pe(pn),vo="".concat(ei,"-gradient"),ci=rn-yr/2,zi=Math.PI*2*ci,Fo=ar>0?90+ar/2:-90,Ki=zi*((360-ar)/360),Gi=(0,E.Z)(ir)==="object"?ir:{count:ir,space:2},ti=Gi.count,Pn=Gi.space,On=Lt(Za),dn=Lt(qa),kr=dn.find(function(Wi){return Wi&&(0,E.Z)(Wi)==="object"}),ua=kr&&(0,E.Z)(kr)==="object",Ur=ua?"butt":ea,Ba=pt(zi,Ki,0,100,Fo,ar,Ar,Er,Ur,yr),Ma=ie(),Fa=function(){var Fr=0;return On.map(function(Ha,xi){var ai=dn[xi]||dn[dn.length-1],di=pt(zi,Ki,Fr,Ha,Fo,ar,Ar,ai,Ur,yr);return Fr+=Ha,me.createElement(tt,{key:xi,color:ai,ptg:Ha,radius:ci,prefixCls:Yn,gradientId:vo,style:di,strokeLinecap:Ur,strokeWidth:yr,gapDegree:ar,ref:function(os){Ma[xi]=os},size:Te})}).reverse()},So=function(){var Fr=Math.round(ti*(On[0]/100)),Ha=100/ti,xi=0;return new Array(ti).fill(null).map(function(ai,di){var Lo=di<=Fr-1?dn[0]:Er,os=Lo&&(0,E.Z)(Lo)==="object"?"url(#".concat(vo,")"):void 0,js=pt(zi,Ki,xi,Ha,Fo,ar,Ar,Lo,"butt",yr,Pn);return xi+=(Ki-js.strokeDashoffset+Pn)*100/Ki,me.createElement("circle",{key:di,className:"".concat(Yn,"-circle-path"),r:ci,cx:rn,cy:rn,stroke:os,strokeWidth:yr,opacity:1,style:js,ref:function(wA){Ma[di]=wA}})})};return me.createElement("svg",(0,ge.Z)({className:ve()("".concat(Yn,"-circle"),Tr),viewBox:"0 0 ".concat(Te," ").concat(Te),style:ya,id:pn,role:"presentation"},_r),!ti&&me.createElement("circle",{className:"".concat(Yn,"-circle-trail"),r:ci,cx:rn,cy:rn,stroke:Er,strokeLinecap:Ur,strokeWidth:Cr||yr,style:Ba}),ti?So():Fa())},ot=it,St={Line:ee,Circle:ot},lt=Be(6848),vt=Be(30071);function ut(At){return!At||At<0?0:At>100?100:At}function at(At){let{success:Jt,successPercent:gn}=At,pn=gn;return Jt&&"progress"in Jt&&(pn=Jt.progress),Jt&&"percent"in Jt&&(pn=Jt.percent),pn}const Kt=At=>{let{percent:Jt,success:gn,successPercent:pn}=At;const Yn=ut(at({success:gn,successPercent:pn}));return[Yn,ut(ut(Jt)-Yn)]},Vt=At=>{let{success:Jt={},strokeColor:gn}=At;const{strokeColor:pn}=Jt;return[pn||vt.presetPrimaryColors.green,gn||null]},mt=(At,Jt,gn)=>{var pn,Yn,ir,yr;let Cr=-1,ur=-1;if(Jt==="step"){const ar=gn.steps,Ar=gn.strokeWidth;typeof At=="string"||typeof At=="undefined"?(Cr=At==="small"?2:14,ur=Ar!=null?Ar:8):typeof At=="number"?[Cr,ur]=[At,At]:[Cr=14,ur=8]=At,Cr*=ar}else if(Jt==="line"){const ar=gn==null?void 0:gn.strokeWidth;typeof At=="string"||typeof At=="undefined"?ur=ar||(At==="small"?6:8):typeof At=="number"?[Cr,ur]=[At,At]:[Cr=-1,ur=8]=At}else(Jt==="circle"||Jt==="dashboard")&&(typeof At=="string"||typeof At=="undefined"?[Cr,ur]=At==="small"?[60,60]:[120,120]:typeof At=="number"?[Cr,ur]=[At,At]:(Cr=(Yn=(pn=At[0])!==null&&pn!==void 0?pn:At[1])!==null&&Yn!==void 0?Yn:120,ur=(yr=(ir=At[0])!==null&&ir!==void 0?ir:At[1])!==null&&yr!==void 0?yr:120));return[Cr,ur]},Tt=3,wn=At=>Tt/At*100;var ln=At=>{const{prefixCls:Jt,trailColor:gn=null,strokeLinecap:pn="round",gapPosition:Yn,gapDegree:ir,width:yr=120,type:Cr,children:ur,success:ar,size:Ar=yr}=At,[Er,ea]=mt(Ar,"circle");let{strokeWidth:ya}=At;ya===void 0&&(ya=Math.max(wn(Er),6));const Tr={width:Er,height:ea,fontSize:Er*.15+6},qa=me.useMemo(()=>{if(ir||ir===0)return ir;if(Cr==="dashboard")return 75},[ir,Cr]),Za=Yn||Cr==="dashboard"&&"bottom"||void 0,_r=Object.prototype.toString.call(At.strokeColor)==="[object Object]",rn=Vt({success:ar,strokeColor:At.strokeColor}),ei=ve()(`${Jt}-inner`,{[`${Jt}-circle-gradient`]:_r}),vo=me.createElement(ot,{percent:Kt(At),strokeWidth:ya,trailWidth:ya,strokeColor:rn,strokeLinecap:pn,trailColor:gn,prefixCls:Jt,gapDegree:qa,gapPosition:Za});return me.createElement("div",{className:ei,style:Tr},Er<=20?me.createElement(lt.Z,{title:ur},me.createElement("span",null,vo)):me.createElement(me.Fragment,null,vo,ur))},Tn=function(At,Jt){var gn={};for(var pn in At)Object.prototype.hasOwnProperty.call(At,pn)&&Jt.indexOf(pn)<0&&(gn[pn]=At[pn]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yn=0,pn=Object.getOwnPropertySymbols(At);Yn{let Jt=[];return Object.keys(At).forEach(gn=>{const pn=parseFloat(gn.replace(/%/g,""));isNaN(pn)||Jt.push({key:pn,value:At[gn]})}),Jt=Jt.sort((gn,pn)=>gn.key-pn.key),Jt.map(gn=>{let{key:pn,value:Yn}=gn;return`${Yn} ${pn}%`}).join(", ")},Rn=(At,Jt)=>{const{from:gn=vt.presetPrimaryColors.blue,to:pn=vt.presetPrimaryColors.blue,direction:Yn=Jt==="rtl"?"to left":"to right"}=At,ir=Tn(At,["from","to","direction"]);if(Object.keys(ir).length!==0){const yr=Bt(ir);return{backgroundImage:`linear-gradient(${Yn}, ${yr})`}}return{backgroundImage:`linear-gradient(${Yn}, ${gn}, ${pn})`}};var Xe=At=>{const{prefixCls:Jt,direction:gn,percent:pn,size:Yn,strokeWidth:ir,strokeColor:yr,strokeLinecap:Cr="round",children:ur,trailColor:ar=null,success:Ar}=At,Er=yr&&typeof yr!="string"?Rn(yr,gn):{backgroundColor:yr},ea=Cr==="square"||Cr==="butt"?0:void 0,ya={backgroundColor:ar||void 0,borderRadius:ea},Tr=Yn!=null?Yn:[-1,ir||(Yn==="small"?6:8)],[qa,Za]=mt(Tr,"line",{strokeWidth:ir}),_r=Object.assign({width:`${ut(pn)}%`,height:Za,borderRadius:ea},Er),rn=at(At),ei={width:`${ut(rn)}%`,height:Za,borderRadius:ea,backgroundColor:Ar==null?void 0:Ar.strokeColor},vo={width:qa<0?"100%":qa,height:Za};return me.createElement(me.Fragment,null,me.createElement("div",{className:`${Jt}-outer`,style:vo},me.createElement("div",{className:`${Jt}-inner`,style:ya},me.createElement("div",{className:`${Jt}-bg`,style:_r}),rn!==void 0?me.createElement("div",{className:`${Jt}-success-bg`,style:ei}):null)),ur)},Fe=At=>{const{size:Jt,steps:gn,percent:pn=0,strokeWidth:Yn=8,strokeColor:ir,trailColor:yr=null,prefixCls:Cr,children:ur}=At,ar=Math.round(gn*(pn/100)),Ar=Jt==="small"?2:14,Er=Jt!=null?Jt:[Ar,Yn],[ea,ya]=mt(Er,"step",{steps:gn,strokeWidth:Yn}),Tr=ea/gn,qa=new Array(gn);for(let Za=0;Za{const Jt=At?"100%":"-100%";return new fe.Keyframes(`antProgress${At?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Jt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Jt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},He=At=>{const{componentCls:Jt,iconCls:gn}=At;return{[Jt]:Object.assign(Object.assign({},(0,ce.Wf)(At)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:At.fontSize,marginInlineEnd:At.marginXS,marginBottom:At.marginXS},[`${Jt}-outer`]:{display:"inline-block",width:"100%"},[`&${Jt}-show-info`]:{[`${Jt}-outer`]:{marginInlineEnd:`calc(-2em - ${At.marginXS}px)`,paddingInlineEnd:`calc(2em + ${At.paddingXS}px)`}},[`${Jt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:At.remainingColor,borderRadius:At.lineBorderRadius},[`${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:At.defaultColor}},[`${Jt}-success-bg, ${Jt}-bg`]:{position:"relative",backgroundColor:At.defaultColor,borderRadius:At.lineBorderRadius,transition:`all ${At.motionDurationSlow} ${At.motionEaseInOutCirc}`},[`${Jt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:At.colorSuccess},[`${Jt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:At.marginXS,color:At.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[gn]:{fontSize:At.fontSize}},[`&${Jt}-status-active`]:{[`${Jt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:At.colorBgContainer,borderRadius:At.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:At.progressActiveMotionDuration,animationTimingFunction:At.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Jt}-rtl${Jt}-status-active`]:{[`${Jt}-bg::before`]:{animationName:dt(!0)}},[`&${Jt}-status-exception`]:{[`${Jt}-bg`]:{backgroundColor:At.colorError},[`${Jt}-text`]:{color:At.colorError}},[`&${Jt}-status-exception ${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:At.colorError}},[`&${Jt}-status-success`]:{[`${Jt}-bg`]:{backgroundColor:At.colorSuccess},[`${Jt}-text`]:{color:At.colorSuccess}},[`&${Jt}-status-success ${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:At.colorSuccess}}})}},Ye=At=>{const{componentCls:Jt,iconCls:gn}=At;return{[Jt]:{[`${Jt}-circle-trail`]:{stroke:At.remainingColor},[`&${Jt}-circle ${Jt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Jt}-circle ${Jt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:At.circleTextColor,fontSize:At.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[gn]:{fontSize:`${At.fontSize/At.fontSizeSM}em`}},[`${Jt}-circle&-status-exception`]:{[`${Jt}-text`]:{color:At.colorError}},[`${Jt}-circle&-status-success`]:{[`${Jt}-text`]:{color:At.colorSuccess}}},[`${Jt}-inline-circle`]:{lineHeight:1,[`${Jt}-inner`]:{verticalAlign:"bottom"}}}},Pt=At=>{const{componentCls:Jt}=At;return{[Jt]:{[`${Jt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:At.progressStepMinWidth,marginInlineEnd:At.progressStepMarginInlineEnd,backgroundColor:At.remainingColor,transition:`all ${At.motionDurationSlow}`,"&-active":{backgroundColor:At.defaultColor}}}}}},gt=At=>{const{componentCls:Jt,iconCls:gn}=At;return{[Jt]:{[`${Jt}-small&-line, ${Jt}-small&-line ${Jt}-text ${gn}`]:{fontSize:At.fontSizeSM}}}};var st=(0,Se.Z)("Progress",At=>{const Jt=At.marginXXS/2,gn=(0,qe.TS)(At,{progressStepMarginInlineEnd:Jt,progressStepMinWidth:Jt,progressActiveMotionDuration:"2.4s"});return[He(gn),Ye(gn),Pt(gn),gt(gn)]},At=>({circleTextColor:At.colorText,defaultColor:At.colorInfo,remainingColor:At.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Rt=function(At,Jt){var gn={};for(var pn in At)Object.prototype.hasOwnProperty.call(At,pn)&&Jt.indexOf(pn)<0&&(gn[pn]=At[pn]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yn=0,pn=Object.getOwnPropertySymbols(At);Yn{const{prefixCls:gn,className:pn,rootClassName:Yn,steps:ir,strokeColor:yr,percent:Cr=0,size:ur="default",showInfo:ar=!0,type:Ar="line",status:Er,format:ea,style:ya}=At,Tr=Rt(At,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),qa=me.useMemo(()=>{var On,dn;const kr=at(At);return parseInt(kr!==void 0?(On=kr!=null?kr:0)===null||On===void 0?void 0:On.toString():(dn=Cr!=null?Cr:0)===null||dn===void 0?void 0:dn.toString(),10)},[Cr,At.success,At.successPercent]),Za=me.useMemo(()=>!It.includes(Er)&&qa>=100?"success":Er||"normal",[Er,qa]),{getPrefixCls:_r,direction:rn,progress:ei}=me.useContext(Ne.E_),vo=_r("progress",gn),[ci,zi]=st(vo),Fo=me.useMemo(()=>{if(!ar)return null;const On=at(At);let dn;const kr=ea||(Ur=>`${Ur}%`),ua=Ar==="line";return ea||Za!=="exception"&&Za!=="success"?dn=kr(ut(Cr),ut(On)):Za==="exception"?dn=ua?me.createElement(nt.Z,null):me.createElement(ze.Z,null):Za==="success"&&(dn=ua?me.createElement(Ce.Z,null):me.createElement(Me.Z,null)),me.createElement("span",{className:`${vo}-text`,title:typeof dn=="string"?dn:void 0},dn)},[ar,Cr,qa,Za,Ar,vo,ea]),Ki=Array.isArray(yr)?yr[0]:yr,Gi=typeof yr=="string"||Array.isArray(yr)?yr:void 0;let ti;Ar==="line"?ti=ir?me.createElement(Fe,Object.assign({},At,{strokeColor:Gi,prefixCls:vo,steps:ir}),Fo):me.createElement(Xe,Object.assign({},At,{strokeColor:Ki,prefixCls:vo,direction:rn}),Fo):(Ar==="circle"||Ar==="dashboard")&&(ti=me.createElement(ln,Object.assign({},At,{strokeColor:Ki,prefixCls:vo,progressStatus:Za}),Fo));const Pn=ve()(vo,`${vo}-status-${Za}`,`${vo}-${Ar==="dashboard"&&"circle"||ir&&"steps"||Ar}`,{[`${vo}-inline-circle`]:Ar==="circle"&&mt(ur,"circle")[0]<=20,[`${vo}-show-info`]:ar,[`${vo}-${ur}`]:typeof ur=="string",[`${vo}-rtl`]:rn==="rtl"},ei==null?void 0:ei.className,pn,Yn,zi);return ci(me.createElement("div",Object.assign({ref:Jt,style:Object.assign(Object.assign({},ei==null?void 0:ei.style),ya),className:Pn,role:"progressbar","aria-valuenow":qa},(0,we.Z)(Tr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ti))}),yn=Ft},13570:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return ut}});var me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},nt=Me,ze=Be(7657),je=function(Kt,Vt){return Ce.createElement(ze.Z,(0,me.Z)({},Kt,{ref:Vt,icon:nt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(92310),ge=Be.n(Ne),De=Be(20068),xe=Be(42978),Ee=Be(75931),ie=Be(18929),y=Be(10228),a=Be(26112);function ee(at,Kt){var Vt=at.disabled,mt=at.prefixCls,Tt=at.character,wn=at.characterRender,Qn=at.index,ln=at.count,Tn=at.value,Bt=at.allowHalf,Rn=at.focused,qn=at.onHover,Xe=at.onClick,fn=function(Ye){qn(Ye,Qn)},Fe=function(Ye){Xe(Ye,Qn)},fe=function(Ye){Ye.keyCode===y.Z.ENTER&&Xe(Ye,Qn)},ce=Qn+1,Se=new Set([mt]);Tn===0&&Qn===0&&Rn?Se.add("".concat(mt,"-focused")):Bt&&Tn+.5>=ce&&TnQn?"true":"false","aria-posinset":Qn+1,"aria-setsize":ln,tabIndex:Vt?-1:0},Ce.createElement("div",{className:"".concat(mt,"-first")},qe),Ce.createElement("div",{className:"".concat(mt,"-second")},qe)));return wn&&(dt=wn(dt,at)),dt}var E=Ce.forwardRef(ee);function te(){var at=Ce.useRef({});function Kt(mt){return at.current[mt]}function Vt(mt){return function(Tt){at.current[mt]=Tt}}return[Kt,Vt]}function ne(at){var Kt=at.pageXOffset,Vt="scrollLeft";if(typeof Kt!="number"){var mt=at.document;Kt=mt.documentElement[Vt],typeof Kt!="number"&&(Kt=mt.body[Vt])}return Kt}function ae(at){var Kt,Vt,mt=at.ownerDocument,Tt=mt.body,wn=mt&&mt.documentElement,Qn=at.getBoundingClientRect();return Kt=Qn.left,Vt=Qn.top,Kt-=wn.clientLeft||Tt.clientLeft||0,Vt-=wn.clientTop||Tt.clientTop||0,{left:Kt,top:Vt}}function de(at){var Kt=ae(at),Vt=at.ownerDocument,mt=Vt.defaultView||Vt.parentWindow;return Kt.left+=ne(mt),Kt.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,Kt){var Vt,mt=at.prefixCls,Tt=mt===void 0?"rc-rate":mt,wn=at.className,Qn=at.defaultValue,ln=at.value,Tn=at.count,Bt=Tn===void 0?5:Tn,Rn=at.allowHalf,qn=Rn===void 0?!1:Rn,Xe=at.allowClear,fn=Xe===void 0?!0:Xe,Fe=at.character,fe=Fe===void 0?"\u2605":Fe,ce=at.characterRender,Se=at.disabled,qe=at.direction,dt=qe===void 0?"ltr":qe,He=at.tabIndex,Ye=He===void 0?0:He,Pt=at.autoFocus,gt=at.onHoverChange,st=at.onChange,Rt=at.onFocus,hn=at.onBlur,It=at.onKeyDown,on=at.onMouseLeave,Ft=(0,Ee.Z)(at,Le),yn=te(),At=(0,xe.Z)(yn,2),Jt=At[0],gn=At[1],pn=Ce.useRef(null),Yn=function(){if(!Se){var Ur;(Ur=pn.current)===null||Ur===void 0||Ur.focus()}};Ce.useImperativeHandle(Kt,function(){return{focus:Yn,blur:function(){if(!Se){var Ur;(Ur=pn.current)===null||Ur===void 0||Ur.blur()}}}});var ir=(0,ie.Z)(Qn||0,{value:ln}),yr=(0,xe.Z)(ir,2),Cr=yr[0],ur=yr[1],ar=(0,ie.Z)(null),Ar=(0,xe.Z)(ar,2),Er=Ar[0],ea=Ar[1],ya=function(Ur,Ba){var Ma=dt==="rtl",Fa=Ur+1;if(qn){var So=Jt(Ur),Wi=de(So),Fr=So.clientWidth;(Ma&&Ba-Wi>Fr/2||!Ma&&Ba-Wi0&&!Ma||Ba===y.Z.RIGHT&&Fa>0&&Ma?(qn?Fa-=.5:Fa-=1,Tr(Fa),Ur.preventDefault()):Ba===y.Z.LEFT&&Fa{const{componentCls:Kt}=at;return{[`${Kt}-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 ${Kt}-star-first, &-half ${Kt}-star-second`]:{opacity:1},[`&-half ${Kt}-star-first, &-full ${Kt}-star-second`]:{color:"inherit"}}}},it=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),ot=at=>{const{componentCls:Kt}=at;return{[Kt]: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${Kt} ${Kt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Lt(at)),{[`+ ${Kt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),it(at))}};var St=(0,pt.Z)("Rate",at=>{const Kt=(0,Qe.TS)(at,{});return[ot(Kt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),lt=function(at,Kt){var Vt={};for(var mt in at)Object.prototype.hasOwnProperty.call(at,mt)&&Kt.indexOf(mt)<0&&(Vt[mt]=at[mt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,mt=Object.getOwnPropertySymbols(at);Tt{const{prefixCls:Vt,className:mt,rootClassName:Tt,style:wn,tooltips:Qn,character:ln=Ce.createElement(we,null)}=at,Tn=lt(at,["prefixCls","className","rootClassName","style","tooltips","character"]),Bt=(Se,qe)=>{let{index:dt}=qe;return Qn?Ce.createElement(tt.Z,{title:Qn[dt]},Se):Se},{getPrefixCls:Rn,direction:qn,rate:Xe}=Ce.useContext(Ze.E_),fn=Rn("rate",Vt),[Fe,fe]=St(fn),ce=Object.assign(Object.assign({},Xe==null?void 0:Xe.style),wn);return Fe(Ce.createElement(Ge,Object.assign({ref:Kt,character:ln,characterRender:Bt},Tn,{className:ge()(mt,Tt,fe,Xe==null?void 0:Xe.className),style:ce,prefixCls:fn,direction:qn})))})},61621:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return fe}});var me=Be(92310),Ce=Be.n(me),Me=Be(59301),nt=Be(36355),ze=Be(2738),ve=ce=>{const{prefixCls:Se,className:qe,style:dt,size:He,shape:Ye}=ce,Pt=Ce()({[`${Se}-lg`]:He==="large",[`${Se}-sm`]:He==="small"}),gt=Ce()({[`${Se}-circle`]:Ye==="circle",[`${Se}-square`]:Ye==="square",[`${Se}-round`]:Ye==="round"}),st=Me.useMemo(()=>typeof He=="number"?{width:He,height:He,lineHeight:`${He}px`}:{},[He]);return Me.createElement("span",{className:Ce()(Se,Pt,gt,qe),style:Object.assign(Object.assign({},st),dt)})},we=Be(36237),Ne=Be(83116),ge=Be(37613);const De=new we.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),xe=ce=>({height:ce,lineHeight:`${ce}px`}),Ee=ce=>Object.assign({width:ce},xe(ce)),ie=ce=>({background:ce.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:De,animationDuration:ce.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ce=>Object.assign({width:ce*5,minWidth:ce*5},xe(ce)),a=ce=>{const{skeletonAvatarCls:Se,gradientFromColor:qe,controlHeight:dt,controlHeightLG:He,controlHeightSM:Ye}=ce;return{[`${Se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ee(dt)),[`${Se}${Se}-circle`]:{borderRadius:"50%"},[`${Se}${Se}-lg`]:Object.assign({},Ee(He)),[`${Se}${Se}-sm`]:Object.assign({},Ee(Ye))}},ee=ce=>{const{controlHeight:Se,borderRadiusSM:qe,skeletonInputCls:dt,controlHeightLG:He,controlHeightSM:Ye,gradientFromColor:Pt}=ce;return{[`${dt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:qe},y(Se)),[`${dt}-lg`]:Object.assign({},y(He)),[`${dt}-sm`]:Object.assign({},y(Ye))}},E=ce=>Object.assign({width:ce},xe(ce)),te=ce=>{const{skeletonImageCls:Se,imageSizeBase:qe,gradientFromColor:dt,borderRadiusSM:He}=ce;return{[`${Se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:dt,borderRadius:He},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=(ce,Se,qe)=>{const{skeletonButtonCls:dt}=ce;return{[`${qe}${dt}-circle`]:{width:Se,minWidth:Se,borderRadius:"50%"},[`${qe}${dt}-round`]:{borderRadius:Se}}},ae=ce=>Object.assign({width:ce*2,minWidth:ce*2},xe(ce)),de=ce=>{const{borderRadiusSM:Se,skeletonButtonCls:qe,controlHeight:dt,controlHeightLG:He,controlHeightSM:Ye,gradientFromColor:Pt}=ce;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:Se,width:dt*2,minWidth:dt*2},ae(dt))},ne(ce,dt,qe)),{[`${qe}-lg`]:Object.assign({},ae(He))}),ne(ce,He,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ae(Ye))}),ne(ce,Ye,`${qe}-sm`))},Le=ce=>{const{componentCls:Se,skeletonAvatarCls:qe,skeletonTitleCls:dt,skeletonParagraphCls:He,skeletonButtonCls:Ye,skeletonInputCls:Pt,skeletonImageCls:gt,controlHeight:st,controlHeightLG:Rt,controlHeightSM:hn,gradientFromColor:It,padding:on,marginSM:Ft,borderRadius:yn,titleHeight:At,blockRadius:Jt,paragraphLiHeight:gn,controlHeightXS:pn,paragraphMarginTop:Yn}=ce;return{[`${Se}`]:{display:"table",width:"100%",[`${Se}-header`]:{display:"table-cell",paddingInlineEnd:on,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:It},Ee(st)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ee(Rt)),[`${qe}-sm`]:Object.assign({},Ee(hn))},[`${Se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${dt}`]:{width:"100%",height:At,background:It,borderRadius:Jt,[`+ ${He}`]:{marginBlockStart:hn}},[`${He}`]:{padding:0,"> li":{width:"100%",height:gn,listStyle:"none",background:It,borderRadius:Jt,"+ li":{marginBlockStart:pn}}},[`${He}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Se}-content`]:{[`${dt}, ${He} > li`]:{borderRadius:yn}}},[`${Se}-with-avatar ${Se}-content`]:{[`${dt}`]:{marginBlockStart:Ft,[`+ ${He}`]:{marginBlockStart:Yn}}},[`${Se}${Se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},de(ce)),a(ce)),ee(ce)),te(ce)),[`${Se}${Se}-block`]:{width:"100%",[`${Ye}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${Se}${Se}-active`]:{[` ${dt}, ${He} > li, ${qe}, ${Ye}, ${Pt}, ${gt} `]:Object.assign({},ie(ce))}}};var Pe=(0,Ne.Z)("Skeleton",ce=>{const{componentCls:Se}=ce,qe=(0,ge.TS)(ce,{skeletonAvatarCls:`${Se}-avatar`,skeletonTitleCls:`${Se}-title`,skeletonParagraphCls:`${Se}-paragraph`,skeletonButtonCls:`${Se}-button`,skeletonInputCls:`${Se}-input`,skeletonImageCls:`${Se}-image`,imageSizeBase:ce.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ce.gradientFromColor} 25%, ${ce.gradientToColor} 37%, ${ce.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Le(qe)]},ce=>{const{colorFillContent:Se,colorFill:qe}=ce,dt=Se,He=qe;return{color:dt,colorGradientEnd:He,gradientFromColor:dt,gradientToColor:He,titleHeight:ce.controlHeight/2,blockRadius:ce.borderRadiusSM,paragraphMarginTop:ce.marginLG+ce.marginXXS,paragraphLiHeight:ce.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,active:He,shape:Ye="circle",size:Pt="default"}=ce,{getPrefixCls:gt}=Me.useContext(nt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=(0,ze.Z)(ce,["prefixCls","className"]),on=Ce()(st,`${st}-element`,{[`${st}-active`]:He},qe,dt,hn);return Rt(Me.createElement("div",{className:on},Me.createElement(ve,Object.assign({prefixCls:`${st}-avatar`,shape:Ye,size:Pt},It))))},tt=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,active:He,block:Ye=!1,size:Pt="default"}=ce,{getPrefixCls:gt}=Me.useContext(nt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=(0,ze.Z)(ce,["prefixCls"]),on=Ce()(st,`${st}-element`,{[`${st}-active`]:He,[`${st}-block`]:Ye},qe,dt,hn);return Rt(Me.createElement("div",{className:on},Me.createElement(ve,Object.assign({prefixCls:`${st}-button`,size:Pt},It))))};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=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,style:He,active:Ye}=ce,{getPrefixCls:Pt}=Me.useContext(nt.E_),gt=Pt("skeleton",Se),[st,Rt]=Pe(gt),hn=Ce()(gt,`${gt}-element`,{[`${gt}-active`]:Ye},qe,dt,Rt);return st(Me.createElement("div",{className:hn},Me.createElement("div",{className:Ce()(`${gt}-image`,qe),style:He},Me.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${gt}-image-svg`},Me.createElement("path",{d:Te,className:`${gt}-image-path`})))))},it=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,active:He,block:Ye,size:Pt="default"}=ce,{getPrefixCls:gt}=Me.useContext(nt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=(0,ze.Z)(ce,["prefixCls"]),on=Ce()(st,`${st}-element`,{[`${st}-active`]:He,[`${st}-block`]:Ye},qe,dt,hn);return Rt(Me.createElement("div",{className:on},Me.createElement(ve,Object.assign({prefixCls:`${st}-input`,size:Pt},It))))},ot=Be(54476),St={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"},lt=St,vt=Be(7657),ut=function(Se,qe){return Me.createElement(vt.Z,(0,ot.Z)({},Se,{ref:qe,icon:lt}))},at=Me.forwardRef(ut),Kt=at,mt=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,style:He,active:Ye,children:Pt}=ce,{getPrefixCls:gt}=Me.useContext(nt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=Ce()(st,`${st}-element`,{[`${st}-active`]:Ye},hn,qe,dt),on=Pt!=null?Pt:Me.createElement(Kt,null);return Rt(Me.createElement("div",{className:It},Me.createElement("div",{className:Ce()(`${st}-image`,qe),style:He},on)))},Tt=Be(94480),Qn=ce=>{const Se=gt=>{const{width:st,rows:Rt=2}=ce;if(Array.isArray(st))return st[gt];if(Rt-1===gt)return st},{prefixCls:qe,className:dt,style:He,rows:Ye}=ce,Pt=(0,Tt.Z)(Array(Ye)).map((gt,st)=>Me.createElement("li",{key:st,style:{width:Se(st)}}));return Me.createElement("ul",{className:Ce()(qe,dt),style:He},Pt)},Tn=ce=>{let{prefixCls:Se,className:qe,width:dt,style:He}=ce;return Me.createElement("h3",{className:Ce()(Se,qe),style:Object.assign({width:dt},He)})};function Bt(ce){return ce&&typeof ce=="object"?ce:{}}function Rn(ce,Se){return ce&&!Se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function qn(ce,Se){return!ce&&Se?{width:"38%"}:ce&&Se?{width:"50%"}:{}}function Xe(ce,Se){const qe={};return(!ce||!Se)&&(qe.width="61%"),!ce&&Se?qe.rows=3:qe.rows=2,qe}const fn=ce=>{const{prefixCls:Se,loading:qe,className:dt,rootClassName:He,style:Ye,children:Pt,avatar:gt=!1,title:st=!0,paragraph:Rt=!0,active:hn,round:It}=ce,{getPrefixCls:on,direction:Ft,skeleton:yn}=Me.useContext(nt.E_),At=on("skeleton",Se),[Jt,gn]=Pe(At);if(qe||!("loading"in ce)){const pn=!!gt,Yn=!!st,ir=!!Rt;let yr;if(pn){const ar=Object.assign(Object.assign({prefixCls:`${At}-avatar`},Rn(Yn,ir)),Bt(gt));yr=Me.createElement("div",{className:`${At}-header`},Me.createElement(ve,Object.assign({},ar)))}let Cr;if(Yn||ir){let ar;if(Yn){const Er=Object.assign(Object.assign({prefixCls:`${At}-title`},qn(pn,ir)),Bt(st));ar=Me.createElement(Tn,Object.assign({},Er))}let Ar;if(ir){const Er=Object.assign(Object.assign({prefixCls:`${At}-paragraph`},Xe(pn,Yn)),Bt(Rt));Ar=Me.createElement(Qn,Object.assign({},Er))}Cr=Me.createElement("div",{className:`${At}-content`},ar,Ar)}const ur=Ce()(At,{[`${At}-with-avatar`]:pn,[`${At}-active`]:hn,[`${At}-rtl`]:Ft==="rtl",[`${At}-round`]:It},yn==null?void 0:yn.className,dt,He,gn);return Jt(Me.createElement("div",{className:ur,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Ye)},yr,Cr))}return typeof Pt!="undefined"?Pt:null};fn.Button=tt,fn.Avatar=Ge,fn.Input=it,fn.Image=Qe,fn.Node=mt;var Fe=fn,fe=Fe},31797:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return Pe}});var me=Be(59301),Ce=Be(56762),Me=Be(92343),nt=Be(92310),ze=Be.n(nt),je=Be(36355),ve=Be(61621),Ne=Ue=>{const{value:Ge,formatter:Ze,precision:tt,decimalSeparator:Te,groupSeparator:pt="",prefixCls:Qe}=Ue;let Lt;if(typeof Ze=="function")Lt=Ze(Ge);else{const it=String(Ge),ot=it.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||it==="-")Lt=it;else{const St=ot[1];let lt=ot[2]||"0",vt=ot[4]||"";lt=lt.replace(/\B(?=(\d{3})+(?!\d))/g,pt),typeof tt=="number"&&(vt=vt.padEnd(tt,"0").slice(0,tt>0?tt:0)),vt&&(vt=`${Te}${vt}`),Lt=[me.createElement("span",{key:"int",className:`${Qe}-content-value-int`},St,lt),vt&&me.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},vt)]}}return me.createElement("span",{className:`${Qe}-content-value`},Lt)},ge=Be(17313),De=Be(83116),xe=Be(37613);const Ee=Ue=>{const{componentCls:Ge,marginXXS:Ze,padding:tt,colorTextDescription:Te,titleFontSize:pt,colorTextHeading:Qe,contentFontSize:Lt,fontFamily:it}=Ue;return{[`${Ge}`]:Object.assign(Object.assign({},(0,ge.Wf)(Ue)),{[`${Ge}-title`]:{marginBottom:Ze,color:Te,fontSize:pt},[`${Ge}-skeleton`]:{paddingTop:tt},[`${Ge}-content`]:{color:Qe,fontSize:Lt,fontFamily:it,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:Ze},[`${Ge}-content-suffix`]:{marginInlineStart:Ze}}})}};var ie=(0,De.Z)("Statistic",Ue=>{const Ge=(0,xe.TS)(Ue,{});return[Ee(Ge)]},Ue=>{const{fontSizeHeading3:Ge,fontSize:Ze}=Ue;return{titleFontSize:Ze,contentFontSize:Ge}}),a=Ue=>{const{prefixCls:Ge,className:Ze,rootClassName:tt,style:Te,valueStyle:pt,value:Qe=0,title:Lt,valueRender:it,prefix:ot,suffix:St,loading:lt=!1,onMouseEnter:vt,onMouseLeave:ut,decimalSeparator:at=".",groupSeparator:Kt=","}=Ue,{getPrefixCls:Vt,direction:mt,statistic:Tt}=me.useContext(je.E_),wn=Vt("statistic",Ge),[Qn,ln]=ie(wn),Tn=me.createElement(Ne,Object.assign({decimalSeparator:at,groupSeparator:Kt,prefixCls:wn},Ue,{value:Qe})),Bt=ze()(wn,{[`${wn}-rtl`]:mt==="rtl"},Tt==null?void 0:Tt.className,Ze,tt,ln);return Qn(me.createElement("div",{className:Bt,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Te),onMouseEnter:vt,onMouseLeave:ut},Lt&&me.createElement("div",{className:`${wn}-title`},Lt),me.createElement(ve.Z,{paragraph:!1,loading:lt,className:`${wn}-skeleton`},me.createElement("div",{style:pt,className:`${wn}-content`},ot&&me.createElement("span",{className:`${wn}-content-prefix`},ot),it?it(Tn):Tn,St&&me.createElement("span",{className:`${wn}-content-suffix`},St)))))};const ee=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(Ue,Ge){let Ze=Ue;const tt=/\[[^\]]*]/g,Te=(Ge.match(tt)||[]).map(it=>it.slice(1,-1)),pt=Ge.replace(tt,"[]"),Qe=ee.reduce((it,ot)=>{let[St,lt]=ot;if(it.includes(St)){const vt=Math.floor(Ze/lt);return Ze-=vt*lt,it.replace(new RegExp(`${St}+`,"g"),ut=>{const at=ut.length;return vt.toString().padStart(at,"0")})}return it},pt);let Lt=0;return Qe.replace(tt,()=>{const it=Te[Lt];return Lt+=1,it})}function te(Ue,Ge){const{format:Ze=""}=Ge,tt=new Date(Ue).getTime(),Te=Date.now(),pt=Math.max(tt-Te,0);return E(pt,Ze)}const ne=1e3/30;function ae(Ue){return new Date(Ue).getTime()}const de=Ue=>{const{value:Ge,format:Ze="HH:mm:ss",onChange:tt,onFinish:Te}=Ue,pt=(0,Ce.Z)(),Qe=me.useRef(null),Lt=()=>{Te==null||Te(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},it=()=>{const lt=ae(Ge);lt>=Date.now()&&(Qe.current=setInterval(()=>{pt(),tt==null||tt(lt-Date.now()),lt(it(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ge]);const ot=(lt,vt)=>te(lt,Object.assign(Object.assign({},vt),{format:Ze})),St=lt=>(0,Me.Tm)(lt,{title:void 0});return me.createElement(a,Object.assign({},Ue,{valueRender:St,formatter:ot}))};var Le=me.memo(de);a.Countdown=Le;var Pe=a},15969:function(Yt,Dt,Be){"use strict";Be.d(Dt,{N:function(){return me}});const me=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 me={},Ce="rc-table-internal-hook",Me=Be(42978),nt=Be(6089),ze=Be(34280),je=Be(13697),ve=Be(59301),we=Be(4676);function Ne(Je){var et=ve.createContext(void 0),Ct=function(qt){var $t=qt.value,bn=qt.children,En=ve.useRef($t);En.current=$t;var vn=ve.useState(function(){return{getValue:function(){return En.current},listeners:new Set}}),Mn=(0,Me.Z)(vn,1),Xn=Mn[0];return(0,ze.Z)(function(){(0,we.unstable_batchedUpdates)(function(){Xn.listeners.forEach(function(Kn){Kn($t)})})},[$t]),ve.createElement(et.Provider,{value:Xn},bn)};return{Context:et,Provider:Ct,defaultValue:Je}}function ge(Je,et){var Ct=(0,nt.Z)(typeof et=="function"?et:function(Kn){if(et===void 0)return Kn;if(!Array.isArray(et))return Kn[et];var Sr={};return et.forEach(function(hr){Sr[hr]=Kn[hr]}),Sr}),kt=ve.useContext(Je==null?void 0:Je.Context),qt=kt||{},$t=qt.listeners,bn=qt.getValue,En=ve.useRef();En.current=Ct(kt?bn():Je==null?void 0:Je.defaultValue);var vn=ve.useState({}),Mn=(0,Me.Z)(vn,2),Xn=Mn[1];return(0,ze.Z)(function(){if(!kt)return;function Kn(Sr){var hr=Ct(Sr);(0,je.Z)(En.current,hr,!0)||Xn({})}return $t.add(Kn),function(){$t.delete(Kn)}},[kt]),En.current}var De=Be(54476),xe=Be(8654);function Ee(){var Je=ve.createContext(null);function et(){return ve.useContext(Je)}function Ct(qt,$t){var bn=(0,xe.Yr)(qt),En=function(Mn,Xn){var Kn=bn?{ref:Xn}:{},Sr=ve.useRef(0),hr=ve.useRef(Mn),vr=et();return vr!==null?ve.createElement(qt,(0,De.Z)({},Mn,Kn)):((!$t||$t(hr.current,Mn))&&(Sr.current+=1),hr.current=Mn,ve.createElement(Je.Provider,{value:Sr.current},ve.createElement(qt,(0,De.Z)({},Mn,Kn))))};return bn?ve.forwardRef(En):En}function kt(qt,$t){var bn=(0,xe.Yr)(qt),En=function(Mn,Xn){var Kn=bn?{ref:Xn}:{};return et(),ve.createElement(qt,(0,De.Z)({},Mn,Kn))};return bn?ve.memo(ve.forwardRef(En),$t):ve.memo(En,$t)}return{makeImmutable:Ct,responseImmutable:kt,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,de=Ne(),Le=de;function Pe(Je,et){var Ct=ve.useRef(0);Ct.current+=1;var kt=ve.useRef(Je),qt=[];Object.keys(Je||{}).map(function(bn){var En;(Je==null?void 0:Je[bn])!==((En=kt.current)===null||En===void 0?void 0:En[bn])&&qt.push(bn)}),kt.current=Je;var $t=ve.useRef([]);return qt.length&&($t.current=qt),ve.useDebugValue(Ct.current),ve.useDebugValue($t.current.join(", ")),et&&console.log("".concat(et,":"),Ct.current,$t.current),Ct.current}var Ue=null,Ge=ve.memo(function(){var Je=Pe();return ve.createElement("h1",null,"Render Times: ",Je)});Ge.displayName="RenderBlock";var Ze=Be(76190),tt=Be(33885),Te=Be(20068),pt=Be(92310),Qe=Be.n(pt),Lt=Be(80547),it=Be(97938),ot=Be(48736),St=ve.createContext({renderWithProps:!1}),lt=St,vt="RC_TABLE_KEY";function ut(Je){return Je==null?[]:Array.isArray(Je)?Je:[Je]}function at(Je){var et=[],Ct={};return Je.forEach(function(kt){for(var qt=kt||{},$t=qt.key,bn=qt.dataIndex,En=$t||ut(bn).join("-")||vt;Ct[En];)En="".concat(En,"_next");Ct[En]=!0,et.push(En)}),et}function Kt(Je){return Je!=null}function Vt(Je){return Je&&(0,Ze.Z)(Je)==="object"&&!Array.isArray(Je)&&!ve.isValidElement(Je)}function mt(Je,et,Ct,kt,qt,$t){var bn=ve.useContext(lt),En=ae(),vn=(0,Lt.Z)(function(){if(Kt(kt))return[kt];var Mn=et==null||et===""?[]:Array.isArray(et)?et:[et],Xn=(0,it.Z)(Je,Mn),Kn=Xn,Sr=void 0;if(qt){var hr=qt(Xn,Je,Ct);Vt(hr)?(Kn=hr.children,Sr=hr.props,bn.renderWithProps=!0):Kn=hr}return[Kn,Sr]},[En,Je,kt,et,qt,Ct],function(Mn,Xn){if($t){var Kn=(0,Me.Z)(Mn,2),Sr=Kn[1],hr=(0,Me.Z)(Xn,2),vr=hr[1];return $t(vr,Sr)}return bn.renderWithProps?!0:!(0,je.Z)(Mn,Xn,!0)});return vn}function Tt(Je,et,Ct,kt){var qt=Je+et-1;return Je<=kt&&qt>=Ct}function wn(Je,et){return ge(Le,function(Ct){var kt=Tt(Je,et||1,Ct.hoverStartRow,Ct.hoverEndRow);return[kt,Ct.onHover]})}var Qn=function(et){var Ct=et.ellipsis,kt=et.rowType,qt=et.children,$t,bn=Ct===!0?{showTitle:!0}:Ct;return bn&&(bn.showTitle||kt==="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,Ct,kt,qt,$t,bn,En,vn,Mn=Je.component,Xn=Je.children,Kn=Je.ellipsis,Sr=Je.scope,hr=Je.prefixCls,vr=Je.className,qr=Je.align,Mr=Je.record,Vr=Je.render,Kr=Je.dataIndex,Aa=Je.renderIndex,ka=Je.shouldCellUpdate,Ka=Je.index,wa=Je.rowType,eo=Je.colSpan,bo=Je.rowSpan,ca=Je.fixLeft,ba=Je.fixRight,ga=Je.firstFixLeft,ia=Je.lastFixLeft,va=Je.firstFixRight,Va=Je.lastFixRight,_o=Je.appendNode,Bo=Je.additionalProps,Ga=Bo===void 0?{}:Bo,Oo=Je.isSticky,qo="".concat(hr,"-cell"),qi=ge(Le,["supportSticky","allColumnsFixedLeft"]),vi=qi.supportSticky,gs=qi.allColumnsFixedLeft,Os=mt(Mr,Kr,Aa,Xn,Vr,ka),Po=(0,Me.Z)(Os,2),iA=Po[0],Ii=Po[1],$i={},ts=typeof ca=="number"&&vi,gl=typeof ba=="number"&&vi;ts&&($i.position="sticky",$i.left=ca),gl&&($i.position="sticky",$i.right=ba);var ha=(et=(Ct=(kt=Ii==null?void 0:Ii.colSpan)!==null&&kt!==void 0?kt:Ga.colSpan)!==null&&Ct!==void 0?Ct:eo)!==null&&et!==void 0?et:1,Ja=(qt=($t=(bn=Ii==null?void 0:Ii.rowSpan)!==null&&bn!==void 0?bn:Ga.rowSpan)!==null&&$t!==void 0?$t:bo)!==null&&qt!==void 0?qt:1,Ya=wn(Ka,Ja),Na=(0,Me.Z)(Ya,2),Ni=Na[0],Da=Na[1],mo=function(na){var ol;Mr&&Da(Ka,Ka+Ja-1),Ga==null||(ol=Ga.onMouseEnter)===null||ol===void 0||ol.call(Ga,na)},ni=function(na){var ol;Mr&&Da(-1,-1),Ga==null||(ol=Ga.onMouseLeave)===null||ol===void 0||ol.call(Ga,na)};if(ha===0||Ja===0)return null;var ii=(En=Ga.title)!==null&&En!==void 0?En:Qn({rowType:wa,ellipsis:Kn,children:iA}),XA=Qe()(qo,vr,(vn={},(0,Te.Z)(vn,"".concat(qo,"-fix-left"),ts&&vi),(0,Te.Z)(vn,"".concat(qo,"-fix-left-first"),ga&&vi),(0,Te.Z)(vn,"".concat(qo,"-fix-left-last"),ia&&vi),(0,Te.Z)(vn,"".concat(qo,"-fix-left-all"),ia&&gs&&vi),(0,Te.Z)(vn,"".concat(qo,"-fix-right"),gl&&vi),(0,Te.Z)(vn,"".concat(qo,"-fix-right-first"),va&&vi),(0,Te.Z)(vn,"".concat(qo,"-fix-right-last"),Va&&vi),(0,Te.Z)(vn,"".concat(qo,"-ellipsis"),Kn),(0,Te.Z)(vn,"".concat(qo,"-with-append"),_o),(0,Te.Z)(vn,"".concat(qo,"-fix-sticky"),(ts||gl)&&Oo&&vi),(0,Te.Z)(vn,"".concat(qo,"-row-hover"),!Ii&&Ni),vn),Ga.className,Ii==null?void 0:Ii.className),$s={};qr&&($s.textAlign=qr);var su=(0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)({},$i),Ga.style),$s),Ii==null?void 0:Ii.style),eA=iA;return(0,Ze.Z)(eA)==="object"&&!Array.isArray(eA)&&!ve.isValidElement(eA)&&(eA=null),Kn&&(ia||va)&&(eA=ve.createElement("span",{className:"".concat(qo,"-content")},eA)),ve.createElement(Mn,(0,De.Z)({},Ii,Ga,{className:XA,style:su,title:ii,scope:Sr,onMouseEnter:mo,onMouseLeave:ni,colSpan:ha!==1?ha:null,rowSpan:Ja!==1?Ja:null}),_o,eA)}var Tn=ve.memo(ln);function Bt(Je,et,Ct,kt,qt,$t){var bn=Ct[Je]||{},En=Ct[et]||{},vn,Mn;bn.fixed==="left"?vn=kt.left[qt==="rtl"?et:Je]:En.fixed==="right"&&(Mn=kt.right[qt==="rtl"?Je:et]);var Xn=!1,Kn=!1,Sr=!1,hr=!1,vr=Ct[et+1],qr=Ct[Je-1],Mr=!($t!=null&&$t.children);if(qt==="rtl"){if(vn!==void 0){var Vr=qr&&qr.fixed==="left";hr=!Vr&&Mr}else if(Mn!==void 0){var Kr=vr&&vr.fixed==="right";Sr=!Kr&&Mr}}else if(vn!==void 0){var Aa=vr&&vr.fixed==="left";Xn=!Aa&&Mr}else if(Mn!==void 0){var ka=qr&&qr.fixed==="right";Kn=!ka&&Mr}return{fixLeft:vn,fixRight:Mn,lastFixLeft:Xn,firstFixRight:Kn,lastFixRight:Sr,firstFixLeft:hr,isSticky:kt.isSticky}}var Rn=ve.createContext({}),qn=Rn;function Xe(Je){var et=Je.className,Ct=Je.index,kt=Je.children,qt=Je.colSpan,$t=qt===void 0?1:qt,bn=Je.rowSpan,En=Je.align,vn=ge(Le,["prefixCls","direction"]),Mn=vn.prefixCls,Xn=vn.direction,Kn=ve.useContext(qn),Sr=Kn.scrollColumnIndex,hr=Kn.stickyOffsets,vr=Kn.flattenColumns,qr=Kn.columns,Mr=Ct+$t-1,Vr=Mr+1===Sr?$t+1:$t,Kr=Bt(Ct,Ct+Vr-1,vr,hr,Xn,qr==null?void 0:qr[Ct]);return ve.createElement(Tn,(0,De.Z)({className:et,index:Ct,component:"td",prefixCls:Mn,record:null,dataIndex:null,align:En,colSpan:Vr,rowSpan:bn,render:function(){return kt}},Kr))}var fn=Be(75931),Fe=["children"];function fe(Je){var et=Je.children,Ct=(0,fn.Z)(Je,Fe);return ve.createElement("tr",Ct,et)}function ce(Je){var et=Je.children;return et}ce.Row=fe,ce.Cell=Xe;var Se=ce;function qe(Je){var et=Je.children,Ct=Je.stickyOffsets,kt=Je.flattenColumns,qt=Je.columns,$t=ge(Le,"prefixCls"),bn=kt.length-1,En=kt[bn],vn=ve.useMemo(function(){return{stickyOffsets:Ct,flattenColumns:kt,scrollColumnIndex:En!=null&&En.scrollbar?bn:null,columns:qt}},[En,kt,bn,Ct,qt]);return ve.createElement(qn.Provider,{value:vn},ve.createElement("tfoot",{className:"".concat($t,"-summary")},et))}var dt=ne(qe),He=Se,Ye=Be(70425),Pt=Be(29301),gt=Be(29194),st=Be(24514),Rt=Be(75152),hn=Be(26112);function It(Je,et,Ct,kt,qt,$t,bn){Je.push({record:et,indent:Ct,index:bn});var En=$t(et),vn=qt==null?void 0:qt.has(En);if(et&&Array.isArray(et[kt])&&vn)for(var Mn=0;Mn1?ga-1:0),va=1;va=0;En-=1){var vn=et[En],Mn=Ct&&Ct[En],Xn=Mn&&Mn[ar];if(vn||Xn||bn){var Kn=Xn||{},Sr=Kn.columnType,hr=(0,fn.Z)(Kn,Er);qt.unshift(ve.createElement("col",(0,De.Z)({key:En,style:{width:vn}},hr))),bn=!0}}return ve.createElement("colgroup",null,qt)}var ya=ea,Tr=Be(94480),qa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Za(Je,et){return(0,ve.useMemo)(function(){for(var Ct=[],kt=0;kt1?"colgroup":"col":null,ellipsis:Mr.ellipsis,align:Mr.align,component:Mr.title?$t:bn,prefixCls:Xn,key:hr[qr]},Vr,{additionalProps:Kr,rowType:"header"}))}))}ei.displayName="HeaderRow";var vo=ei;function ci(Je){var et=[];function Ct(bn,En){var vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[vn]=et[vn]||[];var Mn=En,Xn=bn.filter(Boolean).map(function(Kn){var Sr={key:Kn.key,className:Kn.className||"",children:Kn.title,column:Kn,colStart:Mn},hr=1,vr=Kn.children;return vr&&vr.length>0&&(hr=Ct(vr,Mn,vn+1).reduce(function(qr,Mr){return qr+Mr},0),Sr.hasSubColumns=!0),"colSpan"in Kn&&(hr=Kn.colSpan),"rowSpan"in Kn&&(Sr.rowSpan=Kn.rowSpan),Sr.colSpan=hr,Sr.colEnd=Sr.colStart+hr-1,et[vn].push(Sr),Mn+=hr,hr});return Xn}Ct(Je,0);for(var kt=et.length,qt=function(En){et[En].forEach(function(vn){!("rowSpan"in vn)&&!vn.hasSubColumns&&(vn.rowSpan=kt-En)})},$t=0;$t1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Je*parseFloat(et)/100:null}function ti(Je,et){return ve.useMemo(function(){if(et&&et>0){var Ct=0,kt=0;Je.forEach(function(Mn){var Xn=Gi(et,Mn.width);Xn?Ct+=Xn:kt+=1});var qt=et-Ct,$t=kt,bn=qt/kt,En=0,vn=Je.map(function(Mn){var Xn=(0,tt.Z)({},Mn),Kn=Gi(et,Xn.width);if(Kn)Xn.width=Kn;else{var Sr=Math.floor(bn);Xn.width=$t===1?qt:Sr,qt-=Sr,$t-=1}return En+=Xn.width,Xn});return[vn,En]}return[Je,et]},[Je,et])}var Pn=["children"],On=["fixed"];function dn(Je){return(0,Ki.Z)(Je).filter(function(et){return ve.isValidElement(et)}).map(function(et){var Ct=et.key,kt=et.props,qt=kt.children,$t=(0,fn.Z)(kt,Pn),bn=(0,tt.Z)({key:Ct},$t);return qt&&(bn.children=dn(qt)),bn})}function kr(Je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Je.filter(function(Ct){return Ct&&(0,Ze.Z)(Ct)==="object"}).reduce(function(Ct,kt,qt){var $t=kt.fixed,bn=$t===!0?"left":$t,En="".concat(et,"-").concat(qt),vn=kt.children;return vn&&vn.length>0?[].concat((0,Tr.Z)(Ct),(0,Tr.Z)(kr(vn,En).map(function(Mn){return(0,tt.Z)({fixed:bn},Mn)}))):[].concat((0,Tr.Z)(Ct),[(0,tt.Z)((0,tt.Z)({key:En},kt),{},{fixed:bn})])},[])}function ua(Je){for(var et=!0,Ct=0;Ct=0;$t-=1){var bn=Je[$t];if(qt&&bn.fixed!=="right")qt=!1;else if(!qt&&bn.fixed==="right"){warning(!1,"Index ".concat($t+1," of `columns` missing `fixed='right'` prop."));break}}}function Ur(Je){return Je.map(function(et){var Ct=et.fixed,kt=(0,fn.Z)(et,On),qt=Ct;return Ct==="left"?qt="right":Ct==="right"&&(qt="left"),(0,tt.Z)({fixed:qt},kt)})}function Ba(Je,et){var Ct=Je.prefixCls,kt=Je.columns,qt=Je.children,$t=Je.expandable,bn=Je.expandedKeys,En=Je.columnTitle,vn=Je.getRowKey,Mn=Je.onTriggerExpand,Xn=Je.expandIcon,Kn=Je.rowExpandable,Sr=Je.expandIconColumnIndex,hr=Je.direction,vr=Je.expandRowByClick,qr=Je.columnWidth,Mr=Je.fixed,Vr=Je.scrollWidth,Kr=ve.useMemo(function(){return kt||dn(qt)},[kt,qt]),Aa=ve.useMemo(function(){if($t){var ba,ga=Kr.slice();if(!ga.includes(me)){var ia=Sr||0;ia>=0&&ga.splice(ia,0,me)}var va=ga.indexOf(me);ga=ga.filter(function(Ga,Oo){return Ga!==me||Oo===va});var Va=Kr[va],_o;(Mr==="left"||Mr)&&!Sr?_o="left":(Mr==="right"||Mr)&&Sr===Kr.length?_o="right":_o=Va?Va.fixed:null;var Bo=(ba={},(0,Te.Z)(ba,ar,{className:"".concat(Ct,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Te.Z)(ba,"title",En),(0,Te.Z)(ba,"fixed",_o),(0,Te.Z)(ba,"className","".concat(Ct,"-row-expand-icon-cell")),(0,Te.Z)(ba,"width",qr),(0,Te.Z)(ba,"render",function(Oo,qo,qi){var vi=vn(qo,qi),gs=bn.has(vi),Os=Kn?Kn(qo):!0,Po=Xn({prefixCls:Ct,expanded:gs,expandable:Os,record:qo,onExpand:Mn});return vr?ve.createElement("span",{onClick:function(Ii){return Ii.stopPropagation()}},Po):Po}),ba);return ga.map(function(Ga){return Ga===me?Bo:Ga})}return Kr.filter(function(Ga){return Ga!==me})},[$t,Kr,vn,bn,Xn,hr]),ka=ve.useMemo(function(){var ba=Aa;return et&&(ba=et(ba)),ba.length||(ba=[{render:function(){return null}}]),ba},[et,Aa,hr]),Ka=ve.useMemo(function(){return hr==="rtl"?Ur(kr(ka)):kr(ka)},[ka,hr,Vr]),wa=ti(Ka,Vr),eo=(0,Me.Z)(wa,2),bo=eo[0],ca=eo[1];return[ka,bo,ca]}var Ma=Ba;function Fa(Je){var et,Ct=Je.prefixCls,kt=Je.record,qt=Je.onExpand,$t=Je.expanded,bn=Je.expandable,En="".concat(Ct,"-row-expand-icon");if(!bn)return ve.createElement("span",{className:Qe()(En,"".concat(Ct,"-row-spaced"))});var vn=function(Xn){qt(kt,Xn),Xn.stopPropagation()};return ve.createElement("span",{className:Qe()(En,(et={},(0,Te.Z)(et,"".concat(Ct,"-row-expanded"),$t),(0,Te.Z)(et,"".concat(Ct,"-row-collapsed"),!$t),et)),onClick:vn})}function So(Je,et,Ct){var kt=[];function qt($t){($t||[]).forEach(function(bn,En){kt.push(et(bn,En)),qt(bn[Ct])})}return qt(Je),kt}function Wi(Je,et,Ct){var kt=Ar(Je),qt=kt.expandIcon,$t=kt.expandedRowKeys,bn=kt.defaultExpandedRowKeys,En=kt.defaultExpandAllRows,vn=kt.expandedRowRender,Mn=kt.onExpand,Xn=kt.onExpandedRowsChange,Kn=kt.childrenColumnName,Sr=qt||Fa,hr=Kn||"children",vr=ve.useMemo(function(){return vn?"row":Je.expandable&&Je.internalHooks===Ce&&Je.expandable.__PARENT_RENDER_ICON__||et.some(function(Ka){return Ka&&(0,Ze.Z)(Ka)==="object"&&Ka[hr]})?"nest":!1},[!!vn,et]),qr=ve.useState(function(){return bn||(En?So(et,Ct,hr):[])}),Mr=(0,Me.Z)(qr,2),Vr=Mr[0],Kr=Mr[1],Aa=ve.useMemo(function(){return new Set($t||Vr||[])},[$t,Vr]),ka=ve.useCallback(function(Ka){var wa=Ct(Ka,et.indexOf(Ka)),eo,bo=Aa.has(wa);bo?(Aa.delete(wa),eo=(0,Tr.Z)(Aa)):eo=[].concat((0,Tr.Z)(Aa),[wa]),Kr(eo),Mn&&Mn(!bo,Ka),Xn&&Xn(eo)},[Ct,Aa,et,Mn,Xn]);return[kt,vr,Aa,Sr,hr,ka]}function Fr(Je,et,Ct,kt){var qt=Je.map(function($t,bn){return Bt(bn,bn,Je,et,Ct,kt==null?void 0:kt[bn])});return(0,Lt.Z)(function(){return qt},[qt],function($t,bn){return!(0,je.Z)($t,bn)})}function Ha(Je){var et=(0,ve.useRef)(Je),Ct=(0,ve.useState)({}),kt=(0,Me.Z)(Ct,2),qt=kt[1],$t=(0,ve.useRef)(null),bn=(0,ve.useRef)([]);function En(vn){bn.current.push(vn);var Mn=Promise.resolve();$t.current=Mn,Mn.then(function(){if($t.current===Mn){var Xn=bn.current,Kn=et.current;bn.current=[],Xn.forEach(function(Sr){et.current=Sr(et.current)}),$t.current=null,Kn!==et.current&&qt({})}})}return(0,ve.useEffect)(function(){return function(){$t.current=null}},[]),[et.current,En]}function xi(Je){var et=(0,ve.useRef)(Je||null),Ct=(0,ve.useRef)();function kt(){window.clearTimeout(Ct.current)}function qt(bn){et.current=bn,kt(),Ct.current=window.setTimeout(function(){et.current=null,Ct.current=void 0},100)}function $t(){return et.current}return(0,ve.useEffect)(function(){return kt},[]),[qt,$t]}function ai(){var Je=ve.useState(-1),et=(0,Me.Z)(Je,2),Ct=et[0],kt=et[1],qt=ve.useState(-1),$t=(0,Me.Z)(qt,2),bn=$t[0],En=$t[1],vn=ve.useCallback(function(Mn,Xn){kt(Mn),En(Xn)},[]);return[Ct,bn,vn]}var di=Be(47273),Lo=(0,di.Z)()?window:null;function os(Je,et){var Ct=(0,Ze.Z)(Je)==="object"?Je:{},kt=Ct.offsetHeader,qt=kt===void 0?0:kt,$t=Ct.offsetSummary,bn=$t===void 0?0:$t,En=Ct.offsetScroll,vn=En===void 0?0:En,Mn=Ct.getContainer,Xn=Mn===void 0?function(){return Lo}:Mn,Kn=Xn()||Lo;return ve.useMemo(function(){var Sr=!!Je;return{isSticky:Sr,stickyClassName:Sr?"".concat(et,"-sticky-holder"):"",offsetHeader:qt,offsetSummary:bn,offsetScroll:vn,container:Kn}},[vn,qt,bn,et,Kn])}function js(Je,et,Ct){var kt=(0,ve.useMemo)(function(){for(var qt=[],$t=[],bn=0,En=0,vn=0;vn=Kn&&(Ga=Kn-Sr),bn({scrollLeft:Ga/Kn*(Xn+2)}),Kr.current.x=va.pageX},ba=function(){if($t.current){var va=(0,EA.os)($t.current).top,Va=va+$t.current.offsetHeight,_o=vn===window?document.documentElement.scrollTop+window.innerHeight:(0,EA.os)(vn).top+vn.clientHeight;Va-(0,Rt.Z)()<=_o||va>=_o-En?Vr(function(Bo){return(0,tt.Z)((0,tt.Z)({},Bo),{},{isHiddenScrollBar:!0})}):Vr(function(Bo){return(0,tt.Z)((0,tt.Z)({},Bo),{},{isHiddenScrollBar:!1})})}},ga=function(va){Vr(function(Va){return(0,tt.Z)((0,tt.Z)({},Va),{},{scrollLeft:va/Xn*Kn||0})})};return ve.useImperativeHandle(Ct,function(){return{setScrollLeft:ga}}),ve.useEffect(function(){var ia=(0,ki.Z)(document.body,"mouseup",eo,!1),va=(0,ki.Z)(document.body,"mousemove",ca,!1);return ba(),function(){ia.remove(),va.remove()}},[Sr,Ka]),ve.useEffect(function(){var ia=(0,ki.Z)(vn,"scroll",ba,!1),va=(0,ki.Z)(window,"resize",ba,!1);return function(){ia.remove(),va.remove()}},[vn]),ve.useEffect(function(){Mr.isHiddenScrollBar||Vr(function(ia){var va=$t.current;return va?(0,tt.Z)((0,tt.Z)({},ia),{},{scrollLeft:va.scrollLeft/va.scrollWidth*va.clientWidth}):ia})},[Mr.isHiddenScrollBar]),Xn<=Kn||!Sr||Mr.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,Rt.Z)(),width:Kn,bottom:En},className:"".concat(Mn,"-sticky-scroll")},ve.createElement("div",{onMouseDown:bo,ref:hr,className:Qe()("".concat(Mn,"-sticky-scroll-bar"),(0,Te.Z)({},"".concat(Mn,"-sticky-scroll-bar-active"),Ka)),style:{width:"".concat(Sr,"px"),transform:"translate3d(".concat(Mr.scrollLeft,"px, 0, 0)")}}))},gA=ve.forwardRef(Sl);function Or(Je){return null}var _c=Or;function fu(Je){return null}var hu=fu,bl="rc-table",Yr=[],_a={};function To(){return"No Data"}function Pa(Je){var et,Ct=(0,tt.Z)({rowKey:"key",prefixCls:bl,emptyText:To},Je),kt=Ct.prefixCls,qt=Ct.className,$t=Ct.rowClassName,bn=Ct.style,En=Ct.data,vn=Ct.rowKey,Mn=Ct.scroll,Xn=Ct.tableLayout,Kn=Ct.direction,Sr=Ct.title,hr=Ct.footer,vr=Ct.summary,qr=Ct.caption,Mr=Ct.id,Vr=Ct.showHeader,Kr=Ct.components,Aa=Ct.emptyText,ka=Ct.onRow,Ka=Ct.onHeaderRow,wa=Ct.internalHooks,eo=Ct.transformColumns,bo=Ct.internalRefs,ca=Ct.tailor,ba=Ct.sticky,ga=En||Yr,ia=!!ga.length,va=wa===Ce,Va=ve.useCallback(function(Ri,us){return(0,it.Z)(Kr,Ri)||us},[Kr]),_o=ve.useMemo(function(){return typeof vn=="function"?vn:function(Ri){var us=Ri&&Ri[vn];return us}},[vn]),Bo=Va(["body"]),Ga=ai(),Oo=(0,Me.Z)(Ga,3),qo=Oo[0],qi=Oo[1],vi=Oo[2],gs=Wi(Ct,ga,_o),Os=(0,Me.Z)(gs,6),Po=Os[0],iA=Os[1],Ii=Os[2],$i=Os[3],ts=Os[4],gl=Os[5],ha=Mn==null?void 0:Mn.x,Ja=ve.useState(0),Ya=(0,Me.Z)(Ja,2),Na=Ya[0],Ni=Ya[1],Da=Ma((0,tt.Z)((0,tt.Z)((0,tt.Z)({},Ct),Po),{},{expandable:!!Po.expandedRowRender,columnTitle:Po.columnTitle,expandedKeys:Ii,getRowKey:_o,onTriggerExpand:gl,expandIcon:$i,expandIconColumnIndex:Po.expandIconColumnIndex,direction:Kn,scrollWidth:va&&ca&&typeof ha=="number"?ha:null}),va?eo:null),mo=(0,Me.Z)(Da,3),ni=mo[0],ii=mo[1],XA=mo[2],$s=XA!=null?XA:ha,su=ve.useMemo(function(){return{columns:ni,flattenColumns:ii}},[ni,ii]),eA=ve.useRef(),Ul=ve.useRef(),na=ve.useRef(),ol=ve.useRef(),Sc=ve.useRef(),Di=ve.useState(!1),$o=(0,Me.Z)(Di,2),Bs=$o[0],mA=$o[1],ls=ve.useState(!1),Ko=(0,Me.Z)(ls,2),JA=Ko[0],_A=Ko[1],fl=Ha(new Map),il=(0,Me.Z)(fl,2),sl=il[0],Kl=il[1],_u=at(ii),zl=_u.map(function(Ri){return sl.get(Ri)}),Qs=ve.useMemo(function(){return zl},[zl.join("_")]),OA=Es(Qs,ii.length,Kn),sA=Mn&&Kt(Mn.y),ws=Mn&&Kt($s)||!!Po.fixed,vu=ws&&ii.some(function(Ri){var us=Ri.fixed;return us}),Ou=ve.useRef(),Ku=os(ba,kt),Bu=Ku.isSticky,pd=Ku.offsetHeader,_d=Ku.offsetSummary,si=Ku.offsetScroll,ns=Ku.stickyClassName,QA=Ku.container,ps=ve.useMemo(function(){return vr==null?void 0:vr(ga)},[vr,ga]),kA=(sA||Bu)&&ve.isValidElement(ps)&&ps.type===Se&&ps.props.fixed,KA,ks,wu;sA&&(ks={overflowY:"scroll",maxHeight:Mn.y}),ws&&(KA={overflowX:"auto"},sA||(ks={overflowY:"hidden"}),wu={width:$s===!0?"auto":$s,minWidth:"100%"});var vd=ve.useCallback(function(Ri,us){(0,gt.Z)(eA.current)&&Kl(function(Au){if(Au.get(Ri)!==us){var oc=new Map(Au);return oc.set(Ri,us),oc}return Au})},[]),Bd=xi(null),Kd=(0,Me.Z)(Bd,2),bg=Kd[0],Cg=Kd[1];function Xc(Ri,us){us&&(typeof us=="function"?us(Ri):us.scrollLeft!==Ri&&(us.scrollLeft=Ri,us.scrollLeft!==Ri&&setTimeout(function(){us.scrollLeft=Ri},0)))}var yu=(0,nt.Z)(function(Ri){var us=Ri.currentTarget,Au=Ri.scrollLeft,oc=Kn==="rtl",ic=typeof Au=="number"?Au:us.scrollLeft,Ff=us||_a;if(!Cg()||Cg()===Ff){var Ng;bg(Ff),Xc(ic,Ul.current),Xc(ic,na.current),Xc(ic,Sc.current),Xc(ic,(Ng=Ou.current)===null||Ng===void 0?void 0:Ng.setScrollLeft)}var Dg=us||Ul.current;if(Dg){var Ug=Dg.scrollWidth,Og=Dg.clientWidth;if(Ug===Og){mA(!1),_A(!1);return}oc?(mA(-ic0)):(mA(ic>0),_A(ic1?qr-va:0,_o=(0,tt.Z)((0,tt.Z)((0,tt.Z)({},eo),vn),{},{flex:"0 0 ".concat(va,"px"),width:"".concat(va,"px"),marginRight:Va,pointerEvents:"auto"}),Bo=ve.useMemo(function(){return Xn?ga<=1:ca===0||ga===0||ga>1},[ga,ca,Xn]);Bo?_o.visibility="hidden":Xn&&(_o.height=Kn==null?void 0:Kn(ga));var Ga=Bo?function(){return null}:Sr,Oo={};return(ga===0||ca===0)&&(Oo.rowSpan=1,Oo.colSpan=1),ve.createElement(Tn,(0,De.Z)({className:Qe()(vr,Mn),ellipsis:Ct.ellipsis,align:Ct.align,scope:Ct.rowScope,component:"div",prefixCls:et.prefixCls,key:Aa,record:En,index:$t,renderIndex:bn,dataIndex:hr,render:Ga,shouldCellUpdate:Ct.shouldCellUpdate},ka,{appendNode:Ka,additionalProps:(0,tt.Z)((0,tt.Z)({},wa),{},{style:_o},Oo)}))}var Hu=Bc,Fu=["data","index","className","rowKey","style","extra","getHeight"],Cl=ve.forwardRef(function(Je,et){var Ct=Je.data,kt=Je.index,qt=Je.className,$t=Je.rowKey,bn=Je.style,En=Je.extra,vn=Je.getHeight,Mn=(0,fn.Z)(Je,Fu),Xn=Ct.record,Kn=Ct.indent,Sr=Ct.index,hr=ge(Le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),vr=hr.scrollX,qr=hr.flattenColumns,Mr=hr.prefixCls,Vr=hr.fixColumn,Kr=hr.componentWidth,Aa=At(Xn,$t,kt,Kn),ka=Aa.rowSupportExpand,Ka=Aa.expanded,wa=Aa.rowProps,eo=Aa.expandedRowRender,bo=Aa.expandedRowClassName,ca;if(ka&&Ka){var ba=eo(Xn,kt,Kn+1,Ka),ga=bo==null?void 0:bo(Xn,kt,Kn),ia={};Vr&&(ia={style:(0,Te.Z)({},"--virtual-width","".concat(Kr,"px"))});var va="".concat(Mr,"-expanded-row-cell");ca=ve.createElement("div",{className:Qe()("".concat(Mr,"-expanded-row"),"".concat(Mr,"-expanded-row-level-").concat(Kn+1),ga)},ve.createElement(Tn,{component:"div",prefixCls:Mr,className:Qe()(va,(0,Te.Z)({},"".concat(va,"-fixed"),Vr)),additionalProps:ia},ba))}var Va=(0,tt.Z)((0,tt.Z)({},bn),{},{width:vr});En&&(Va.position="absolute",Va.pointerEvents="none");var _o=ve.createElement("div",(0,De.Z)({},wa,Mn,{ref:ka?null:et,className:Qe()(qt,"".concat(Mr,"-row"),wa==null?void 0:wa.className,(0,Te.Z)({},"".concat(Mr,"-row-extra"),En)),style:(0,tt.Z)((0,tt.Z)({},Va),wa==null?void 0:wa.style)}),qr.map(function(Bo,Ga){return ve.createElement(Hu,{key:Ga,rowInfo:Aa,column:Bo,colIndex:Ga,indent:Kn,index:kt,renderIndex:Sr,record:Xn,inverse:En,getHeight:vn})}));return ka?ve.createElement("div",{ref:et},_o,ca):_o}),Lu=ne(Cl),Jl=Lu,jl=ve.forwardRef(function(Je,et){var Ct=Je.data,kt=Je.onScroll,qt=ge(Le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),$t=qt.flattenColumns,bn=qt.onColumnResize,En=qt.getRowKey,vn=qt.expandedKeys,Mn=qt.prefixCls,Xn=qt.childrenColumnName,Kn=qt.emptyNode,Sr=qt.scrollX,hr=ge(xA),vr=hr.scrollY,qr=hr.listItemHeight,Mr=ve.useRef(),Vr=on(Ct,Xn,vn,En),Kr=ve.useMemo(function(){var ca=0;return $t.map(function(ba){var ga=ba.width,ia=ba.key;return ca+=ga,[ia,ga,ca]})},[$t]),Aa=ve.useMemo(function(){return Kr.map(function(ca){return ca[2]})},[Kr]);ve.useEffect(function(){Kr.forEach(function(ca){var ba=(0,Me.Z)(ca,2),ga=ba[0],ia=ba[1];bn(ga,ia)})},[Kr]),ve.useImperativeHandle(et,function(){var ca={};return Object.defineProperty(ca,"scrollLeft",{get:function(){var ga;return((ga=Mr.current)===null||ga===void 0?void 0:ga.getScrollInfo().x)||0},set:function(ga){var ia;(ia=Mr.current)===null||ia===void 0||ia.scrollTo({left:ga})}}),ca});var ka=function(ba,ga){var ia,va=(ia=Vr[ga])===null||ia===void 0?void 0:ia.record,Va=ba.onCell;if(Va){var _o,Bo=Va(va,ga);return(_o=Bo==null?void 0:Bo.rowSpan)!==null&&_o!==void 0?_o:1}return 1},Ka=function(ba){var ga=ba.start,ia=ba.end,va=ba.getSize,Va=ba.offsetY;if(ia<0)return null;for(var _o=$t.filter(function(ha){return ka(ha,ga)===0}),Bo=ga,Ga=function(Ja){if(_o=_o.filter(function(Ya){return ka(Ya,Ja)===0}),!_o.length)return Bo=Ja,"break"},Oo=ga;Oo>=0;Oo-=1){var qo=Ga(Oo);if(qo==="break")break}for(var qi=$t.filter(function(ha){return ka(ha,ia)!==1}),vi=ia,gs=function(Ja){if(qi=qi.filter(function(Ya){return ka(Ya,Ja)!==1}),!qi.length)return vi=Math.max(Ja-1,ia),"break"},Os=ia;Os1})&&iA.push(Ja)},$i=Bo;$i<=vi;$i+=1)var ts=Ii($i);var gl=iA.map(function(ha){var Ja=Vr[ha],Ya=En(Ja.record,ha),Na=function(mo){var ni=ha+mo-1,ii=En(Vr[ni].record,ni),XA=va(Ya,ii);return XA.bottom-XA.top},Ni=va(Ya);return ve.createElement(Jl,{key:ha,data:Ja,rowKey:Ya,index:ha,style:{top:-Va+Ni.top},extra:!0,getHeight:Na})});return gl},wa=ve.useMemo(function(){return{columnsOffset:Aa}},[Aa]),eo="".concat(Mn,"-tbody"),bo;return Vr.length?bo=ve.createElement(PA.Z,{fullHeight:!1,ref:Mr,className:Qe()(eo,"".concat(eo,"-virtual")),height:vr,itemHeight:qr||24,data:Vr,itemKey:function(ba){return En(ba.record)},scrollWidth:Sr,onVirtualScroll:function(ba){var ga=ba.x;kt({scrollLeft:ga})},extraRender:Ka},function(ca,ba,ga){var ia=En(ca.record,ba);return ve.createElement(Jl,(0,De.Z)({data:ca,rowKey:ia,index:ba},ga))}):bo=ve.createElement("div",{className:Qe()("".concat(Mn,"-placeholder"))},ve.createElement(Tn,{component:"div",prefixCls:Mn},Kn)),ve.createElement(Li.Provider,{value:wa},bo)}),ql=ne(jl),dl=ql,rr=function(et,Ct){var kt=Ct.ref,qt=Ct.onScroll;return ve.createElement(dl,{ref:kt,data:et,onScroll:qt})},Zn=100;function cr(Je){var et=Je.columns,Ct=Je.scroll,kt=Je.prefixCls,qt=kt===void 0?bl:kt,$t=Je.className,bn=Je.listItemHeight,En=Ct||{},vn=En.x,Mn=En.y;typeof vn!="number"&&(vn=((et||[]).length+1)*Zn),typeof Mn!="number"&&(Mn=500);var Xn=ve.useMemo(function(){return{scrollY:Mn,listItemHeight:bn}},[Mn,bn]);return ve.createElement(xA.Provider,{value:Xn},ve.createElement(Ps,(0,De.Z)({},Je,{className:Qe()($t,"".concat(qt,"-virtual")),scroll:(0,tt.Z)((0,tt.Z)({},Ct),{},{x:vn}),components:{body:rr},columns:et,internalHooks:Ce,tailor:!0})))}function Xr(Je){return te(cr,Je)}var zt=Xr(),Io=null;function Hr(Je){return null}var fo=Hr;function za(Je){return null}var mi=za,co=Be(2738),Sa=Be(68031),Mo=Be(36355),zo=Be(93891),Hs=Be(19716),no=Be(8628),is=Be(31724),xs=Be(58421),Jr=Be(71418),jr=Be(88088);function Wt(Je){return function(Ct){let{prefixCls:kt,onExpand:qt,record:$t,expanded:bn,expandable:En}=Ct;const vn=`${kt}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:Mn=>{qt($t,Mn),Mn.stopPropagation()},className:Qe()(vn,{[`${vn}-spaced`]:!En,[`${vn}-expanded`]:En&&bn,[`${vn}-collapsed`]:En&&!bn}),"aria-label":bn?Je.collapse:Je.expand,"aria-expanded":bn})}}var Qt=Wt;function xn(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 sr(Je,et){return et?`${et}-${Je}`:`${Je}`}function ta(Je,et){return typeof Je=="function"?Je(et):Je}function ma(Je,et){const Ct=ta(Je,et);return Object.prototype.toString.call(Ct)==="[object Object]"?"":Ct}var oa={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"},Dr=oa,sa=Be(7657),Qa=function(et,Ct){return ve.createElement(sa.Z,(0,De.Z)({},et,{ref:Ct,icon:Dr}))},Co=ve.forwardRef(Qa),wi=Co,La=Be(56762);function ss(Je){const et=ve.useRef(Je),Ct=(0,La.Z)();return[()=>et.current,kt=>{et.current=kt,Ct()}]}var oi=Be(3113),gi=Be(24905),Gr=Be(38854),Ia=Be(64165),so=Be(20834),pi=Be(40875),Zi=Be(5112),Vi=Be(17574),Ms=Be(47472),ds=Be(92832);function yA(Je){let{value:et,onChange:Ct,filterSearch:kt,tablePrefixCls:qt,locale:$t}=Je;return kt?ve.createElement("div",{className:`${qt}-filter-dropdown-search`},ve.createElement(ds.default,{prefix:ve.createElement(Ms.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:Ct,value:et,htmlSize:1,className:`${qt}-filter-dropdown-search-input`})):null}var El=yA,$l=Be(10228);const Pl=Je=>{const{keyCode:et}=Je;et===$l.Z.ENTER&&Je.stopPropagation()};var Ln=ve.forwardRef((Je,et)=>ve.createElement("div",{className:Je.className,onClick:Ct=>Ct.stopPropagation(),onKeyDown:Pl,ref:et},Je.children));function In(Je){let et=[];return(Je||[]).forEach(Ct=>{let{value:kt,children:qt}=Ct;et.push(kt),qt&&(et=[].concat((0,Tr.Z)(et),(0,Tr.Z)(In(qt))))}),et}function xl(Je){return Je.some(et=>{let{children:Ct}=et;return Ct})}function ho(Je,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Je.trim().toLowerCase()):!1}function $a(Je){let{filters:et,prefixCls:Ct,filteredKeys:kt,filterMultiple:qt,searchValue:$t,filterSearch:bn}=Je;return et.map((En,vn)=>{const Mn=String(En.value);if(En.children)return{key:Mn||vn,label:En.text,popupClassName:`${Ct}-dropdown-submenu`,children:$a({filters:En.children,prefixCls:Ct,filteredKeys:kt,filterMultiple:qt,searchValue:$t,filterSearch:bn})};const Xn=qt?gi.default:Zi.ZP,Kn={key:En.value!==void 0?Mn:vn,label:ve.createElement(ve.Fragment,null,ve.createElement(Xn,{checked:kt.includes(Mn)}),ve.createElement("span",null,En.text))};return $t.trim()?typeof bn=="function"?bn($t,En)?Kn:null:ho($t,En.text)?Kn:null:Kn})}function Fs(Je){var et,Ct;const{tablePrefixCls:kt,prefixCls:qt,column:$t,dropdownPrefixCls:bn,columnKey:En,filterMultiple:vn,filterMode:Mn="menu",filterSearch:Xn=!1,filterState:Kn,triggerFilter:Sr,locale:hr,children:vr,getPopupContainer:qr}=Je,{filterDropdownOpen:Mr,onFilterDropdownOpenChange:Vr,filterResetToDefaultFilteredValue:Kr,defaultFilteredValue:Aa,filterDropdownVisible:ka,onFilterDropdownVisibleChange:Ka}=$t,[wa,eo]=ve.useState(!1),bo=!!(Kn&&(!((et=Kn.filteredKeys)===null||et===void 0)&&et.length||Kn.forceFiltered)),ca=Da=>{eo(Da),Vr==null||Vr(Da),Ka==null||Ka(Da)},ba=(Ct=Mr!=null?Mr:ka)!==null&&Ct!==void 0?Ct:wa,ga=Kn==null?void 0:Kn.filteredKeys,[ia,va]=ss(ga||[]),Va=Da=>{let{selectedKeys:mo}=Da;va(mo)},_o=(Da,mo)=>{let{node:ni,checked:ii}=mo;Va(vn?{selectedKeys:Da}:{selectedKeys:ii&&ni.key?[ni.key]:[]})};ve.useEffect(()=>{wa&&Va({selectedKeys:ga||[]})},[ga]);const[Bo,Ga]=ve.useState([]),Oo=Da=>{Ga(Da)},[qo,qi]=ve.useState(""),vi=Da=>{const{value:mo}=Da.target;qi(mo)};ve.useEffect(()=>{wa||qi("")},[wa]);const gs=Da=>{const mo=Da&&Da.length?Da:null;if(mo===null&&(!Kn||!Kn.filteredKeys)||(0,je.Z)(mo,Kn==null?void 0:Kn.filteredKeys,!0))return null;Sr({column:$t,key:En,filteredKeys:mo})},Os=()=>{ca(!1),gs(ia())},Po=function(){let{confirm:Da,closeDropdown:mo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Da&&gs([]),mo&&ca(!1),qi(""),va(Kr?(Aa||[]).map(ni=>String(ni)):[])},iA=function(){let{closeDropdown:Da}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Da&&ca(!1),gs(ia())},Ii=Da=>{Da&&ga!==void 0&&va(ga||[]),ca(Da),!Da&&!$t.filterDropdown&&Os()},$i=Qe()({[`${bn}-menu-without-submenu`]:!xl($t.filters||[])}),ts=Da=>{if(Da.target.checked){const mo=In($t==null?void 0:$t.filters).map(ni=>String(ni));va(mo)}else va([])},gl=Da=>{let{filters:mo}=Da;return(mo||[]).map((ni,ii)=>{const XA=String(ni.value),$s={title:ni.text,key:ni.value!==void 0?XA:ii};return ni.children&&($s.children=gl({filters:ni.children})),$s})},ha=Da=>{var mo;return Object.assign(Object.assign({},Da),{text:Da.title,value:Da.key,children:((mo=Da.children)===null||mo===void 0?void 0:mo.map(ni=>ha(ni)))||[]})};let Ja;if(typeof $t.filterDropdown=="function")Ja=$t.filterDropdown({prefixCls:`${bn}-custom`,setSelectedKeys:Da=>Va({selectedKeys:Da}),selectedKeys:ia(),confirm:iA,clearFilters:Po,filters:$t.filters,visible:ba,close:()=>{ca(!1)}});else if($t.filterDropdown)Ja=$t.filterDropdown;else{const Da=ia()||[],mo=()=>($t.filters||[]).length===0?ve.createElement(Ia.Z,{image:Ia.Z.PRESENTED_IMAGE_SIMPLE,description:hr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Mn==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(El,{filterSearch:Xn,value:qo,onChange:vi,tablePrefixCls:kt,locale:hr}),ve.createElement("div",{className:`${kt}-filter-dropdown-tree`},vn?ve.createElement(gi.default,{checked:Da.length===In($t.filters).length,indeterminate:Da.length>0&&Da.lengthtypeof Xn=="function"?Xn(qo,ha(ii)):ho(qo,ii.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(El,{filterSearch:Xn,value:qo,onChange:vi,tablePrefixCls:kt,locale:hr}),ve.createElement(so.default,{selectable:!0,multiple:vn,prefixCls:`${bn}-menu`,className:$i,onSelect:Va,onDeselect:Va,selectedKeys:Da,getPopupContainer:qr,openKeys:Bo,onOpenChange:Oo,items:$a({filters:$t.filters||[],filterSearch:Xn,prefixCls:qt,filteredKeys:ia(),filterMultiple:vn,searchValue:qo})})),ni=()=>Kr?(0,je.Z)((Aa||[]).map(ii=>String(ii)),Da,!0):Da.length===0;Ja=ve.createElement(ve.Fragment,null,mo(),ve.createElement("div",{className:`${qt}-dropdown-btns`},ve.createElement(oi.ZP,{type:"link",size:"small",disabled:ni(),onClick:()=>Po()},hr.filterReset),ve.createElement(oi.ZP,{type:"primary",size:"small",onClick:Os},hr.filterConfirm)))}$t.filterDropdown&&(Ja=ve.createElement(pi.J,{selectable:void 0},Ja));const Ya=()=>ve.createElement(Ln,{className:`${qt}-dropdown`},Ja);let Na;typeof $t.filterIcon=="function"?Na=$t.filterIcon(bo):$t.filterIcon?Na=$t.filterIcon:Na=ve.createElement(wi,null);const{direction:Ni}=ve.useContext(Mo.E_);return ve.createElement("div",{className:`${qt}-column`},ve.createElement("span",{className:`${kt}-column-title`},vr),ve.createElement(Gr.Z,{dropdownRender:Ya,trigger:["click"],open:ba,onOpenChange:Ii,getPopupContainer:qr,placement:Ni==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${qt}-trigger`,{active:bo}),onClick:Da=>{Da.stopPropagation()}},Na)))}var FA=Fs;function Ls(Je,et,Ct){let kt=[];return(Je||[]).forEach((qt,$t)=>{var bn;const En=sr($t,Ct);if(qt.filters||"filterDropdown"in qt||"onFilter"in qt)if("filteredValue"in qt){let vn=qt.filteredValue;"filterDropdown"in qt||(vn=(bn=vn==null?void 0:vn.map(String))!==null&&bn!==void 0?bn:vn),kt.push({column:qt,key:xn(qt,En),filteredKeys:vn,forceFiltered:qt.filtered})}else kt.push({column:qt,key:xn(qt,En),filteredKeys:et&&qt.defaultFilteredValue?qt.defaultFilteredValue:void 0,forceFiltered:qt.filtered});"children"in qt&&(kt=[].concat((0,Tr.Z)(kt),(0,Tr.Z)(Ls(qt.children,et,En))))}),kt}function _s(Je,et,Ct,kt,qt,$t,bn,En){return Ct.map((vn,Mn)=>{const Xn=sr(Mn,En),{filterMultiple:Kn=!0,filterMode:Sr,filterSearch:hr}=vn;let vr=vn;if(vr.filters||vr.filterDropdown){const qr=xn(vr,Xn),Mr=kt.find(Vr=>{let{key:Kr}=Vr;return qr===Kr});vr=Object.assign(Object.assign({},vr),{title:Vr=>ve.createElement(FA,{tablePrefixCls:Je,prefixCls:`${Je}-filter`,dropdownPrefixCls:et,column:vr,columnKey:qr,filterState:Mr,filterMultiple:Kn,filterMode:Sr,filterSearch:hr,triggerFilter:$t,locale:qt,getPopupContainer:bn},ta(vn.title,Vr))})}return"children"in vr&&(vr=Object.assign(Object.assign({},vr),{children:_s(Je,et,vr.children,kt,qt,$t,bn,Xn)})),vr})}function HA(Je){const et={};return Je.forEach(Ct=>{let{key:kt,filteredKeys:qt,column:$t}=Ct;const{filters:bn,filterDropdown:En}=$t;if(En)et[kt]=qt||null;else if(Array.isArray(qt)){const vn=In(bn);et[kt]=vn.filter(Mn=>qt.includes(String(Mn)))}else et[kt]=null}),et}function ec(Je,et){return et.reduce((Ct,kt)=>{const{column:{onFilter:qt,filters:$t},filteredKeys:bn}=kt;return qt&&bn&&bn.length?Ct.filter(En=>bn.some(vn=>{const Mn=In($t),Xn=Mn.findIndex(Sr=>String(Sr)===String(vn)),Kn=Xn!==-1?Mn[Xn]:vn;return qt(Kn,En)})):Ct},Je)}const VA=Je=>Je.flatMap(et=>"children"in et?[et].concat((0,Tr.Z)(VA(et.children||[]))):[et]);function Xs(Je){let{prefixCls:et,dropdownPrefixCls:Ct,mergedColumns:kt,onFilterChange:qt,getPopupContainer:$t,locale:bn}=Je;const En=ve.useMemo(()=>VA(kt||[]),[kt]),[vn,Mn]=ve.useState(()=>Ls(En,!0)),Xn=ve.useMemo(()=>{const vr=Ls(En,!1);if(vr.length===0)return vr;let qr=!0,Mr=!0;if(vr.forEach(Vr=>{let{filteredKeys:Kr}=Vr;Kr!==void 0?qr=!1:Mr=!1}),qr){const Vr=(En||[]).map((Kr,Aa)=>xn(Kr,sr(Aa)));return vn.filter(Kr=>{let{key:Aa}=Kr;return Vr.includes(Aa)}).map(Kr=>{const Aa=En[Vr.findIndex(ka=>ka===Kr.key)];return Object.assign(Object.assign({},Kr),{column:Object.assign(Object.assign({},Kr.column),Aa),forceFiltered:Aa.filtered})})}return vr},[En,vn]),Kn=ve.useMemo(()=>HA(Xn),[Xn]),Sr=vr=>{const qr=Xn.filter(Mr=>{let{key:Vr}=Mr;return Vr!==vr.key});qr.push(vr),Mn(qr),qt(HA(qr),qr)};return[vr=>_s(et,Ct,vr,Xn,bn,Sr,$t),Xn,Kn]}var ro=Xs;function Eo(Je,et,Ct){const kt=ve.useRef({});function qt($t){if(!kt.current||kt.current.data!==Je||kt.current.childrenColumnName!==et||kt.current.getRowKey!==Ct){let En=function(vn){vn.forEach((Mn,Xn)=>{const Kn=Ct(Mn,Xn);bn.set(Kn,Mn),Mn&&typeof Mn=="object"&&et in Mn&&En(Mn[et]||[])})};const bn=new Map;En(Je),kt.current={data:Je,childrenColumnName:et,kvMap:bn,getRowKey:Ct}}return kt.current.kvMap.get($t)}return[qt]}var ms=Be(50371),Is=function(Je,et){var Ct={};for(var kt in Je)Object.prototype.hasOwnProperty.call(Je,kt)&&et.indexOf(kt)<0&&(Ct[kt]=Je[kt]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,kt=Object.getOwnPropertySymbols(Je);qt{const $t=Je[qt];typeof $t!="function"&&(Ct[qt]=$t)}),Ct}function Hl(Je,et,Ct){const kt=Ct&&typeof Ct=="object"?Ct:{},{total:qt=0}=kt,$t=Is(kt,["total"]),[bn,En]=(0,ve.useState)(()=>({current:"defaultCurrent"in $t?$t.defaultCurrent:1,pageSize:"defaultPageSize"in $t?$t.defaultPageSize:SA})),vn=(0,ms.Z)(bn,$t,{total:qt>0?qt:Je}),Mn=Math.ceil((qt||Je)/vn.pageSize);vn.current>Mn&&(vn.current=Mn||1);const Xn=(Sr,hr)=>{En({current:Sr!=null?Sr:1,pageSize:hr||vn.pageSize})},Kn=(Sr,hr)=>{var vr;Ct&&((vr=Ct.onChange)===null||vr===void 0||vr.call(Ct,Sr,hr)),Xn(Sr,hr),et(Sr,hr||(vn==null?void 0:vn.pageSize))};return Ct===!1?[{},()=>{}]:[Object.assign(Object.assign({},vn),{onChange:Kn}),Xn]}var Fl=Hl,Ll=Be(84105),As=Be(35654),YA=Be(90782),tu=Be(71430),Kc=Be(18929);const Ks={},Il="SELECT_ALL",Ns="SELECT_INVERT",Ji="SELECT_NONE",nA=[],tc=(Je,et)=>{let Ct=[];return(et||[]).forEach(kt=>{Ct.push(kt),kt&&typeof kt=="object"&&Je in kt&&(Ct=[].concat((0,Tr.Z)(Ct),(0,Tr.Z)(tc(Je,kt[Je]))))}),Ct};var rA=(Je,et)=>{const{preserveSelectedRowKeys:Ct,selectedRowKeys:kt,defaultSelectedRowKeys:qt,getCheckboxProps:$t,onChange:bn,onSelect:En,onSelectAll:vn,onSelectInvert:Mn,onSelectNone:Xn,onSelectMultiple:Kn,columnWidth:Sr,type:hr,selections:vr,fixed:qr,renderCell:Mr,hideSelectAll:Vr,checkStrictly:Kr=!0}=et||{},{prefixCls:Aa,data:ka,pageData:Ka,getRecordByKey:wa,getRowKey:eo,expandType:bo,childrenColumnName:ca,locale:ba,getPopupContainer:ga}=Je,[ia,va]=(0,Kc.Z)(kt||qt||nA,{value:kt}),Va=ve.useRef(new Map),_o=(0,ve.useCallback)(ha=>{if(Ct){const Ja=new Map;ha.forEach(Ya=>{let Na=wa(Ya);!Na&&Va.current.has(Ya)&&(Na=Va.current.get(Ya)),Ja.set(Ya,Na)}),Va.current=Ja}},[wa,Ct]);ve.useEffect(()=>{_o(ia)},[ia]);const{keyEntities:Bo}=(0,ve.useMemo)(()=>{if(Kr)return{keyEntities:null};let ha=ka;if(Ct){const Ja=new Set(ka.map((Na,Ni)=>eo(Na,Ni))),Ya=Array.from(Va.current).reduce((Na,Ni)=>{let[Da,mo]=Ni;return Ja.has(Da)?Na:Na.concat(mo)},[]);ha=[].concat((0,Tr.Z)(ha),(0,Tr.Z)(Ya))}return(0,tu.I8)(ha,{externalGetKey:eo,childrenPropName:ca})},[ka,eo,Kr,ca,Ct]),Ga=(0,ve.useMemo)(()=>tc(ca,Ka),[ca,Ka]),Oo=(0,ve.useMemo)(()=>{const ha=new Map;return Ga.forEach((Ja,Ya)=>{const Na=eo(Ja,Ya),Ni=($t?$t(Ja):null)||{};ha.set(Na,Ni)}),ha},[Ga,eo,$t]),qo=(0,ve.useCallback)(ha=>{var Ja;return!!(!((Ja=Oo.get(eo(ha)))===null||Ja===void 0)&&Ja.disabled)},[Oo,eo]),[qi,vi]=(0,ve.useMemo)(()=>{if(Kr)return[ia||[],[]];const{checkedKeys:ha,halfCheckedKeys:Ja}=(0,YA.S)(ia,!0,Bo,qo);return[ha||[],Ja]},[ia,Kr,Bo,qo]),gs=(0,ve.useMemo)(()=>{const ha=hr==="radio"?qi.slice(0,1):qi;return new Set(ha)},[qi,hr]),Os=(0,ve.useMemo)(()=>hr==="radio"?new Set:new Set(vi),[vi,hr]),[Po,iA]=(0,ve.useState)(null);ve.useEffect(()=>{et||va(nA)},[!!et]);const Ii=(0,ve.useCallback)((ha,Ja)=>{let Ya,Na;_o(ha),Ct?(Ya=ha,Na=ha.map(Ni=>Va.current.get(Ni))):(Ya=[],Na=[],ha.forEach(Ni=>{const Da=wa(Ni);Da!==void 0&&(Ya.push(Ni),Na.push(Da))})),va(Ya),bn==null||bn(Ya,Na,{type:Ja})},[va,wa,bn,Ct]),$i=(0,ve.useCallback)((ha,Ja,Ya,Na)=>{if(En){const Ni=Ya.map(Da=>wa(Da));En(wa(ha),Ja,Ni,Na)}Ii(Ya,"single")},[En,wa,Ii]),ts=(0,ve.useMemo)(()=>!vr||Vr?null:(vr===!0?[Il,Ns,Ji]:vr).map(Ja=>Ja===Il?{key:"all",text:ba.selectionAll,onSelect(){Ii(ka.map((Ya,Na)=>eo(Ya,Na)).filter(Ya=>{const Na=Oo.get(Ya);return!(Na!=null&&Na.disabled)||gs.has(Ya)}),"all")}}:Ja===Ns?{key:"invert",text:ba.selectInvert,onSelect(){const Ya=new Set(gs);Ka.forEach((Ni,Da)=>{const mo=eo(Ni,Da),ni=Oo.get(mo);ni!=null&&ni.disabled||(Ya.has(mo)?Ya.delete(mo):Ya.add(mo))});const Na=Array.from(Ya);Mn&&Mn(Na),Ii(Na,"invert")}}:Ja===Ji?{key:"none",text:ba.selectNone,onSelect(){Xn==null||Xn(),Ii(Array.from(gs).filter(Ya=>{const Na=Oo.get(Ya);return Na==null?void 0:Na.disabled}),"none")}}:Ja).map(Ja=>Object.assign(Object.assign({},Ja),{onSelect:function(){for(var Ya,Na,Ni=arguments.length,Da=new Array(Ni),mo=0;mo{var Ja;if(!et)return ha.filter(Di=>Di!==Ks);let Ya=(0,Tr.Z)(ha);const Na=new Set(gs),Ni=Ga.map(eo).filter(Di=>!Oo.get(Di).disabled),Da=Ni.every(Di=>Na.has(Di)),mo=Ni.some(Di=>Na.has(Di)),ni=()=>{const Di=[];Da?Ni.forEach(Bs=>{Na.delete(Bs),Di.push(Bs)}):Ni.forEach(Bs=>{Na.has(Bs)||(Na.add(Bs),Di.push(Bs))});const $o=Array.from(Na);vn==null||vn(!Da,$o.map(Bs=>wa(Bs)),Di.map(Bs=>wa(Bs))),Ii($o,"all"),iA(null)};let ii;if(hr!=="radio"){let Di;if(ts){const Ko={getPopupContainer:ga,items:ts.map((JA,_A)=>{const{key:fl,text:il,onSelect:sl}=JA;return{key:fl!=null?fl:_A,onClick:()=>{sl==null||sl(Ni)},label:il}})};Di=ve.createElement("div",{className:`${Aa}-selection-extra`},ve.createElement(Gr.Z,{menu:Ko,getPopupContainer:ga},ve.createElement("span",null,ve.createElement(Ll.Z,null))))}const $o=Ga.map((Ko,JA)=>{const _A=eo(Ko,JA),fl=Oo.get(_A)||{};return Object.assign({checked:Na.has(_A)},fl)}).filter(Ko=>{let{disabled:JA}=Ko;return JA}),Bs=!!$o.length&&$o.length===Ga.length,mA=Bs&&$o.every(Ko=>{let{checked:JA}=Ko;return JA}),ls=Bs&&$o.some(Ko=>{let{checked:JA}=Ko;return JA});ii=!Vr&&ve.createElement("div",{className:`${Aa}-selection`},ve.createElement(gi.default,{checked:Bs?mA:!!Ga.length&&Da,indeterminate:Bs?!mA&&ls:!Da&&mo,onChange:ni,disabled:Ga.length===0||Bs,"aria-label":Di?"Custom selection":"Select all",skipGroup:!0}),Di)}let XA;hr==="radio"?XA=(Di,$o,Bs)=>{const mA=eo($o,Bs),ls=Na.has(mA);return{node:ve.createElement(Zi.ZP,Object.assign({},Oo.get(mA),{checked:ls,onClick:Ko=>Ko.stopPropagation(),onChange:Ko=>{Na.has(mA)||$i(mA,!0,[mA],Ko.nativeEvent)}})),checked:ls}}:XA=(Di,$o,Bs)=>{var mA;const ls=eo($o,Bs),Ko=Na.has(ls),JA=Os.has(ls),_A=Oo.get(ls);let fl;return bo==="nest"?fl=JA:fl=(mA=_A==null?void 0:_A.indeterminate)!==null&&mA!==void 0?mA:JA,{node:ve.createElement(gi.default,Object.assign({},_A,{indeterminate:fl,checked:Ko,skipGroup:!0,onClick:il=>il.stopPropagation(),onChange:il=>{let{nativeEvent:sl}=il;const{shiftKey:Kl}=sl;let _u=-1,zl=-1;if(Kl&&Kr){const Qs=new Set([Po,ls]);Ni.some((OA,sA)=>{if(Qs.has(OA))if(_u===-1)_u=sA;else return zl=sA,!0;return!1})}if(zl!==-1&&_u!==zl&&Kr){const Qs=Ni.slice(_u,zl+1),OA=[];Ko?Qs.forEach(ws=>{Na.has(ws)&&(OA.push(ws),Na.delete(ws))}):Qs.forEach(ws=>{Na.has(ws)||(OA.push(ws),Na.add(ws))});const sA=Array.from(Na);Kn==null||Kn(!Ko,sA.map(ws=>wa(ws)),OA.map(ws=>wa(ws))),Ii(sA,"multiple")}else{const Qs=qi;if(Kr){const OA=Ko?(0,As._5)(Qs,ls):(0,As.L0)(Qs,ls);$i(ls,!Ko,OA,sl)}else{const OA=(0,YA.S)([].concat((0,Tr.Z)(Qs),[ls]),!0,Bo,qo),{checkedKeys:sA,halfCheckedKeys:ws}=OA;let vu=sA;if(Ko){const Ou=new Set(sA);Ou.delete(ls),vu=(0,YA.S)(Array.from(Ou),{checked:!1,halfCheckedKeys:ws},Bo,qo).checkedKeys}$i(ls,!Ko,vu,sl)}}iA(Ko?null:ls)}})),checked:Ko}};const $s=(Di,$o,Bs)=>{const{node:mA,checked:ls}=XA(Di,$o,Bs);return Mr?Mr(ls,$o,Bs,mA):mA};if(!Ya.includes(Ks))if(Ya.findIndex(Di=>{var $o;return(($o=Di[ar])===null||$o===void 0?void 0:$o.columnType)==="EXPAND_COLUMN"})===0){const[Di,...$o]=Ya;Ya=[Di,Ks].concat((0,Tr.Z)($o))}else Ya=[Ks].concat((0,Tr.Z)(Ya));const su=Ya.indexOf(Ks);Ya=Ya.filter((Di,$o)=>Di!==Ks||$o===su);const eA=Ya[su-1],Ul=Ya[su+1];let na=qr;na===void 0&&((Ul==null?void 0:Ul.fixed)!==void 0?na=Ul.fixed:(eA==null?void 0:eA.fixed)!==void 0&&(na=eA.fixed)),na&&eA&&((Ja=eA[ar])===null||Ja===void 0?void 0:Ja.columnType)==="EXPAND_COLUMN"&&eA.fixed===void 0&&(eA.fixed=na);const ol=Qe()(`${Aa}-selection-col`,{[`${Aa}-selection-col-with-dropdown`]:vr&&hr==="checkbox"}),Sc={fixed:na,width:Sr,className:`${Aa}-selection-column`,title:et.columnTitle||ii,render:$s,onCell:et.onCell,[ar]:{className:ol}};return Ya.map(Di=>Di===Ks?Sc:Di)},[eo,Ga,et,qi,gs,Os,Sr,ts,bo,Po,Oo,Kn,$i,qo]),gs]},nu=Be(89489),fA=Be(59477),ru=Be(6848);const Ds="ascend",Mu="descend";function au(Je){return typeof Je.sorter=="object"&&typeof Je.sorter.multiple=="number"?Je.sorter.multiple:!1}function Iu(Je){return typeof Je=="function"?Je:Je&&typeof Je=="object"&&Je.compare?Je.compare:!1}function Gc(Je,et){return et?Je[Je.indexOf(et)+1]:Je[0]}function Nu(Je,et,Ct){let kt=[];function qt($t,bn){kt.push({column:$t,key:xn($t,bn),multiplePriority:au($t),sortOrder:$t.sortOrder})}return(Je||[]).forEach(($t,bn)=>{const En=sr(bn,Ct);$t.children?("sortOrder"in $t&&qt($t,En),kt=[].concat((0,Tr.Z)(kt),(0,Tr.Z)(Nu($t.children,et,En)))):$t.sorter&&("sortOrder"in $t?qt($t,En):et&&$t.defaultSortOrder&&kt.push({column:$t,key:xn($t,En),multiplePriority:au($t),sortOrder:$t.defaultSortOrder}))}),kt}function wc(Je,et,Ct,kt,qt,$t,bn,En){return(et||[]).map((vn,Mn)=>{const Xn=sr(Mn,En);let Kn=vn;if(Kn.sorter){const Sr=Kn.sortDirections||qt,hr=Kn.showSorterTooltip===void 0?bn:Kn.showSorterTooltip,vr=xn(Kn,Xn),qr=Ct.find(bo=>{let{key:ca}=bo;return ca===vr}),Mr=qr?qr.sortOrder:null,Vr=Gc(Sr,Mr);let Kr;if(vn.sortIcon)Kr=vn.sortIcon({sortOrder:Mr});else{const bo=Sr.includes(Ds)&&ve.createElement(fA.Z,{className:Qe()(`${Je}-column-sorter-up`,{active:Mr===Ds})}),ca=Sr.includes(Mu)&&ve.createElement(nu.Z,{className:Qe()(`${Je}-column-sorter-down`,{active:Mr===Mu})});Kr=ve.createElement("span",{className:Qe()(`${Je}-column-sorter`,{[`${Je}-column-sorter-full`]:!!(bo&&ca)})},ve.createElement("span",{className:`${Je}-column-sorter-inner`,"aria-hidden":"true"},bo,ca))}const{cancelSort:Aa,triggerAsc:ka,triggerDesc:Ka}=$t||{};let wa=Aa;Vr===Mu?wa=Ka:Vr===Ds&&(wa=ka);const eo=typeof hr=="object"?hr:{title:wa};Kn=Object.assign(Object.assign({},Kn),{className:Qe()(Kn.className,{[`${Je}-column-sort`]:Mr}),title:bo=>{const ca=ve.createElement("div",{className:`${Je}-column-sorters`},ve.createElement("span",{className:`${Je}-column-title`},ta(vn.title,bo)),Kr);return hr?ve.createElement(ru.Z,Object.assign({},eo),ca):ca},onHeaderCell:bo=>{const ca=vn.onHeaderCell&&vn.onHeaderCell(bo)||{},ba=ca.onClick,ga=ca.onKeyDown;ca.onClick=Va=>{kt({column:vn,key:vr,sortOrder:Vr,multiplePriority:au(vn)}),ba==null||ba(Va)},ca.onKeyDown=Va=>{Va.keyCode===$l.Z.ENTER&&(kt({column:vn,key:vr,sortOrder:Vr,multiplePriority:au(vn)}),ga==null||ga(Va))};const ia=ma(vn.title,{}),va=ia==null?void 0:ia.toString();return Mr?ca["aria-sort"]=Mr==="ascend"?"ascending":"descending":ca["aria-label"]=va||"",ca.className=Qe()(ca.className,`${Je}-column-has-sorters`),ca.tabIndex=0,vn.ellipsis&&(ca.title=(ia!=null?ia:"").toString()),ca}})}return"children"in Kn&&(Kn=Object.assign(Object.assign({},Kn),{children:wc(Je,Kn.children,Ct,kt,qt,$t,bn,Xn)})),Kn})}function al(Je){const{column:et,sortOrder:Ct}=Je;return{column:et,order:Ct,field:et.dataIndex,columnKey:et.key}}function nc(Je){const et=Je.filter(Ct=>{let{sortOrder:kt}=Ct;return kt}).map(al);return et.length===0&&Je.length?Object.assign(Object.assign({},al(Je[Je.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function Rr(Je,et,Ct){const kt=et.slice().sort((bn,En)=>En.multiplePriority-bn.multiplePriority),qt=Je.slice(),$t=kt.filter(bn=>{let{column:{sorter:En},sortOrder:vn}=bn;return Iu(En)&&vn});return $t.length?qt.sort((bn,En)=>{for(let vn=0;vn<$t.length;vn+=1){const Mn=$t[vn],{column:{sorter:Xn},sortOrder:Kn}=Mn,Sr=Iu(Xn);if(Sr&&Kn){const hr=Sr(bn,En,Kn);if(hr!==0)return Kn===Ds?hr:-hr}}return 0}).map(bn=>{const En=bn[Ct];return En?Object.assign(Object.assign({},bn),{[Ct]:Rr(En,et,Ct)}):bn}):qt}function ao(Je){let{prefixCls:et,mergedColumns:Ct,onSorterChange:kt,sortDirections:qt,tableLocale:$t,showSorterTooltip:bn}=Je;const[En,vn]=ve.useState(Nu(Ct,!0)),Mn=ve.useMemo(()=>{let vr=!0;const qr=Nu(Ct,!1);if(!qr.length)return En;const Mr=[];function Vr(Aa){vr?Mr.push(Aa):Mr.push(Object.assign(Object.assign({},Aa),{sortOrder:null}))}let Kr=null;return qr.forEach(Aa=>{Kr===null?(Vr(Aa),Aa.sortOrder&&(Aa.multiplePriority===!1?vr=!1:Kr=!0)):(Kr&&Aa.multiplePriority!==!1||(vr=!1),Vr(Aa))}),Mr},[Ct,En]),Xn=ve.useMemo(()=>{const vr=Mn.map(qr=>{let{column:Mr,sortOrder:Vr}=qr;return{column:Mr,order:Vr}});return{sortColumns:vr,sortColumn:vr[0]&&vr[0].column,sortOrder:vr[0]&&vr[0].order}},[Mn]);function Kn(vr){let qr;vr.multiplePriority===!1||!Mn.length||Mn[0].multiplePriority===!1?qr=[vr]:qr=[].concat((0,Tr.Z)(Mn.filter(Mr=>{let{key:Vr}=Mr;return Vr!==vr.key})),[vr]),vn(qr),kt(nc(qr),qr)}return[vr=>wc(et,vr,Mn,Kn,qt,$t,bn),Mn,Xn,()=>nc(Mn)]}function fr(Je,et){return Je.map(Ct=>{const kt=Object.assign({},Ct);return kt.title=ta(Ct.title,et),"children"in kt&&(kt.children=fr(kt.children,et)),kt})}function io(Je){return[ve.useCallback(Ct=>fr(Ct,Je),[Je])]}var Jo=Fi((Je,et)=>{const{_renderTimes:Ct}=Je,{_renderTimes:kt}=et;return Ct!==kt}),bA=Xr((Je,et)=>{const{_renderTimes:Ct}=Je,{_renderTimes:kt}=et;return Ct!==kt}),LA=Be(64993),zs=Be(17313),ou=Be(83116),mu=Be(37613),Ti=Je=>{const{componentCls:et}=Je,Ct=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,kt=(qt,$t,bn)=>({[`&${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 -${bn+Je.lineWidth}px`}}}}}});return{[`${et}-wrapper`]:{[`${et}${et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${et}-title`]:{border:Ct,borderBottom:0},[`> ${et}-container`]:{borderInlineStart:Ct,borderTop:Ct,[` > ${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:Ct},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ct},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${et}-cell-fix-right-first::after`]:{borderInlineEnd:Ct}},"\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:Ct,content:'""'}}}}}},[`&${et}-scroll-horizontal`]:{[`> ${et}-container > ${et}-body`]:{"> table > tbody":{[` > tr${et}-expanded-row, > tr${et}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},kt("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle)),kt("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:Ct,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:Ct}}}},ko=Je=>{const{componentCls:et}=Je;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},zs.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"}})}}},hA=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}}}}},Js=Be(15969),Nl=Je=>{const{componentCls:et,antCls:Ct,controlInteractiveSize:kt,motionDurationSlow:qt,lineWidth:$t,paddingXS:bn,lineType:En,tableBorderColor:vn,tableExpandIconBg:Mn,tableExpandColumnWidth:Xn,borderRadius:Kn,fontSize:Sr,fontSizeSM:hr,lineHeight:vr,tablePaddingVertical:qr,tablePaddingHorizontal:Mr,tableExpandedRowBg:Vr,paddingXXS:Kr}=Je,Aa=kt/2-$t,ka=Aa*2+$t*3,Ka=`${$t}px ${En} ${vn}`,wa=Kr-$t;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:Xn},[`${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,Js.N)(Je)),{position:"relative",float:"left",boxSizing:"border-box",width:ka,height:ka,padding:0,color:"inherit",lineHeight:`${ka}px`,background:Mn,border:Ka,borderRadius:Kn,transform:`scale(${kt/ka})`,transition:`all ${qt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${qt} ease-out`,content:'""'},"&::before":{top:Aa,insetInlineEnd:wa,insetInlineStart:wa,height:$t},"&::after":{top:wa,bottom:wa,insetInlineStart:Aa,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:(Sr*vr-$t*3)/2-Math.ceil((hr*1.4-$t*3)/2),marginInlineEnd:bn},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Vr}},[`${Ct}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${qr}px -${Mr}px`,padding:`${qr}px ${Mr}px`}}}},qs=Je=>{const{componentCls:et,antCls:Ct,iconCls:kt,tableFilterDropdownWidth:qt,tableFilterDropdownSearchWidth:$t,paddingXXS:bn,paddingXS:En,colorText:vn,lineWidth:Mn,lineType:Xn,tableBorderColor:Kn,tableHeaderIconColor:Sr,fontSizeSM:hr,tablePaddingHorizontal:vr,borderRadius:qr,motionDurationSlow:Mr,colorTextDescription:Vr,colorPrimary:Kr,tableHeaderFilterActiveBg:Aa,colorTextDisabled:ka,tableFilterDropdownBg:Ka,tableFilterDropdownHeight:wa,controlItemBgHover:eo,controlItemBgActive:bo,boxShadowSecondary:ca,filterDropdownMenuBg:ba}=Je,ga=`${Ct}-dropdown`,ia=`${et}-filter-dropdown`,va=`${Ct}-tree`,Va=`${Mn}px ${Xn} ${Kn}`;return[{[`${et}-wrapper`]:{[`${et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-bn,marginInline:`${bn}px ${-vr/2}px`,padding:`0 ${bn}px`,color:Sr,fontSize:hr,borderRadius:qr,cursor:"pointer",transition:`all ${Mr}`,"&:hover":{color:Vr,background:Aa},"&.active":{color:Kr}}}},{[`${Ct}-dropdown`]:{[ia]:Object.assign(Object.assign({},(0,zs.Wf)(Je)),{minWidth:qt,backgroundColor:Ka,borderRadius:qr,boxShadow:ca,overflow:"hidden",[`${ga}-menu`]:{maxHeight:wa,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ba,"&:empty::after":{display:"block",padding:`${En}px 0`,color:ka,fontSize:hr,textAlign:"center",content:'"Not Found"'}},[`${ia}-tree`]:{paddingBlock:`${En}px 0`,paddingInline:En,[va]:{padding:0},[`${va}-treenode ${va}-node-content-wrapper:hover`]:{backgroundColor:eo},[`${va}-treenode-checkbox-checked ${va}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:bo}}},[`${ia}-search`]:{padding:En,borderBottom:Va,"&-input":{input:{minWidth:$t},[kt]:{color:ka}}},[`${ia}-checkall`]:{width:"100%",marginBottom:bn,marginInlineStart:bn},[`${ia}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${En-Mn}px ${En}px`,overflow:"hidden",borderTop:Va}})}},{[`${Ct}-dropdown ${ia}, ${ia}-submenu`]:{[`${Ct}-checkbox-wrapper + span`]:{paddingInlineStart:En,color:vn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},oA=Je=>{const{componentCls:et,lineWidth:Ct,colorSplit:kt,motionDurationSlow:qt,zIndexTableFixed:$t,tableBg:bn,zIndexTableSticky:En}=Je,vn=kt;return{[`${et}-wrapper`]:{[` ${et}-cell-fix-left, ${et}-cell-fix-right `]:{position:"sticky !important",zIndex:$t,background:bn},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Ct,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:-Ct,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:En+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 ${vn}`}},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${vn}`},[`${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 ${vn}`}},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${vn}`}}}}},Gs=Je=>{const{componentCls:et,antCls:Ct}=Je;return{[`${et}-wrapper`]:{[`${et}-pagination${Ct}-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"}}}}},Dl=Je=>{const{componentCls:et,tableRadius:Ct}=Je;return{[`${et}-wrapper`]:{[et]:{[`${et}-title, ${et}-header`]:{borderRadius:`${Ct}px ${Ct}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:Ct,borderStartEndRadius:Ct,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ct},"> *:last-child":{borderStartEndRadius:Ct}}},"&-footer":{borderRadius:`0 0 ${Ct}px ${Ct}px`}}}}},fd=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:Ct,iconCls:kt,fontSizeIcon:qt,padding:$t,paddingXS:bn,tableHeaderIconColor:En,tableHeaderIconColorHover:vn,tableSelectionColumnWidth:Mn}=Je;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:Mn,[`&${et}-selection-col-with-dropdown`]:{width:Mn+qt+$t/4}},[`${et}-bordered ${et}-selection-col`]:{width:Mn+bn*2,[`&${et}-selection-col-with-dropdown`]:{width:Mn+qt+$t/4+bn*2}},[` table tr th${et}-selection-column, table tr td${et}-selection-column `]:{paddingInlineEnd:Je.paddingXS,paddingInlineStart:Je.paddingXS,textAlign:"center",[`${Ct}-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`,[kt]:{color:En,fontSize:qt,verticalAlign:"baseline","&:hover":{color:vn}}}}}},Md=Je=>{const{componentCls:et}=Je,Ct=(kt,qt,$t,bn)=>({[`${et}${et}-${kt}`]:{fontSize:bn,[` ${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({},Ct("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle,Je.tableFontSizeMiddle)),Ct("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall,Je.tableFontSizeSmall))}},rc=Je=>{const{componentCls:et,marginXXS:Ct,fontSizeIcon:kt,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:Ct,color:qt,fontSize:0,transition:`color ${Je.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:kt,"&.active":{color:Je.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:$t}}}},_l=Je=>{const{componentCls:et,opacityLoading:Ct,tableScrollThumbBg:kt,tableScrollThumbBgHover:qt,tableScrollThumbSize:$t,tableScrollBg:bn,zIndexTableSticky:En,stickyScrollBarBorderRadius:vn}=Je,Mn=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:En,background:Je.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${$t}px !important`,zIndex:En,display:"flex",alignItems:"center",background:bn,borderTop:Mn,opacity:Ct,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:$t,backgroundColor:kt,borderRadius:vn,transition:`all ${Je.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:qt}}}}}}},Zc=Je=>{const{componentCls:et,lineWidth:Ct,tableBorderColor:kt}=Je,qt=`${Ct}px ${Je.lineType} ${kt}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Je.zIndexTableFixed,background:Je.tableBg,"> tr":{"> th, > td":{borderBottom:qt}}},[`div${et}-summary`]:{boxShadow:`0 -${Ct}px 0 ${kt}`}}}},Sf=Je=>{const{componentCls:et}=Je,Ct=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,kt=`${et}-expanded-row-cell`;return{[`${et}-wrapper`]:{[`${et}-tbody-virtual`]:{[`${et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${et}-cell`]:{borderBottom:Ct},[`${et}-expanded-row`]:{[`${kt}${kt}-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:Ct,position:"absolute"},[`${et}-cell`]:{borderInlineEnd:Ct,[`&${et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Je.lineWidth,borderInlineStart:Ct}}}}}}};const Vc=Je=>{const{componentCls:et,fontWeightStrong:Ct,tablePaddingVertical:kt,tablePaddingHorizontal:qt,lineWidth:$t,lineType:bn,tableBorderColor:En,tableFontSize:vn,tableBg:Mn,tableRadius:Xn,tableHeaderTextColor:Kn,motionDurationMid:Sr,tableHeaderBg:hr,tableHeaderCellSplitColor:vr,tableRowHoverBg:qr,tableSelectedRowBg:Mr,tableSelectedRowHoverBg:Vr,tableFooterTextColor:Kr,tableFooterBg:Aa,paddingContentVerticalLG:ka}=Je,Ka=`${$t}px ${bn} ${En}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,zs.dF)()),{[et]:Object.assign(Object.assign({},(0,zs.Wf)(Je)),{fontSize:vn,background:Mn,borderRadius:`${Xn}px ${Xn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Xn}px ${Xn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${et}-cell, ${et}-thead > tr > th, ${et}-tbody > tr > th, ${et}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${ka}px ${qt}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${kt}px ${qt}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Kn,fontWeight:Ct,textAlign:"start",background:hr,borderBottom:Ka,transition:`background ${Sr} 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:vr,transform:"translateY(-50%)",transition:`background-color ${Sr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Sr}, border-color ${Sr}`,borderBottom:Ka,[` > ${et}-wrapper:only-child, > ${et}-expanded-row-fixed > ${et}-wrapper:only-child `]:{[et]:{marginBlock:`-${kt}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:Kn,fontWeight:Ct,textAlign:"start",background:hr,borderBottom:Ka,transition:`background ${Sr} ease`},[` &${et}-row:hover > th, &${et}-row:hover > td, > th${et}-cell-row-hover, > td${et}-cell-row-hover `]:{background:qr},[`&${et}-row-selected`]:{"> th, > td":{background:Mr},"&:hover > th, &:hover > td":{background:Vr}}}},[`${et}-footer`]:{padding:`${kt}px ${qt}px`,color:Kr,background:Aa}})}};var hd=(0,ou.Z)("Table",Je=>{const{colorTextHeading:et,colorSplit:Ct,colorIcon:kt,colorIconHover:qt,opacityLoading:$t,colorBgContainer:bn,controlInteractiveSize:En,headerBg:vn,headerColor:Mn,headerSortActiveBg:Xn,headerSortHoverBg:Kn,bodySortBg:Sr,rowHoverBg:hr,rowSelectedBg:vr,rowSelectedHoverBg:qr,rowExpandedBg:Mr,cellPaddingBlock:Vr,cellPaddingInline:Kr,cellPaddingBlockMD:Aa,cellPaddingInlineMD:ka,cellPaddingBlockSM:Ka,cellPaddingInlineSM:wa,borderColor:eo,footerBg:bo,footerColor:ca,headerBorderRadius:ba,cellFontSize:ga,cellFontSizeMD:ia,cellFontSizeSM:va,headerSplitColor:Va,fixedHeaderSortActiveBg:_o,headerFilterHoverBg:Bo,filterDropdownBg:Ga,expandIconBg:Oo,selectionColumnWidth:qo,stickyScrollBarBg:qi}=Je,vi=new LA.C(kt),gs=new LA.C(qt),Os=2,Po=(0,mu.TS)(Je,{tableFontSize:ga,tableBg:bn,tableRadius:ba,tablePaddingVertical:Vr,tablePaddingHorizontal:Kr,tablePaddingVerticalMiddle:Aa,tablePaddingHorizontalMiddle:ka,tablePaddingVerticalSmall:Ka,tablePaddingHorizontalSmall:wa,tableBorderColor:eo,tableHeaderTextColor:Mn,tableHeaderBg:vn,tableFooterTextColor:ca,tableFooterBg:bo,tableHeaderCellSplitColor:Va,tableHeaderSortBg:Xn,tableHeaderSortHoverBg:Kn,tableHeaderIconColor:vi.clone().setAlpha(vi.getAlpha()*$t).toRgbString(),tableHeaderIconColorHover:gs.clone().setAlpha(gs.getAlpha()*$t).toRgbString(),tableBodySortBg:Sr,tableFixedHeaderSortActiveBg:_o,tableHeaderFilterActiveBg:Bo,tableFilterDropdownBg:Ga,tableRowHoverBg:hr,tableSelectedRowBg:vr,tableSelectedRowHoverBg:qr,zIndexTableFixed:Os,zIndexTableSticky:Os+1,tableFontSizeMiddle:ia,tableFontSizeSmall:va,tableSelectionColumnWidth:qo,tableExpandIconBg:Oo,tableExpandColumnWidth:En+2*Je.padding,tableExpandedRowBg:Mr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:qi,tableScrollThumbBgHover:et,tableScrollBg:Ct});return[Vc(Po),Gs(Po),Zc(Po),rc(Po),qs(Po),Ti(Po),Dl(Po),Nl(Po),Zc(Po),hA(Po),wf(Po),oA(Po),_l(Po),ko(Po),Md(Po),fd(Po),Sf(Po)]},Je=>{const{colorFillAlter:et,colorBgContainer:Ct,colorTextHeading:kt,colorFillSecondary:qt,colorFillContent:$t,controlItemBgActive:bn,controlItemBgActiveHover:En,padding:vn,paddingSM:Mn,paddingXS:Xn,colorBorderSecondary:Kn,borderRadiusLG:Sr,fontSize:hr,controlHeight:vr,colorTextPlaceholder:qr}=Je,Mr=new LA.C(qt).onBackground(Ct).toHexShortString(),Vr=new LA.C($t).onBackground(Ct).toHexShortString(),Kr=new LA.C(et).onBackground(Ct).toHexShortString();return{headerBg:Kr,headerColor:kt,headerSortActiveBg:Mr,headerSortHoverBg:Vr,bodySortBg:Kr,rowHoverBg:Kr,rowSelectedBg:bn,rowSelectedHoverBg:En,rowExpandedBg:et,cellPaddingBlock:vn,cellPaddingInline:vn,cellPaddingBlockMD:Mn,cellPaddingInlineMD:Xn,cellPaddingBlockSM:Xn,cellPaddingInlineSM:Xn,borderColor:Kn,headerBorderRadius:Sr,footerBg:Kr,footerColor:kt,cellFontSize:hr,cellFontSizeMD:hr,cellFontSizeSM:hr,headerSplitColor:Kn,fixedHeaderSortActiveBg:Mr,headerFilterHoverBg:$t,filterDropdownMenuBg:Ct,filterDropdownBg:Ct,expandIconBg:Ct,selectionColumnWidth:vr,stickyScrollBarBg:qr,stickyScrollBarBorderRadius:100}});const Sg=[],Yc=(Je,et)=>{const{prefixCls:Ct,className:kt,rootClassName:qt,style:$t,size:bn,bordered:En,dropdownPrefixCls:vn,dataSource:Mn,pagination:Xn,rowSelection:Kn,rowKey:Sr="key",rowClassName:hr,columns:vr,children:qr,childrenColumnName:Mr,onChange:Vr,getPopupContainer:Kr,loading:Aa,expandIcon:ka,expandable:Ka,expandedRowRender:wa,expandIconColumnIndex:eo,indentSize:bo,scroll:ca,sortDirections:ba,locale:ga,showSorterTooltip:ia=!0,virtual:va}=Je,Va=ve.useMemo(()=>vr||dn(qr),[vr,qr]),_o=ve.useMemo(()=>Va.some(si=>si.responsive),[Va]),Bo=(0,no.Z)(_o),Ga=ve.useMemo(()=>{const si=new Set(Object.keys(Bo).filter(ns=>Bo[ns]));return Va.filter(ns=>!ns.responsive||ns.responsive.some(QA=>si.has(QA)))},[Va,Bo]),Oo=(0,co.Z)(Je,["className","style","columns"]),{locale:qo=is.Z,direction:qi,table:vi,renderEmpty:gs,getPrefixCls:Os,getPopupContainer:Po}=ve.useContext(Mo.E_),iA=(0,Hs.Z)(bn),Ii=Object.assign(Object.assign({},qo.Table),ga),$i=Mn||Sg,ts=Os("table",Ct),gl=Os("dropdown",vn),ha=Object.assign({childrenColumnName:Mr,expandIconColumnIndex:eo},Ka),{childrenColumnName:Ja="children"}=ha,Ya=ve.useMemo(()=>$i.some(si=>si==null?void 0:si[Ja])?"nest":wa||Ka&&Ka.expandedRowRender?"row":null,[$i]),Na={body:ve.useRef()},Ni=ve.useMemo(()=>typeof Sr=="function"?Sr:si=>si==null?void 0:si[Sr],[Sr]),[Da]=Eo($i,Ja,Ni),mo={},ni=function(si,ns){let QA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ps,kA,KA;const ks=Object.assign(Object.assign({},mo),si);QA&&((ps=mo.resetPagination)===null||ps===void 0||ps.call(mo),!((kA=ks.pagination)===null||kA===void 0)&&kA.current&&(ks.pagination.current=1),Xn&&Xn.onChange&&Xn.onChange(1,(KA=ks.pagination)===null||KA===void 0?void 0:KA.pageSize)),ca&&ca.scrollToFirstRowOnChange!==!1&&Na.body.current&&(0,Sa.Z)(0,{getContainer:()=>Na.body.current}),Vr==null||Vr(ks.pagination,ks.filters,ks.sorter,{currentDataSource:ec(Rr($i,ks.sorterStates,Ja),ks.filterStates),action:ns})},ii=(si,ns)=>{ni({sorter:si,sorterStates:ns},"sort",!1)},[XA,$s,su,eA]=ao({prefixCls:ts,mergedColumns:Ga,onSorterChange:ii,sortDirections:ba||["ascend","descend"],tableLocale:Ii,showSorterTooltip:ia}),Ul=ve.useMemo(()=>Rr($i,$s,Ja),[$i,$s]);mo.sorter=eA(),mo.sorterStates=$s;const na=(si,ns)=>{ni({filters:si,filterStates:ns},"filter",!0)},[ol,Sc,Di]=ro({prefixCls:ts,locale:Ii,dropdownPrefixCls:gl,mergedColumns:Ga,onFilterChange:na,getPopupContainer:Kr||Po}),$o=ec(Ul,Sc);mo.filters=Di,mo.filterStates=Sc;const Bs=ve.useMemo(()=>{const si={};return Object.keys(Di).forEach(ns=>{Di[ns]!==null&&(si[ns]=Di[ns])}),Object.assign(Object.assign({},su),{filters:si})},[su,Di]),[mA]=io(Bs),ls=(si,ns)=>{ni({pagination:Object.assign(Object.assign({},mo.pagination),{current:si,pageSize:ns})},"paginate")},[Ko,JA]=Fl($o.length,ls,Xn);mo.pagination=Xn===!1?{}:Zo(Ko,Xn),mo.resetPagination=JA;const _A=ve.useMemo(()=>{if(Xn===!1||!Ko.pageSize)return $o;const{current:si=1,total:ns,pageSize:QA=SA}=Ko;return $o.lengthQA?$o.slice((si-1)*QA,si*QA):$o:$o.slice((si-1)*QA,si*QA)},[!!Xn,$o,Ko&&Ko.current,Ko&&Ko.pageSize,Ko&&Ko.total]),[fl,il]=rA({prefixCls:ts,data:$o,pageData:_A,getRowKey:Ni,getRecordByKey:Da,expandType:Ya,childrenColumnName:Ja,locale:Ii,getPopupContainer:Kr||Po},Kn),sl=(si,ns,QA)=>{let ps;return typeof hr=="function"?ps=Qe()(hr(si,ns,QA)):ps=Qe()(hr),Qe()({[`${ts}-row-selected`]:il.has(Ni(si,ns))},ps)};ha.__PARENT_RENDER_ICON__=ha.expandIcon,ha.expandIcon=ha.expandIcon||ka||Qt(Ii),Ya==="nest"&&ha.expandIconColumnIndex===void 0?ha.expandIconColumnIndex=Kn?1:0:ha.expandIconColumnIndex>0&&Kn&&(ha.expandIconColumnIndex-=1),typeof ha.indentSize!="number"&&(ha.indentSize=typeof bo=="number"?bo:15);const Kl=ve.useCallback(si=>mA(fl(ol(XA(si)))),[XA,ol,fl]);let _u,zl;if(Xn!==!1&&(Ko!=null&&Ko.total)){let si;Ko.size?si=Ko.size:si=iA==="small"||iA==="middle"?"small":void 0;const ns=kA=>ve.createElement(xs.Z,Object.assign({},Ko,{className:Qe()(`${ts}-pagination ${ts}-pagination-${kA}`,Ko.className),size:si})),QA=qi==="rtl"?"left":"right",{position:ps}=Ko;if(ps!==null&&Array.isArray(ps)){const kA=ps.find(wu=>wu.includes("top")),KA=ps.find(wu=>wu.includes("bottom")),ks=ps.every(wu=>`${wu}`=="none");!kA&&!KA&&!ks&&(zl=ns(QA)),kA&&(_u=ns(kA.toLowerCase().replace("top",""))),KA&&(zl=ns(KA.toLowerCase().replace("bottom","")))}else zl=ns(QA)}let Qs;typeof Aa=="boolean"?Qs={spinning:Aa}:typeof Aa=="object"&&(Qs=Object.assign({spinning:!0},Aa));const[OA,sA]=hd(ts),[,ws]=(0,jr.Z)(),vu=Qe()(`${ts}-wrapper`,vi==null?void 0:vi.className,{[`${ts}-wrapper-rtl`]:qi==="rtl"},kt,qt,sA),Ou=Object.assign(Object.assign({},vi==null?void 0:vi.style),$t),Ku=ga&&ga.emptyText||(gs==null?void 0:gs("Table"))||ve.createElement(zo.Z,{componentName:"Table"}),Bu=va?bA:Jo,pd={},_d=ve.useMemo(()=>{const{fontSize:si,lineHeight:ns,padding:QA,paddingXS:ps,paddingSM:kA}=ws,KA=Math.floor(si*ns);switch(iA){case"large":return QA*2+KA;case"small":return ps*2+KA;default:return kA*2+KA}},[ws,iA]);return va&&(pd.listItemHeight=_d),OA(ve.createElement("div",{ref:et,className:vu,style:Ou},ve.createElement(Jr.Z,Object.assign({spinning:!1},Qs),_u,ve.createElement(Bu,Object.assign({},pd,Oo,{columns:Ga,direction:qi,expandable:ha,prefixCls:ts,className:Qe()({[`${ts}-middle`]:iA==="middle",[`${ts}-small`]:iA==="small",[`${ts}-bordered`]:En,[`${ts}-empty`]:$i.length===0}),data:_A,rowKey:Ni,rowClassName:sl,emptyText:Ku,internalHooks:Ce,internalRefs:Na,transformColumns:Kl})),zl)))};var n0=ve.forwardRef(Yc);const r0=(Je,et)=>{const Ct=ve.useRef(0);return Ct.current+=1,ve.createElement(n0,Object.assign({},Je,{ref:et,_renderTimes:Ct.current}))},MA=ve.forwardRef(r0);MA.SELECTION_COLUMN=Ks,MA.EXPAND_COLUMN=me,MA.SELECTION_ALL=Il,MA.SELECTION_INVERT=Ns,MA.SELECTION_NONE=Ji,MA.Column=fo,MA.ColumnGroup=mi,MA.Summary=He;var md=MA,a0=md},17574:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return vt}});var me=Be(60091),Ce=Be(94480),Me=Be(52671),nt=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),ge=function(at,Kt){return je.createElement(Ne.Z,(0,ze.Z)({},at,{ref:Kt,icon:we}))},De=je.forwardRef(ge),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 de(ut){const{dropPosition:at,dropLevelOffset:Kt,prefixCls:Vt,indent:mt,direction:Tt="ltr"}=ut,wn=Tt==="ltr"?"left":"right",Qn=Tt==="ltr"?"right":"left",ln={[wn]:-Kt*mt+ae,[Qn]:0};switch(at){case-1:ln.top=-3;break;case 1:ln.bottom=-3;break;default:ln.bottom=-3,ln[wn]=mt+ae;break}return je.createElement("div",{style:ln,className:`${Vt}-drop-indicator`})}var Le=Be(71997),Ue=je.forwardRef((ut,at)=>{const{getPrefixCls:Kt,direction:Vt,virtual:mt,tree:Tt}=je.useContext(ee.E_),{prefixCls:wn,className:Qn,showIcon:ln=!1,showLine:Tn,switcherIcon:Bt,blockNode:Rn=!1,children:qn,checkable:Xe=!1,selectable:fn=!0,draggable:Fe,motion:fe,style:ce}=ut,Se=Kt("tree",wn),qe=Kt(),dt=fe!=null?fe:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),He=Object.assign(Object.assign({},ut),{checkable:Xe,selectable:fn,showIcon:ln,motion:dt,blockNode:Rn,showLine:!!Tn,dropIndicatorRender:de}),[Ye,Pt]=(0,ne.ZP)(Se),gt=je.useMemo(()=>{if(!Fe)return!1;let Rt={};switch(typeof Fe){case"function":Rt.nodeDraggable=Fe;break;case"object":Rt=Object.assign({},Fe);break;default:break}return Rt.icon!==!1&&(Rt.icon=Rt.icon||je.createElement(E.Z,null)),Rt},[Fe]),st=Rt=>je.createElement(Le.Z,{prefixCls:Se,switcherIcon:Bt,treeNodeProps:Rt,showLine:Tn});return Ye(je.createElement(me.Z,Object.assign({itemHeight:20,ref:at,virtual:mt},He,{style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),ce),prefixCls:Se,className:ie()({[`${Se}-icon-hide`]:!ln,[`${Se}-block-node`]:Rn,[`${Se}-unselectable`]:!fn,[`${Se}-rtl`]:Vt==="rtl"},Tt==null?void 0:Tt.className,Qn,Pt),direction:Vt,checkable:Xe&&je.createElement("span",{className:`${Se}-checkbox-inner`}),selectable:fn,switcherIcon:st,draggable:gt}),qn))}),Ge;(function(ut){ut[ut.None=0]="None",ut[ut.Start=1]="Start",ut[ut.End=2]="End"})(Ge||(Ge={}));function Ze(ut,at){function Kt(Vt){const{key:mt,children:Tt}=Vt;at(mt,Vt)!==!1&&Ze(Tt||[],at)}ut.forEach(Kt)}function tt(ut){let{treeData:at,expandedKeys:Kt,startKey:Vt,endKey:mt}=ut;const Tt=[];let wn=Ge.None;if(Vt&&Vt===mt)return[Vt];if(!Vt||!mt)return[];function Qn(ln){return ln===Vt||ln===mt}return Ze(at,ln=>{if(wn===Ge.End)return!1;if(Qn(ln)){if(Tt.push(ln),wn===Ge.None)wn=Ge.Start;else if(wn===Ge.Start)return wn=Ge.End,!1}else wn===Ge.Start&&Tt.push(ln);return Kt.includes(ln)}),Tt}function Te(ut,at){const Kt=(0,Ce.Z)(at),Vt=[];return Ze(ut,(mt,Tt)=>{const wn=Kt.indexOf(mt);return wn!==-1&&(Vt.push(Tt),Kt.splice(wn,1)),!!Kt.length}),Vt}var pt=function(ut,at){var Kt={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&at.indexOf(Vt)<0&&(Kt[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,Vt=Object.getOwnPropertySymbols(ut);mt{var{defaultExpandAll:Kt,defaultExpandParent:Vt,defaultExpandedKeys:mt}=ut,Tt=pt(ut,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const wn=je.useRef(),Qn=je.useRef(),ln=()=>{const{keyEntities:gt}=(0,a.I8)(Lt(Tt));let st;return Kt?st=Object.keys(gt):Vt?st=(0,y.r7)(Tt.expandedKeys||mt||[],gt):st=Tt.expandedKeys||mt,st},[Tn,Bt]=je.useState(Tt.selectedKeys||Tt.defaultSelectedKeys||[]),[Rn,qn]=je.useState(()=>ln());je.useEffect(()=>{"selectedKeys"in Tt&&Bt(Tt.selectedKeys)},[Tt.selectedKeys]),je.useEffect(()=>{"expandedKeys"in Tt&&qn(Tt.expandedKeys)},[Tt.expandedKeys]);const Xe=(gt,st)=>{var Rt;return"expandedKeys"in Tt||qn(gt),(Rt=Tt.onExpand)===null||Rt===void 0?void 0:Rt.call(Tt,gt,st)},fn=(gt,st)=>{var Rt;const{multiple:hn}=Tt,{node:It,nativeEvent:on}=st,{key:Ft=""}=It,yn=Lt(Tt),At=Object.assign(Object.assign({},st),{selected:!0}),Jt=(on==null?void 0:on.ctrlKey)||(on==null?void 0:on.metaKey),gn=on==null?void 0:on.shiftKey;let pn;hn&&Jt?(pn=gt,wn.current=Ft,Qn.current=pn,At.selectedNodes=Te(yn,pn)):hn&&gn?(pn=Array.from(new Set([].concat((0,Ce.Z)(Qn.current||[]),(0,Ce.Z)(tt({treeData:yn,expandedKeys:Rn,startKey:Ft,endKey:wn.current}))))),At.selectedNodes=Te(yn,pn)):(pn=[Ft],wn.current=Ft,Qn.current=pn,At.selectedNodes=Te(yn,pn)),(Rt=Tt.onSelect)===null||Rt===void 0||Rt.call(Tt,pn,At),"selectedKeys"in Tt||Bt(pn)},{getPrefixCls:Fe,direction:fe}=je.useContext(ee.E_),{prefixCls:ce,className:Se,showIcon:qe=!0,expandAction:dt="click"}=Tt,He=pt(Tt,["prefixCls","className","showIcon","expandAction"]),Ye=Fe("tree",ce),Pt=ie()(`${Ye}-directory`,{[`${Ye}-directory-rtl`]:fe==="rtl"},Se);return je.createElement(Ue,Object.assign({icon:Qe,ref:at,blockNode:!0},He,{showIcon:qe,expandAction:dt,prefixCls:Ye,className:Pt,expandedKeys:Rn,selectedKeys:Tn,onSelect:fn,onExpand:Xe}))};var St=je.forwardRef(it);const lt=Ue;lt.DirectoryTree=St,lt.TreeNode=me.O;var vt=lt},20648:function(Yt,Dt,Be){"use strict";Be.d(Dt,{TM:function(){return Ee},Yk:function(){return xe}});var me=Be(36237),Ce=Be(98447),Me=Be(17313),nt=Be(8378),ze=Be(37613),je=Be(83116);const ve=new me.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:'""'}}}),ge=(ie,y)=>{const{treeCls:a,treeNodeCls:ee,treeNodePadding:E,titleHeight:te,nodeSelectedBg:ne,nodeHoverBg:ae}=y,de=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Me.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Me.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${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,Me.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:de},[`${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[ge(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,nt.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 me=Be(54476),Ce=Be(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},nt=Me,ze=Be(7657),je=function(te,ne){return Ce.createElement(ze.Z,(0,me.Z)({},te,{ref:ne,icon:nt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(52671),ge=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:de}=E,{isLeaf:Le,expanded:Pe,loading:Ue}=ae;if(Ue)return Ce.createElement(ge.Z,{className:`${te}-switcher-loading-icon`});let Ge;if(de&&typeof de=="object"&&(Ge=de.showLeafIcon),Le){if(!de)return null;if(typeof Ge!="boolean"&&Ge){const Te=typeof Ge=="function"?Ge(ae):Ge,pt=`${te}-switcher-line-custom-icon`;return(0,y.l$)(Te)?(0,y.Tm)(Te,{className:ie()(Te.props.className||"",pt)}):Te}return Ge?Ce.createElement(Ne.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement("span",{className:`${te}-switcher-leaf-line`})}const Ze=`${te}-switcher-icon`,tt=typeof ne=="function"?ne(ae):ne;return(0,y.l$)(tt)?(0,y.Tm)(tt,{className:ie()(tt.props.className||"",Ze)}):tt!==void 0?tt:de?Pe?Ce.createElement(De.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(xe.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(we,{className:Ze})}},86251:function(Yt,Dt){"use strict";Dt.byteLength=ve,Dt.toByteArray=Ne,Dt.fromByteArray=xe;for(var Be=[],me=[],Ce=typeof Uint8Array!="undefined"?Uint8Array:Array,Me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nt=0,ze=Me.length;nt0)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=me[Ee.charCodeAt(ae)]<<2|me[Ee.charCodeAt(ae+1)]>>4,E[te++]=ie&255),ee===1&&(ie=me[Ee.charCodeAt(ae)]<<10|me[Ee.charCodeAt(ae+1)]<<4|me[Ee.charCodeAt(ae+2)]>>2,E[te++]=ie>>8&255,E[te++]=ie&255),E}function ge(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 me;var Ce=Be(86251),Me=Be(67467),nt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Dt.lW=we,me=te,Dt.h2=50;var ze=2147483647;me=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),fe={foo:function(){return 42}};return Object.setPrototypeOf(fe,Uint8Array.prototype),Object.setPrototypeOf(Fe,fe),Fe.foo()===42}catch(ce){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 fe=new Uint8Array(Fe);return Object.setPrototypeOf(fe,we.prototype),fe}function we(Fe,fe,ce){if(typeof Fe=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return xe(Fe)}return Ne(Fe,fe,ce)}we.poolSize=8192;function Ne(Fe,fe,ce){if(typeof Fe=="string")return Ee(Fe,fe);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(qn(Fe,ArrayBuffer)||Fe&&qn(Fe.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(qn(Fe,SharedArrayBuffer)||Fe&&qn(Fe.buffer,SharedArrayBuffer)))return a(Fe,fe,ce);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,fe,ce);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"),fe,ce);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,fe,ce){return Ne(Fe,fe,ce)},Object.setPrototypeOf(we.prototype,Uint8Array.prototype),Object.setPrototypeOf(we,Uint8Array);function ge(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,fe,ce){return ge(Fe),Fe<=0?ve(Fe):fe!==void 0?typeof ce=="string"?ve(Fe).fill(fe,ce):ve(Fe).fill(fe):ve(Fe)}we.alloc=function(Fe,fe,ce){return De(Fe,fe,ce)};function xe(Fe){return ge(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,fe){if((typeof fe!="string"||fe==="")&&(fe="utf8"),!we.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe);var ce=ne(Fe,fe)|0,Se=ve(ce),qe=Se.write(Fe,fe);return qe!==ce&&(Se=Se.slice(0,qe)),Se}function ie(Fe){for(var fe=Fe.length<0?0:E(Fe.length)|0,ce=ve(fe),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(fe){return fe!=null&&fe._isBuffer===!0&&fe!==we.prototype},we.compare=function(fe,ce){if(qn(fe,Uint8Array)&&(fe=we.from(fe,fe.offset,fe.byteLength)),qn(ce,Uint8Array)&&(ce=we.from(ce,ce.offset,ce.byteLength)),!we.isBuffer(fe)||!we.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(fe===ce)return 0;for(var Se=fe.length,qe=ce.length,dt=0,He=Math.min(Se,qe);dtqe.length?we.from(He).copy(qe,dt):Uint8Array.prototype.set.call(qe,He,dt);else if(we.isBuffer(He))He.copy(qe,dt);else throw new TypeError('"list" argument must be an Array of Buffers');dt+=He.length}return qe};function ne(Fe,fe){if(we.isBuffer(Fe))return Fe.length;if(ArrayBuffer.isView(Fe)||qn(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 ce=Fe.length,Se=arguments.length>2&&arguments[2]===!0;if(!Se&&ce===0)return 0;for(var qe=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return Qn(Fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce*2;case"hex":return ce>>>1;case"base64":return Bt(Fe).length;default:if(qe)return Se?-1:Qn(Fe).length;fe=(""+fe).toLowerCase(),qe=!0}}we.byteLength=ne;function ae(Fe,fe,ce){var Se=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((ce===void 0||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0,fe>>>=0,ce<=fe))return"";for(Fe||(Fe="utf8");;)switch(Fe){case"hex":return lt(this,fe,ce);case"utf8":case"utf-8":return Qe(this,fe,ce);case"ascii":return ot(this,fe,ce);case"latin1":case"binary":return St(this,fe,ce);case"base64":return pt(this,fe,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vt(this,fe,ce);default:if(Se)throw new TypeError("Unknown encoding: "+Fe);Fe=(Fe+"").toLowerCase(),Se=!0}}we.prototype._isBuffer=!0;function de(Fe,fe,ce){var Se=Fe[fe];Fe[fe]=Fe[ce],Fe[ce]=Se}we.prototype.swap16=function(){var fe=this.length;if(fe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;cece&&(fe+=" ... "),""},nt&&(we.prototype[nt]=we.prototype.inspect),we.prototype.compare=function(fe,ce,Se,qe,dt){if(qn(fe,Uint8Array)&&(fe=we.from(fe,fe.offset,fe.byteLength)),!we.isBuffer(fe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof fe);if(ce===void 0&&(ce=0),Se===void 0&&(Se=fe?fe.length:0),qe===void 0&&(qe=0),dt===void 0&&(dt=this.length),ce<0||Se>fe.length||qe<0||dt>this.length)throw new RangeError("out of range index");if(qe>=dt&&ce>=Se)return 0;if(qe>=dt)return-1;if(ce>=Se)return 1;if(ce>>>=0,Se>>>=0,qe>>>=0,dt>>>=0,this===fe)return 0;for(var He=dt-qe,Ye=Se-ce,Pt=Math.min(He,Ye),gt=this.slice(qe,dt),st=fe.slice(ce,Se),Rt=0;Rt2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ce=+ce,Xe(ce)&&(ce=qe?0:Fe.length-1),ce<0&&(ce=Fe.length+ce),ce>=Fe.length){if(qe)return-1;ce=Fe.length-1}else if(ce<0)if(qe)ce=0;else return-1;if(typeof fe=="string"&&(fe=we.from(fe,Se)),we.isBuffer(fe))return fe.length===0?-1:Pe(Fe,fe,ce,Se,qe);if(typeof fe=="number")return fe=fe&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Fe,fe,ce):Uint8Array.prototype.lastIndexOf.call(Fe,fe,ce):Pe(Fe,[fe],ce,Se,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Fe,fe,ce,Se,qe){var dt=1,He=Fe.length,Ye=fe.length;if(Se!==void 0&&(Se=String(Se).toLowerCase(),Se==="ucs2"||Se==="ucs-2"||Se==="utf16le"||Se==="utf-16le")){if(Fe.length<2||fe.length<2)return-1;dt=2,He/=2,Ye/=2,ce/=2}function Pt(It,on){return dt===1?It[on]:It.readUInt16BE(on*dt)}var gt;if(qe){var st=-1;for(gt=ce;gtHe&&(ce=He-Ye),gt=ce;gt>=0;gt--){for(var Rt=!0,hn=0;hnqe&&(Se=qe)):Se=qe;var dt=fe.length;Se>dt/2&&(Se=dt/2);for(var He=0;He>>0,isFinite(Se)?(Se=Se>>>0,qe===void 0&&(qe="utf8")):(qe=Se,Se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var dt=this.length-ce;if((Se===void 0||Se>dt)&&(Se=dt),fe.length>0&&(Se<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var He=!1;;)switch(qe){case"hex":return Ue(this,fe,ce,Se);case"utf8":case"utf-8":return Ge(this,fe,ce,Se);case"ascii":case"latin1":case"binary":return Ze(this,fe,ce,Se);case"base64":return tt(this,fe,ce,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te(this,fe,ce,Se);default:if(He)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),He=!0}},we.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pt(Fe,fe,ce){return fe===0&&ce===Fe.length?Ce.fromByteArray(Fe):Ce.fromByteArray(Fe.slice(fe,ce))}function Qe(Fe,fe,ce){ce=Math.min(Fe.length,ce);for(var Se=[],qe=fe;qe239?4:dt>223?3:dt>191?2:1;if(qe+Ye<=ce){var Pt,gt,st,Rt;switch(Ye){case 1:dt<128&&(He=dt);break;case 2:Pt=Fe[qe+1],(Pt&192)===128&&(Rt=(dt&31)<<6|Pt&63,Rt>127&&(He=Rt));break;case 3:Pt=Fe[qe+1],gt=Fe[qe+2],(Pt&192)===128&&(gt&192)===128&&(Rt=(dt&15)<<12|(Pt&63)<<6|gt&63,Rt>2047&&(Rt<55296||Rt>57343)&&(He=Rt));break;case 4:Pt=Fe[qe+1],gt=Fe[qe+2],st=Fe[qe+3],(Pt&192)===128&&(gt&192)===128&&(st&192)===128&&(Rt=(dt&15)<<18|(Pt&63)<<12|(gt&63)<<6|st&63,Rt>65535&&Rt<1114112&&(He=Rt))}}He===null?(He=65533,Ye=1):He>65535&&(He-=65536,Se.push(He>>>10&1023|55296),He=56320|He&1023),Se.push(He),qe+=Ye}return it(Se)}var Lt=4096;function it(Fe){var fe=Fe.length;if(fe<=Lt)return String.fromCharCode.apply(String,Fe);for(var ce="",Se=0;SeSe)&&(ce=Se);for(var qe="",dt=fe;dtSe&&(fe=Se),ce<0?(ce+=Se,ce<0&&(ce=0)):ce>Se&&(ce=Se),cece)throw new RangeError("Trying to access beyond buffer length")}we.prototype.readUintLE=we.prototype.readUIntLE=function(fe,ce,Se){fe=fe>>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=this[fe],dt=1,He=0;++He>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=this[fe+--ce],dt=1;ce>0&&(dt*=256);)qe+=this[fe+--ce]*dt;return qe},we.prototype.readUint8=we.prototype.readUInt8=function(fe,ce){return fe=fe>>>0,ce||ut(fe,1,this.length),this[fe]},we.prototype.readUint16LE=we.prototype.readUInt16LE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,2,this.length),this[fe]|this[fe+1]<<8},we.prototype.readUint16BE=we.prototype.readUInt16BE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,2,this.length),this[fe]<<8|this[fe+1]},we.prototype.readUint32LE=we.prototype.readUInt32LE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),(this[fe]|this[fe+1]<<8|this[fe+2]<<16)+this[fe+3]*16777216},we.prototype.readUint32BE=we.prototype.readUInt32BE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),this[fe]*16777216+(this[fe+1]<<16|this[fe+2]<<8|this[fe+3])},we.prototype.readIntLE=function(fe,ce,Se){fe=fe>>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=this[fe],dt=1,He=0;++He=dt&&(qe-=Math.pow(2,8*ce)),qe},we.prototype.readIntBE=function(fe,ce,Se){fe=fe>>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=ce,dt=1,He=this[fe+--qe];qe>0&&(dt*=256);)He+=this[fe+--qe]*dt;return dt*=128,He>=dt&&(He-=Math.pow(2,8*ce)),He},we.prototype.readInt8=function(fe,ce){return fe=fe>>>0,ce||ut(fe,1,this.length),this[fe]&128?(255-this[fe]+1)*-1:this[fe]},we.prototype.readInt16LE=function(fe,ce){fe=fe>>>0,ce||ut(fe,2,this.length);var Se=this[fe]|this[fe+1]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt16BE=function(fe,ce){fe=fe>>>0,ce||ut(fe,2,this.length);var Se=this[fe+1]|this[fe]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt32LE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),this[fe]|this[fe+1]<<8|this[fe+2]<<16|this[fe+3]<<24},we.prototype.readInt32BE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),this[fe]<<24|this[fe+1]<<16|this[fe+2]<<8|this[fe+3]},we.prototype.readFloatLE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),Me.read(this,fe,!0,23,4)},we.prototype.readFloatBE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),Me.read(this,fe,!1,23,4)},we.prototype.readDoubleLE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,8,this.length),Me.read(this,fe,!0,52,8)},we.prototype.readDoubleBE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,8,this.length),Me.read(this,fe,!1,52,8)};function at(Fe,fe,ce,Se,qe,dt){if(!we.isBuffer(Fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>qe||feFe.length)throw new RangeError("Index out of range")}we.prototype.writeUintLE=we.prototype.writeUIntLE=function(fe,ce,Se,qe){if(fe=+fe,ce=ce>>>0,Se=Se>>>0,!qe){var dt=Math.pow(2,8*Se)-1;at(this,fe,ce,Se,dt,0)}var He=1,Ye=0;for(this[ce]=fe&255;++Ye>>0,Se=Se>>>0,!qe){var dt=Math.pow(2,8*Se)-1;at(this,fe,ce,Se,dt,0)}var He=Se-1,Ye=1;for(this[ce+He]=fe&255;--He>=0&&(Ye*=256);)this[ce+He]=fe/Ye&255;return ce+Se},we.prototype.writeUint8=we.prototype.writeUInt8=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,1,255,0),this[ce]=fe&255,ce+1},we.prototype.writeUint16LE=we.prototype.writeUInt16LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,65535,0),this[ce]=fe&255,this[ce+1]=fe>>>8,ce+2},we.prototype.writeUint16BE=we.prototype.writeUInt16BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,65535,0),this[ce]=fe>>>8,this[ce+1]=fe&255,ce+2},we.prototype.writeUint32LE=we.prototype.writeUInt32LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,4294967295,0),this[ce+3]=fe>>>24,this[ce+2]=fe>>>16,this[ce+1]=fe>>>8,this[ce]=fe&255,ce+4},we.prototype.writeUint32BE=we.prototype.writeUInt32BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,4294967295,0),this[ce]=fe>>>24,this[ce+1]=fe>>>16,this[ce+2]=fe>>>8,this[ce+3]=fe&255,ce+4},we.prototype.writeIntLE=function(fe,ce,Se,qe){if(fe=+fe,ce=ce>>>0,!qe){var dt=Math.pow(2,8*Se-1);at(this,fe,ce,Se,dt-1,-dt)}var He=0,Ye=1,Pt=0;for(this[ce]=fe&255;++He>0)-Pt&255;return ce+Se},we.prototype.writeIntBE=function(fe,ce,Se,qe){if(fe=+fe,ce=ce>>>0,!qe){var dt=Math.pow(2,8*Se-1);at(this,fe,ce,Se,dt-1,-dt)}var He=Se-1,Ye=1,Pt=0;for(this[ce+He]=fe&255;--He>=0&&(Ye*=256);)fe<0&&Pt===0&&this[ce+He+1]!==0&&(Pt=1),this[ce+He]=(fe/Ye>>0)-Pt&255;return ce+Se},we.prototype.writeInt8=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,1,127,-128),fe<0&&(fe=255+fe+1),this[ce]=fe&255,ce+1},we.prototype.writeInt16LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,32767,-32768),this[ce]=fe&255,this[ce+1]=fe>>>8,ce+2},we.prototype.writeInt16BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,32767,-32768),this[ce]=fe>>>8,this[ce+1]=fe&255,ce+2},we.prototype.writeInt32LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,2147483647,-2147483648),this[ce]=fe&255,this[ce+1]=fe>>>8,this[ce+2]=fe>>>16,this[ce+3]=fe>>>24,ce+4},we.prototype.writeInt32BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,2147483647,-2147483648),fe<0&&(fe=4294967295+fe+1),this[ce]=fe>>>24,this[ce+1]=fe>>>16,this[ce+2]=fe>>>8,this[ce+3]=fe&255,ce+4};function Kt(Fe,fe,ce,Se,qe,dt){if(ce+Se>Fe.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function Vt(Fe,fe,ce,Se,qe){return fe=+fe,ce=ce>>>0,qe||Kt(Fe,fe,ce,4,34028234663852886e22,-34028234663852886e22),Me.write(Fe,fe,ce,Se,23,4),ce+4}we.prototype.writeFloatLE=function(fe,ce,Se){return Vt(this,fe,ce,!0,Se)},we.prototype.writeFloatBE=function(fe,ce,Se){return Vt(this,fe,ce,!1,Se)};function mt(Fe,fe,ce,Se,qe){return fe=+fe,ce=ce>>>0,qe||Kt(Fe,fe,ce,8,17976931348623157e292,-17976931348623157e292),Me.write(Fe,fe,ce,Se,52,8),ce+8}we.prototype.writeDoubleLE=function(fe,ce,Se){return mt(this,fe,ce,!0,Se)},we.prototype.writeDoubleBE=function(fe,ce,Se){return mt(this,fe,ce,!1,Se)},we.prototype.copy=function(fe,ce,Se,qe){if(!we.isBuffer(fe))throw new TypeError("argument should be a Buffer");if(Se||(Se=0),!qe&&qe!==0&&(qe=this.length),ce>=fe.length&&(ce=fe.length),ce||(ce=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),fe.length-ce>>0,Se=Se===void 0?this.length:Se>>>0,fe||(fe=0);var He;if(typeof fe=="number")for(He=ce;He55295&&ce<57344){if(!qe){if(ce>56319){(fe-=3)>-1&&dt.push(239,191,189);continue}else if(He+1===Se){(fe-=3)>-1&&dt.push(239,191,189);continue}qe=ce;continue}if(ce<56320){(fe-=3)>-1&&dt.push(239,191,189),qe=ce;continue}ce=(qe-55296<<10|ce-56320)+65536}else qe&&(fe-=3)>-1&&dt.push(239,191,189);if(qe=null,ce<128){if((fe-=1)<0)break;dt.push(ce)}else if(ce<2048){if((fe-=2)<0)break;dt.push(ce>>6|192,ce&63|128)}else if(ce<65536){if((fe-=3)<0)break;dt.push(ce>>12|224,ce>>6&63|128,ce&63|128)}else if(ce<1114112){if((fe-=4)<0)break;dt.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,ce&63|128)}else throw new Error("Invalid code point")}return dt}function ln(Fe){for(var fe=[],ce=0;ce>8,qe=ce%256,dt.push(qe),dt.push(Se);return dt}function Bt(Fe){return Ce.toByteArray(wn(Fe))}function Rn(Fe,fe,ce,Se){for(var qe=0;qe=fe.length||qe>=Fe.length);++qe)fe[qe+ce]=Fe[qe];return qe}function qn(Fe,fe){return Fe instanceof fe||Fe!=null&&Fe.constructor!=null&&Fe.constructor.name!=null&&Fe.constructor.name===fe.name}function Xe(Fe){return Fe!==Fe}var fn=function(){for(var Fe="0123456789abcdef",fe=new Array(256),ce=0;ce<16;++ce)for(var Se=ce*16,qe=0;qe<16;++qe)fe[Se+qe]=Fe[ce]+Fe[qe];return fe}()},14625:function(Yt){function Dt(me){var Ce,Me,nt="";if(typeof me=="string"||typeof me=="number")nt+=me;else if(typeof me=="object")if(Array.isArray(me)){var ze=me.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 Ze=Pe[ne];if(Ze===void 0)return!1;if(typeof Ze=="function")Be(Ze,this,ae);else for(var tt=Ze.length,Te=Ee(Ze,tt),de=0;de0&&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}nt.prototype.addListener=function(ne,ae){return we(this,ne,ae,!1)},nt.prototype.on=nt.prototype.addListener,nt.prototype.prependListener=function(ne,ae){return we(this,ne,ae,!0)};function 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 ge(te,ne,ae){var de={fired:!1,wrapFn:void 0,target:te,type:ne,listener:ae},Le=Ne.bind(de);return Le.listener=ae,de.wrapFn=Le,Le}nt.prototype.once=function(ne,ae){return je(ae),this.on(ne,ge(this,ne,ae)),this},nt.prototype.prependOnceListener=function(ne,ae){return je(ae),this.prependListener(ne,ge(this,ne,ae)),this},nt.prototype.removeListener=function(ne,ae){var de,Le,Pe,Ue,Ge;if(je(ae),Le=this._events,Le===void 0)return this;if(de=Le[ne],de===void 0)return this;if(de===ae||de.listener===ae)--this._eventsCount===0?this._events=Object.create(null):(delete Le[ne],Le.removeListener&&this.emit("removeListener",ne,de.listener||ae));else if(typeof de!="function"){for(Pe=-1,Ue=de.length-1;Ue>=0;Ue--)if(de[Ue]===ae||de[Ue].listener===ae){Ge=de[Ue].listener,Pe=Ue;break}if(Pe<0)return this;Pe===0?de.shift():ie(de,Pe),de.length===1&&(Le[ne]=de[0]),Le.removeListener!==void 0&&this.emit("removeListener",ne,Ge||ae)}return this},nt.prototype.off=nt.prototype.removeListener,nt.prototype.removeAllListeners=function(ne){var ae,de,Le;if(de=this._events,de===void 0)return this;if(de.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):de[ne]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete de[ne]),this;if(arguments.length===0){var Pe=Object.keys(de),Ue;for(Le=0;Le=0;Le--)this.removeListener(ne,ae[Le]);return this};function De(te,ne,ae){var de=te._events;if(de===void 0)return[];var Le=de[ne];return Le===void 0?[]:typeof Le=="function"?ae?[Le.listener||Le]:[Le]:ae?y(Le):Ee(Le,Le.length)}nt.prototype.listeners=function(ne){return De(this,ne,!0)},nt.prototype.rawListeners=function(ne){return De(this,ne,!1)},nt.listenerCount=function(te,ne){return typeof te.listenerCount=="function"?te.listenerCount(ne):xe.call(te,ne)},nt.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}nt.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Ee(te,ne){for(var ae=new Array(ne),de=0;de0&&rt[rt.length-1])&&(Nn[0]===6||Nn[0]===2)){pe=0;continue}if(Nn[0]===3&&(!rt||Nn[1]>rt[0]&&Nn[1]=55296&&_e<=56319&&pe>10)+55296,wt%1024+56320)),(_e+1===pe||he.length>16384)&&(rt+=String.fromCharCode.apply(String,he),he.length=0)}return rt},ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",De=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),xe=0;xe>4,jn[_e++]=(wt&15)<<4|_t>>2,jn[_e++]=(_t&3)<<6|Mt&63;return Nn},ee=function(ue){for(var se=ue.length,pe=[],he=0;he>te,Pe=1<>te,Ze=Le+Ge,tt=Ze,Te=32,pt=tt+Te,Qe=65536>>ne,Lt=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&it,pe=this.index[pe],pe=(pe<mt?(_e.push(!0),_t-=mt):_e.push(!1),["normal","auto","loose"].indexOf(se)!==-1&&[8208,8211,12316,12448].indexOf(rt)!==-1)return he.push(wt),pe.push(qe);if(_t===ln||_t===fn){if(wt===0)return he.push(wt),pe.push(Jt);var Mt=pe[wt-1];return Ki.indexOf(Mt)===-1?(he.push(he[wt-1]),pe.push(Mt)):(he.push(wt),pe.push(Jt))}if(he.push(wt),_t===gn)return pe.push(se==="strict"?gt:ur);if(_t===ya||_t===At)return pe.push(Jt);if(_t===Tr)return rt>=131072&&rt<=196605||rt>=196608&&rt<=262141?pe.push(ur):pe.push(Jt);pe.push(_t)}),[he,pe,_e]},On=function(ue,se,pe,he){var _e=he[pe];if(Array.isArray(ue)?ue.indexOf(_e)!==-1:ue===_e)for(var rt=pe;rt<=he.length;){rt++;var wt=he[rt];if(wt===se)return!0;if(wt!==Xe)break}if(_e===Xe)for(var rt=pe;rt>0;){rt--;var _t=he[rt];if(Array.isArray(ue)?ue.indexOf(_t)!==-1:ue===_t)for(var Mt=pe;Mt<=he.length;){Mt++;var wt=he[Mt];if(wt===se)return!0;if(wt!==Xe)break}if(_t!==Xe)break}return!1},dn=function(ue,se){for(var pe=ue;pe>=0;){var he=se[pe];if(he===Xe)pe--;else return he}return 0},kr=function(ue,se,pe,he,_e){if(pe[he]===0)return _r;var rt=he-1;if(Array.isArray(_e)&&_e[rt]===!0)return _r;var wt=rt-1,_t=rt+1,Mt=se[rt],Nn=wt>=0?se[wt]:0,jn=se[_t];if(Mt===wn&&jn===Qn)return _r;if(ci.indexOf(Mt)!==-1)return Za;if(ci.indexOf(jn)!==-1||zi.indexOf(jn)!==-1)return _r;if(dn(rt,se)===Rn)return rn;if(ei.get(ue[rt])===fn||(Mt===pn||Mt===Yn)&&ei.get(ue[_t])===fn||Mt===Bt||jn===Bt||Mt===qn||[Xe,fe,Se].indexOf(Mt)===-1&&jn===qn||[dt,He,Ye,hn,yn].indexOf(jn)!==-1||dn(rt,se)===st||On(Rt,st,rt,se)||On([dt,He],gt,rt,se)||On(Fe,Fe,rt,se))return _r;if(Mt===Xe)return rn;if(Mt===Rt||jn===Rt)return _r;if(jn===qe||Mt===qe)return rn;if([fe,Se,gt].indexOf(jn)!==-1||Mt===ce||Nn===Cr&&ti.indexOf(Mt)!==-1||Mt===yn&&jn===Cr||jn===Pt||vo.indexOf(jn)!==-1&&Mt===It||vo.indexOf(Mt)!==-1&&jn===It||Mt===Ft&&[ur,pn,Yn].indexOf(jn)!==-1||[ur,pn,Yn].indexOf(Mt)!==-1&&jn===on||vo.indexOf(Mt)!==-1&&Fo.indexOf(jn)!==-1||Fo.indexOf(Mt)!==-1&&vo.indexOf(jn)!==-1||[Ft,on].indexOf(Mt)!==-1&&(jn===It||[st,Se].indexOf(jn)!==-1&&se[_t+1]===It)||[st,Se].indexOf(Mt)!==-1&&jn===It||Mt===It&&[It,yn,hn].indexOf(jn)!==-1)return _r;if([It,yn,hn,dt,He].indexOf(jn)!==-1)for(var zn=rt;zn>=0;){var wr=se[zn];if(wr===It)return _r;if([yn,hn].indexOf(wr)!==-1)zn--;else break}if([Ft,on].indexOf(jn)!==-1)for(var zn=[dt,He].indexOf(Mt)!==-1?wt:rt;zn>=0;){var wr=se[zn];if(wr===It)return _r;if([yn,hn].indexOf(wr)!==-1)zn--;else break}if(ar===Mt&&[ar,Ar,ir,yr].indexOf(jn)!==-1||[Ar,ir].indexOf(Mt)!==-1&&[Ar,Er].indexOf(jn)!==-1||[Er,yr].indexOf(Mt)!==-1&&jn===Er||Gi.indexOf(Mt)!==-1&&[Pt,on].indexOf(jn)!==-1||Gi.indexOf(jn)!==-1&&Mt===Ft||vo.indexOf(Mt)!==-1&&vo.indexOf(jn)!==-1||Mt===hn&&vo.indexOf(jn)!==-1||vo.concat(It).indexOf(Mt)!==-1&&jn===st&&qa.indexOf(ue[_t])===-1||vo.concat(It).indexOf(jn)!==-1&&Mt===He)return _r;if(Mt===ea&&jn===ea){for(var Ra=pe[rt],$r=1;Ra>0&&(Ra--,se[Ra]===ea);)$r++;if($r%2!==0)return _r}return Mt===pn&&jn===Yn?_r:rn},ua=function(ue,se){se||(se={lineBreak:"normal",wordBreak:"normal"});var pe=Pn(ue,se.lineBreak),he=pe[0],_e=pe[1],rt=pe[2];(se.wordBreak==="break-all"||se.wordBreak==="break-word")&&(_e=_e.map(function(_t){return[It,Jt,ya].indexOf(_t)!==-1?ur:_t}));var wt=se.wordBreak==="keep-all"?rt.map(function(_t,Mt){return _t&&ue[Mt]>=19968&&ue[Mt]<=40959}):void 0;return[he,_e,wt]},Ur=function(){function ue(se,pe,he,_e){this.codePoints=se,this.required=pe===Za,this.start=he,this.end=_e}return ue.prototype.slice=function(){return Ne.apply(void 0,this.codePoints.slice(this.start,this.end))},ue}(),Ba=function(ue,se){var pe=we(ue),he=ua(pe,se),_e=he[0],rt=he[1],wt=he[2],_t=pe.length,Mt=0,Nn=0;return{next:function(){if(Nn>=_t)return{done:!0,value:null};for(var jn=_r;Nn<_t&&(jn=kr(pe,rt,_e,++Nn,wt))===_r;);if(jn!==_r||Nn===_t){var zn=new Ur(pe,jn,Mt,Nn);return Mt=Nn,{value:zn,done:!1}}return{done:!0,value:null}}}},Ma=1,Fa=2,So=4,Wi=8,Fr=10,Ha=47,xi=92,ai=9,di=32,Lo=34,os=61,js=35,Es=36,wA=37,Ys=39,ki=40,EA=41,Sl=95,gA=45,Or=33,_c=60,fu=62,hu=64,bl=91,Yr=93,_a=61,To=123,Pa=63,Fi=125,Yi=124,Ps=126,PA=128,xA=65533,Li=42,Oa=43,Bc=44,Hu=58,Fu=59,Cl=46,Lu=0,Jl=8,jl=11,ql=14,dl=31,rr=127,Zn=-1,cr=48,Xr=97,zt=101,Io=102,Hr=117,fo=122,za=65,mi=69,co=70,Sa=85,Mo=90,zo=function(ue){return ue>=cr&&ue<=57},Hs=function(ue){return ue>=55296&&ue<=57343},no=function(ue){return zo(ue)||ue>=za&&ue<=co||ue>=Xr&&ue<=Io},is=function(ue){return ue>=Xr&&ue<=fo},xs=function(ue){return ue>=za&&ue<=Mo},Jr=function(ue){return is(ue)||xs(ue)},jr=function(ue){return ue>=PA},Wt=function(ue){return ue===Fr||ue===ai||ue===di},Qt=function(ue){return Jr(ue)||jr(ue)||ue===Sl},xn=function(ue){return Qt(ue)||zo(ue)||ue===gA},sr=function(ue){return ue>=Lu&&ue<=Jl||ue===jl||ue>=ql&&ue<=dl||ue===rr},ta=function(ue,se){return ue!==xi?!1:se!==Fr},ma=function(ue,se,pe){return ue===gA?Qt(se)||ta(se,pe):Qt(ue)?!0:!!(ue===xi&&ta(ue,se))},oa=function(ue,se,pe){return ue===Oa||ue===gA?zo(se)?!0:se===Cl&&zo(pe):zo(ue===Cl?se:ue)},Dr=function(ue){var se=0,pe=1;(ue[se]===Oa||ue[se]===gA)&&(ue[se]===gA&&(pe=-1),se++);for(var he=[];zo(ue[se]);)he.push(ue[se++]);var _e=he.length?parseInt(Ne.apply(void 0,he),10):0;ue[se]===Cl&&se++;for(var rt=[];zo(ue[se]);)rt.push(ue[se++]);var wt=rt.length,_t=wt?parseInt(Ne.apply(void 0,rt),10):0;(ue[se]===mi||ue[se]===zt)&&se++;var Mt=1;(ue[se]===Oa||ue[se]===gA)&&(ue[se]===gA&&(Mt=-1),se++);for(var Nn=[];zo(ue[se]);)Nn.push(ue[se++]);var jn=Nn.length?parseInt(Ne.apply(void 0,Nn),10):0;return pe*(_e+_t*Math.pow(10,-wt))*Math.pow(10,Mt*jn)},sa={type:2},Qa={type:3},Co={type:4},wi={type:13},La={type:8},ss={type:21},oi={type:9},gi={type:10},Gr={type:11},Ia={type:12},so={type:14},pi={type:23},Zi={type:1},Vi={type:25},Ms={type:24},ds={type:26},yA={type:27},El={type:28},$l={type:29},Pl={type:31},eu={type:32},Ln=function(){function ue(){this._value=[]}return ue.prototype.write=function(se){this._value=this._value.concat(we(se))},ue.prototype.read=function(){for(var se=[],pe=this.consumeToken();pe!==eu;)se.push(pe),pe=this.consumeToken();return se},ue.prototype.consumeToken=function(){var se=this.consumeCodePoint();switch(se){case Lo:return this.consumeStringToken(Lo);case js:var pe=this.peekCodePoint(0),he=this.peekCodePoint(1),_e=this.peekCodePoint(2);if(xn(pe)||ta(he,_e)){var rt=ma(pe,he,_e)?Fa:Ma,wt=this.consumeName();return{type:5,value:wt,flags:rt}}break;case Es:if(this.peekCodePoint(0)===os)return this.consumeCodePoint(),wi;break;case Ys:return this.consumeStringToken(Ys);case ki:return sa;case EA:return Qa;case Li:if(this.peekCodePoint(0)===os)return this.consumeCodePoint(),so;break;case Oa:if(oa(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case Bc:return Co;case gA:var _t=se,Mt=this.peekCodePoint(0),Nn=this.peekCodePoint(1);if(oa(_t,Mt,Nn))return this.reconsumeCodePoint(se),this.consumeNumericToken();if(ma(_t,Mt,Nn))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();if(Mt===gA&&Nn===fu)return this.consumeCodePoint(),this.consumeCodePoint(),Ms;break;case Cl:if(oa(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case Ha:if(this.peekCodePoint(0)===Li)for(this.consumeCodePoint();;){var jn=this.consumeCodePoint();if(jn===Li&&(jn=this.consumeCodePoint(),jn===Ha))return this.consumeToken();if(jn===Zn)return this.consumeToken()}break;case Hu:return ds;case Fu:return yA;case _c:if(this.peekCodePoint(0)===Or&&this.peekCodePoint(1)===gA&&this.peekCodePoint(2)===gA)return this.consumeCodePoint(),this.consumeCodePoint(),Vi;break;case hu:var zn=this.peekCodePoint(0),wr=this.peekCodePoint(1),Ra=this.peekCodePoint(2);if(ma(zn,wr,Ra)){var wt=this.consumeName();return{type:7,value:wt}}break;case bl:return El;case xi:if(ta(se,this.peekCodePoint(0)))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();break;case Yr:return $l;case _a:if(this.peekCodePoint(0)===os)return this.consumeCodePoint(),La;break;case To:return Gr;case Fi:return Ia;case Hr:case Sa:var $r=this.peekCodePoint(0),pa=this.peekCodePoint(1);return $r===Oa&&(no(pa)||pa===Pa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(se),this.consumeIdentLikeToken();case Yi:if(this.peekCodePoint(0)===os)return this.consumeCodePoint(),oi;if(this.peekCodePoint(0)===Yi)return this.consumeCodePoint(),ss;break;case Ps:if(this.peekCodePoint(0)===os)return this.consumeCodePoint(),gi;break;case Zn:return eu}return Wt(se)?(this.consumeWhiteSpace(),Pl):zo(se)?(this.reconsumeCodePoint(se),this.consumeNumericToken()):Qt(se)?(this.reconsumeCodePoint(se),this.consumeIdentLikeToken()):{type:6,value:Ne(se)}},ue.prototype.consumeCodePoint=function(){var se=this._value.shift();return typeof se=="undefined"?-1:se},ue.prototype.reconsumeCodePoint=function(se){this._value.unshift(se)},ue.prototype.peekCodePoint=function(se){return se>=this._value.length?-1:this._value[se]},ue.prototype.consumeUnicodeRangeToken=function(){for(var se=[],pe=this.consumeCodePoint();no(pe)&&se.length<6;)se.push(pe),pe=this.consumeCodePoint();for(var he=!1;pe===Pa&&se.length<6;)se.push(pe),pe=this.consumeCodePoint(),he=!0;if(he){var _e=parseInt(Ne.apply(void 0,se.map(function(Mt){return Mt===Pa?cr:Mt})),16),rt=parseInt(Ne.apply(void 0,se.map(function(Mt){return Mt===Pa?co:Mt})),16);return{type:30,start:_e,end:rt}}var wt=parseInt(Ne.apply(void 0,se),16);if(this.peekCodePoint(0)===gA&&no(this.peekCodePoint(1))){this.consumeCodePoint(),pe=this.consumeCodePoint();for(var _t=[];no(pe)&&_t.length<6;)_t.push(pe),pe=this.consumeCodePoint();var rt=parseInt(Ne.apply(void 0,_t),16);return{type:30,start:wt,end:rt}}else return{type:30,start:wt,end:wt}},ue.prototype.consumeIdentLikeToken=function(){var se=this.consumeName();return se.toLowerCase()==="url"&&this.peekCodePoint(0)===ki?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ki?(this.consumeCodePoint(),{type:19,value:se}):{type:20,value:se}},ue.prototype.consumeUrlToken=function(){var se=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn)return{type:22,value:""};var pe=this.peekCodePoint(0);if(pe===Ys||pe===Lo){var he=this.consumeStringToken(this.consumeCodePoint());return he.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn||this.peekCodePoint(0)===EA)?(this.consumeCodePoint(),{type:22,value:he.value}):(this.consumeBadUrlRemnants(),pi)}for(;;){var _e=this.consumeCodePoint();if(_e===Zn||_e===EA)return{type:22,value:Ne.apply(void 0,se)};if(Wt(_e))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn||this.peekCodePoint(0)===EA?(this.consumeCodePoint(),{type:22,value:Ne.apply(void 0,se)}):(this.consumeBadUrlRemnants(),pi);if(_e===Lo||_e===Ys||_e===ki||sr(_e))return this.consumeBadUrlRemnants(),pi;if(_e===xi)if(ta(_e,this.peekCodePoint(0)))se.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),pi;else se.push(_e)}},ue.prototype.consumeWhiteSpace=function(){for(;Wt(this.peekCodePoint(0));)this.consumeCodePoint()},ue.prototype.consumeBadUrlRemnants=function(){for(;;){var se=this.consumeCodePoint();if(se===EA||se===Zn)return;ta(se,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ue.prototype.consumeStringSlice=function(se){for(var pe=5e4,he="";se>0;){var _e=Math.min(pe,se);he+=Ne.apply(void 0,this._value.splice(0,_e)),se-=_e}return this._value.shift(),he},ue.prototype.consumeStringToken=function(se){var pe="",he=0;do{var _e=this._value[he];if(_e===Zn||_e===void 0||_e===se)return pe+=this.consumeStringSlice(he),{type:0,value:pe};if(_e===Fr)return this._value.splice(0,he),Zi;if(_e===xi){var rt=this._value[he+1];rt!==Zn&&rt!==void 0&&(rt===Fr?(pe+=this.consumeStringSlice(he),he=-1,this._value.shift()):ta(_e,rt)&&(pe+=this.consumeStringSlice(he),pe+=Ne(this.consumeEscapedCodePoint()),he=-1))}he++}while(!0)},ue.prototype.consumeNumber=function(){var se=[],pe=So,he=this.peekCodePoint(0);for((he===Oa||he===gA)&&se.push(this.consumeCodePoint());zo(this.peekCodePoint(0));)se.push(this.consumeCodePoint());he=this.peekCodePoint(0);var _e=this.peekCodePoint(1);if(he===Cl&&zo(_e))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=Wi;zo(this.peekCodePoint(0));)se.push(this.consumeCodePoint());he=this.peekCodePoint(0),_e=this.peekCodePoint(1);var rt=this.peekCodePoint(2);if((he===mi||he===zt)&&((_e===Oa||_e===gA)&&zo(rt)||zo(_e)))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=Wi;zo(this.peekCodePoint(0));)se.push(this.consumeCodePoint());return[Dr(se),pe]},ue.prototype.consumeNumericToken=function(){var se=this.consumeNumber(),pe=se[0],he=se[1],_e=this.peekCodePoint(0),rt=this.peekCodePoint(1),wt=this.peekCodePoint(2);if(ma(_e,rt,wt)){var _t=this.consumeName();return{type:15,number:pe,flags:he,unit:_t}}return _e===wA?(this.consumeCodePoint(),{type:16,number:pe,flags:he}):{type:17,number:pe,flags:he}},ue.prototype.consumeEscapedCodePoint=function(){var se=this.consumeCodePoint();if(no(se)){for(var pe=Ne(se);no(this.peekCodePoint(0))&&pe.length<6;)pe+=Ne(this.consumeCodePoint());Wt(this.peekCodePoint(0))&&this.consumeCodePoint();var he=parseInt(pe,16);return he===0||Hs(he)||he>1114111?xA:he}return se===Zn?xA:se},ue.prototype.consumeName=function(){for(var se="";;){var pe=this.consumeCodePoint();if(xn(pe))se+=Ne(pe);else if(ta(pe,this.peekCodePoint(0)))se+=Ne(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(pe),se}},ue}(),In=function(){function ue(se){this._tokens=se}return ue.create=function(se){var pe=new Ln;return pe.write(se),new ue(pe.read())},ue.parseValue=function(se){return ue.create(se).parseComponentValue()},ue.parseValues=function(se){return ue.create(se).parseComponentValues()},ue.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")},ue.prototype.parseComponentValues=function(){for(var se=[];;){var pe=this.consumeComponentValue();if(pe.type===32)return se;se.push(pe),se.push()}},ue.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},ue.prototype.consumeSimpleBlock=function(se){for(var pe={type:se,values:[]},he=this.consumeToken();;){if(he.type===32||ec(he,se))return pe;this.reconsumeToken(he),pe.values.push(this.consumeComponentValue()),he=this.consumeToken()}},ue.prototype.consumeFunction=function(se){for(var pe={name:se.value,values:[],type:18};;){var he=this.consumeToken();if(he.type===32||he.type===3)return pe;this.reconsumeToken(he),pe.values.push(this.consumeComponentValue())}},ue.prototype.consumeToken=function(){var se=this._tokens.shift();return typeof se=="undefined"?eu:se},ue.prototype.reconsumeToken=function(se){this._tokens.unshift(se)},ue}(),xl=function(ue){return ue.type===15},ho=function(ue){return ue.type===17},$a=function(ue){return ue.type===20},Fs=function(ue){return ue.type===0},FA=function(ue,se){return $a(ue)&&ue.value===se},Ls=function(ue){return ue.type!==31},_s=function(ue){return ue.type!==31&&ue.type!==4},HA=function(ue){var se=[],pe=[];return ue.forEach(function(he){if(he.type===4){if(pe.length===0)throw new Error("Error parsing function args, zero tokens for arg");se.push(pe),pe=[];return}he.type!==31&&pe.push(he)}),pe.length&&se.push(pe),se},ec=function(ue,se){return se===11&&ue.type===12||se===28&&ue.type===29?!0:se===2&&ue.type===3},VA=function(ue){return ue.type===17||ue.type===15},Xs=function(ue){return ue.type===16||VA(ue)},ro=function(ue){return ue.length>1?[ue[0],ue[1]]:[ue[0]]},Eo={type:17,number:0,flags:So},ms={type:16,number:50,flags:So},Is={type:16,number:100,flags:So},SA=function(ue,se,pe){var he=ue[0],_e=ue[1];return[Zo(he,se),Zo(typeof _e!="undefined"?_e:he,pe)]},Zo=function(ue,se){if(ue.type===16)return ue.number/100*se;if(xl(ue))switch(ue.unit){case"rem":case"em":return 16*ue.number;case"px":default:return ue.number}return ue.number},Hl="deg",Fl="grad",Ll="rad",As="turn",YA={name:"angle",parse:function(ue,se){if(se.type===15)switch(se.unit){case Hl:return Math.PI*se.number/180;case Fl:return Math.PI/200*se.number;case Ll:return se.number;case As:return Math.PI*2*se.number}throw new Error("Unsupported angle type")}},tu=function(ue){return ue.type===15&&(ue.unit===Hl||ue.unit===Fl||ue.unit===Ll||ue.unit===As)},Kc=function(ue){var se=ue.filter($a).map(function(pe){return pe.value}).join(" ");switch(se){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Eo,Eo];case"to top":case"bottom":return Ks(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Eo,Is];case"to right":case"left":return Ks(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Is,Is];case"to bottom":case"top":return Ks(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Is,Eo];case"to left":case"right":return Ks(270)}return 0},Ks=function(ue){return Math.PI*ue/180},Il={name:"color",parse:function(ue,se){if(se.type===18){var pe=fA[se.name];if(typeof pe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+se.name+'"');return pe(ue,se.values)}if(se.type===5){if(se.value.length===3){var he=se.value.substring(0,1),_e=se.value.substring(1,2),rt=se.value.substring(2,3);return nA(parseInt(he+he,16),parseInt(_e+_e,16),parseInt(rt+rt,16),1)}if(se.value.length===4){var he=se.value.substring(0,1),_e=se.value.substring(1,2),rt=se.value.substring(2,3),wt=se.value.substring(3,4);return nA(parseInt(he+he,16),parseInt(_e+_e,16),parseInt(rt+rt,16),parseInt(wt+wt,16)/255)}if(se.value.length===6){var he=se.value.substring(0,2),_e=se.value.substring(2,4),rt=se.value.substring(4,6);return nA(parseInt(he,16),parseInt(_e,16),parseInt(rt,16),1)}if(se.value.length===8){var he=se.value.substring(0,2),_e=se.value.substring(2,4),rt=se.value.substring(4,6),wt=se.value.substring(6,8);return nA(parseInt(he,16),parseInt(_e,16),parseInt(rt,16),parseInt(wt,16)/255)}}if(se.type===20){var _t=Ds[se.value.toUpperCase()];if(typeof _t!="undefined")return _t}return Ds.TRANSPARENT}},Ns=function(ue){return(255&ue)===0},Ji=function(ue){var se=255&ue,pe=255&ue>>8,he=255&ue>>16,_e=255&ue>>24;return se<255?"rgba("+_e+","+he+","+pe+","+se/255+")":"rgb("+_e+","+he+","+pe+")"},nA=function(ue,se,pe,he){return(ue<<24|se<<16|pe<<8|Math.round(he*255)<<0)>>>0},tc=function(ue,se){if(ue.type===17)return ue.number;if(ue.type===16){var pe=se===3?1:255;return se===3?ue.number/100*pe:Math.round(ue.number/100*pe)}return 0},zc=function(ue,se){var pe=se.filter(_s);if(pe.length===3){var he=pe.map(tc),_e=he[0],rt=he[1],wt=he[2];return nA(_e,rt,wt,1)}if(pe.length===4){var _t=pe.map(tc),_e=_t[0],rt=_t[1],wt=_t[2],Mt=_t[3];return nA(_e,rt,wt,Mt)}return 0};function rA(ue,se,pe){return pe<0&&(pe+=1),pe>=1&&(pe-=1),pe<1/6?(se-ue)*pe*6+ue:pe<1/2?se:pe<2/3?(se-ue)*6*(2/3-pe)+ue:ue}var nu=function(ue,se){var pe=se.filter(_s),he=pe[0],_e=pe[1],rt=pe[2],wt=pe[3],_t=(he.type===17?Ks(he.number):YA.parse(ue,he))/(Math.PI*2),Mt=Xs(_e)?_e.number/100:0,Nn=Xs(rt)?rt.number/100:0,jn=typeof wt!="undefined"&&Xs(wt)?Zo(wt,1):1;if(Mt===0)return nA(Nn*255,Nn*255,Nn*255,1);var zn=Nn<=.5?Nn*(Mt+1):Nn+Mt-Nn*Mt,wr=Nn*2-zn,Ra=rA(wr,zn,_t+1/3),$r=rA(wr,zn,_t),pa=rA(wr,zn,_t-1/3);return nA(Ra*255,$r*255,pa*255,jn)},fA={hsl:nu,hsla:nu,rgb:zc,rgba:zc},ru=function(ue,se){return Il.parse(ue,In.create(se).parseComponentValue())},Ds={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},Mu={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,se){return se.map(function(pe){if($a(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},au={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Iu=function(ue,se){var pe=Il.parse(ue,se[0]),he=se[1];return he&&Xs(he)?{color:pe,stop:he}:{color:pe,stop:null}},Gc=function(ue,se){var pe=ue[0],he=ue[ue.length-1];pe.stop===null&&(pe.stop=Eo),he.stop===null&&(he.stop=Is);for(var _e=[],rt=0,wt=0;wtrt?_e.push(Mt):_e.push(rt),rt=Mt}else _e.push(null)}for(var Nn=null,wt=0;wt<_e.length;wt++){var jn=_e[wt];if(jn===null)Nn===null&&(Nn=wt);else if(Nn!==null){for(var zn=wt-Nn,wr=_e[Nn-1],Ra=(jn-wr)/(zn+1),$r=1;$r<=zn;$r++)_e[Nn+$r-1]=Ra*$r;Nn=null}}return ue.map(function(pa,Xo){var Xa=pa.color;return{color:Xa,stop:Math.max(Math.min(1,_e[Xo]/se),0)}})},Nu=function(ue,se,pe){var he=se/2,_e=pe/2,rt=Zo(ue[0],se)-he,wt=_e-Zo(ue[1],pe);return(Math.atan2(wt,rt)+Math.PI*2)%(Math.PI*2)},wc=function(ue,se,pe){var he=typeof ue=="number"?ue:Nu(ue,se,pe),_e=Math.abs(se*Math.sin(he))+Math.abs(pe*Math.cos(he)),rt=se/2,wt=pe/2,_t=_e/2,Mt=Math.sin(he-Math.PI/2)*_t,Nn=Math.cos(he-Math.PI/2)*_t;return[_e,rt-Nn,rt+Nn,wt-Mt,wt+Mt]},al=function(ue,se){return Math.sqrt(ue*ue+se*se)},nc=function(ue,se,pe,he,_e){var rt=[[0,0],[0,se],[ue,0],[ue,se]];return rt.reduce(function(wt,_t){var Mt=_t[0],Nn=_t[1],jn=al(pe-Mt,he-Nn);return(_e?jnwt.optimumDistance)?{optimumCorner:_t,optimumDistance:jn}:wt},{optimumDistance:_e?1/0:-1/0,optimumCorner:null}).optimumCorner},Rr=function(ue,se,pe,he,_e){var rt=0,wt=0;switch(ue.size){case 0:ue.shape===0?rt=wt=Math.min(Math.abs(se),Math.abs(se-he),Math.abs(pe),Math.abs(pe-_e)):ue.shape===1&&(rt=Math.min(Math.abs(se),Math.abs(se-he)),wt=Math.min(Math.abs(pe),Math.abs(pe-_e)));break;case 2:if(ue.shape===0)rt=wt=Math.min(al(se,pe),al(se,pe-_e),al(se-he,pe),al(se-he,pe-_e));else if(ue.shape===1){var _t=Math.min(Math.abs(pe),Math.abs(pe-_e))/Math.min(Math.abs(se),Math.abs(se-he)),Mt=nc(he,_e,se,pe,!0),Nn=Mt[0],jn=Mt[1];rt=al(Nn-se,(jn-pe)/_t),wt=_t*rt}break;case 1:ue.shape===0?rt=wt=Math.max(Math.abs(se),Math.abs(se-he),Math.abs(pe),Math.abs(pe-_e)):ue.shape===1&&(rt=Math.max(Math.abs(se),Math.abs(se-he)),wt=Math.max(Math.abs(pe),Math.abs(pe-_e)));break;case 3:if(ue.shape===0)rt=wt=Math.max(al(se,pe),al(se,pe-_e),al(se-he,pe),al(se-he,pe-_e));else if(ue.shape===1){var _t=Math.max(Math.abs(pe),Math.abs(pe-_e))/Math.max(Math.abs(se),Math.abs(se-he)),zn=nc(he,_e,se,pe,!1),Nn=zn[0],jn=zn[1];rt=al(Nn-se,(jn-pe)/_t),wt=_t*rt}break}return Array.isArray(ue.size)&&(rt=Zo(ue.size[0],he),wt=ue.size.length===2?Zo(ue.size[1],_e):rt),[rt,wt]},ao=function(ue,se){var pe=Ks(180),he=[];return HA(se).forEach(function(_e,rt){if(rt===0){var wt=_e[0];if(wt.type===20&&wt.value==="to"){pe=Kc(_e);return}else if(tu(wt)){pe=YA.parse(ue,wt);return}}var _t=Iu(ue,_e);he.push(_t)}),{angle:pe,stops:he,type:1}},fr=function(ue,se){var pe=Ks(180),he=[];return HA(se).forEach(function(_e,rt){if(rt===0){var wt=_e[0];if(wt.type===20&&["top","left","right","bottom"].indexOf(wt.value)!==-1){pe=Kc(_e);return}else if(tu(wt)){pe=(YA.parse(ue,wt)+Ks(270))%Ks(360);return}}var _t=Iu(ue,_e);he.push(_t)}),{angle:pe,stops:he,type:1}},io=function(ue,se){var pe=Ks(180),he=[],_e=1,rt=0,wt=3,_t=[];return HA(se).forEach(function(Mt,Nn){var jn=Mt[0];if(Nn===0){if($a(jn)&&jn.value==="linear"){_e=1;return}else if($a(jn)&&jn.value==="radial"){_e=2;return}}if(jn.type===18){if(jn.name==="from"){var zn=Il.parse(ue,jn.values[0]);he.push({stop:Eo,color:zn})}else if(jn.name==="to"){var zn=Il.parse(ue,jn.values[0]);he.push({stop:Is,color:zn})}else if(jn.name==="color-stop"){var wr=jn.values.filter(_s);if(wr.length===2){var zn=Il.parse(ue,wr[1]),Ra=wr[0];ho(Ra)&&he.push({stop:{type:16,number:Ra.number*100,flags:Ra.flags},color:zn})}}}}),_e===1?{angle:(pe+Ks(180))%Ks(360),stops:he,type:_e}:{size:wt,shape:rt,stops:he,position:_t,type:_e}},Jo="closest-side",bA="farthest-side",LA="closest-corner",zs="farthest-corner",ou="circle",mu="ellipse",pu="cover",Ti="contain",Vo=function(ue,se){var pe=0,he=3,_e=[],rt=[];return HA(se).forEach(function(wt,_t){var Mt=!0;if(_t===0){var Nn=!1;Mt=wt.reduce(function(zn,wr){if(Nn)if($a(wr))switch(wr.value){case"center":return rt.push(ms),zn;case"top":case"left":return rt.push(Eo),zn;case"right":case"bottom":return rt.push(Is),zn}else(Xs(wr)||VA(wr))&&rt.push(wr);else if($a(wr))switch(wr.value){case ou:return pe=0,!1;case mu:return pe=1,!1;case"at":return Nn=!0,!1;case Jo:return he=0,!1;case pu:case bA:return he=1,!1;case Ti:case LA:return he=2,!1;case zs:return he=3,!1}else if(VA(wr)||Xs(wr))return Array.isArray(he)||(he=[]),he.push(wr),!1;return zn},Mt)}if(Mt){var jn=Iu(ue,wt);_e.push(jn)}}),{size:he,shape:pe,stops:_e,position:rt,type:2}},ko=function(ue,se){var pe=0,he=3,_e=[],rt=[];return HA(se).forEach(function(wt,_t){var Mt=!0;if(_t===0?Mt=wt.reduce(function(jn,zn){if($a(zn))switch(zn.value){case"center":return rt.push(ms),!1;case"top":case"left":return rt.push(Eo),!1;case"right":case"bottom":return rt.push(Is),!1}else if(Xs(zn)||VA(zn))return rt.push(zn),!1;return jn},Mt):_t===1&&(Mt=wt.reduce(function(jn,zn){if($a(zn))switch(zn.value){case ou:return pe=0,!1;case mu:return pe=1,!1;case Ti:case Jo:return he=0,!1;case bA:return he=1,!1;case LA:return he=2,!1;case pu:case zs:return he=3,!1}else if(VA(zn)||Xs(zn))return Array.isArray(he)||(he=[]),he.push(zn),!1;return jn},Mt)),Mt){var Nn=Iu(ue,wt);_e.push(Nn)}}),{size:he,shape:pe,stops:_e,position:rt,type:2}},Us=function(ue){return ue.type===1},hA=function(ue){return ue.type===2},Js={name:"image",parse:function(ue,se){if(se.type===22){var pe={url:se.value,type:0};return ue.cache.addImage(se.value),pe}if(se.type===18){var he=Nl[se.name];if(typeof he=="undefined")throw new Error('Attempting to parse an unsupported image function "'+se.name+'"');return he(ue,se.values)}throw new Error("Unsupported image type "+se.type)}};function aA(ue){return!(ue.type===20&&ue.value==="none")&&(ue.type!==18||!!Nl[ue.name])}var Nl={"linear-gradient":ao,"-moz-linear-gradient":fr,"-ms-linear-gradient":fr,"-o-linear-gradient":fr,"-webkit-linear-gradient":fr,"radial-gradient":Vo,"-moz-radial-gradient":ko,"-ms-radial-gradient":ko,"-o-radial-gradient":ko,"-webkit-radial-gradient":ko,"-webkit-gradient":io},Ml={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ue,se){if(se.length===0)return[];var pe=se[0];return pe.type===20&&pe.value==="none"?[]:se.filter(function(he){return _s(he)&&aA(he)}).map(function(he){return Js.parse(ue,he)})}},qs={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,se){return se.map(function(pe){if($a(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},DA={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ue,se){return HA(se).map(function(pe){return pe.filter(Xs)}).map(ro)}},oA={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ue,se){return HA(se).map(function(pe){return pe.filter($a).map(function(he){return he.value}).join(" ")}).map(UA)}},UA=function(ue){switch(ue){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}},Gs;(function(ue){ue.AUTO="auto",ue.CONTAIN="contain",ue.COVER="cover"})(Gs||(Gs={}));var Du={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ue,se){return HA(se).map(function(pe){return pe.filter(Dl)})}},Dl=function(ue){return $a(ue)||Xs(ue)},Uu=function(ue){return{name:"border-"+ue+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},fd=Uu("top"),Wc=Uu("right"),wf=Uu("bottom"),yc=Uu("left"),Md=function(ue){return{name:"border-radius-"+ue,initialValue:"0 0",prefix:!1,type:1,parse:function(se,pe){return ro(pe.filter(Xs))}}},Bm=Md("top-left"),rc=Md("top-right"),iu=Md("bottom-right"),_l=Md("bottom-left"),Xi=function(ue){return{name:"border-"+ue+"-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=Xi("top"),yf=Xi("right"),Sf=Xi("bottom"),Vc=Xi("left"),hd=function(ue){return{name:"border-"+ue+"-width",initialValue:"0",type:0,prefix:!1,parse:function(se,pe){return xl(pe)?pe.number:0}}},Sg=hd("top"),Yc=hd("right"),n0=hd("bottom"),r0=hd("left"),MA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},md={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ue,se){switch(se){case"rtl":return 1;case"ltr":default:return 0}}},a0={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ue,se){return se.filter($a).reduce(function(pe,he){return pe|Je(he.value)},0)}},Je=function(ue){switch(ue){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(ue,se){switch(se){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ct={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ue,se){return se.type===20&&se.value==="normal"?0:se.type===17||se.type===15?se.number:0}},kt;(function(ue){ue.NORMAL="normal",ue.STRICT="strict"})(kt||(kt={}));var qt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,se){switch(se){case"strict":return kt.STRICT;case"normal":default:return kt.NORMAL}}},$t={name:"line-height",initialValue:"normal",prefix:!1,type:4},bn=function(ue,se){return $a(ue)&&ue.value==="normal"?1.2*se:ue.type===17?se*ue.number:Xs(ue)?Zo(ue,se):se},En={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ue,se){return se.type===20&&se.value==="none"?null:Js.parse(ue,se)}},vn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ue,se){switch(se){case"inside":return 0;case"outside":default:return 1}}},Mn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ue,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}}},Xn=function(ue){return{name:"margin-"+ue,initialValue:"0",prefix:!1,type:4}},Kn=Xn("top"),Sr=Xn("right"),hr=Xn("bottom"),vr=Xn("left"),qr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ue,se){return se.filter($a).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}})}},Mr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ue,se){switch(se){case"break-word":return"break-word";case"normal":default:return"normal"}}},Vr=function(ue){return{name:"padding-"+ue,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Kr=Vr("top"),Aa=Vr("right"),ka=Vr("bottom"),Ka=Vr("left"),wa={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ue,se){switch(se){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},eo={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ue,se){switch(se){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},bo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,se){return se.length===1&&FA(se[0],"none")?[]:HA(se).map(function(pe){for(var he={color:Ds.TRANSPARENT,offsetX:Eo,offsetY:Eo,blur:Eo},_e=0,rt=0;rt1?1:0],this.overflowWrap=na(se,Mr,pe.overflowWrap),this.paddingTop=na(se,Kr,pe.paddingTop),this.paddingRight=na(se,Aa,pe.paddingRight),this.paddingBottom=na(se,ka,pe.paddingBottom),this.paddingLeft=na(se,Ka,pe.paddingLeft),this.paintOrder=na(se,ii,pe.paintOrder),this.position=na(se,eo,pe.position),this.textAlign=na(se,wa,pe.textAlign),this.textDecorationColor=na(se,Os,(he=pe.textDecorationColor)!==null&&he!==void 0?he:pe.color),this.textDecorationLine=na(se,Po,(_e=pe.textDecorationLine)!==null&&_e!==void 0?_e:pe.textDecoration),this.textShadow=na(se,bo,pe.textShadow),this.textTransform=na(se,ca,pe.textTransform),this.transform=na(se,ba,pe.transform),this.transformOrigin=na(se,Bo,pe.transformOrigin),this.visibility=na(se,Ga,pe.visibility),this.webkitTextStrokeColor=na(se,XA,pe.webkitTextStrokeColor),this.webkitTextStrokeWidth=na(se,$s,pe.webkitTextStrokeWidth),this.wordBreak=na(se,qo,pe.wordBreak),this.zIndex=na(se,qi,pe.zIndex)}return ue.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ue.prototype.isTransparent=function(){return Ns(this.backgroundColor)},ue.prototype.isTransformed=function(){return this.transform!==null},ue.prototype.isPositioned=function(){return this.position!==0},ue.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ue.prototype.isFloating=function(){return this.float!==0},ue.prototype.isInlineLevel=function(){return ha(this.display,4)||ha(this.display,33554432)||ha(this.display,268435456)||ha(this.display,536870912)||ha(this.display,67108864)||ha(this.display,134217728)},ue}(),eA=function(){function ue(se,pe){this.content=na(se,Ja,pe.content),this.quotes=na(se,Da,pe.quotes)}return ue}(),Ul=function(){function ue(se,pe){this.counterIncrement=na(se,Ya,pe.counterIncrement),this.counterReset=na(se,Na,pe.counterReset)}return ue}(),na=function(ue,se,pe){var he=new Ln,_e=pe!==null&&typeof pe!="undefined"?pe.toString():se.initialValue;he.write(_e);var rt=new In(he.read());switch(se.type){case 2:var wt=rt.parseComponentValue();return se.parse(ue,$a(wt)?wt.value:se.initialValue);case 0:return se.parse(ue,rt.parseComponentValue());case 1:return se.parse(ue,rt.parseComponentValues());case 4:return rt.parseComponentValue();case 3:switch(se.format){case"angle":return YA.parse(ue,rt.parseComponentValue());case"color":return Il.parse(ue,rt.parseComponentValue());case"image":return Js.parse(ue,rt.parseComponentValue());case"length":var _t=rt.parseComponentValue();return VA(_t)?_t:Eo;case"length-percentage":var Mt=rt.parseComponentValue();return Xs(Mt)?Mt:Eo;case"time":return vi.parse(ue,rt.parseComponentValue())}break}},ol="data-html2canvas-debug",Sc=function(ue){var se=ue.getAttribute(ol);switch(se){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Di=function(ue,se){var pe=Sc(ue);return pe===1||se===pe},$o=function(){function ue(se,pe){if(this.context=se,this.textNodes=[],this.elements=[],this.flags=0,Di(pe,3))debugger;this.styles=new su(se,window.getComputedStyle(pe,null)),l0(pe)&&(this.styles.animationDuration.some(function(he){return he>0})&&(pe.style.animationDuration="0s"),this.styles.transform!==null&&(pe.style.transform="none")),this.bounds=je(this.context,pe),Di(pe,4)&&(this.flags|=16)}return ue}(),Bs="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",mA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ls=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ko=0;Ko>4,jn[_e++]=(wt&15)<<4|_t>>2,jn[_e++]=(_t&3)<<6|Mt&63;return Nn},_A=function(ue){for(var se=ue.length,pe=[],he=0;he>il,Qs=1<>il,ws=zl+sA,vu=ws,Ou=32,Ku=vu+Ou,Bu=65536>>sl,pd=1<<_u,_d=pd-1,si=function(ue,se,pe){return ue.slice?ue.slice(se,pe):new Uint16Array(Array.prototype.slice.call(ue,se,pe))},ns=function(ue,se,pe){return ue.slice?ue.slice(se,pe):new Uint32Array(Array.prototype.slice.call(ue,se,pe))},QA=function(ue,se){var pe=JA(ue),he=Array.isArray(pe)?fl(pe):new Uint32Array(pe),_e=Array.isArray(pe)?_A(pe):new Uint16Array(pe),rt=24,wt=si(_e,rt/2,he[4]/2),_t=he[5]===2?si(_e,(rt+he[4])/2):ns(he,Math.ceil((rt+he[4])/4));return new ps(he[0],he[1],he[2],he[3],wt,_t)},ps=function(){function ue(se,pe,he,_e,rt,wt){this.initialValue=se,this.errorValue=pe,this.highStart=he,this.highValueIndex=_e,this.index=rt,this.data=wt}return ue.prototype.get=function(se){var pe;if(se>=0){if(se<55296||se>56319&&se<=65535)return pe=this.index[se>>il],pe=(pe<>il)],pe=(pe<>sl),pe=this.index[pe],pe+=se>>il&_d,pe=this.index[pe],pe=(pe<=55296&&_e<=56319&&pe>10)+55296,wt%1024+56320)),(_e+1===pe||he.length>16384)&&(rt+=String.fromCharCode.apply(String,he),he.length=0)}return rt},xg=QA(Bs),Mi="\xD7",Zd="\xF7",Cf=function(ue){return xg.get(ue)},o0=function(ue,se,pe){var he=pe-2,_e=se[he],rt=se[pe-1],wt=se[pe];if(rt===vd&&wt===Bd)return Mi;if(rt===vd||rt===Bd||rt===Kd||wt===vd||wt===Bd||wt===Kd)return Zd;if(rt===Xc&&[Xc,yu,Eg,zd].indexOf(wt)!==-1||(rt===Eg||rt===yu)&&(wt===yu||wt===bc)||(rt===zd||rt===bc)&&wt===bc||wt===Pg||wt===bg||wt===Cg||rt===wu)return Mi;if(rt===Pg&&wt===Gd){for(;_e===bg;)_e=se[--he];if(_e===Gd)return Mi}if(rt===Cc&&wt===Cc){for(var _t=0;_e===Cc;)_t++,_e=se[--he];if(_t%2===0)return Mi}return Zd},Ef=function(ue){var se=Wd(ue),pe=se.length,he=0,_e=0,rt=se.map(Cf);return{next:function(){if(he>=pe)return{done:!0,value:null};for(var wt=Mi;hewt.x||jn.y>wt.y;return wt=jn,Nn===0?!0:zn});return ue.body.removeChild(se),_t},Pf=function(){return typeof new Image().crossOrigin!="undefined"},ac=function(){return typeof new XMLHttpRequest().responseType=="string"},Ig=function(ue){var se=new Image,pe=ue.createElement("canvas"),he=pe.getContext("2d");if(!he)return!1;se.src="data:image/svg+xml,";try{he.drawImage(se,0,0),pe.toDataURL()}catch(_e){return!1}return!0},Yd=function(ue){return ue[0]===0&&ue[1]===255&&ue[2]===0&&ue[3]===255},xf=function(ue){var se=ue.createElement("canvas"),pe=100;se.width=pe,se.height=pe;var he=se.getContext("2d");if(!he)return Promise.reject(!1);he.fillStyle="rgb(0, 255, 0)",he.fillRect(0,0,pe,pe);var _e=new Image,rt=se.toDataURL();_e.src=rt;var wt=wd(pe,pe,0,0,_e);return he.fillStyle="red",he.fillRect(0,0,pe,pe),Xd(wt).then(function(_t){he.drawImage(_t,0,0);var Mt=he.getImageData(0,0,pe,pe).data;he.fillStyle="red",he.fillRect(0,0,pe,pe);var Nn=ue.createElement("div");return Nn.style.backgroundImage="url("+rt+")",Nn.style.height=pe+"px",Yd(Mt)?Xd(wd(pe,pe,0,0,Nn)):Promise.reject(!1)}).then(function(_t){return he.drawImage(_t,0,0),Yd(he.getImageData(0,0,pe,pe).data)}).catch(function(){return!1})},wd=function(ue,se,pe,he,_e){var rt="http://www.w3.org/2000/svg",wt=document.createElementNS(rt,"svg"),_t=document.createElementNS(rt,"foreignObject");return wt.setAttributeNS(null,"width",ue.toString()),wt.setAttributeNS(null,"height",se.toString()),_t.setAttributeNS(null,"width","100%"),_t.setAttributeNS(null,"height","100%"),_t.setAttributeNS(null,"x",pe.toString()),_t.setAttributeNS(null,"y",he.toString()),_t.setAttributeNS(null,"externalResourcesRequired","true"),wt.appendChild(_t),_t.appendChild(_e),wt},Xd=function(ue){return new Promise(function(se,pe){var he=new Image;he.onload=function(){return se(he)},he.onerror=pe,he.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},TA={get SUPPORT_RANGE_BOUNDS(){var ue=Lg(document);return Object.defineProperty(TA,"SUPPORT_RANGE_BOUNDS",{value:ue}),ue},get SUPPORT_WORD_BREAKING(){var ue=TA.SUPPORT_RANGE_BOUNDS&&Vd(document);return Object.defineProperty(TA,"SUPPORT_WORD_BREAKING",{value:ue}),ue},get SUPPORT_SVG_DRAWING(){var ue=Ig(document);return Object.defineProperty(TA,"SUPPORT_SVG_DRAWING",{value:ue}),ue},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ue=typeof Array.from=="function"&&typeof window.fetch=="function"?xf(document):Promise.resolve(!1);return Object.defineProperty(TA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ue}),ue},get SUPPORT_CORS_IMAGES(){var ue=Pf();return Object.defineProperty(TA,"SUPPORT_CORS_IMAGES",{value:ue}),ue},get SUPPORT_RESPONSE_TYPE(){var ue=ac();return Object.defineProperty(TA,"SUPPORT_RESPONSE_TYPE",{value:ue}),ue},get SUPPORT_CORS_XHR(){var ue="withCredentials"in new XMLHttpRequest;return Object.defineProperty(TA,"SUPPORT_CORS_XHR",{value:ue}),ue},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ue=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(TA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ue}),ue}},zu=function(){function ue(se,pe){this.text=se,this.bounds=pe}return ue}(),Jd=function(ue,se,pe,he){var _e=oc(se,pe),rt=[],wt=0;return _e.forEach(function(_t){if(pe.textDecorationLine.length||_t.trim().length>0)if(TA.SUPPORT_RANGE_BOUNDS){var Mt=Ri(he,wt,_t.length).getClientRects();if(Mt.length>1){var Nn=us(_t),jn=0;Nn.forEach(function(wr){rt.push(new zu(wr,ze.fromDOMRectList(ue,Ri(he,jn+wt,wr.length).getClientRects()))),jn+=wr.length})}else rt.push(new zu(_t,ze.fromDOMRectList(ue,Mt)))}else{var zn=he.splitText(_t.length);rt.push(new zu(_t,i0(ue,he))),he=zn}else TA.SUPPORT_RANGE_BOUNDS||(he=he.splitText(_t.length));wt+=_t.length}),rt},i0=function(ue,se){var pe=se.ownerDocument;if(pe){var he=pe.createElement("html2canvaswrapper");he.appendChild(se.cloneNode(!0));var _e=se.parentNode;if(_e){_e.replaceChild(he,se);var rt=je(ue,he);return he.firstChild&&_e.replaceChild(he.firstChild,he),rt}}return ze.EMPTY},Ri=function(ue,se,pe){var he=ue.ownerDocument;if(!he)throw new Error("Node has no owner document");var _e=he.createRange();return _e.setStart(ue,se),_e.setEnd(ue,se+pe),_e},us=function(ue){if(TA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var se=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(se.segment(ue)).map(function(pe){return pe.segment})}return Fg(ue)},Au=function(ue,se){if(TA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var pe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(pe.segment(ue)).map(function(he){return he.segment})}return Ff(ue,se)},oc=function(ue,se){return se.letterSpacing!==0?us(ue):Au(ue,se)},ic=[32,160,4961,65792,65793,4153,4241],Ff=function(ue,se){for(var pe=Ba(ue,{lineBreak:se.lineBreak,wordBreak:se.overflowWrap==="break-word"?"break-word":se.wordBreak}),he=[],_e,rt=function(){if(_e.value){var wt=_e.value.slice(),_t=we(wt),Mt="";_t.forEach(function(Nn){ic.indexOf(Nn)===-1?Mt+=Ne(Nn):(Mt.length&&he.push(Mt),he.push(Ne(Nn)),Mt="")}),Mt.length&&he.push(Mt)}};!(_e=pe.next()).done;)rt();return he},Ng=function(){function ue(se,pe,he){this.text=Dg(pe.data,he.textTransform),this.textBounds=Jd(se,this.text,he,pe)}return ue}(),Dg=function(ue,se){switch(se){case 1:return ue.toLowerCase();case 3:return ue.replace(Ug,Og);case 2:return ue.toUpperCase();default:return ue}},Ug=/(^|\s|:|-|\(|\))([a-z])/g,Og=function(ue,se,pe){return ue.length>0?se+pe.toUpperCase():ue},th=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.src=he.currentSrc||he.src,_e.intrinsicWidth=he.naturalWidth,_e.intrinsicHeight=he.naturalHeight,_e.context.cache.addImage(_e.src),_e}return se}($o),nh=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.canvas=he,_e.intrinsicWidth=he.width,_e.intrinsicHeight=he.height,_e}return se}($o),rh=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this,rt=new XMLSerializer,wt=je(pe,he);return he.setAttribute("width",wt.width+"px"),he.setAttribute("height",wt.height+"px"),_e.svg="data:image/svg+xml,"+encodeURIComponent(rt.serializeToString(he)),_e.intrinsicWidth=he.width.baseVal.value,_e.intrinsicHeight=he.height.baseVal.value,_e.context.cache.addImage(_e.svg),_e}return se}($o),ah=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.value=he.value,_e}return se}($o),s0=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.start=he.start,_e.reversed=typeof he.reversed=="boolean"&&he.reversed===!0,_e}return se}($o),Ec=[{type:15,flags:0,unit:"px",number:3}],wm=[{type:16,flags:0,number:50}],ym=function(ue){return ue.width>ue.height?new ze(ue.left+(ue.width-ue.height)/2,ue.top,ue.height,ue.height):ue.width0)pe.textNodes.push(new Ng(ue,_e,pe.styles));else if($d(_e))if(mh(_e)&&_e.assignedNodes)_e.assignedNodes().forEach(function(_t){return qd(ue,_t,pe,he)});else{var wt=Ah(ue,_e);wt.styles.isVisible()&&(Sm(_e,wt,he)?wt.flags|=4:bm(wt.styles)&&(wt.flags|=2),Tg.indexOf(_e.tagName)!==-1&&(wt.flags|=8),pe.elements.push(wt),_e.slot,_e.shadowRoot?qd(ue,_e.shadowRoot,wt,he):!Rg(_e)&&!ch(_e)&&!Uf(_e)&&qd(ue,_e,wt,he))}},Ah=function(ue,se){return c0(se)?new th(ue,se):dh(se)?new nh(ue,se):ch(se)?new rh(ue,se):Cm(se)?new ah(ue,se):Em(se)?new s0(ue,se):Pm(se)?new kg(ue,se):Uf(se)?new ih(ue,se):Rg(se)?new A0(ue,se):fh(se)?new sh(ue,se):new $o(ue,se)},lh=function(ue,se){var pe=Ah(ue,se);return pe.flags|=4,qd(ue,se,pe,pe),pe},Sm=function(ue,se,pe){return se.styles.isPositionedWithZIndex()||se.styles.opacity<1||se.styles.isTransformed()||u0(ue)&&pe.styles.isTransparent()},bm=function(ue){return ue.isPositioned()||ue.isFloating()},uh=function(ue){return ue.nodeType===Node.TEXT_NODE},$d=function(ue){return ue.nodeType===Node.ELEMENT_NODE},l0=function(ue){return $d(ue)&&typeof ue.style!="undefined"&&!Df(ue)},Df=function(ue){return typeof ue.className=="object"},Cm=function(ue){return ue.tagName==="LI"},Em=function(ue){return ue.tagName==="OL"},Pm=function(ue){return ue.tagName==="INPUT"},xm=function(ue){return ue.tagName==="HTML"},ch=function(ue){return ue.tagName==="svg"},u0=function(ue){return ue.tagName==="BODY"},dh=function(ue){return ue.tagName==="CANVAS"},gh=function(ue){return ue.tagName==="VIDEO"},c0=function(ue){return ue.tagName==="IMG"},fh=function(ue){return ue.tagName==="IFRAME"},hh=function(ue){return ue.tagName==="STYLE"},d0=function(ue){return ue.tagName==="SCRIPT"},Rg=function(ue){return ue.tagName==="TEXTAREA"},Uf=function(ue){return ue.tagName==="SELECT"},mh=function(ue){return ue.tagName==="SLOT"},ph=function(ue){return ue.tagName.indexOf("-")>0},Ep=function(){function ue(){this.counters={}}return ue.prototype.getCounterValue=function(se){var pe=this.counters[se];return pe&&pe.length?pe[pe.length-1]:1},ue.prototype.getCounterValues=function(se){var pe=this.counters[se];return pe||[]},ue.prototype.pop=function(se){var pe=this;se.forEach(function(he){return pe.counters[he].pop()})},ue.prototype.parse=function(se){var pe=this,he=se.counterIncrement,_e=se.counterReset,rt=!0;he!==null&&he.forEach(function(_t){var Mt=pe.counters[_t.counter];Mt&&_t.increment!==0&&(rt=!1,Mt.length||Mt.push(1),Mt[Math.max(0,Mt.length-1)]+=_t.increment)});var wt=[];return rt&&_e.forEach(function(_t){var Mt=pe.counters[_t.counter];wt.push(_t.counter),Mt||(Mt=pe.counters[_t.counter]=[]),Mt.push(_t.reset)}),wt},ue}(),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"]},yd=function(ue,se,pe,he,_e,rt){return uepe?Hg(ue,_e,rt.length>0):he.integers.reduce(function(wt,_t,Mt){for(;ue>=_t;)ue-=_t,wt+=he.values[Mt];return wt},"")+rt},Lm=function(ue,se,pe,he){var _e="";do pe||ue--,_e=he(ue)+_e,ue/=se;while(ue*se>=se);return _e},IA=function(ue,se,pe,he,_e){var rt=pe-se+1;return(ue<0?"-":"")+(Lm(Math.abs(ue),rt,he,function(wt){return Ne(Math.floor(wt%rt)+se)})+_e)},Jc=function(ue,se,pe){pe===void 0&&(pe=". ");var he=se.length;return Lm(Math.abs(ue),he,!1,function(_e){return se[Math.floor(_e%he)]})+pe},Sd=1,Pc=2,xc=4,jg=8,Fc=function(ue,se,pe,he,_e,rt){if(ue<-9999||ue>9999)return Hg(ue,4,_e.length>0);var wt=Math.abs(ue),_t=_e;if(wt===0)return se[0]+_t;for(var Mt=0;wt>0&&Mt<=4;Mt++){var Nn=wt%10;Nn===0&&ha(rt,Sd)&&_t!==""?_t=se[Nn]+_t:Nn>1||Nn===1&&Mt===0||Nn===1&&Mt===1&&ha(rt,Pc)||Nn===1&&Mt===1&&ha(rt,xc)&&ue>100||Nn===1&&Mt>1&&ha(rt,jg)?_t=se[Nn]+(Mt>0?pe[Mt-1]:"")+_t:Nn===1&&Mt>0&&(_t=pe[Mt-1]+_t),wt=Math.floor(wt/10)}return(ue<0?he:"")+_t},Bh="\u5341\u767E\u5343\u842C",Im="\u62FE\u4F70\u4EDF\u842C",wh="\u30DE\u30A4\u30CA\u30B9",h0="\uB9C8\uC774\uB108\uC2A4",Hg=function(ue,se,pe){var he=pe?". ":"",_e=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 _t=IA(ue,48,57,!0,he);return _t.length<4?"0"+_t:_t;case 4:return Jc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",_e);case 6:return yd(ue,1,3999,g0,3,he).toLowerCase();case 7:return yd(ue,1,3999,g0,3,he);case 8:return IA(ue,945,969,!1,he);case 9:return IA(ue,97,122,!1,he);case 10:return IA(ue,65,90,!1,he);case 11:return IA(ue,1632,1641,!0,he);case 12:case 49:return yd(ue,1,9999,f0,3,he);case 35:return yd(ue,1,9999,f0,3,he).toLowerCase();case 13:return IA(ue,2534,2543,!0,he);case 14:case 30:return IA(ue,6112,6121,!0,he);case 15:return Jc(ue,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",_e);case 16:return Jc(ue,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",_e);case 17:case 48:return Fc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Bh,"\u8CA0",_e,Pc|xc|jg);case 47:return Fc(ue,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Im,"\u8CA0",_e,Sd|Pc|xc|jg);case 42:return Fc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Bh,"\u8D1F",_e,Pc|xc|jg);case 41:return Fc(ue,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Im,"\u8D1F",_e,Sd|Pc|xc|jg);case 26:return Fc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",wh,_e,0);case 25:return Fc(ue,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",wh,_e,Sd|Pc|xc);case 31:return Fc(ue,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",h0,rt,Sd|Pc|xc);case 33:return Fc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",h0,rt,0);case 32:return Fc(ue,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",h0,rt,Sd|Pc|xc);case 18:return IA(ue,2406,2415,!0,he);case 20:return yd(ue,1,19999,vh,3,he);case 21:return IA(ue,2790,2799,!0,he);case 22:return IA(ue,2662,2671,!0,he);case 22:return yd(ue,1,10999,Fm,3,he);case 23:return Jc(ue,"\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(ue,"\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 IA(ue,3302,3311,!0,he);case 28:return Jc(ue,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",_e);case 29:return Jc(ue,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",_e);case 34:return IA(ue,3792,3801,!0,he);case 37:return IA(ue,6160,6169,!0,he);case 38:return IA(ue,4160,4169,!0,he);case 39:return IA(ue,2918,2927,!0,he);case 40:return IA(ue,1776,1785,!0,he);case 43:return IA(ue,3046,3055,!0,he);case 44:return IA(ue,3174,3183,!0,he);case 45:return IA(ue,3664,3673,!0,he);case 46:return IA(ue,3872,3881,!0,he);case 3:default:return IA(ue,48,57,!0,he)}},yh="data-html2canvas-ignore",Nm=function(){function ue(se,pe,he){if(this.context=se,this.options=he,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 ue.prototype.toIFrame=function(se,pe){var he=this,_e=Dm(se,pe);if(!_e.contentWindow)return Promise.reject("Unable to find iframe window");var rt=se.defaultView.pageXOffset,wt=se.defaultView.pageYOffset,_t=_e.contentWindow,Mt=_t.document,Nn=_g(_e).then(function(){return Ce(he,void 0,void 0,function(){var jn,zn;return Me(this,function(wr){switch(wr.label){case 0:return this.scrolledElements.forEach(Ch),_t&&(_t.scrollTo(pe.left,pe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(_t.scrollY!==pe.top||_t.scrollX!==pe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(_t.scrollX-pe.left,_t.scrollY-pe.top,0,0))),jn=this.options.onclone,zn=this.clonedReferenceElement,typeof zn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Mt.fonts&&Mt.fonts.ready?[4,Mt.fonts.ready]:[3,2];case 1:wr.sent(),wr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Um(Mt)]:[3,4];case 3:wr.sent(),wr.label=4;case 4:return typeof jn=="function"?[2,Promise.resolve().then(function(){return jn(Mt,zn)}).then(function(){return _e})]:[2,_e]}})})});return Mt.open(),Mt.write(Om(document.doctype)+""),bh(this.referenceElement.ownerDocument,rt,wt),Mt.replaceChild(Mt.adoptNode(this.documentElement),Mt.documentElement),Mt.close(),Nn},ue.prototype.createElementClone=function(se){if(Di(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},ue.prototype.createCustomElementClone=function(se){var pe=document.createElement("html2canvascustomelement");return Of(se.style,pe),pe},ue.prototype.createStyleClone=function(se){try{var pe=se.sheet;if(pe&&pe.cssRules){var he=[].slice.call(pe.cssRules,0).reduce(function(rt,wt){return wt&&typeof wt.cssText=="string"?rt+wt.cssText:rt},""),_e=se.cloneNode(!1);return _e.textContent=he,_e}}catch(rt){if(this.context.logger.error("Unable to access cssRules property",rt),rt.name!=="SecurityError")throw rt}return se.cloneNode(!1)},ue.prototype.createCanvasClone=function(se){var pe;if(this.options.inlineImages&&se.ownerDocument){var he=se.ownerDocument.createElement("img");try{return he.src=se.toDataURL(),he}catch(Nn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",se)}}var _e=se.cloneNode(!1);try{_e.width=se.width,_e.height=se.height;var rt=se.getContext("2d"),wt=_e.getContext("2d");if(wt)if(!this.options.allowTaint&&rt)wt.putImageData(rt.getImageData(0,0,se.width,se.height),0,0);else{var _t=(pe=se.getContext("webgl2"))!==null&&pe!==void 0?pe:se.getContext("webgl");if(_t){var Mt=_t.getContextAttributes();(Mt==null?void 0:Mt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",se)}wt.drawImage(se,0,0)}return _e}catch(Nn){this.context.logger.info("Unable to clone canvas as it is tainted",se)}return _e},ue.prototype.createVideoClone=function(se){var pe=se.ownerDocument.createElement("canvas");pe.width=se.offsetWidth,pe.height=se.offsetHeight;var he=pe.getContext("2d");try{return he&&(he.drawImage(se,0,0,pe.width,pe.height),this.options.allowTaint||he.getImageData(0,0,pe.width,pe.height)),pe}catch(rt){this.context.logger.info("Unable to clone video as it is tainted",se)}var _e=se.ownerDocument.createElement("canvas");return _e.width=se.offsetWidth,_e.height=se.offsetHeight,_e},ue.prototype.appendChildNode=function(se,pe,he){(!$d(pe)||!d0(pe)&&!pe.hasAttribute(yh)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(pe)))&&(!this.options.copyStyles||!$d(pe)||!hh(pe))&&se.appendChild(this.cloneNode(pe,he))},ue.prototype.cloneChildNodes=function(se,pe,he){for(var _e=this,rt=se.shadowRoot?se.shadowRoot.firstChild:se.firstChild;rt;rt=rt.nextSibling)if($d(rt)&&mh(rt)&&typeof rt.assignedNodes=="function"){var wt=rt.assignedNodes();wt.length&&wt.forEach(function(_t){return _e.appendChildNode(pe,_t,he)})}else this.appendChildNode(pe,rt,he)},ue.prototype.cloneNode=function(se,pe){if(uh(se))return document.createTextNode(se.data);if(!se.ownerDocument)return se.cloneNode(!1);var he=se.ownerDocument.defaultView;if(he&&$d(se)&&(l0(se)||Df(se))){var _e=this.createElementClone(se);_e.style.transitionProperty="none";var rt=he.getComputedStyle(se),wt=he.getComputedStyle(se,":before"),_t=he.getComputedStyle(se,":after");this.referenceElement===se&&l0(_e)&&(this.clonedReferenceElement=_e),u0(_e)&&xp(_e);var Mt=this.counters.parse(new Ul(this.context,rt)),Nn=this.resolvePseudoContent(se,_e,wt,Mg.BEFORE);ph(se)&&(pe=!0),gh(se)||this.cloneChildNodes(se,_e,pe),Nn&&_e.insertBefore(Nn,_e.firstChild);var jn=this.resolvePseudoContent(se,_e,_t,Mg.AFTER);return jn&&_e.appendChild(jn),this.counters.pop(Mt),(rt&&(this.options.copyStyles||Df(se))&&!fh(se)||pe)&&Of(rt,_e),(se.scrollTop!==0||se.scrollLeft!==0)&&this.scrolledElements.push([_e,se.scrollLeft,se.scrollTop]),(Rg(se)||Uf(se))&&(Rg(_e)||Uf(_e))&&(_e.value=se.value),_e}return se.cloneNode(!1)},ue.prototype.resolvePseudoContent=function(se,pe,he,_e){var rt=this;if(he){var wt=he.content,_t=pe.ownerDocument;if(!(!_t||!wt||wt==="none"||wt==="-moz-alt-content"||he.display==="none")){this.counters.parse(new Ul(this.context,he));var Mt=new eA(this.context,he),Nn=_t.createElement("html2canvaspseudoelement");Of(he,Nn),Mt.content.forEach(function(zn){if(zn.type===0)Nn.appendChild(_t.createTextNode(zn.value));else if(zn.type===22){var wr=_t.createElement("img");wr.src=zn.value,wr.style.opacity="1",Nn.appendChild(wr)}else if(zn.type===18){if(zn.name==="attr"){var Ra=zn.values.filter($a);Ra.length&&Nn.appendChild(_t.createTextNode(se.getAttribute(Ra[0].value)||""))}else if(zn.name==="counter"){var $r=zn.values.filter(_s),pa=$r[0],Xo=$r[1];if(pa&&$a(pa)){var Xa=rt.counters.getCounterValue(pa.value),Wa=Xo&&$a(Xo)?Mn.parse(rt.context,Xo.value):3;Nn.appendChild(_t.createTextNode(Hg(Xa,Wa,!1)))}}else if(zn.name==="counters"){var Ro=zn.values.filter(_s),pa=Ro[0],li=Ro[1],Xo=Ro[2];if(pa&&$a(pa)){var No=rt.counters.getCounterValues(pa.value),Ea=Xo&&$a(Xo)?Mn.parse(rt.context,Xo.value):3,_i=li&&li.type===0?li.value:"",yi=No.map(function(uu){return Hg(uu,Ea,!1)}).join(_i);Nn.appendChild(_t.createTextNode(yi))}}}else if(zn.type===20)switch(zn.value){case"open-quote":Nn.appendChild(_t.createTextNode(mo(Mt.quotes,rt.quoteDepth++,!0)));break;case"close-quote":Nn.appendChild(_t.createTextNode(mo(Mt.quotes,--rt.quoteDepth,!1)));break;default:Nn.appendChild(_t.createTextNode(zn.value))}}),Nn.className=m0+" "+Qf;var jn=_e===Mg.BEFORE?" "+m0:" "+Qf;return Df(pe)?pe.className.baseValue+=jn:pe.className+=jn,Nn}}},ue.destroy=function(se){return se.parentNode?(se.parentNode.removeChild(se),!0):!1},ue}(),Mg;(function(ue){ue[ue.BEFORE=0]="BEFORE",ue[ue.AFTER=1]="AFTER"})(Mg||(Mg={}));var Dm=function(ue,se){var pe=ue.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"),ue.body.appendChild(pe),pe},Sh=function(ue){return new Promise(function(se){if(ue.complete){se();return}if(!ue.src){se();return}ue.onload=se,ue.onerror=se})},Um=function(ue){return Promise.all([].slice.call(ue.images,0).map(Sh))},_g=function(ue){return new Promise(function(se,pe){var he=ue.contentWindow;if(!he)return pe("No window assigned for iframe");var _e=he.document;he.onload=ue.onload=function(){he.onload=ue.onload=null;var rt=setInterval(function(){_e.body.childNodes.length>0&&_e.readyState==="complete"&&(clearInterval(rt),se(ue))},50)}})},Pp=["all","d","content"],Of=function(ue,se){for(var pe=ue.length-1;pe>=0;pe--){var he=ue.item(pe);Pp.indexOf(he)===-1&&se.style.setProperty(he,ue.getPropertyValue(he))}return se},Om=function(ue){var se="";return ue&&(se+=""),se},bh=function(ue,se,pe){ue&&ue.defaultView&&(se!==ue.defaultView.pageXOffset||pe!==ue.defaultView.pageYOffset)&&ue.defaultView.scrollTo(se,pe)},Ch=function(ue){var se=ue[0],pe=ue[1],he=ue[2];se.scrollLeft=pe,se.scrollTop=he},Eh=":before",Ph=":after",m0="___html2canvas___pseudoelement_before",Qf="___html2canvas___pseudoelement_after",xh=`{ content: "" !important; display: none !important; }`,xp=function(ue){Fh(ue,"."+m0+Eh+xh+` .`+Qf+Ph+xh)},Fh=function(ue,se){var pe=ue.ownerDocument;if(pe){var he=pe.createElement("style");he.textContent=se,ue.appendChild(he)}},Lh=function(){function ue(){}return ue.getOrigin=function(se){var pe=ue._link;return pe?(pe.href=se,pe.href=pe.href,pe.protocol+pe.hostname+pe.port):"about:blank"},ue.isSameOrigin=function(se){return ue.getOrigin(se)===ue._origin},ue.setContext=function(se){ue._link=se.document.createElement("a"),ue._origin=ue.getOrigin(se.location.href)},ue._origin="about:blank",ue}(),Su=function(){function ue(se,pe){this.context=se,this._options=pe,this._cache={}}return ue.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},ue.prototype.match=function(se){return this._cache[se]},ue.prototype.loadImage=function(se){return Ce(this,void 0,void 0,function(){var pe,he,_e,rt,wt=this;return Me(this,function(_t){switch(_t.label){case 0:return pe=Lh.isSameOrigin(se),he=!Kg(se)&&this._options.useCORS===!0&&TA.SUPPORT_CORS_IMAGES&&!pe,_e=!Kg(se)&&!pe&&!B0(se)&&typeof this._options.proxy=="string"&&TA.SUPPORT_CORS_XHR&&!he,!pe&&this._options.allowTaint===!1&&!Kg(se)&&!B0(se)&&!_e&&!he?[2]:(rt=se,_e?[4,this.proxy(rt)]:[3,2]);case 1:rt=_t.sent(),_t.label=2;case 2:return this.context.logger.debug("Added image "+se.substring(0,256)),[4,new Promise(function(Mt,Nn){var jn=new Image;jn.onload=function(){return Mt(jn)},jn.onerror=Nn,(Qm(rt)||he)&&(jn.crossOrigin="anonymous"),jn.src=rt,jn.complete===!0&&setTimeout(function(){return Mt(jn)},500),wt._options.imageTimeout>0&&setTimeout(function(){return Nn("Timed out ("+wt._options.imageTimeout+"ms) loading image")},wt._options.imageTimeout)})];case 3:return[2,_t.sent()]}})})},ue.prototype.has=function(se){return typeof this._cache[se]!="undefined"},ue.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ue.prototype.proxy=function(se){var pe=this,he=this._options.proxy;if(!he)throw new Error("No proxy defined");var _e=se.substring(0,256);return new Promise(function(rt,wt){var _t=TA.SUPPORT_RESPONSE_TYPE?"blob":"text",Mt=new XMLHttpRequest;Mt.onload=function(){if(Mt.status===200)if(_t==="text")rt(Mt.response);else{var zn=new FileReader;zn.addEventListener("load",function(){return rt(zn.result)},!1),zn.addEventListener("error",function(wr){return wt(wr)},!1),zn.readAsDataURL(Mt.response)}else wt("Failed to proxy resource "+_e+" with status code "+Mt.status)},Mt.onerror=wt;var Nn=he.indexOf("?")>-1?"&":"?";if(Mt.open("GET",""+he+Nn+"url="+encodeURIComponent(se)+"&responseType="+_t),_t!=="text"&&Mt instanceof XMLHttpRequest&&(Mt.responseType=_t),pe._options.imageTimeout){var jn=pe._options.imageTimeout;Mt.timeout=jn,Mt.ontimeout=function(){return wt("Timed out ("+jn+"ms) proxying "+_e)}}Mt.send()})},ue}(),p0=/^data:image\/svg\+xml/i,Ih=/^data:image\/.*;base64,/i,v0=/^data:image\/.*/i,kf=function(ue){return TA.SUPPORT_SVG_DRAWING||!km(ue)},Kg=function(ue){return v0.test(ue)},Qm=function(ue){return Ih.test(ue)},B0=function(ue){return ue.substr(0,4)==="blob"},km=function(ue){return ue.substr(-3).toLowerCase()==="svg"||p0.test(ue)},Ta=function(){function ue(se,pe){this.type=0,this.x=se,this.y=pe}return ue.prototype.add=function(se,pe){return new ue(this.x+se,this.y+pe)},ue}(),bd=function(ue,se,pe){return new Ta(ue.x+(se.x-ue.x)*pe,ue.y+(se.y-ue.y)*pe)},Tf=function(){function ue(se,pe,he,_e){this.type=1,this.start=se,this.startControl=pe,this.endControl=he,this.end=_e}return ue.prototype.subdivide=function(se,pe){var he=bd(this.start,this.startControl,se),_e=bd(this.startControl,this.endControl,se),rt=bd(this.endControl,this.end,se),wt=bd(he,_e,se),_t=bd(_e,rt,se),Mt=bd(wt,_t,se);return pe?new ue(this.start,he,wt,Mt):new ue(Mt,_t,rt,this.end)},ue.prototype.add=function(se,pe){return new ue(this.start.add(se,pe),this.startControl.add(se,pe),this.endControl.add(se,pe),this.end.add(se,pe))},ue.prototype.reverse=function(){return new ue(this.end,this.endControl,this.startControl,this.start)},ue}(),Qu=function(ue){return ue.type===1},Tm=function(){function ue(se){var pe=se.styles,he=se.bounds,_e=SA(pe.borderTopLeftRadius,he.width,he.height),rt=_e[0],wt=_e[1],_t=SA(pe.borderTopRightRadius,he.width,he.height),Mt=_t[0],Nn=_t[1],jn=SA(pe.borderBottomRightRadius,he.width,he.height),zn=jn[0],wr=jn[1],Ra=SA(pe.borderBottomLeftRadius,he.width,he.height),$r=Ra[0],pa=Ra[1],Xo=[];Xo.push((rt+Mt)/he.width),Xo.push(($r+zn)/he.width),Xo.push((wt+pa)/he.height),Xo.push((Nn+wr)/he.height);var Xa=Math.max.apply(Math,Xo);Xa>1&&(rt/=Xa,wt/=Xa,Mt/=Xa,Nn/=Xa,zn/=Xa,wr/=Xa,$r/=Xa,pa/=Xa);var Wa=he.width-Mt,Ro=he.height-wr,li=he.width-zn,No=he.height-pa,Ea=pe.borderTopWidth,_i=pe.borderRightWidth,yi=pe.borderBottomWidth,jo=pe.borderLeftWidth,fa=Zo(pe.paddingTop,se.bounds.width),uu=Zo(pe.paddingRight,se.bounds.width),Cu=Zo(pe.paddingBottom,se.bounds.width),ys=Zo(pe.paddingLeft,se.bounds.width);this.topLeftBorderDoubleOuterBox=rt>0||wt>0?AA(he.left+jo/3,he.top+Ea/3,rt-jo/3,wt-Ea/3,vs.TOP_LEFT):new Ta(he.left+jo/3,he.top+Ea/3),this.topRightBorderDoubleOuterBox=rt>0||wt>0?AA(he.left+Wa,he.top+Ea/3,Mt-_i/3,Nn-Ea/3,vs.TOP_RIGHT):new Ta(he.left+he.width-_i/3,he.top+Ea/3),this.bottomRightBorderDoubleOuterBox=zn>0||wr>0?AA(he.left+li,he.top+Ro,zn-_i/3,wr-yi/3,vs.BOTTOM_RIGHT):new Ta(he.left+he.width-_i/3,he.top+he.height-yi/3),this.bottomLeftBorderDoubleOuterBox=$r>0||pa>0?AA(he.left+jo/3,he.top+No,$r-jo/3,pa-yi/3,vs.BOTTOM_LEFT):new Ta(he.left+jo/3,he.top+he.height-yi/3),this.topLeftBorderDoubleInnerBox=rt>0||wt>0?AA(he.left+jo*2/3,he.top+Ea*2/3,rt-jo*2/3,wt-Ea*2/3,vs.TOP_LEFT):new Ta(he.left+jo*2/3,he.top+Ea*2/3),this.topRightBorderDoubleInnerBox=rt>0||wt>0?AA(he.left+Wa,he.top+Ea*2/3,Mt-_i*2/3,Nn-Ea*2/3,vs.TOP_RIGHT):new Ta(he.left+he.width-_i*2/3,he.top+Ea*2/3),this.bottomRightBorderDoubleInnerBox=zn>0||wr>0?AA(he.left+li,he.top+Ro,zn-_i*2/3,wr-yi*2/3,vs.BOTTOM_RIGHT):new Ta(he.left+he.width-_i*2/3,he.top+he.height-yi*2/3),this.bottomLeftBorderDoubleInnerBox=$r>0||pa>0?AA(he.left+jo*2/3,he.top+No,$r-jo*2/3,pa-yi*2/3,vs.BOTTOM_LEFT):new Ta(he.left+jo*2/3,he.top+he.height-yi*2/3),this.topLeftBorderStroke=rt>0||wt>0?AA(he.left+jo/2,he.top+Ea/2,rt-jo/2,wt-Ea/2,vs.TOP_LEFT):new Ta(he.left+jo/2,he.top+Ea/2),this.topRightBorderStroke=rt>0||wt>0?AA(he.left+Wa,he.top+Ea/2,Mt-_i/2,Nn-Ea/2,vs.TOP_RIGHT):new Ta(he.left+he.width-_i/2,he.top+Ea/2),this.bottomRightBorderStroke=zn>0||wr>0?AA(he.left+li,he.top+Ro,zn-_i/2,wr-yi/2,vs.BOTTOM_RIGHT):new Ta(he.left+he.width-_i/2,he.top+he.height-yi/2),this.bottomLeftBorderStroke=$r>0||pa>0?AA(he.left+jo/2,he.top+No,$r-jo/2,pa-yi/2,vs.BOTTOM_LEFT):new Ta(he.left+jo/2,he.top+he.height-yi/2),this.topLeftBorderBox=rt>0||wt>0?AA(he.left,he.top,rt,wt,vs.TOP_LEFT):new Ta(he.left,he.top),this.topRightBorderBox=Mt>0||Nn>0?AA(he.left+Wa,he.top,Mt,Nn,vs.TOP_RIGHT):new Ta(he.left+he.width,he.top),this.bottomRightBorderBox=zn>0||wr>0?AA(he.left+li,he.top+Ro,zn,wr,vs.BOTTOM_RIGHT):new Ta(he.left+he.width,he.top+he.height),this.bottomLeftBorderBox=$r>0||pa>0?AA(he.left,he.top+No,$r,pa,vs.BOTTOM_LEFT):new Ta(he.left,he.top+he.height),this.topLeftPaddingBox=rt>0||wt>0?AA(he.left+jo,he.top+Ea,Math.max(0,rt-jo),Math.max(0,wt-Ea),vs.TOP_LEFT):new Ta(he.left+jo,he.top+Ea),this.topRightPaddingBox=Mt>0||Nn>0?AA(he.left+Math.min(Wa,he.width-_i),he.top+Ea,Wa>he.width+_i?0:Math.max(0,Mt-_i),Math.max(0,Nn-Ea),vs.TOP_RIGHT):new Ta(he.left+he.width-_i,he.top+Ea),this.bottomRightPaddingBox=zn>0||wr>0?AA(he.left+Math.min(li,he.width-jo),he.top+Math.min(Ro,he.height-yi),Math.max(0,zn-_i),Math.max(0,wr-yi),vs.BOTTOM_RIGHT):new Ta(he.left+he.width-_i,he.top+he.height-yi),this.bottomLeftPaddingBox=$r>0||pa>0?AA(he.left+jo,he.top+Math.min(No,he.height-yi),Math.max(0,$r-jo),Math.max(0,pa-yi),vs.BOTTOM_LEFT):new Ta(he.left+jo,he.top+he.height-yi),this.topLeftContentBox=rt>0||wt>0?AA(he.left+jo+ys,he.top+Ea+fa,Math.max(0,rt-(jo+ys)),Math.max(0,wt-(Ea+fa)),vs.TOP_LEFT):new Ta(he.left+jo+ys,he.top+Ea+fa),this.topRightContentBox=Mt>0||Nn>0?AA(he.left+Math.min(Wa,he.width+jo+ys),he.top+Ea+fa,Wa>he.width+jo+ys?0:Mt-jo+ys,Nn-(Ea+fa),vs.TOP_RIGHT):new Ta(he.left+he.width-(_i+uu),he.top+Ea+fa),this.bottomRightContentBox=zn>0||wr>0?AA(he.left+Math.min(li,he.width-(jo+ys)),he.top+Math.min(Ro,he.height+Ea+fa),Math.max(0,zn-(_i+uu)),wr-(yi+Cu),vs.BOTTOM_RIGHT):new Ta(he.left+he.width-(_i+uu),he.top+he.height-(yi+Cu)),this.bottomLeftContentBox=$r>0||pa>0?AA(he.left+jo+ys,he.top+No,Math.max(0,$r-(jo+ys)),pa-(yi+Cu),vs.BOTTOM_LEFT):new Ta(he.left+jo+ys,he.top+he.height-(yi+Cu))}return ue}(),vs;(function(ue){ue[ue.TOP_LEFT=0]="TOP_LEFT",ue[ue.TOP_RIGHT=1]="TOP_RIGHT",ue[ue.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ue[ue.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(vs||(vs={}));var AA=function(ue,se,pe,he,_e){var rt=4*((Math.sqrt(2)-1)/3),wt=pe*rt,_t=he*rt,Mt=ue+pe,Nn=se+he;switch(_e){case vs.TOP_LEFT:return new Tf(new Ta(ue,Nn),new Ta(ue,Nn-_t),new Ta(Mt-wt,se),new Ta(Mt,se));case vs.TOP_RIGHT:return new Tf(new Ta(ue,se),new Ta(ue+wt,se),new Ta(Mt,Nn-_t),new Ta(Mt,Nn));case vs.BOTTOM_RIGHT:return new Tf(new Ta(Mt,se),new Ta(Mt,se+_t),new Ta(ue+wt,Nn),new Ta(ue,Nn));case vs.BOTTOM_LEFT:default:return new Tf(new Ta(Mt,Nn),new Ta(Mt-wt,Nn),new Ta(ue,se+_t),new Ta(ue,se))}},Rf=function(ue){return[ue.topLeftBorderBox,ue.topRightBorderBox,ue.bottomRightBorderBox,ue.bottomLeftBorderBox]},Fp=function(ue){return[ue.topLeftContentBox,ue.topRightContentBox,ue.bottomRightContentBox,ue.bottomLeftContentBox]},w0=function(ue){return[ue.topLeftPaddingBox,ue.topRightPaddingBox,ue.bottomRightPaddingBox,ue.bottomLeftPaddingBox]},Yo=function(){function ue(se,pe,he){this.offsetX=se,this.offsetY=pe,this.matrix=he,this.type=0,this.target=6}return ue}(),eg=function(){function ue(se,pe){this.path=se,this.target=pe,this.type=1}return ue}(),Ws=function(){function ue(se){this.opacity=se,this.type=2,this.target=6}return ue}(),y0=function(ue){return ue.type===0},S0=function(ue){return ue.type===1},jf=function(ue){return ue.type===2},qc=function(ue,se){return ue.length===se.length?ue.some(function(pe,he){return pe===se[he]}):!1},Nh=function(ue,se,pe,he,_e){return ue.map(function(rt,wt){switch(wt){case 0:return rt.add(se,pe);case 1:return rt.add(se+he,pe);case 2:return rt.add(se+he,pe+_e);case 3:return rt.add(se,pe+_e)}return rt})},zg=function(){function ue(se){this.element=se,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ue}(),b0=function(){function ue(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 Ws(this.container.styles.opacity)),this.container.styles.transform!==null){var he=this.container.bounds.left+this.container.styles.transformOrigin[0].number,_e=this.container.bounds.top+this.container.styles.transformOrigin[1].number,rt=this.container.styles.transform;this.effects.push(new Yo(he,_e,rt))}if(this.container.styles.overflowX!==0){var wt=Rf(this.curves),_t=w0(this.curves);qc(wt,_t)?this.effects.push(new eg(wt,6)):(this.effects.push(new eg(wt,2)),this.effects.push(new eg(_t,4)))}}return ue.prototype.getEffects=function(se){for(var pe=[2,3].indexOf(this.container.styles.position)===-1,he=this.parent,_e=this.effects.slice(0);he;){var rt=he.effects.filter(function(Mt){return!S0(Mt)});if(pe||he.container.styles.position!==0||!he.parent){if(_e.unshift.apply(_e,rt),pe=[2,3].indexOf(he.container.styles.position)===-1,he.container.styles.overflowX!==0){var wt=Rf(he.curves),_t=w0(he.curves);qc(wt,_t)||_e.unshift(new eg(_t,6))}}else _e.unshift.apply(_e,rt);he=he.parent}return _e.filter(function(Mt){return ha(Mt.target,se)})},ue}(),Gg=function(ue,se,pe,he){ue.container.elements.forEach(function(_e){var rt=ha(_e.flags,4),wt=ha(_e.flags,2),_t=new b0(_e,ue);ha(_e.styles.display,2048)&&he.push(_t);var Mt=ha(_e.flags,8)?[]:he;if(rt||wt){var Nn=rt||_e.styles.isPositioned()?pe:se,jn=new zg(_t);if(_e.styles.isPositioned()||_e.styles.opacity<1||_e.styles.isTransformed()){var zn=_e.styles.zIndex.order;if(zn<0){var wr=0;Nn.negativeZIndex.some(function($r,pa){return zn>$r.element.container.styles.zIndex.order?(wr=pa,!1):wr>0}),Nn.negativeZIndex.splice(wr,0,jn)}else if(zn>0){var Ra=0;Nn.positiveZIndex.some(function($r,pa){return zn>=$r.element.container.styles.zIndex.order?(Ra=pa+1,!1):Ra>0}),Nn.positiveZIndex.splice(Ra,0,jn)}else Nn.zeroOrAutoZIndexOrTransformedOrOpacity.push(jn)}else _e.styles.isFloating()?Nn.nonPositionedFloats.push(jn):Nn.nonPositionedInlineLevel.push(jn);Gg(_t,jn,rt?jn:pe,Mt)}else _e.styles.isInlineLevel()?se.inlineLevel.push(_t):se.nonInlineLevel.push(_t),Gg(_t,se,pe,Mt);ha(_e.flags,8)&&Wg(_e,Mt)})},Wg=function(ue,se){for(var pe=ue instanceof s0?ue.start:1,he=ue instanceof s0?ue.reversed:!1,_e=0;_e0&&pe.intrinsicHeight>0){var rt=Mf(pe),wt=w0(he);this.path(wt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(_e,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 he,_e,rt,wt,_t,Mt,Wa,Wa,Nn,jn,zn,wr,li,Ra,$r,No,pa,Xo,Xa,Wa,Ro,li,No;return Me(this,function(Ea){switch(Ea.label){case 0:this.applyEffects(pe.getEffects(4)),he=pe.container,_e=pe.curves,rt=he.styles,wt=0,_t=he.textNodes,Ea.label=1;case 1:return wt<_t.length?(Mt=_t[wt],[4,this.renderTextNode(Mt,rt)]):[3,4];case 2:Ea.sent(),Ea.label=3;case 3:return wt++,[3,1];case 4:if(!(he instanceof th))return[3,8];Ea.label=5;case 5:return Ea.trys.push([5,7,,8]),[4,this.context.cache.match(he.src)];case 6:return Wa=Ea.sent(),this.renderReplacedElement(he,_e,Wa),[3,8];case 7:return Ea.sent(),this.context.logger.error("Error loading image "+he.src),[3,8];case 8:if(he instanceof nh&&this.renderReplacedElement(he,_e,he.canvas),!(he instanceof rh))return[3,12];Ea.label=9;case 9:return Ea.trys.push([9,11,,12]),[4,this.context.cache.match(he.svg)];case 10:return Wa=Ea.sent(),this.renderReplacedElement(he,_e,Wa),[3,12];case 11:return Ea.sent(),this.context.logger.error("Error loading svg "+he.svg.substring(0,255)),[3,12];case 12:return he instanceof sh&&he.tree?(Nn=new se(this.context,{scale:this.options.scale,backgroundColor:he.backgroundColor,x:0,y:0,width:he.width,height:he.height}),[4,Nn.render(he.tree)]):[3,14];case 13:jn=Ea.sent(),he.width&&he.height&&this.ctx.drawImage(jn,0,0,he.width,he.height,he.bounds.left,he.bounds.top,he.bounds.width,he.bounds.height),Ea.label=14;case 14:if(he instanceof kg&&(zn=Math.min(he.bounds.width,he.bounds.height),he.type===Lf?he.checked&&(this.ctx.save(),this.path([new Ta(he.bounds.left+zn*.39363,he.bounds.top+zn*.79),new Ta(he.bounds.left+zn*.16,he.bounds.top+zn*.5549),new Ta(he.bounds.left+zn*.27347,he.bounds.top+zn*.44071),new Ta(he.bounds.left+zn*.39694,he.bounds.top+zn*.5649),new Ta(he.bounds.left+zn*.72983,he.bounds.top+zn*.23),new Ta(he.bounds.left+zn*.84,he.bounds.top+zn*.34085),new Ta(he.bounds.left+zn*.39363,he.bounds.top+zn*.79)]),this.ctx.fillStyle=Ji(Nf),this.ctx.fill(),this.ctx.restore()):he.type===If&&he.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(he.bounds.left+zn/2,he.bounds.top+zn/2,zn/4,0,Math.PI*2,!0),this.ctx.fillStyle=Ji(Nf),this.ctx.fill(),this.ctx.restore())),P0(he)&&he.value.length){switch(wr=this.createFontStyle(rt),li=wr[0],Ra=wr[1],$r=this.fontMetrics.getMetrics(li,Ra).baseline,this.ctx.font=li,this.ctx.fillStyle=Ji(rt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ng(he.styles.textAlign),No=Mf(he),pa=0,he.styles.textAlign){case 1:pa+=No.width/2;break;case 2:pa+=No.width;break}Xo=No.add(pa,0,0,-No.height/2+1),this.ctx.save(),this.path([new Ta(No.left,No.top),new Ta(No.left+No.width,No.top),new Ta(No.left+No.width,No.top+No.height),new Ta(No.left,No.top+No.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new zu(he.value,Xo),rt.letterSpacing,$r),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ha(he.styles.display,2048))return[3,20];if(he.styles.listStyleImage===null)return[3,19];if(Xa=he.styles.listStyleImage,Xa.type!==0)return[3,18];Wa=void 0,Ro=Xa.url,Ea.label=15;case 15:return Ea.trys.push([15,17,,18]),[4,this.context.cache.match(Ro)];case 16:return Wa=Ea.sent(),this.ctx.drawImage(Wa,he.bounds.left-(Wa.width+10),he.bounds.top),[3,18];case 17:return Ea.sent(),this.context.logger.error("Error loading list-style-image "+Ro),[3,18];case 18:return[3,20];case 19:pe.listValue&&he.styles.listStyleType!==-1&&(li=this.createFontStyle(rt)[0],this.ctx.font=li,this.ctx.fillStyle=Ji(rt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",No=new ze(he.bounds.left,he.bounds.top+Zo(he.styles.paddingTop,he.bounds.width),he.bounds.width,bn(rt.lineHeight,rt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new zu(pe.listValue,No),rt.letterSpacing,bn(rt.lineHeight,rt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ea.label=20;case 20:return[2]}})})},se.prototype.renderStackContent=function(pe){return Ce(this,void 0,void 0,function(){var he,_e,Xa,rt,wt,Xa,_t,Mt,Xa,Nn,jn,Xa,zn,wr,Xa,Ra,$r,Xa,pa,Xo,Xa;return Me(this,function(Wa){switch(Wa.label){case 0:if(ha(pe.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(pe.element)];case 1:Wa.sent(),he=0,_e=pe.negativeZIndex,Wa.label=2;case 2:return he<_e.length?(Xa=_e[he],[4,this.renderStack(Xa)]):[3,5];case 3:Wa.sent(),Wa.label=4;case 4:return he++,[3,2];case 5:return[4,this.renderNodeContent(pe.element)];case 6:Wa.sent(),rt=0,wt=pe.nonInlineLevel,Wa.label=7;case 7:return rt0&&Al>0&&(yi=rt.ctx.createPattern(No,"repeat"),rt.renderRepeat(fa,yi,Tl,Gl))):hA(jn)&&(jo=sc(pe,he,[null,null,null]),fa=jo[0],uu=jo[1],Cu=jo[2],ys=jo[3],Al=jo[4],Lc=jn.position.length===0?[ms]:jn.position,Tl=Zo(Lc[0],ys),Gl=Zo(Lc[Lc.length-1],Al),Ed=Rr(jn,Tl,Gl,ys,Al),ku=Ed[0],Ic=Ed[1],ku>0&&Ic>0&&(Pd=rt.ctx.createRadialGradient(uu+Tl,Cu+Gl,0,uu+Tl,Cu+Gl,ku),Gc(jn.stops,ku*2).forEach(function(od){return Pd.addColorStop(od.stop,Ji(od.color))}),rt.path(fa),rt.ctx.fillStyle=Pd,ku!==Ic?(rd=pe.bounds.left+.5*pe.bounds.width,lc=pe.bounds.top+.5*pe.bounds.height,ad=Ic/ku,Nc=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(uu,Nc*(Cu-lc)+lc,ys,Al*Nc),rt.ctx.restore()):rt.ctx.fill())),rg.label=6;case 6:return he--,[2]}})},rt=this,wt=0,_t=pe.styles.backgroundImage.slice(0).reverse(),Nn.label=1;case 1:return wt<_t.length?(Mt=_t[wt],[5,_e(Mt)]):[3,4];case 2:Nn.sent(),Nn.label=3;case 3:return wt++,[3,1];case 4:return[2]}})})},se.prototype.renderSolidBorder=function(pe,he,_e){return Ce(this,void 0,void 0,function(){return Me(this,function(rt){return this.path(hl(_e,he)),this.ctx.fillStyle=Ji(pe),this.ctx.fill(),[2]})})},se.prototype.renderDoubleBorder=function(pe,he,_e,rt){return Ce(this,void 0,void 0,function(){var wt,_t;return Me(this,function(Mt){switch(Mt.label){case 0:return he<3?[4,this.renderSolidBorder(pe,_e,rt)]:[3,2];case 1:return Mt.sent(),[2];case 2:return wt=Ql(rt,_e),this.path(wt),this.ctx.fillStyle=Ji(pe),this.ctx.fill(),_t=kl(rt,_e),this.path(_t),this.ctx.fill(),[2]}})})},se.prototype.renderNodeBackgroundAndBorders=function(pe){return Ce(this,void 0,void 0,function(){var he,_e,rt,wt,_t,Mt,Nn,jn,zn=this;return Me(this,function(wr){switch(wr.label){case 0:return this.applyEffects(pe.getEffects(2)),he=pe.container.styles,_e=!Ns(he.backgroundColor)||he.backgroundImage.length,rt=[{style:he.borderTopStyle,color:he.borderTopColor,width:he.borderTopWidth},{style:he.borderRightStyle,color:he.borderRightColor,width:he.borderRightWidth},{style:he.borderBottomStyle,color:he.borderBottomColor,width:he.borderBottomWidth},{style:he.borderLeftStyle,color:he.borderLeftColor,width:he.borderLeftWidth}],wt=Cd(Gu(he.backgroundClip,0),pe.curves),_e||he.boxShadow.length?(this.ctx.save(),this.path(wt),this.ctx.clip(),Ns(he.backgroundColor)||(this.ctx.fillStyle=Ji(he.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(pe.container)]):[3,2];case 1:wr.sent(),this.ctx.restore(),he.boxShadow.slice(0).reverse().forEach(function(Ra){zn.ctx.save();var $r=Rf(pe.curves),pa=Ra.inset?0:Ao,Xo=Nh($r,-pa+(Ra.inset?1:-1)*Ra.spread.number,(Ra.inset?1:-1)*Ra.spread.number,Ra.spread.number*(Ra.inset?-2:2),Ra.spread.number*(Ra.inset?-2:2));Ra.inset?(zn.path($r),zn.ctx.clip(),zn.mask(Xo)):(zn.mask($r),zn.ctx.clip(),zn.path(Xo)),zn.ctx.shadowOffsetX=Ra.offsetX.number+pa,zn.ctx.shadowOffsetY=Ra.offsetY.number,zn.ctx.shadowColor=Ji(Ra.color),zn.ctx.shadowBlur=Ra.blur.number,zn.ctx.fillStyle=Ra.inset?Ji(Ra.color):"rgba(0,0,0,1)",zn.ctx.fill(),zn.ctx.restore()}),wr.label=2;case 2:_t=0,Mt=0,Nn=rt,wr.label=3;case 3:return Mt0?jn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(jn.color,jn.width,_t,pe.curves,2)]:[3,11]):[3,13];case 4:return wr.sent(),[3,11];case 5:return jn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(jn.color,jn.width,_t,pe.curves,3)];case 6:return wr.sent(),[3,11];case 7:return jn.style!==4?[3,9]:[4,this.renderDoubleBorder(jn.color,jn.width,_t,pe.curves)];case 8:return wr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(jn.color,_t,pe.curves)];case 10:wr.sent(),wr.label=11;case 11:_t++,wr.label=12;case 12:return Mt++,[3,3];case 13:return[2]}})})},se.prototype.renderDashedDottedBorder=function(pe,he,_e,rt,wt){return Ce(this,void 0,void 0,function(){var _t,Mt,Nn,jn,zn,wr,Ra,$r,pa,Xo,Xa,Wa,Ro,li,No,Ea,No,Ea;return Me(this,function(_i){return this.ctx.save(),_t=Dh(rt,_e),Mt=hl(rt,_e),wt===2&&(this.path(Mt),this.ctx.clip()),Qu(Mt[0])?(Nn=Mt[0].start.x,jn=Mt[0].start.y):(Nn=Mt[0].x,jn=Mt[0].y),Qu(Mt[1])?(zn=Mt[1].end.x,wr=Mt[1].end.y):(zn=Mt[1].x,wr=Mt[1].y),_e===0||_e===2?Ra=Math.abs(Nn-zn):Ra=Math.abs(jn-wr),this.ctx.beginPath(),wt===3?this.formatPath(_t):this.formatPath(Mt.slice(0,2)),$r=he<3?he*3:he*2,pa=he<3?he*2:he,wt===3&&($r=he,pa=he),Xo=!0,Ra<=$r*2?Xo=!1:Ra<=$r*2+pa?(Xa=Ra/(2*$r+pa),$r*=Xa,pa*=Xa):(Wa=Math.floor((Ra+pa)/($r+pa)),Ro=(Ra-Wa*$r)/(Wa-1),li=(Ra-(Wa+1)*$r)/Wa,pa=li<=0||Math.abs(pa-Ro)St){var vt=lt;lt=St,St=vt}}else if(tt==="l"||tt==="landscape"){if(tt="l",St>lt){var vt=lt;lt=St,St=vt}}else throw"Invalid orientation: "+tt;var ut={width:lt,height:St,unit:Te,k:ot};return ut},Ne.default=Ue.jsPDF},"./src/plugin/pagebreaks.js":function(we,Ne,ge){"use strict";ge.r(Ne);var De=ge("./node_modules/core-js/modules/es.array.concat.js"),xe=ge.n(De),Ee=ge("./node_modules/core-js/modules/es.array.slice.js"),ie=ge.n(Ee),y=ge("./node_modules/core-js/modules/es.array.join.js"),a=ge.n(y),ee=ge("./node_modules/core-js/modules/web.dom-collections.for-each.js"),E=ge.n(ee),te=ge("./node_modules/core-js/modules/es.object.keys.js"),ne=ge.n(te),ae=ge("./src/worker.js"),de=ge("./src/utils.js"),Le={toContainer:ae.default.prototype.toContainer};ae.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ae.default.prototype.toContainer=function(){return Le.toContainer.call(this).then(function(){var Ge=this.prop.container,Ze=this.prop.pageSize.inner.px.height,tt=[].concat(this.opt.pagebreak.mode),Te={avoidAll:tt.indexOf("avoid-all")!==-1,css:tt.indexOf("css")!==-1,legacy:tt.indexOf("legacy")!==-1},pt={},Qe=this;["before","after","avoid"].forEach(function(ot){var St=Te.avoidAll&&ot==="avoid";pt[ot]=St?[]:[].concat(Qe.opt.pagebreak[ot]||[]),pt[ot].length>0&&(pt[ot]=Array.prototype.slice.call(Ge.querySelectorAll(pt[ot].join(", "))))});var Lt=Ge.querySelectorAll(".html2pdf__page-break");Lt=Array.prototype.slice.call(Lt);var it=Ge.querySelectorAll("*");Array.prototype.forEach.call(it,function(St){var lt={before:!1,after:Te.legacy&&Lt.indexOf(St)!==-1,avoid:Te.avoidAll};if(Te.css){var vt=window.getComputedStyle(St),ut=["always","page","left","right"],at=["avoid","avoid-page"];lt={before:lt.before||ut.indexOf(vt.breakBefore||vt.pageBreakBefore)!==-1,after:lt.after||ut.indexOf(vt.breakAfter||vt.pageBreakAfter)!==-1,avoid:lt.avoid||at.indexOf(vt.breakInside||vt.pageBreakInside)!==-1}}Object.keys(lt).forEach(function(Qn){lt[Qn]=lt[Qn]||pt[Qn].indexOf(St)!==-1});var Kt=St.getBoundingClientRect();if(lt.avoid&&!lt.before){var Vt=Math.floor(Kt.top/Ze),mt=Math.floor(Kt.bottom/Ze),Tt=Math.abs(Kt.bottom-Kt.top)/Ze;mt!==Vt&&Tt<=1&&(lt.before=!0)}if(lt.before){var wn=(0,de.createElement)("div",{style:{display:"block",height:Ze-Kt.top%Ze+"px"}});St.parentNode.insertBefore(wn,St)}if(lt.after){var wn=(0,de.createElement)("div",{style:{display:"block",height:Ze-Kt.bottom%Ze+"px"}});St.parentNode.insertBefore(wn,St.nextSibling)}})})}},"./src/utils.js":function(we,Ne,ge){"use strict";ge.r(Ne),ge.d(Ne,{objType:function(){return tt},createElement:function(){return Te},cloneNode:function(){return pt},unitConvert:function(){return Qe},toPx:function(){return Lt}});var De=ge("./node_modules/core-js/modules/es.number.constructor.js"),xe=ge.n(De),Ee=ge("./node_modules/core-js/modules/es.symbol.js"),ie=ge.n(Ee),y=ge("./node_modules/core-js/modules/es.symbol.description.js"),a=ge.n(y),ee=ge("./node_modules/core-js/modules/es.object.to-string.js"),E=ge.n(ee),te=ge("./node_modules/core-js/modules/es.symbol.iterator.js"),ne=ge.n(te),ae=ge("./node_modules/core-js/modules/es.array.iterator.js"),de=ge.n(ae),Le=ge("./node_modules/core-js/modules/es.string.iterator.js"),Pe=ge.n(Le),Ue=ge("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ge=ge.n(Ue);function Ze(it){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ze=function(St){return typeof St}:Ze=function(St){return St&&typeof Symbol=="function"&&St.constructor===Symbol&&St!==Symbol.prototype?"symbol":typeof St},Ze(it)}var tt=function(ot){var St=Ze(ot);return St==="undefined"?"undefined":St==="string"||ot instanceof String?"string":St==="number"||ot instanceof Number?"number":St==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":St==="object"?"object":"unknown"},Te=function(ot,St){var lt=document.createElement(ot);if(St.className&&(lt.className=St.className),St.innerHTML){lt.innerHTML=St.innerHTML;for(var vt=lt.getElementsByTagName("script"),ut=vt.length;ut-- >0;null)vt[ut].parentNode.removeChild(vt[ut])}for(var at in St.style)lt.style[at]=St.style[at];return lt},pt=function it(ot,St){for(var lt=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),vt=ot.firstChild;vt;vt=vt.nextSibling)(St===!0||vt.nodeType!==1||vt.nodeName!=="SCRIPT")&<.appendChild(it(vt,St));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(lt.width=ot.width,lt.height=ot.height,lt.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(lt.value=ot.value),lt.addEventListener("load",function(){lt.scrollTop=ot.scrollTop,lt.scrollLeft=ot.scrollLeft},!0)),lt},Qe=function(ot,St){if(tt(ot)==="number")return ot*72/96/St;var lt={};for(var vt in ot)lt[vt]=ot[vt]*72/96/St;return lt},Lt=function(ot,St){return Math.floor(ot*St/72*96)}},"./src/worker.js":function(we,Ne,ge){"use strict";ge.r(Ne);var De=ge("./node_modules/core-js/modules/es.object.assign.js"),xe=ge.n(De),Ee=ge("./node_modules/core-js/modules/es.array.map.js"),ie=ge.n(Ee),y=ge("./node_modules/core-js/modules/es.object.keys.js"),a=ge.n(y),ee=ge("./node_modules/core-js/modules/es.array.concat.js"),E=ge.n(ee),te=ge("./node_modules/core-js/modules/es.object.to-string.js"),ne=ge.n(te),ae=ge("./node_modules/core-js/modules/es.regexp.to-string.js"),de=ge.n(ae),Le=ge("./node_modules/core-js/modules/es.function.name.js"),Pe=ge.n(Le),Ue=ge("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ge=ge.n(Ue),Ze=ge("jspdf"),tt=ge.n(Ze),Te=ge("html2canvas"),pt=ge.n(Te),Qe=ge("./src/utils.js"),Lt=ge("./node_modules/es6-promise/dist/es6-promise.js"),it=ge.n(Lt),ot=it().Promise,St=function lt(vt){var ut=Object.assign(lt.convert(ot.resolve()),JSON.parse(JSON.stringify(lt.template))),at=lt.convert(ot.resolve(),ut);return at=at.setProgress(1,lt,1,[lt]),at=at.set(vt),at};St.prototype=Object.create(ot.prototype),St.prototype.constructor=St,St.convert=function(vt,ut){return vt.__proto__=ut||St.prototype,vt},St.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:{}}},St.prototype.from=function(vt,ut){function at(Kt){switch((0,Qe.objType)(Kt)){case"string":return"string";case"element":return Kt.nodeName.toLowerCase&&Kt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ut=ut||at(vt),ut){case"string":return this.set({src:(0,Qe.createElement)("div",{innerHTML:vt})});case"element":return this.set({src:vt});case"canvas":return this.set({canvas:vt});case"img":return this.set({img:vt});default:return this.error("Unknown source type.")}})},St.prototype.to=function(vt){switch(vt){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.")}},St.prototype.toContainer=function(){var vt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(vt).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)"},Kt={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 Vt=(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:Kt}),this.prop.container.appendChild(Vt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},St.prototype.toCanvas=function(){var vt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(vt).then(function(){var at=Object.assign({},this.opt.html2canvas);return delete at.onrendered,Te(this.prop.container,at)}).then(function(at){var Kt=this.opt.html2canvas.onrendered||function(){};Kt(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},St.prototype.toImg=function(){var vt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(vt).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})},St.prototype.toPdf=function(){var vt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(vt).then(function(){var at=this.prop.canvas,Kt=this.opt,Vt=at.height,mt=Math.floor(at.width*this.prop.pageSize.inner.ratio),Tt=Math.ceil(Vt/mt),wn=this.prop.pageSize.inner.height,Qn=document.createElement("canvas"),ln=Qn.getContext("2d");Qn.width=at.width,Qn.height=mt,this.prop.pdf=this.prop.pdf||new Ze.jsPDF(Kt.jsPDF);for(var Tn=0;Tn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-indexed-object.js"),xe=ge("./node_modules/core-js/internals/to-length.js"),Ee=ge("./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),de;if(y&&ee!=ee){for(;ne>ae;)if(de=te[ae++],de!=de)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,ge){var De=ge("./node_modules/core-js/internals/function-bind-context.js"),xe=ge("./node_modules/core-js/internals/indexed-object.js"),Ee=ge("./node_modules/core-js/internals/to-object.js"),ie=ge("./node_modules/core-js/internals/to-length.js"),y=ge("./node_modules/core-js/internals/array-species-create.js"),a=[].push,ee=function(E){var te=E==1,ne=E==2,ae=E==3,de=E==4,Le=E==6,Pe=E==7,Ue=E==5||Le;return function(Ge,Ze,tt,Te){for(var pt=Ee(Ge),Qe=xe(pt),Lt=De(Ze,tt,3),it=ie(Qe.length),ot=0,St=Te||y,lt=te?St(Ge,it):ne||Pe?St(Ge,0):void 0,vt,ut;it>ot;ot++)if((Ue||ot in Qe)&&(vt=Qe[ot],ut=Lt(vt,ot,pt),E))if(te)lt[ot]=ut;else if(ut)switch(E){case 3:return!0;case 5:return vt;case 6:return ot;case 2:a.call(lt,vt)}else switch(E){case 4:return!1;case 7:a.call(lt,vt)}return Le?-1:ae||de?de:lt}};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,ge){var De=ge("./node_modules/core-js/internals/fails.js"),xe=ge("./node_modules/core-js/internals/well-known-symbol.js"),Ee=ge("./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,ge){"use strict";var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/is-object.js"),xe=ge("./node_modules/core-js/internals/is-array.js"),Ee=ge("./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,ge){var De=ge("./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(ge){return Ne.call(ge).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-string-tag-support.js"),xe=ge("./node_modules/core-js/internals/classof-raw.js"),Ee=ge("./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,ge){var De=ge("./node_modules/core-js/internals/has.js"),xe=ge("./node_modules/core-js/internals/own-keys.js"),Ee=ge("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,xe=ge("./node_modules/core-js/internals/object-create.js"),Ee=ge("./node_modules/core-js/internals/create-property-descriptor.js"),ie=ge("./node_modules/core-js/internals/set-to-string-tag.js"),y=ge("./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,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/object-define-property.js"),Ee=ge("./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,ge){return{enumerable:!(Ne&1),configurable:!(Ne&2),writable:!(Ne&4),value:ge}}},"./node_modules/core-js/internals/create-property.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/to-property-key.js"),xe=ge("./node_modules/core-js/internals/object-define-property.js"),Ee=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/create-iterator-constructor.js"),Ee=ge("./node_modules/core-js/internals/object-get-prototype-of.js"),ie=ge("./node_modules/core-js/internals/object-set-prototype-of.js"),y=ge("./node_modules/core-js/internals/set-to-string-tag.js"),a=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),ee=ge("./node_modules/core-js/internals/redefine.js"),E=ge("./node_modules/core-js/internals/well-known-symbol.js"),te=ge("./node_modules/core-js/internals/is-pure.js"),ne=ge("./node_modules/core-js/internals/iterators.js"),ae=ge("./node_modules/core-js/internals/iterators-core.js"),de=ae.IteratorPrototype,Le=ae.BUGGY_SAFARI_ITERATORS,Pe=E("iterator"),Ue="keys",Ge="values",Ze="entries",tt=function(){return this};we.exports=function(Te,pt,Qe,Lt,it,ot,St){xe(Qe,pt,Lt);var lt=function(ln){if(ln===it&&Vt)return Vt;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 Ze:return function(){return new Qe(this,ln)}}return function(){return new Qe(this)}},vt=pt+" Iterator",ut=!1,at=Te.prototype,Kt=at[Pe]||at["@@iterator"]||it&&at[it],Vt=!Le&&Kt||lt(it),mt=pt=="Array"&&at.entries||Kt,Tt,wn,Qn;if(mt&&(Tt=Ee(mt.call(new Te)),de!==Object.prototype&&Tt.next&&(!te&&Ee(Tt)!==de&&(ie?ie(Tt,de):typeof Tt[Pe]!="function"&&a(Tt,Pe,tt)),y(Tt,vt,!0,!0),te&&(ne[vt]=tt))),it==Ge&&Kt&&Kt.name!==Ge&&(ut=!0,Vt=function(){return Kt.call(this)}),(!te||St)&&at[Pe]!==Vt&&a(at,Pe,Vt),ne[pt]=Vt,it)if(wn={values:lt(Ge),keys:ot?Vt:lt(Ue),entries:lt(Ze)},St)for(Qn in wn)(Le||ut||!(Qn in at))&&ee(at,Qn,wn[Qn]);else De({target:pt,proto:!0,forced:Le||ut},wn);return wn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/path.js"),xe=ge("./node_modules/core-js/internals/has.js"),Ee=ge("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ee=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=ge("./node_modules/core-js/internals/redefine.js"),y=ge("./node_modules/core-js/internals/set-global.js"),a=ge("./node_modules/core-js/internals/copy-constructor-properties.js"),ee=ge("./node_modules/core-js/internals/is-forced.js");we.exports=function(E,te){var ne=E.target,ae=E.global,de=E.stat,Le,Pe,Ue,Ge,Ze,tt;if(ae?Pe=De:de?Pe=De[ne]||y(ne,{}):Pe=(De[ne]||{}).prototype,Pe)for(Ue in te){if(Ze=te[Ue],E.noTargetGet?(tt=xe(Pe,Ue),Ge=tt&&tt.value):Ge=Pe[Ue],Le=ee(ae?Ue:ne+(de?".":"#")+Ue,E.forced),!Le&&Ge!==void 0){if(typeof Ze==typeof Ge)continue;a(Ze,Ge)}(E.sham||Ge&&Ge.sham)&&Ee(Ze,"sham",!0),ie(Pe,Ue,Ze,E)}}},"./node_modules/core-js/internals/fails.js":function(we){we.exports=function(Ne){try{return!!Ne()}catch(ge){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(we,Ne,ge){var De=ge("./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,ge){var De=ge("./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(ge){return ge&&ge.Math==Math&&ge};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,ge){var De=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/fails.js"),Ee=ge("./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,ge){var De=ge("./node_modules/core-js/internals/fails.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/is-object.js"),xe=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/native-weak-map.js"),xe=ge("./node_modules/core-js/internals/global.js"),Ee=ge("./node_modules/core-js/internals/is-object.js"),ie=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ge("./node_modules/core-js/internals/has.js"),a=ge("./node_modules/core-js/internals/shared-store.js"),ee=ge("./node_modules/core-js/internals/shared-key.js"),E=ge("./node_modules/core-js/internals/hidden-keys.js"),te="Object already initialized",ne=xe.WeakMap,ae,de,Le,Pe=function(Qe){return Le(Qe)?de(Qe):ae(Qe,{})},Ue=function(Qe){return function(Lt){var it;if(!Ee(Lt)||(it=de(Lt)).type!==Qe)throw TypeError("Incompatible receiver, "+Qe+" required");return it}};if(De||a.state){var Ge=a.state||(a.state=new ne),Ze=Ge.get,tt=Ge.has,Te=Ge.set;ae=function(Qe,Lt){if(tt.call(Ge,Qe))throw new TypeError(te);return Lt.facade=Qe,Te.call(Ge,Qe,Lt),Lt},de=function(Qe){return Ze.call(Ge,Qe)||{}},Le=function(Qe){return tt.call(Ge,Qe)}}else{var pt=ee("state");E[pt]=!0,ae=function(Qe,Lt){if(y(Qe,pt))throw new TypeError(te);return Lt.facade=Qe,ie(Qe,pt,Lt),Lt},de=function(Qe){return y(Qe,pt)?Qe[pt]:{}},Le=function(Qe){return y(Qe,pt)}}we.exports={set:ae,get:de,has:Le,enforce:Pe,getterFor:Ue}},"./node_modules/core-js/internals/is-array.js":function(we,Ne,ge){var De=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/get-built-in.js"),xe=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/fails.js"),xe=ge("./node_modules/core-js/internals/object-get-prototype-of.js"),Ee=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=ge("./node_modules/core-js/internals/has.js"),y=ge("./node_modules/core-js/internals/well-known-symbol.js"),a=ge("./node_modules/core-js/internals/is-pure.js"),ee=y("iterator"),E=!1,te=function(){return this},ne,ae,de;[].keys&&(de=[].keys(),"next"in de?(ae=xe(xe(de)),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,ge){var De=ge("./node_modules/core-js/internals/engine-v8-version.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/fails.js"),Ee=ge("./node_modules/core-js/internals/object-keys.js"),ie=ge("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=ge("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=ge("./node_modules/core-js/internals/to-object.js"),ee=ge("./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={},de=Symbol(),Le="abcdefghijklmnopqrst";return ne[de]=7,Le.split("").forEach(function(Pe){ae[Pe]=Pe}),E({},ne)[de]!=7||Ee(E({},ae)).join("")!=Le})?function(ae,de){for(var Le=a(ae),Pe=arguments.length,Ue=1,Ge=ie.f,Ze=y.f;Pe>Ue;)for(var tt=ee(arguments[Ue++]),Te=Ge?Ee(tt).concat(Ge(tt)):Ee(tt),pt=Te.length,Qe=0,Lt;pt>Qe;)Lt=Te[Qe++],(!De||Ze.call(tt,Lt))&&(Le[Lt]=tt[Lt]);return Le}:E},"./node_modules/core-js/internals/object-create.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/an-object.js"),xe=ge("./node_modules/core-js/internals/object-define-properties.js"),Ee=ge("./node_modules/core-js/internals/enum-bug-keys.js"),ie=ge("./node_modules/core-js/internals/hidden-keys.js"),y=ge("./node_modules/core-js/internals/html.js"),a=ge("./node_modules/core-js/internals/document-create-element.js"),ee=ge("./node_modules/core-js/internals/shared-key.js"),E=">",te="<",ne="prototype",ae="script",de=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 pt=Te.parentWindow.Object;return Te=null,pt},Ge=function(){var Te=a("iframe"),pt="java"+ae+":",Qe;if(Te.style)return Te.style.display="none",y.appendChild(Te),Te.src=String(pt),Qe=Te.contentWindow.document,Qe.open(),Qe.write(Pe("document.F=Object")),Qe.close(),Qe.F},Ze,tt=function(){try{Ze=new ActiveXObject("htmlfile")}catch(pt){}tt=document.domain&&Ze?Ue(Ze):Ge()||Ue(Ze);for(var Te=Ee.length;Te--;)delete tt[ne][Ee[Te]];return tt()};ie[de]=!0,we.exports=Object.create||function(pt,Qe){var Lt;return pt!==null?(Le[ne]=De(pt),Lt=new Le,Le[ne]=null,Lt[de]=pt):Lt=tt(),Qe===void 0?Lt:xe(Lt,Qe)}},"./node_modules/core-js/internals/object-define-properties.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/object-define-property.js"),Ee=ge("./node_modules/core-js/internals/an-object.js"),ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=ge("./node_modules/core-js/internals/an-object.js"),ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ee=ge("./node_modules/core-js/internals/create-property-descriptor.js"),ie=ge("./node_modules/core-js/internals/to-indexed-object.js"),y=ge("./node_modules/core-js/internals/to-property-key.js"),a=ge("./node_modules/core-js/internals/has.js"),ee=ge("./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(de){}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,ge){var De=ge("./node_modules/core-js/internals/to-indexed-object.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/object-keys-internal.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/has.js"),xe=ge("./node_modules/core-js/internals/to-object.js"),Ee=ge("./node_modules/core-js/internals/shared-key.js"),ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/has.js"),xe=ge("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ge("./node_modules/core-js/internals/array-includes.js").indexOf,ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/object-keys-internal.js"),xe=ge("./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 ge={}.propertyIsEnumerable,De=Object.getOwnPropertyDescriptor,xe=De&&!ge.call({1:2},1);Ne.f=xe?function(ie){var y=De(this,ie);return!!y&&y.enumerable}:ge},"./node_modules/core-js/internals/object-set-prototype-of.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/an-object.js"),xe=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/to-string-tag-support.js"),xe=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/get-built-in.js"),xe=ge("./node_modules/core-js/internals/object-get-own-property-names.js"),Ee=ge("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/global.js");we.exports=De},"./node_modules/core-js/internals/redefine.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ee=ge("./node_modules/core-js/internals/has.js"),ie=ge("./node_modules/core-js/internals/set-global.js"),y=ge("./node_modules/core-js/internals/inspect-source.js"),a=ge("./node_modules/core-js/internals/internal-state.js"),ee=a.get,E=a.enforce,te=String(String).split("String");(we.exports=function(ne,ae,de,Le){var Pe=Le?!!Le.unsafe:!1,Ue=Le?!!Le.enumerable:!1,Ge=Le?!!Le.noTargetGet:!1,Ze;if(typeof de=="function"&&(typeof ae=="string"&&!Ee(de,"name")&&xe(de,"name",ae),Ze=E(de),Ze.source||(Ze.source=te.join(typeof ae=="string"?ae:""))),ne===De){Ue?ne[ae]=de:ie(ae,de);return}else Pe?!Ge&&ne[ae]&&(Ue=!0):delete ne[ae];Ue?ne[ae]=de:xe(ne,ae,de)})(Function.prototype,"toString",function(){return typeof this=="function"&&ee(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(we,Ne,ge){"use strict";var De=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/object-define-property.js").f,xe=ge("./node_modules/core-js/internals/has.js"),Ee=ge("./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,ge){var De=ge("./node_modules/core-js/internals/shared.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/is-pure.js"),xe=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/to-integer.js"),xe=ge("./node_modules/core-js/internals/to-string.js"),Ee=ge("./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,de;return te<0||te>=ne?y?"":void 0:(ae=E.charCodeAt(te),ae<55296||ae>56319||te+1===ne||(de=E.charCodeAt(te+1))<56320||de>57343?y?E.charAt(te):ae:y?E.slice(te,te+2):(ae-55296<<10)+(de-56320)+65536)}};we.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/require-object-coercible.js"),xe=ge("./node_modules/core-js/internals/to-string.js"),Ee=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/indexed-object.js"),xe=ge("./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,ge=Math.floor;we.exports=function(De){return isNaN(De=+De)?0:(De>0?ge:Ne)(De)}},"./node_modules/core-js/internals/to-length.js":function(we,Ne,ge){var De=ge("./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,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/is-object.js"),xe=ge("./node_modules/core-js/internals/is-symbol.js"),Ee=ge("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/to-primitive.js"),xe=ge("./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,ge){var De=ge("./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,ge){var De=ge("./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,ge=Math.random();we.exports=function(De){return"Symbol("+String(De===void 0?"":De)+")_"+(++Ne+ge).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(we,Ne,ge){var De=ge("./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,ge){var De=ge("./node_modules/core-js/internals/well-known-symbol.js");Ne.f=De},"./node_modules/core-js/internals/well-known-symbol.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/shared.js"),Ee=ge("./node_modules/core-js/internals/has.js"),ie=ge("./node_modules/core-js/internals/uid.js"),y=ge("./node_modules/core-js/internals/native-symbol.js"),a=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/fails.js"),Ee=ge("./node_modules/core-js/internals/is-array.js"),ie=ge("./node_modules/core-js/internals/is-object.js"),y=ge("./node_modules/core-js/internals/to-object.js"),a=ge("./node_modules/core-js/internals/to-length.js"),ee=ge("./node_modules/core-js/internals/create-property.js"),E=ge("./node_modules/core-js/internals/array-species-create.js"),te=ge("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=ge("./node_modules/core-js/internals/well-known-symbol.js"),ae=ge("./node_modules/core-js/internals/engine-v8-version.js"),de=ne("isConcatSpreadable"),Le=9007199254740991,Pe="Maximum allowed index exceeded",Ue=ae>=51||!xe(function(){var Te=[];return Te[de]=!1,Te.concat()[0]!==Te}),Ge=te("concat"),Ze=function(Te){if(!ie(Te))return!1;var pt=Te[de];return pt!==void 0?!!pt:Ee(Te)},tt=!Ue||!Ge;De({target:"Array",proto:!0,forced:tt},{concat:function(pt){var Qe=y(this),Lt=E(Qe,0),it=0,ot,St,lt,vt,ut;for(ot=-1,lt=arguments.length;otLe)throw TypeError(Pe);for(St=0;St=Le)throw TypeError(Pe);ee(Lt,it++,ut)}return Lt.length=it,Lt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/to-indexed-object.js"),xe=ge("./node_modules/core-js/internals/add-to-unscopables.js"),Ee=ge("./node_modules/core-js/internals/iterators.js"),ie=ge("./node_modules/core-js/internals/internal-state.js"),y=ge("./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,de=te.index++;return!ne||de>=ne.length?(te.target=void 0,{value:void 0,done:!0}):ae=="keys"?{value:de,done:!1}:ae=="values"?{value:ne[de],done:!1}:{value:[de,ne[de]],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,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/indexed-object.js"),Ee=ge("./node_modules/core-js/internals/to-indexed-object.js"),ie=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/array-iteration.js").map,Ee=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/is-object.js"),Ee=ge("./node_modules/core-js/internals/is-array.js"),ie=ge("./node_modules/core-js/internals/to-absolute-index.js"),y=ge("./node_modules/core-js/internals/to-length.js"),a=ge("./node_modules/core-js/internals/to-indexed-object.js"),ee=ge("./node_modules/core-js/internals/create-property.js"),E=ge("./node_modules/core-js/internals/well-known-symbol.js"),te=ge("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=te("slice"),ae=E("species"),de=[].slice,Le=Math.max;De({target:"Array",proto:!0,forced:!ne},{slice:function(Ue,Ge){var Ze=a(this),tt=y(Ze.length),Te=ie(Ue,tt),pt=ie(Ge===void 0?tt:Ge,tt),Qe,Lt,it;if(Ee(Ze)&&(Qe=Ze.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 de.call(Ze,Te,pt);for(Lt=new(Qe===void 0?Array:Qe)(Le(pt-Te,0)),it=0;Te2){if(lt=Ue(lt),vt=lt.charCodeAt(0),vt===43||vt===45){if(ut=lt.charCodeAt(2),ut===88||ut===120)return NaN}else if(vt===48){switch(lt.charCodeAt(1)){case 66:case 98:at=2,Kt=49;break;case 79:case 111:at=8,Kt=55;break;default:return+lt}for(Vt=lt.slice(2),mt=Vt.length,Tt=0;TtKt)return NaN;return parseInt(Vt,at)}}return+lt};if(Ee(Ge,!Ze(" 0o1")||!Ze("0b1")||Ze("+0x1"))){for(var Qe=function(lt){var vt=arguments.length<1?0:lt,ut=this;return ut instanceof Qe&&(Te?ne(function(){tt.valueOf.call(ut)}):a(ut)!=Ge)?ee(new Ze(pt(vt)),ut,Qe):pt(vt)},Lt=De?de(Ze):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),it=0,ot;Lt.length>it;it++)y(Ze,ot=Lt[it])&&!y(Qe,ot)&&Pe(Qe,ot,Le(Ze,ot));Qe.prototype=tt,tt.constructor=Qe,ie(xe,Ge,Qe)}},"./node_modules/core-js/modules/es.object.assign.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./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,ge){var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/to-object.js"),Ee=ge("./node_modules/core-js/internals/object-keys.js"),ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/to-string-tag-support.js"),xe=ge("./node_modules/core-js/internals/redefine.js"),Ee=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/redefine.js"),xe=ge("./node_modules/core-js/internals/an-object.js"),Ee=ge("./node_modules/core-js/internals/to-string.js"),ie=ge("./node_modules/core-js/internals/fails.js"),y=ge("./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 de=xe(this),Le=Ee(de.source),Pe=de.flags,Ue=Ee(Pe===void 0&&de instanceof RegExp&&!("flags"in ee)?y.call(de):Pe);return"/"+Le+"/"+Ue},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/string-multibyte.js").charAt,xe=ge("./node_modules/core-js/internals/to-string.js"),Ee=ge("./node_modules/core-js/internals/internal-state.js"),ie=ge("./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,de;return ae>=ne.length?{value:void 0,done:!0}:(de=De(ne,ae),te.index+=de.length,{value:de,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/create-html.js"),Ee=ge("./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,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/descriptors.js"),Ee=ge("./node_modules/core-js/internals/global.js"),ie=ge("./node_modules/core-js/internals/has.js"),y=ge("./node_modules/core-js/internals/is-object.js"),a=ge("./node_modules/core-js/internals/object-define-property.js").f,ee=ge("./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]),Ze=this instanceof ne?new E(Ge):Ge===void 0?E():E(Ge);return Ge===""&&(te[Ze]=!0),Ze};ee(ne,E);var ae=ne.prototype=E.prototype;ae.constructor=ne;var de=ae.toString,Le=String(E("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(ae,"description",{configurable:!0,get:function(){var Ge=y(this)?this.valueOf():this,Ze=de.call(Ge);if(ie(te,Ge))return"";var tt=Le?Ze.slice(7,-1):Ze.replace(Pe,"$1");return tt===""?void 0:tt}}),De({global:!0,forced:!0},{Symbol:ne})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/define-well-known-symbol.js");De("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/global.js"),Ee=ge("./node_modules/core-js/internals/get-built-in.js"),ie=ge("./node_modules/core-js/internals/is-pure.js"),y=ge("./node_modules/core-js/internals/descriptors.js"),a=ge("./node_modules/core-js/internals/native-symbol.js"),ee=ge("./node_modules/core-js/internals/fails.js"),E=ge("./node_modules/core-js/internals/has.js"),te=ge("./node_modules/core-js/internals/is-array.js"),ne=ge("./node_modules/core-js/internals/is-object.js"),ae=ge("./node_modules/core-js/internals/is-symbol.js"),de=ge("./node_modules/core-js/internals/an-object.js"),Le=ge("./node_modules/core-js/internals/to-object.js"),Pe=ge("./node_modules/core-js/internals/to-indexed-object.js"),Ue=ge("./node_modules/core-js/internals/to-property-key.js"),Ge=ge("./node_modules/core-js/internals/to-string.js"),Ze=ge("./node_modules/core-js/internals/create-property-descriptor.js"),tt=ge("./node_modules/core-js/internals/object-create.js"),Te=ge("./node_modules/core-js/internals/object-keys.js"),pt=ge("./node_modules/core-js/internals/object-get-own-property-names.js"),Qe=ge("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Lt=ge("./node_modules/core-js/internals/object-get-own-property-symbols.js"),it=ge("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=ge("./node_modules/core-js/internals/object-define-property.js"),St=ge("./node_modules/core-js/internals/object-property-is-enumerable.js"),lt=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),vt=ge("./node_modules/core-js/internals/redefine.js"),ut=ge("./node_modules/core-js/internals/shared.js"),at=ge("./node_modules/core-js/internals/shared-key.js"),Kt=ge("./node_modules/core-js/internals/hidden-keys.js"),Vt=ge("./node_modules/core-js/internals/uid.js"),mt=ge("./node_modules/core-js/internals/well-known-symbol.js"),Tt=ge("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),wn=ge("./node_modules/core-js/internals/define-well-known-symbol.js"),Qn=ge("./node_modules/core-js/internals/set-to-string-tag.js"),ln=ge("./node_modules/core-js/internals/internal-state.js"),Tn=ge("./node_modules/core-js/internals/array-iteration.js").forEach,Bt=at("hidden"),Rn="Symbol",qn="prototype",Xe=mt("toPrimitive"),fn=ln.set,Fe=ln.getterFor(Rn),fe=Object[qn],ce=xe.Symbol,Se=Ee("JSON","stringify"),qe=it.f,dt=ot.f,He=Qe.f,Ye=St.f,Pt=ut("symbols"),gt=ut("op-symbols"),st=ut("string-to-symbol-registry"),Rt=ut("symbol-to-string-registry"),hn=ut("wks"),It=xe.QObject,on=!It||!It[qn]||!It[qn].findChild,Ft=y&&ee(function(){return tt(dt({},"a",{get:function(){return dt(this,"a",{value:7}).a}})).a!=7})?function(ur,ar,Ar){var Er=qe(fe,ar);Er&&delete fe[ar],dt(ur,ar,Ar),Er&&ur!==fe&&dt(fe,ar,Er)}:dt,yn=function(ur,ar){var Ar=Pt[ur]=tt(ce[qn]);return fn(Ar,{type:Rn,tag:ur,description:ar}),y||(Ar.description=ar),Ar},At=function(ar,Ar,Er){ar===fe&&At(gt,Ar,Er),de(ar);var ea=Ue(Ar);return de(Er),E(Pt,ea)?(Er.enumerable?(E(ar,Bt)&&ar[Bt][ea]&&(ar[Bt][ea]=!1),Er=tt(Er,{enumerable:Ze(0,!1)})):(E(ar,Bt)||dt(ar,Bt,Ze(1,{})),ar[Bt][ea]=!0),Ft(ar,ea,Er)):dt(ar,ea,Er)},Jt=function(ar,Ar){de(ar);var Er=Pe(Ar),ea=Te(Er).concat(yr(Er));return Tn(ea,function(ya){(!y||pn.call(Er,ya))&&At(ar,ya,Er[ya])}),ar},gn=function(ar,Ar){return Ar===void 0?tt(ar):Jt(tt(ar),Ar)},pn=function(ar){var Ar=Ue(ar),Er=Ye.call(this,Ar);return this===fe&&E(Pt,Ar)&&!E(gt,Ar)?!1:Er||!E(this,Ar)||!E(Pt,Ar)||E(this,Bt)&&this[Bt][Ar]?Er:!0},Yn=function(ar,Ar){var Er=Pe(ar),ea=Ue(Ar);if(!(Er===fe&&E(Pt,ea)&&!E(gt,ea))){var ya=qe(Er,ea);return ya&&E(Pt,ea)&&!(E(Er,Bt)&&Er[Bt][ea])&&(ya.enumerable=!0),ya}},ir=function(ar){var Ar=He(Pe(ar)),Er=[];return Tn(Ar,function(ea){!E(Pt,ea)&&!E(Kt,ea)&&Er.push(ea)}),Er},yr=function(ar){var Ar=ar===fe,Er=He(Ar?gt:Pe(ar)),ea=[];return Tn(Er,function(ya){E(Pt,ya)&&(!Ar||E(fe,ya))&&ea.push(Pt[ya])}),ea};if(a||(ce=function(){if(this instanceof ce)throw TypeError("Symbol is not a constructor");var ar=!arguments.length||arguments[0]===void 0?void 0:Ge(arguments[0]),Ar=Vt(ar),Er=function(ea){this===fe&&Er.call(gt,ea),E(this,Bt)&&E(this[Bt],Ar)&&(this[Bt][Ar]=!1),Ft(this,Ar,Ze(1,ea))};return y&&on&&Ft(fe,Ar,{configurable:!0,set:Er}),yn(Ar,ar)},vt(ce[qn],"toString",function(){return Fe(this).tag}),vt(ce,"withoutSetter",function(ur){return yn(Vt(ur),ur)}),St.f=pn,ot.f=At,it.f=Yn,pt.f=Qe.f=ir,Lt.f=yr,Tt.f=function(ur){return yn(mt(ur),ur)},y&&(dt(ce[qn],"description",{configurable:!0,get:function(){return Fe(this).description}}),ie||vt(fe,"propertyIsEnumerable",pn,{unsafe:!0}))),De({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:ce}),Tn(Te(hn),function(ur){wn(ur)}),De({target:Rn,stat:!0,forced:!a},{for:function(ur){var ar=Ge(ur);if(E(st,ar))return st[ar];var Ar=ce(ar);return st[ar]=Ar,Rt[Ar]=ar,Ar},keyFor:function(ar){if(!ae(ar))throw TypeError(ar+" is not a symbol");if(E(Rt,ar))return Rt[ar]},useSetter:function(){on=!0},useSimple:function(){on=!1}}),De({target:"Object",stat:!0,forced:!a,sham:!y},{create:gn,defineProperty:At,defineProperties:Jt,getOwnPropertyDescriptor:Yn}),De({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:ir,getOwnPropertySymbols:yr}),De({target:"Object",stat:!0,forced:ee(function(){Lt.f(1)})},{getOwnPropertySymbols:function(ar){return Lt.f(Le(ar))}}),Se){var Cr=!a||ee(function(){var ur=ce();return Se([ur])!="[null]"||Se({a:ur})!="{}"||Se(Object(ur))!="{}"});De({target:"JSON",stat:!0,forced:Cr},{stringify:function(ar,Ar,Er){for(var ea=[ar],ya=1,Tr;arguments.length>ya;)ea.push(arguments[ya++]);if(Tr=Ar,!(!ne(Ar)&&ar===void 0||ae(ar)))return te(Ar)||(Ar=function(qa,Za){if(typeof Tr=="function"&&(Za=Tr.call(this,qa,Za)),!ae(Za))return Za}),ea[1]=Ar,Se.apply(null,ea)}})}ce[qn][Xe]||lt(ce[qn],Xe,ce[qn].valueOf),Qn(ce,Rn),Kt[Bt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/dom-iterables.js"),Ee=ge("./node_modules/core-js/internals/array-for-each.js"),ie=ge("./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,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/dom-iterables.js"),Ee=ge("./node_modules/core-js/modules/es.array.iterator.js"),ie=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ge("./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 de in Ee)if(ae[de]!==Ee[de])try{ie(ae,de,Ee[de])}catch(Le){ae[de]=Ee[de]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(we){(function(Ne,ge){we.exports=ge()})(this,function(){"use strict";function Ne(It){var on=typeof It;return It!==null&&(on==="object"||on==="function")}function ge(It){return typeof It=="function"}var De=void 0;Array.isArray?De=Array.isArray:De=function(It){return Object.prototype.toString.call(It)==="[object Array]"};var xe=De,Ee=0,ie=void 0,y=void 0,a=function(on,Ft){Te[Ee]=on,Te[Ee+1]=Ft,Ee+=2,Ee===2&&(y?y(pt):Lt())};function ee(It){y=It}function E(It){a=It}var te=typeof window!="undefined"?window:void 0,ne=te||{},ae=ne.MutationObserver||ne.WebKitMutationObserver,de=typeof self=="undefined"&&typeof me!="undefined"&&{}.toString.call(me)==="[object process]",Le=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return me.nextTick(pt)}}function Ue(){return typeof ie!="undefined"?function(){ie(pt)}:tt()}function Ge(){var It=0,on=new ae(pt),Ft=document.createTextNode("");return on.observe(Ft,{characterData:!0}),function(){Ft.data=It=++It%2}}function Ze(){var It=new MessageChannel;return It.port1.onmessage=pt,function(){return It.port2.postMessage(0)}}function tt(){var It=setTimeout;return function(){return It(pt,1)}}var Te=new Array(1e3);function pt(){for(var It=0;It>1,ge=-7,De=Ce?nt-1:0,xe=Ce?-1:1,Ee=Be[me+De];for(De+=xe,ze=Ee&(1<<-ge)-1,Ee>>=-ge,ge+=ve;ge>0;ze=ze*256+Be[me+De],De+=xe,ge-=8);for(je=ze&(1<<-ge)-1,ze>>=-ge,ge+=Me;ge>0;je=je*256+Be[me+De],De+=xe,ge-=8);if(ze===0)ze=1-Ne;else{if(ze===we)return je?NaN:(Ee?-1:1)*(1/0);je=je+Math.pow(2,Me),ze=ze-Ne}return(Ee?-1:1)*je*Math.pow(2,ze-Me)},Dt.write=function(Be,me,Ce,Me,nt,ze){var je,ve,we,Ne=ze*8-nt-1,ge=(1<>1,xe=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ee=Me?0:ze-1,ie=Me?1:-1,y=me<0||me===0&&1/me<0?1:0;for(me=Math.abs(me),isNaN(me)||me===1/0?(ve=isNaN(me)?1:0,je=ge):(je=Math.floor(Math.log(me)/Math.LN2),me*(we=Math.pow(2,-je))<1&&(je--,we*=2),je+De>=1?me+=xe/we:me+=xe*Math.pow(2,1-De),me*we>=2&&(je++,we/=2),je+De>=ge?(ve=0,je=ge):je+De>=1?(ve=(me*we-1)*Math.pow(2,nt),je=je+De):(ve=me*Math.pow(2,De-1)*Math.pow(2,nt),je=0));nt>=8;Be[Ce+Ee]=ve&255,Ee+=ie,ve/=256,nt-=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 Cu},AcroFormAppearance:function(){return fa},AcroFormButton:function(){return Ro},AcroFormCheckBox:function(){return _i},AcroFormChoiceField:function(){return pa},AcroFormComboBox:function(){return Xa},AcroFormEditBox:function(){return Wa},AcroFormListBox:function(){return Xo},AcroFormPasswordField:function(){return jo},AcroFormPushButton:function(){return li},AcroFormRadioButton:function(){return No},AcroFormTextField:function(){return yi},GState:function(){return Vg},ShadingPattern:function(){return ed},TilingPattern:function(){return td},default:function(){return Ao},jsPDF:function(){return Ao}});var me=Be(76190),Ce={},Me=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},nt=Uint8Array,ze=Uint16Array,je=Int32Array,ve=new nt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),we=new nt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ne=new nt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ge=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 nt(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 de=new nt(32),E=0;E<32;++E)de[E]=5;var Le=ne(ae,9,0),Pe=null,Ue=ne(de,5,0),Ge=null,Ze=function(b){for(var z=b[0],x=1;xz&&(z=b[x]);return z},tt=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)},pt=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 nt(b.subarray(z,x))},Lt={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},it=["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||it[b]);if(re.code=b,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!x)throw re;return re},St=function(b,z,x,re){var oe=b.length,Ae=re?re.length:0;if(!oe||z.f&&!z.l)return x||new nt(0);var Ie=!x,be=Ie||z.i!=2,Oe=z.i;Ie&&(x=new nt(oe*3));var Re=function(ra){var xa=x.length;if(ra>xa){var Ua=new nt(Math.max(xa*2,ra));Ua.set(x),x=Ua}},Ve=z.f||0,ct=z.p||0,yt=z.b||0,We=z.l,Gt=z.d,Ht=z.m,Zt=z.n,Ut=oe*8;do{if(!We){Ve=tt(b,ct,1);var Fn=tt(b,ct+1,3);if(ct+=3,Fn)if(Fn==1)We=Pe,Gt=Ge,Ht=9,Zt=5;else if(Fn==2){var xr=tt(b,ct,31)+257,gr=tt(b,ct+10,15)+4,kn=xr+tt(b,ct+5,31)+1;ct+=14;for(var An=new nt(kn),Wn=new nt(19),Nt=0;Nt>4;if(mn<16)An[Nt++]=mn;else{var dr=0,pr=0;for(mn==16?(pr=3+tt(b,ct,3),ct+=2,dr=An[Nt-1]):mn==17?(pr=3+tt(b,ct,7),ct+=3):mn==18&&(pr=11+tt(b,ct,127),ct+=7);pr--;)An[Nt++]=dr}}var $n=An.subarray(0,xr),Br=An.subarray(xr);Ht=Ze($n),Zt=Ze(Br),We=ne($n,Ht,1),Gt=ne(Br,Zt,1)}else ot(1);else{var mn=pt(ct)+4,sn=b[mn-4]|b[mn-3]<<8,nr=mn+sn;if(nr>oe){Oe&&ot(0);break}be&&Re(yt+sn),x.set(b.subarray(mn,nr),yt),z.b=yt+=sn,z.p=ct=nr*8,z.f=Ve;continue}if(ct>Ut){Oe&&ot(0);break}}be&&Re(yt+131072);for(var da=(1<>4;if(ct+=dr&15,ct>Ut){Oe&&ot(0);break}if(dr||ot(2),an<256)x[yt++]=an;else if(an==256){xt=ct,We=null;break}else{var cn=an-254;if(an>264){var Nt=an-257,Dn=ve[Nt];cn=tt(b,ct,(1<>4;_n||ot(3),ct+=_n&15;var Br=y[er];if(er>3){var Dn=we[er];Br+=Te(b,ct)&(1<Ut){Oe&&ot(0);break}be&&Re(yt+131072);var mr=yt+cn;if(yt>8},vt=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},ut=function(b,z){for(var x=[],re=0;reyt&&(yt=Ae[re].s);var We=new ze(yt+1),Gt=at(x[Ve-1],We,0);if(Gt>z){var re=0,Ht=0,Zt=Gt-z,Ut=1<z)Ht+=Ut-(1<>=Zt;Ht>0;){var mn=Ae[re].s;We[mn]=0&&Ht;--re){var sn=Ae[re].s;We[sn]==z&&(--We[sn],++Ht)}Gt=z}return{t:new nt(We),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},Kt=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}},Vt=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&&!Wn[Ne[Xt-1]];--Xt);var Cn=Re+5<<3,Bn=Vt(oe,ae)+Vt(Ae,de)+Ie,or=Vt(oe,yt)+Vt(Ae,Ht)+Ie+14+3*Xt+Vt(gr,Wn)+2*gr[16]+3*gr[17]+7*gr[18];if(Oe>=0&&Cn<=Bn&&Cn<=or)return mt(z,Ve,b.subarray(Oe,Oe+Re));var dr,pr,$n,Br;if(lt(z,Ve,1+(or15&&(lt(z,Ve,an[kn]>>5&127),Ve+=an[kn]>>12)}}else dr=Le,pr=ae,$n=Ue,Br=de;for(var kn=0;kn255){var cn=Dn>>18&31;vt(z,Ve,dr[cn+257]),Ve+=pr[cn+257],cn>7&&(lt(z,Ve,Dn>>23&31),Ve+=ve[cn]);var _n=Dn&31;vt(z,Ve,$n[_n]),Ve+=Br[_n],_n>3&&(vt(z,Ve,Dn>>5&8191),Ve+=we[_n])}else vt(z,Ve,dr[Dn]),Ve+=pr[Dn]}return vt(z,Ve,dr[256]),Ve+pr[256]},wn=new je([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Qn=new nt(0),ln=function(b,z,x,re,oe,Ae){var Ie=Ae.z||b.length,be=new nt(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=wn[z-1],yt=ct>>13,We=ct&8191,Gt=(1<7e3||Wn>24576)&&(dr>423||!Re)){Ve=Tt(b,Oe,0,sn,nr,xr,kn,Wn,Xt,An-Xt,Ve),Wn=gr=kn=0,Xt=An;for(var pr=0;pr<286;++pr)nr[pr]=0;for(var pr=0;pr<30;++pr)xr[pr]=0}var $n=2,Br=0,da=We,zr=Bn-or&32767;if(dr>2&&Cn==mn(An-zr))for(var xt=Math.min(yt,dr)-1,an=Math.min(32767,An),cn=Math.min(258,dr);zr<=an&&--da&&Bn!=or;){if(b[An+$n]==b[An+$n-zr]){for(var Dn=0;Dn$n){if($n=Dn,Br=zr,Dn>xt)break;for(var _n=Math.min(zr,Dn-2),er=0,pr=0;pr<_n;++pr){var mr=An-zr+pr&32767,lr=Ht[mr],Qr=mr-lr&32767;Qr>er&&(er=Qr,or=mr)}}}Bn=or,or=Ht[Bn],zr+=Bn-or&32767}if(Br){sn[Wn++]=268435456|Ee[$n]<<18|a[Br];var ra=Ee[$n]&31,xa=a[Br]&31;kn+=ve[ra]+we[xa],++nr[257+ra],++xr[xa],Nt=An+$n,++gr}else sn[Wn++]=b[An],++nr[b[An]]}}for(An=Math.max(An,Nt);An=Ie&&(Oe[Ve/8|0]=Re,Ua=Ie),Ve=mt(Oe,Ve+1,b.subarray(An,Ua))}Ae.i=Ie}return Qe(be,0,re+pt(Ve)+oe)},Tn=null,Bt=function(){var b=-1;return{p:function(z){for(var x=b,re=0;re>>8;b=x},d:function(){return~b}}},Rn=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}}},qn=function(b,z,x,re,oe){if(!oe&&(oe={l:1},z.dictionary)){var Ae=z.dictionary.subarray(-32768),Ie=new nt(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},fn=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},yn=function(b,z){return Ft(b,z)+Ft(b,z+4)*4294967296},At=function(b,z,x){for(;x;++z)b[z]=x,x>>>=8},Jt=function(b,z){var x=z.filename;if(b[0]=31,b[1]=139,b[2]=8,b[8]=z.level<2?4:z.level==9?2:0,b[9]=3,z.mtime!=0&&At(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)}},gn=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)},pn=function(b){var z=b.length;return(b[z-4]|b[z-3]<<8|b[z-2]<<16|b[z-1]<<24)>>>0},Yn=function(b){return 10+(b.filename?b.filename.length+1:0)},ir=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=Rn();oe.p(z.dictionary),At(b,2,oe.d())}},yr=function(b,z){return((b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31)&&ot(6,"invalid zlib data"),(b[1]>>5&1)==+!z&&ot(6,"invalid zlib data: "+(b[1]&32?"need":"unexpected")+" dictionary"),(b[1]>>3&4)+2};function Cr(b,z){return typeof b=="function"&&(z=b,b={}),this.ondata=z,b}var ur=null,ar=null;function Ar(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[qe],function(re){return gt(Er(re.data[0],re.data[1]))},0,x)}function Er(b,z){return qn(b,z||{},0,0)}var ea=null,ya=null;function Tr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[Se],function(re){return gt(qa(re.data[0],st(re.data[1])))},1,x)}function qa(b,z){return St(b,{i:2},z&&z.out,z&&z.dictionary)}var Za=null,_r=null;function rn(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[qe,dt,function(){return[ei]}],function(re){return gt(ei(re.data[0],re.data[1]))},2,x)}function ei(b,z){z||(z={});var x=Bt(),re=b.length;x.p(b);var oe=qn(b,z,Yn(z),8),Ae=oe.length;return Jt(oe,z),At(oe,Ae-8,x.d()),At(oe,Ae-4,re),oe}var vo=null,ci=null;function zi(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[Se,He,function(){return[Fo]}],function(re){return gt(Fo(re.data[0],re.data[1]))},3,x)}function Fo(b,z){var x=gn(b);return x+8>b.length&&ot(6,"invalid gzip data"),St(b.subarray(x,-8),{i:2},z&&z.out||new nt(pn(b)),z&&z.dictionary)}var Ki=null,Gi=null;function ti(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[qe,Ye,function(){return[Pn]}],function(re){return gt(Pn(re.data[0],re.data[1]))},4,x)}function Pn(b,z){z||(z={});var x=Rn();x.p(b);var re=qn(b,z,z.dictionary?6:2,4);return ir(re,z),At(re,re.length-4,x.d()),re}var On=null,dn=null;function kr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[Se,Pt,function(){return[ua]}],function(re){return gt(ua(re.data[0],st(re.data[1])))},5,x)}function ua(b,z){return St(b.subarray(yr(b,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Ur=null,Ba=null;function Ma(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),b[0]==31&&b[1]==139&&b[2]==8?zi(b,z,x):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?Tr(b,z,x):kr(b,z,x)}function Fa(b,z){return b[0]==31&&b[1]==139&&b[2]==8?Fo(b,z):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?qa(b,z):ua(b,z)}var So=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 nt?x[Ie]=[Ae,be]:(x[Ie+="/"]=[new nt(0),be],So(Ae,Ie,x,re))}},Wi=typeof TextEncoder!="undefined"&&new TextEncoder,Fr=typeof TextDecoder!="undefined"&&new TextDecoder,Ha=0;try{Fr.decode(Qn,{stream:!0}),Ha=1}catch(b){}var xi=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)}},ai=null,di=null;function Lo(b,z){if(z){for(var x=new nt(b.length),re=0;re>1)),Ie=0,be=function(Ve){Ae[Ie++]=Ve},re=0;reAe.length){var Oe=new nt(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 os(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=ki(Re);At(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 yt=new Date(x.mtime==null?Date.now():x.mtime),We=yt.getFullYear()-1980;if((We<0||We>119)&&ot(10),At(b,z,We<<25|yt.getMonth()+1<<21|yt.getDate()<<16|yt.getHours()<<11|yt.getMinutes()<<5|yt.getSeconds()>>1),z+=4,Ae!=-1&&(At(b,z,x.crc),At(b,z+4,Ae<0?-Ae-2:Ae),At(b,z+8,x.size)),At(b,z+12,Oe),At(b,z+14,ct),z+=16,Ie!=null&&(At(b,z,Ve),At(b,z+6,x.attrs),At(b,z+10,Ie),z+=14),b.set(re,z),z+=Oe,ct)for(var Gt in Re){var Ht=Re[Gt],Zt=Ht.length;At(b,z,+Gt),At(b,z+2,Zt),b.set(Ht,z+4),z+=4+Zt}return Ve&&(b.set(be,z),z+=Ve),z},Sl=function(b,z,x,re,oe){At(b,z,101010256),At(b,z+8,x),At(b,z+10,x),At(b,z+12,re),At(b,z+16,oe)},gA=null,Or=null,_c=null,fu=null;function hu(b,z,x){x||(x=z,z={}),typeof x!="function"&&ot(7);var re={};So(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 Zt=0;Zt65535&&Bn(ot(11,0,1),null),!Cn)Bn(null,mn);else if(xr<16e4)try{Bn(null,Er(mn,sn))}catch(or){Bn(or,null)}else Ve.push(Ar(mn,sn,Bn))},Ht=0;Ht65535&&ot(11);var Ut=Ve?Er(Oe,Re):Oe,Fn=Ut.length,mn=Bt();mn.p(Oe),re.push(Xe(Re,{size:Oe.length,crc:mn.d(),c:Ut,f:ct,m:Gt,u:yt!=Ie.length||Gt&&We.length!=Ht,o:oe,compression:Ve})),oe+=30+yt+Zt+Fn,Ae+=76+2*(yt+Zt)+(Ht||0)+Fn}for(var sn=new nt(Ae+22),nr=oe,xr=Ae-oe,gr=0;gr65558)return Ie(ot(13,0,1),null),oe;var Oe=on(b,be+8);if(Oe){var Re=Oe,Ve=Ft(b,be+16),ct=Ve==4294967295||Re==65535;if(ct){var yt=Ft(b,be-12);ct=Ft(b,yt)==101075792,ct&&(Re=Oe=Ft(b,yt+32),Ve=Ft(b,yt+48))}for(var We=z&&z.filter,Gt=function(Zt){var Ut=wA(b,Ve,ct),Fn=Ut[0],mn=Ut[1],sn=Ut[2],nr=Ut[3],xr=Ut[4],gr=Ut[5],kn=Es(b,gr);Ve=xr;var An=function(Nt,Xt){Nt?(oe(),Ie(Nt,null)):(Xt&&(Ae[nr]=Xt),--Oe||Ie(null,Ae))};if(!We||We({name:nr,size:mn,originalSize:sn,compression:Fn}))if(!Fn)An(null,Qe(b,kn,kn+mn));else if(Fn==8){var Wn=b.subarray(kn,kn+mn);if(sn<524288||mn>.8*sn)try{An(null,qa(Wn,{out:new nt(sn)}))}catch(Nt){An(Nt,null)}else re.push(Tr(Wn,{size:sn},An))}else An(ot(14,"unknown compression type "+Fn,1),null);else An(null,null)},Ht=0;Ht65558)&&ot(13);var oe=on(b,re+8);if(!oe)return{};var Ae=Ft(b,re+16),Ie=Ae==4294967295||oe==65535;if(Ie){var be=Ft(b,re-12);Ie=Ft(b,be)==101075792,Ie&&(oe=Ft(b,be+32),Ae=Ft(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])})(),Fu={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 Cl{constructor(z=Bc,x={}){hs(this,"buffer");hs(this,"byteLength");hs(this,"byteOffset");hs(this,"length");hs(this,"offset");hs(this,"lastWrittenByte");hs(this,"littleEndian");hs(this,"_data");hs(this,"_mark");hs(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 Cl)&&(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=Fu[x].BYTES_PER_ELEMENT*z,oe=this.byteOffset+this.offset,Ae=this.buffer.slice(oe,oe+re);if(this.littleEndian===Hu&&x!=="uint8"&&x!=="int8"){const be=new Uint8Array(this.buffer.slice(oe,oe+re));be.reverse();const Oe=new Fu[x](be.buffer);return this.offset+=re,Oe.reverse(),Oe}const Ie=new Fu[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 Lu=4,Jl=0,jl=1,ql=2;function dl(b){let z=b.length;for(;--z>=0;)b[z]=0}const rr=0,Zn=1,cr=2,Xr=3,zt=258,Io=29,Hr=256,fo=Hr+1+Io,za=30,mi=19,co=2*fo+1,Sa=15,Mo=16,zo=7,Hs=256,no=16,is=17,xs=18,Jr=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]),jr=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]),Wt=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Qt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xn=512,sr=new Array((fo+2)*2);dl(sr);const ta=new Array(za*2);dl(ta);const ma=new Array(xn);dl(ma);const oa=new Array(zt-Xr+1);dl(oa);const Dr=new Array(Io);dl(Dr);const sa=new Array(za);dl(sa);function Qa(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 Co,wi,La;function ss(b,z){this.dyn_tree=b,this.max_code=0,this.stat_desc=z}const oi=b=>b<256?ma[b]:ma[256+(b>>>7)],gi=(b,z)=>{b.pending_buf[b.pending++]=z&255,b.pending_buf[b.pending++]=z>>>8&255},Gr=(b,z,x)=>{b.bi_valid>Mo-x?(b.bi_buf|=z<>Mo-b.bi_valid,b.bi_valid+=x-Mo):(b.bi_buf|=z<{Gr(b,x[z*2],x[z*2+1])},so=(b,z)=>{let x=0;do x|=b&1,b>>>=1,x<<=1;while(--z>0);return x>>>1},pi=b=>{b.bi_valid===16?(gi(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)},Zi=(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,yt,We,Gt,Ht=0;for(yt=0;yt<=Sa;yt++)b.bl_count[yt]=0;for(x[b.heap[b.heap_max]*2+1]=0,Re=b.heap_max+1;ReOe&&(yt=Oe,Ht++),x[Ve*2+1]=yt,!(Ve>re)&&(b.bl_count[yt]++,We=0,Ve>=be&&(We=Ie[Ve-be]),Gt=x[Ve*2],b.opt_len+=Gt*(yt+We),Ae&&(b.static_len+=Gt*(oe[Ve*2+1]+We)));if(Ht!==0){do{for(yt=Oe-1;b.bl_count[yt]===0;)yt--;b.bl_count[yt]--,b.bl_count[yt+1]+=2,b.bl_count[Oe]--,Ht-=2}while(Ht>0);for(yt=Oe;yt!==0;yt--)for(Ve=b.bl_count[yt];Ve!==0;)ct=b.heap[--Re],!(ct>re)&&(x[ct*2+1]!==yt&&(b.opt_len+=(yt-x[ct*2+1])*x[ct*2],x[ct*2+1]=yt),Ve--)}},Vi=(b,z,x)=>{const re=new Array(Sa+1);let oe=0,Ae,Ie;for(Ae=1;Ae<=Sa;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]=so(re[be]++,be))}},Ms=()=>{let b,z,x,re,oe;const Ae=new Array(Sa+1);for(x=0,re=0;re>=7;re{let z;for(z=0;z{b.bi_valid>8?gi(b,b.bi_buf):b.bi_valid>0&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0},El=(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?Ia(b,oe,z):(Ie=oa[oe],Ia(b,Ie+Hr+1,z),be=Jr[Ie],be!==0&&(oe-=Dr[Ie],Gr(b,oe,be)),re--,Ie=oi(re),Ia(b,Ie,x),be=jr[Ie],be!==0&&(re-=sa[Ie],Gr(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=co,Ie=0;Ie>1;Ie>=1;Ie--)$l(b,x,Ie);Re=Ae;do Ie=b.heap[1],b.heap[1]=b.heap[b.heap_len--],$l(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++,$l(b,x,1);while(b.heap_len>=2);b.heap[--b.heap_max]=b.heap[1],Zi(b,z),Vi(x,Oe,b.bl_count)},Ln=(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(Ln(b,b.dyn_ltree,b.l_desc.max_code),Ln(b,b.dyn_dtree,b.d_desc.max_code),eu(b,b.bl_desc),z=mi-1;z>=3&&b.bl_tree[Qt[z]*2+1]===0;z--);return b.opt_len+=3*(z+1)+5+5+4,z},ho=(b,z,x,re)=>{let oe;for(Gr(b,z-257,5),Gr(b,x-1,5),Gr(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 Jl;if(b.dyn_ltree[9*2]!==0||b.dyn_ltree[10*2]!==0||b.dyn_ltree[13*2]!==0)return jl;for(x=32;x{Fs||(Ms(),Fs=!0),b.l_desc=new ss(b.dyn_ltree,Co),b.d_desc=new ss(b.dyn_dtree,wi),b.bl_desc=new ss(b.bl_tree,La),b.bi_buf=0,b.bi_valid=0,ds(b)},Ls=(b,z,x,re)=>{Gr(b,(rr<<1)+(re?1:0),3),yA(b),gi(b,x),gi(b,~x),x&&b.pending_buf.set(b.window.subarray(z,z+x),b.pending),b.pending+=x},_s=b=>{Gr(b,Zn<<1,3),Ia(b,Hs,sr),pi(b)},HA=(b,z,x,re)=>{let oe,Ae,Ie=0;b.level>0?(b.strm.data_type===ql&&(b.strm.data_type=$a(b)),eu(b,b.l_desc),eu(b,b.d_desc),Ie=xl(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?Ls(b,z,x,re):b.strategy===Lu||Ae===oe?(Gr(b,(Zn<<1)+(re?1:0),3),Pl(b,sr,ta)):(Gr(b,(cr<<1)+(re?1:0),3),ho(b,b.l_desc.max_code+1,b.d_desc.max_code+1,Ie+1),Pl(b,b.dyn_ltree,b.dyn_dtree)),ds(b),re&&yA(b)},ec=(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[(oa[x]+Hr+1)*2]++,b.dyn_dtree[oi(z)*2]++),b.sym_next===b.sym_end);var VA=FA,Xs=Ls,ro=HA,Eo=ec,ms=_s,Is={_tr_init:VA,_tr_stored_block:Xs,_tr_flush_block:ro,_tr_tally:Eo,_tr_align:ms},Zo=(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 Hl=()=>{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},Fl=new Uint32Array(Hl());var As=(b,z,x,re)=>{const oe=Fl,Ae=re+x;b^=-1;for(let Ie=re;Ie>>8^oe[(b^z[Ie])&255];return b^-1},YA={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"},tu={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:Kc,_tr_stored_block:Ks,_tr_flush_block:Il,_tr_tally:Ns,_tr_align:Ji}=Is,{Z_NO_FLUSH:nA,Z_PARTIAL_FLUSH:tc,Z_FULL_FLUSH:zc,Z_FINISH:rA,Z_BLOCK:nu,Z_OK:fA,Z_STREAM_END:ru,Z_STREAM_ERROR:Ds,Z_DATA_ERROR:Mu,Z_BUF_ERROR:au,Z_DEFAULT_COMPRESSION:Iu,Z_FILTERED:Gc,Z_HUFFMAN_ONLY:Nu,Z_RLE:wc,Z_FIXED:al,Z_DEFAULT_STRATEGY:nc,Z_UNKNOWN:Rr,Z_DEFLATED:ao}=tu,fr=9,io=15,Jo=8,zs=256+1+29,ou=30,mu=19,pu=2*zs+1,Ti=15,Vo=3,ko=258,Us=ko+Vo+1,hA=32,Js=42,aA=57,Nl=69,Ml=73,qs=91,DA=103,oA=113,UA=666,Gs=1,Du=2,Dl=3,Uu=4,fd=3,Wc=(b,z)=>(b.msg=YA[z],z),wf=b=>b*2-(b>4?9:0),yc=b=>{let z=b.length;for(;--z>=0;)b[z]=0},Md=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))},_l=(b,z)=>{Il(b,b.block_start>=0?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,iu(b.strm)},Xi=(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=Zo(b.adler,z,oe,x):b.state.wrap===2&&(b.adler=As(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-Us?b.strstart-(b.w_size-Us):0,Re=b.window,Ve=b.w_mask,ct=b.prev,yt=b.strstart+ko;let We=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]!==We||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;We=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-Us)&&(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),Md(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>=Vo)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+Vo-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,iu(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===rA)&&z!==nA&&b.strm.avail_in===0&&oe<=Ae)&&(re=oe>Ae?Ae:oe,Ie=z===rA&&b.strm.avail_in===0&&re===oe?1:0,Ks(b,b.block_start,re,Ie),b.block_start+=re,iu(b.strm)),Ie?Dl:Gs)},Sg=(b,z)=>{let x,re;for(;;){if(b.lookahead=Vo&&(b.ins_h=rc(b,b.ins_h,b.window[b.strstart+Vo-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-Us&&(b.match_length=Sf(b,x)),b.match_length>=Vo)if(re=Ns(b,b.strstart-b.match_start,b.match_length-Vo),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=Vo){b.match_length--;do b.strstart++,b.ins_h=rc(b,b.ins_h,b.window[b.strstart+Vo-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=Ns(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(re&&(_l(b,!1),b.strm.avail_out===0))return Gs}return b.insert=b.strstart{let x,re,oe;for(;;){if(b.lookahead=Vo&&(b.ins_h=rc(b,b.ins_h,b.window[b.strstart+Vo-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=Vo-1,x!==0&&b.prev_length4096)&&(b.match_length=Vo-1)),b.prev_length>=Vo&&b.match_length<=b.prev_length){oe=b.strstart+b.lookahead-Vo,re=Ns(b,b.strstart-1-b.prev_match,b.prev_length-Vo),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+Vo-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=Vo-1,b.strstart++,re&&(_l(b,!1),b.strm.avail_out===0))return Gs}else if(b.match_available){if(re=Ns(b,0,b.window[b.strstart-1]),re&&_l(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return Gs}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(re=Ns(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<=ko){if(Vc(b),b.lookahead<=ko&&z===nA)return Gs;if(b.lookahead===0)break}if(b.match_length=0,b.lookahead>=Vo&&b.strstart>0&&(oe=b.strstart-1,re=Ie[oe],re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe])){Ae=b.strstart+ko;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>=Vo?(x=Ns(b,1,b.match_length-Vo),b.lookahead-=b.match_length,b.strstart+=b.match_length,b.match_length=0):(x=Ns(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++),x&&(_l(b,!1),b.strm.avail_out===0))return Gs}return b.insert=0,z===rA?(_l(b,!0),b.strm.avail_out===0?Dl:Uu):b.sym_next&&(_l(b,!1),b.strm.avail_out===0)?Gs:Du},r0=(b,z)=>{let x;for(;;){if(b.lookahead===0&&(Vc(b),b.lookahead===0)){if(z===nA)return Gs;break}if(b.match_length=0,x=Ns(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++,x&&(_l(b,!1),b.strm.avail_out===0))return Gs}return b.insert=0,z===rA?(_l(b,!0),b.strm.avail_out===0?Dl:Uu):b.sym_next&&(_l(b,!1),b.strm.avail_out===0)?Gs:Du};function MA(b,z,x,re,oe){this.good_length=b,this.max_lazy=z,this.nice_length=x,this.max_chain=re,this.func=oe}const md=[new MA(0,0,0,0,hd),new MA(4,4,8,4,Sg),new MA(4,5,16,8,Sg),new MA(4,6,32,32,Sg),new MA(4,4,16,16,Yc),new MA(8,16,32,32,Yc),new MA(8,16,128,128,Yc),new MA(8,32,128,256,Yc),new MA(32,128,258,1024,Yc),new MA(32,258,258,4096,Yc)],a0=b=>{b.window_size=2*b.w_size,yc(b.head),b.max_lazy_match=md[b.level].max_lazy,b.good_match=md[b.level].good_length,b.nice_match=md[b.level].nice_length,b.max_chain_length=md[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=Vo-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=ao,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(pu*2),this.dyn_dtree=new Uint16Array((2*ou+1)*2),this.bl_tree=new Uint16Array((2*mu+1)*2),yc(this.dyn_ltree),yc(this.dyn_dtree),yc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Ti+1),this.heap=new Uint16Array(2*zs+1),yc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*zs+1),yc(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!==Js&&z.status!==aA&&z.status!==Nl&&z.status!==Ml&&z.status!==qs&&z.status!==DA&&z.status!==oA&&z.status!==UA?1:0},Ct=b=>{if(et(b))return Wc(b,Ds);b.total_in=b.total_out=0,b.data_type=Rr;const z=b.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?aA:z.wrap?Js:oA,b.adler=z.wrap===2?0:1,z.last_flush=-2,Kc(z),fA},kt=b=>{const z=Ct(b);return z===fA&&a0(b.state),z},qt=(b,z)=>et(b)||b.state.wrap!==2?Ds:(b.state.gzhead=z,fA),$t=(b,z,x,re,oe,Ae)=>{if(!b)return Ds;let Ie=1;if(z===Iu&&(z=6),re<0?(Ie=0,re=-re):re>15&&(Ie=2,re-=16),oe<1||oe>fr||x!==ao||re<8||re>15||z<0||z>9||Ae<0||Ae>al||re===8&&Ie!==1)return Wc(b,Ds);re===8&&(re=9);const be=new Je;return b.state=be,be.strm=b,be.status=Js,be.wrap=Ie,be.gzhead=null,be.w_bits=re,be.w_size=1<$t(b,z,ao,io,Jo,nc),En=(b,z)=>{if(et(b)||z>nu||z<0)return b?Wc(b,Ds):Ds;const x=b.state;if(!b.output||b.avail_in!==0&&!b.input||x.status===UA&&z!==rA)return Wc(b,b.avail_out===0?au:Ds);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(iu(b),b.avail_out===0)return x.last_flush=-1,fA}else if(b.avail_in===0&&wf(z)<=wf(re)&&z!==rA)return Wc(b,au);if(x.status===UA&&b.avail_in!==0)return Wc(b,au);if(x.status===Js&&x.wrap===0&&(x.status=oA),x.status===Js){let oe=ao+(x.w_bits-8<<4)<<8,Ae=-1;if(x.strategy>=Nu||x.level<2?Ae=0:x.level<6?Ae=1:x.level===6?Ae=2:Ae=3,oe|=Ae<<6,x.strstart!==0&&(oe|=hA),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=oA,iu(b),x.pending!==0)return x.last_flush=-1,fA}if(x.status===aA){if(b.adler=0,Xi(x,31),Xi(x,139),Xi(x,8),x.gzhead)Xi(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)),Xi(x,x.gzhead.time&255),Xi(x,x.gzhead.time>>8&255),Xi(x,x.gzhead.time>>16&255),Xi(x,x.gzhead.time>>24&255),Xi(x,x.level===9?2:x.strategy>=Nu||x.level<2?4:0),Xi(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Xi(x,x.gzhead.extra.length&255),Xi(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(b.adler=As(b.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=Nl;else if(Xi(x,0),Xi(x,0),Xi(x,0),Xi(x,0),Xi(x,0),Xi(x,x.level===9?2:x.strategy>=Nu||x.level<2?4:0),Xi(x,fd),x.status=oA,iu(b),x.pending!==0)return x.last_flush=-1,fA}if(x.status===Nl){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=As(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex+=be,iu(b),x.pending!==0)return x.last_flush=-1,fA;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=As(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=Ml}if(x.status===Ml){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=As(b.adler,x.pending_buf,x.pending-oe,oe)),iu(b),x.pending!==0)return x.last_flush=-1,fA;oe=0}x.gzindexoe&&(b.adler=As(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=qs}if(x.status===qs){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=As(b.adler,x.pending_buf,x.pending-oe,oe)),iu(b),x.pending!==0)return x.last_flush=-1,fA;oe=0}x.gzindexoe&&(b.adler=As(b.adler,x.pending_buf,x.pending-oe,oe))}x.status=DA}if(x.status===DA){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(iu(b),x.pending!==0))return x.last_flush=-1,fA;Xi(x,b.adler&255),Xi(x,b.adler>>8&255),b.adler=0}if(x.status=oA,iu(b),x.pending!==0)return x.last_flush=-1,fA}if(b.avail_in!==0||x.lookahead!==0||z!==nA&&x.status!==UA){let oe=x.level===0?hd(x,z):x.strategy===Nu?r0(x,z):x.strategy===wc?n0(x,z):md[x.level].func(x,z);if((oe===Dl||oe===Uu)&&(x.status=UA),oe===Gs||oe===Dl)return b.avail_out===0&&(x.last_flush=-1),fA;if(oe===Du&&(z===tc?Ji(x):z!==nu&&(Ks(x,0,0,!1),z===zc&&(yc(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),iu(b),b.avail_out===0))return x.last_flush=-1,fA}return z!==rA?fA:x.wrap<=0?ru:(x.wrap===2?(Xi(x,b.adler&255),Xi(x,b.adler>>8&255),Xi(x,b.adler>>16&255),Xi(x,b.adler>>24&255),Xi(x,b.total_in&255),Xi(x,b.total_in>>8&255),Xi(x,b.total_in>>16&255),Xi(x,b.total_in>>24&255)):(Zc(x,b.adler>>>16),Zc(x,b.adler&65535)),iu(b),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?fA:ru)},vn=b=>{if(et(b))return Ds;const z=b.state.status;return b.state=null,z===oA?Wc(b,Mu):fA},Mn=(b,z)=>{let x=z.length;if(et(b))return Ds;const re=b.state,oe=re.wrap;if(oe===2||oe===1&&re.status!==Js||re.lookahead)return Ds;if(oe===1&&(b.adler=Zo(b.adler,z,x,0)),re.wrap=0,x>=re.w_size){oe===0&&(yc(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>=Vo;){let Oe=re.strstart,Re=re.lookahead-(Vo-1);do re.ins_h=rc(re,re.ins_h,re.window[Oe+Vo-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=Vo-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=Vo-1,re.match_available=0,b.next_in=Ie,b.input=be,b.avail_in=Ae,re.wrap=oe,fA};var Xn=bn,Kn=$t,Sr=kt,hr=Ct,vr=qt,qr=En,Mr=vn,Vr=Mn,Kr="pako deflate (from Nodeca project)",Aa={deflateInit:Xn,deflateInit2:Kn,deflateReset:Sr,deflateResetKeep:hr,deflateSetHeader:vr,deflate:qr,deflateEnd:Mr,deflateSetDictionary:Vr,deflateInfo:Kr};const ka=(b,z)=>Object.prototype.hasOwnProperty.call(b,z);var Ka=function(b){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const x=z.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(const re in x)ka(x,re)&&(b[re]=x[re])}}return b},wa=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;ca[254]=ca[254]=1;var ba=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 ga=(b,z)=>{if(z<65534&&b.subarray&&bo)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 ga(Ae,oe)},va=(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+ca[b[x]]>z?x:z},Va={string2buf:ba,buf2string:ia,utf8border:va};function _o(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Bo=_o;const Ga=Object.prototype.toString,{Z_NO_FLUSH:Oo,Z_SYNC_FLUSH:qo,Z_FULL_FLUSH:qi,Z_FINISH:vi,Z_OK:gs,Z_STREAM_END:Os,Z_DEFAULT_COMPRESSION:Po,Z_DEFAULT_STRATEGY:iA,Z_DEFLATED:Ii}=tu;function $i(b){this.options=eo.assign({level:Po,method:Ii,chunkSize:16384,windowBits:15,memLevel:8,strategy:iA},b||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Bo,this.strm.avail_out=0;let x=Aa.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==gs)throw new Error(YA[x]);if(z.header&&Aa.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Va.string2buf(z.dictionary):Ga.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=Aa.deflateSetDictionary(this.strm,re),x!==gs)throw new Error(YA[x]);this._dict_set=!0}}$i.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize;let oe,Ae;if(this.ended)return!1;for(z===~~z?Ae=z:Ae=z===!0?vi:Oo,typeof b=="string"?x.input=Va.string2buf(b):Ga.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===qi)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(oe=Aa.deflate(x,Ae),oe===Os)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),oe=Aa.deflateEnd(this.strm),this.onEnd(oe),this.ended=!0,oe===gs;if(x.avail_out===0){this.onData(x.output);continue}if(Ae>0&&x.next_out>0){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(x.avail_in===0)break}return!0},$i.prototype.onData=function(b){this.chunks.push(b)},$i.prototype.onEnd=function(b){b===gs&&(this.result=eo.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function ts(b,z){const x=new $i(z);if(x.push(b,!0),x.err)throw x.msg||YA[x.err];return x.result}function gl(b,z){return z=z||{},z.raw=!0,ts(b,z)}function ha(b,z){return z=z||{},z.gzip=!0,ts(b,z)}var Ja=$i,Ya=ts,Na=gl,Ni=ha,Da=tu,mo={Deflate:Ja,deflate:Ya,deflateRaw:Na,gzip:Ni,constants:Da};const ni=16209,ii=16191;var XA=function(z,x){let re,oe,Ae,Ie,be,Oe,Re,Ve,ct,yt,We,Gt,Ht,Zt,Ut,Fn,mn,sn,nr,xr,gr,kn,An,Wn;const Nt=z.state;re=z.next_in,An=z.input,oe=re+(z.avail_in-5),Ae=z.next_out,Wn=z.output,Ie=Ae-(x-z.avail_out),be=Ae+(z.avail_out-257),Oe=Nt.dmax,Re=Nt.wsize,Ve=Nt.whave,ct=Nt.wnext,yt=Nt.window,We=Nt.hold,Gt=Nt.bits,Ht=Nt.lencode,Zt=Nt.distcode,Ut=(1<>>24,We>>>=sn,Gt-=sn,sn=mn>>>16&255,sn===0)Wn[Ae++]=mn&65535;else if(sn&16){nr=mn&65535,sn&=15,sn&&(Gt>>=sn,Gt-=sn),Gt<15&&(We+=An[re++]<>>24,We>>>=sn,Gt-=sn,sn=mn>>>16&255,sn&16){if(xr=mn&65535,sn&=15,GtOe){z.msg="invalid distance too far back",Nt.mode=ni;break e}if(We>>>=sn,Gt-=sn,sn=Ae-Ie,xr>sn){if(sn=xr-sn,sn>Ve&&Nt.sane){z.msg="invalid distance too far back",Nt.mode=ni;break e}if(gr=0,kn=yt,ct===0){if(gr+=Re-sn,sn2;)Wn[Ae++]=kn[gr++],Wn[Ae++]=kn[gr++],Wn[Ae++]=kn[gr++],nr-=3;nr&&(Wn[Ae++]=kn[gr++],nr>1&&(Wn[Ae++]=kn[gr++]))}else{gr=Ae-xr;do Wn[Ae++]=Wn[gr++],Wn[Ae++]=Wn[gr++],Wn[Ae++]=Wn[gr++],nr-=3;while(nr>2);nr&&(Wn[Ae++]=Wn[gr++],nr>1&&(Wn[Ae++]=Wn[gr++]))}}else if(sn&64){z.msg="invalid distance code",Nt.mode=ni;break e}else{mn=Zt[(mn&65535)+(We&(1<>3,re-=nr,Gt-=nr<<3,We&=(1<{const Oe=be.bits;let Re=0,Ve=0,ct=0,yt=0,We=0,Gt=0,Ht=0,Zt=0,Ut=0,Fn=0,mn,sn,nr,xr,gr,kn=null,An;const Wn=new Uint16Array($s+1),Nt=new Uint16Array($s+1);let Xt=null,Cn,Bn,or;for(Re=0;Re<=$s;Re++)Wn[Re]=0;for(Ve=0;Ve=1&&Wn[yt]===0;yt--);if(We>yt&&(We=yt),yt===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===Ul||yt!==1))return-1;for(Nt[1]=0,Re=1;Re<$s;Re++)Nt[Re+1]=Nt[Re]+Wn[Re];for(Ve=0;Vesu||b===ol&&Ut>eA)return 1;for(;;){Cn=Re-Ht,Ie[Ve]+1=An?(Bn=Xt[Ie[Ve]-An],or=kn[Ie[Ve]-An]):(Bn=96,or=0),mn=1<>Ht)+sn]=Cn<<24|Bn<<16|or|0;while(sn!==0);for(mn=1<>=1;if(mn!==0?(Fn&=mn-1,Fn+=mn):Fn=0,Ve++,--Wn[Re]===0){if(Re===yt)break;Re=z[x+Ie[Ve]]}if(Re>We&&(Fn&xr)!==nr){for(Ht===0&&(Ht=We),gr+=ct,Gt=Re-Ht,Zt=1<su||b===ol&&Ut>eA)return 1;nr=Fn&xr,oe[nr]=We<<24|Gt<<16|gr-Ae|0}}return Fn!==0&&(oe[gr+Fn]=Re-Ht<<24|64<<16|0),be.bits=We,0};const Ko=0,JA=1,_A=2,{Z_FINISH:fl,Z_BLOCK:il,Z_TREES:sl,Z_OK:Kl,Z_STREAM_END:_u,Z_NEED_DICT:zl,Z_STREAM_ERROR:Qs,Z_DATA_ERROR:OA,Z_MEM_ERROR:sA,Z_BUF_ERROR:ws,Z_DEFLATED:vu}=tu,Ou=16180,Ku=16181,Bu=16182,pd=16183,_d=16184,si=16185,ns=16186,QA=16187,ps=16188,kA=16189,KA=16190,ks=16191,wu=16192,vd=16193,Bd=16194,Kd=16195,bg=16196,Cg=16197,Xc=16198,yu=16199,bc=16200,Eg=16201,zd=16202,Pg=16203,Gd=16204,Cc=16205,Wd=16206,bf=16207,xg=16208,Mi=16209,Zd=16210,Cf=16211,o0=852,Ef=592,Lg=15,Vd=b=>(b>>>24&255)+(b>>>8&65280)+((b&65280)<<8)+((b&255)<<24);function Pf(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const 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 Qs;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=Ou,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,Kl},Yd=b=>{if(ac(b))return Qs;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 Qs;const re=b.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?Qs:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,Yd(b))},wd=(b,z)=>{if(!b)return Qs;const x=new Pf;b.state=x,x.strm=b,x.window=null,x.mode=Ou;const re=xf(b,z);return re!==Kl&&(b.state=null),re},Xd=b=>wd(b,Lg);let TA=!0,zu,Jd;const i0=b=>{if(TA){zu=new Int32Array(512),Jd=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(ls(JA,b.lens,0,288,zu,0,b.work,{bits:9}),z=0;z<32;)b.lens[z++]=5;ls(_A,b.lens,0,32,Jd,0,b.work,{bits:5}),TA=!1}b.lencode=zu,b.lenbits=9,b.distcode=Jd,b.distbits=5},Ri=(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,yt,We,Gt,Ht,Zt=0,Ut,Fn,mn,sn,nr,xr,gr,kn;const An=new Uint8Array(4);let Wn,Nt;const Xt=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 Qs;x=b.state,x.mode===ks&&(x.mode=wu),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,yt=Oe,kn=Kl;e:for(;;)switch(x.mode){case Ou:if(x.wrap===0){x.mode=wu;break}for(;Ve<16;){if(be===0)break e;be--,Re+=re[Ae++]<>>8&255,x.check=As(x.check,An,2,0),Re=0,Ve=0,x.mode=Ku;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)!==vu){b.msg="unknown compression method",x.mode=Mi;break}if(Re>>>=4,Ve-=4,gr=(Re&15)+8,x.wbits===0&&(x.wbits=gr),gr>15||gr>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=As(x.check,An,2,0)),Re=0,Ve=0,x.mode=Bu;case Bu: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=As(x.check,An,4,0)),Re=0,Ve=0,x.mode=pd;case pd: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=As(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=As(x.check,An,2,0)),Re=0,Ve=0}else x.head&&(x.head.extra=null);x.mode=si;case si:if(x.flags&1024&&(We=x.length,We>be&&(We=be),We&&(x.head&&(gr=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Uint8Array(x.head.extra_len)),x.head.extra.set(re.subarray(Ae,Ae+We),gr)),x.flags&512&&x.wrap&4&&(x.check=As(x.check,re,We,Ae)),be-=We,Ae+=We,x.length-=We),x.length))break e;x.length=0,x.mode=ns;case ns:if(x.flags&2048){if(be===0)break e;We=0;do gr=re[Ae+We++],x.head&&gr&&x.length<65536&&(x.head.name+=String.fromCharCode(gr));while(gr&&We>9&1,x.head.done=!0),b.adler=x.check=0,x.mode=ks;break;case kA:for(;Ve<32;){if(be===0)break e;be--,Re+=re[Ae++]<>>=Ve&7,Ve-=Ve&7,x.mode=Wd;break}for(;Ve<3;){if(be===0)break e;be--,Re+=re[Ae++]<>>=1,Ve-=1,Re&3){case 0:x.mode=vd;break;case 1:if(i0(x),x.mode=yu,z===sl){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 vd: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=Bd,z===sl)break e;case Bd:x.mode=Kd;case Kd:if(We=x.length,We){if(We>be&&(We=be),We>Oe&&(We=Oe),We===0)break e;oe.set(re.subarray(Ae,Ae+We),Ie),be-=We,Ae+=We,Oe-=We,Ie+=We,x.length-=We;break}x.mode=ks;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[Xt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Wn={bits:x.lenbits},kn=ls(Ko,x.lens,0,19,x.lencode,0,x.work,Wn),x.lenbits=Wn.bits,kn){b.msg="invalid code lengths set",x.mode=Mi;break}x.have=0,x.mode=Xc;case Xc:for(;x.have>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>>=Ut,Ve-=Ut,x.lens[x.have++]=mn;else{if(mn===16){for(Nt=Ut+2;Ve>>=Ut,Ve-=Ut,x.have===0){b.msg="invalid bit length repeat",x.mode=Mi;break}gr=x.lens[x.have-1],We=3+(Re&3),Re>>>=2,Ve-=2}else if(mn===17){for(Nt=Ut+3;Ve>>=Ut,Ve-=Ut,gr=0,We=3+(Re&7),Re>>>=3,Ve-=3}else{for(Nt=Ut+7;Ve>>=Ut,Ve-=Ut,gr=0,We=11+(Re&127),Re>>>=7,Ve-=7}if(x.have+We>x.nlen+x.ndist){b.msg="invalid bit length repeat",x.mode=Mi;break}for(;We--;)x.lens[x.have++]=gr}}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,Wn={bits:x.lenbits},kn=ls(JA,x.lens,0,x.nlen,x.lencode,0,x.work,Wn),x.lenbits=Wn.bits,kn){b.msg="invalid literal/lengths set",x.mode=Mi;break}if(x.distbits=6,x.distcode=x.distdyn,Wn={bits:x.distbits},kn=ls(_A,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Wn),x.distbits=Wn.bits,kn){b.msg="invalid distances set",x.mode=Mi;break}if(x.mode=yu,z===sl)break e;case yu:x.mode=bc;case bc:if(be>=6&&Oe>=258){b.next_out=Ie,b.avail_out=Oe,b.next_in=Ae,b.avail_in=be,x.hold=Re,x.bits=Ve,XA(b,yt),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===ks&&(x.back=-1);break}for(x.back=0;Zt=x.lencode[Re&(1<>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>sn)],Ut=Zt>>>24,Fn=Zt>>>16&255,mn=Zt&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=mn,Fn===0){x.mode=Cc;break}if(Fn&32){x.back=-1,x.mode=ks;break}if(Fn&64){b.msg="invalid literal/length code",x.mode=Mi;break}x.extra=Fn&15,x.mode=Eg;case Eg:if(x.extra){for(Nt=x.extra;Ve>>=x.extra,Ve-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=zd;case zd:for(;Zt=x.distcode[Re&(1<>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>sn)],Ut=Zt>>>24,Fn=Zt>>>16&255,mn=Zt&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,Fn&64){b.msg="invalid distance code",x.mode=Mi;break}x.offset=mn,x.extra=Fn&15,x.mode=Pg;case Pg:if(x.extra){for(Nt=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=Gd;case Gd:if(Oe===0)break e;if(We=yt-Oe,x.offset>We){if(We=x.offset-We,We>x.whave&&x.sane){b.msg="invalid distance too far back",x.mode=Mi;break}We>x.wnext?(We-=x.wnext,Gt=x.wsize-We):Gt=x.wnext-We,We>x.length&&(We=x.length),Ht=x.window}else Ht=oe,Gt=Ie-x.offset,We=x.length;We>Oe&&(We=Oe),Oe-=We,x.length-=We;do oe[Ie++]=Ht[Gt++];while(--We);x.length===0&&(x.mode=bc);break;case Cc:if(Oe===0)break e;oe[Ie++]=x.length,Oe--,x.mode=bc;break;case Wd:if(x.wrap){for(;Ve<32;){if(be===0)break e;be--,Re|=re[Ae++]<{if(ac(b))return Qs;let z=b.state;return z.window&&(z.window=null),b.state=null,Kl},oc=(b,z)=>{if(ac(b))return Qs;const x=b.state;return x.wrap&2?(x.head=z,z.done=!1,Kl):Qs},ic=(b,z)=>{const x=z.length;let re,oe,Ae;return ac(b)||(re=b.state,re.wrap!==0&&re.mode!==KA)?Qs:re.mode===KA&&(oe=1,oe=Zo(oe,z,x,0),oe!==re.check)?OA:(Ae=Ri(b,z,x,x),Ae?(re.mode=Zd,sA):(re.havedict=1,Kl))};var Ff=Yd,Ng=xf,Dg=Ig,Ug=Xd,Og=wd,th=us,nh=Au,rh=oc,ah=ic,s0="pako inflate (from Nodeca project)",Ec={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}=tu;function Tg(b){this.options=eo.assign({chunkSize:1024*64,windowBits:15,to:""},b||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(b&&b.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Bo,this.strm.avail_out=0;let x=Ec.inflateInit2(this.strm,z.windowBits);if(x!==Qg)throw new Error(YA[x]);if(this.header=new ym,Ec.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Va.string2buf(z.dictionary):oh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=Ec.inflateSetDictionary(this.strm,z.dictionary),x!==Qg)))throw new Error(YA[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=Ec.inflate(x,Ie),Ae===kg&&oe&&(Ae=Ec.inflateSetDictionary(x,oe),Ae===Qg?Ae=Ec.inflate(x,Ie):Ae===A0&&(Ae=kg));x.avail_in>0&&Ae===Nf&&x.state.wrap>0&&b[x.next_in]!==0;)Ec.inflateReset(x),Ae=Ec.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=Va.utf8border(x.output,x.next_out),Re=x.next_out-Oe,Ve=Va.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=Ec.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=eo.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function qd(b,z){const x=new Tg(z);if(x.push(b),x.err)throw x.msg||YA[x.err];return x.result}function Ah(b,z){return z=z||{},z.raw=!0,qd(b,z)}var lh=Tg,Sm=qd,bm=Ah,uh=qd,$d=tu,l0={Inflate:lh,inflate:Sm,inflateRaw:bm,ungzip:uh,constants:$d};const{Deflate:Df,deflate:Cm,deflateRaw:Em,gzip:Pm}=mo,{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=tu,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 yd(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 IA(b,z,x){for(let re=0;re>1)&255}else{for(;Ae>1)&255;for(;Ae>1)&255}}function xc(b,z,x,re,oe){let Ae=0;if(x.length===0){for(;Ae=x||xr>=re))for(let gr=0;gr>8&255}const yh=new Uint16Array([255]),Mg=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,yt;for(let We=0;We>8&255}const _g=Uint8Array.of(137,80,78,71,13,10,26,10);function Pp(b){b.writeBytes(_g)}function Of(b){if(!Om(b.readBytes(_g.length)))throw new Error("wrong PNG signature")}function Om(b){if(b.length<_g.length)return!1;for(let z=0;z<_g.length;z++)if(b[z]!==_g[z])return!1;return!0}const bh="tEXt",Ch=0,Eh=new TextDecoder("latin1");function Ph(b){if(Qf(b),b.length===0||b.length>79)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 Su={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 Cl{constructor(x,re={}){super(x);hs(this,"_checkCrc");hs(this,"_inflator");hs(this,"_png");hs(this,"_apng");hs(this,"_end");hs(this,"_hasPalette");hs(this,"_palette");hs(this,"_hasTransparency");hs(this,"_transparency");hs(this,"_compressionMethod");hs(this,"_filterMethod");hs(this,"_interlaceMethod");hs(this,"_colorType");hs(this,"_isAnimated");hs(this,"_numberOfFrames");hs(this,"_numberOfPlays");hs(this,"_frames");hs(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=Su.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?yd(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?yd(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 Su.GREYSCALE:oe=1;break;case Su.TRUECOLOUR:oe=3;break;case Su.INDEXED_COLOUR:oe=1;break;case Su.GREYSCALE_ALPHA:oe=2;break;case Su.TRUECOLOUR_ALPHA:oe=4;break;case Su.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 yt=0;yt0)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 Qu(b,z,x,re){for(let oe=0;oe>8&255),x.writeByte(mn&255)}}return re}function vs(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=Yo.saveAs||((typeof window=="undefined"?"undefined":(0,me.Z)(window))!=="object"||window!==Yo?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(b,z,x){var re=Yo.URL||Yo.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,me.Z)(Ae)!=="object"&&(Ws.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(Yo.HTMLElement)||Yo.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ie||oe&&Ae)&&(typeof FileReader=="undefined"?"undefined":(0,me.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=Yo.URL||Yo.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=Yo.atob.bind(Yo),b0=Yo.btoa.bind(Yo);function Gg(b,z){var x=b[0],re=b[1],oe=b[2],Ae=b[3];x=Ol(x,re,oe,Ae,z[0],7,-680876936),Ae=Ol(Ae,x,re,oe,z[1],12,-389564586),oe=Ol(oe,Ae,x,re,z[2],17,606105819),re=Ol(re,oe,Ae,x,z[3],22,-1044525330),x=Ol(x,re,oe,Ae,z[4],7,-176418897),Ae=Ol(Ae,x,re,oe,z[5],12,1200080426),oe=Ol(oe,Ae,x,re,z[6],17,-1473231341),re=Ol(re,oe,Ae,x,z[7],22,-45705983),x=Ol(x,re,oe,Ae,z[8],7,1770035416),Ae=Ol(Ae,x,re,oe,z[9],12,-1958414417),oe=Ol(oe,Ae,x,re,z[10],17,-42063),re=Ol(re,oe,Ae,x,z[11],22,-1990404162),x=Ol(x,re,oe,Ae,z[12],7,1804603682),Ae=Ol(Ae,x,re,oe,z[13],12,-40341101),oe=Ol(oe,Ae,x,re,z[14],17,-1502002290),x=hl(x,re=Ol(re,oe,Ae,x,z[15],22,1236535329),oe,Ae,z[1],5,-165796510),Ae=hl(Ae,x,re,oe,z[6],9,-1069501632),oe=hl(oe,Ae,x,re,z[11],14,643717713),re=hl(re,oe,Ae,x,z[0],20,-373897302),x=hl(x,re,oe,Ae,z[5],5,-701558691),Ae=hl(Ae,x,re,oe,z[10],9,38016083),oe=hl(oe,Ae,x,re,z[15],14,-660478335),re=hl(re,oe,Ae,x,z[4],20,-405537848),x=hl(x,re,oe,Ae,z[9],5,568446438),Ae=hl(Ae,x,re,oe,z[14],9,-1019803690),oe=hl(oe,Ae,x,re,z[3],14,-187363961),re=hl(re,oe,Ae,x,z[8],20,1163531501),x=hl(x,re,oe,Ae,z[13],5,-1444681467),Ae=hl(Ae,x,re,oe,z[2],9,-51403784),oe=hl(oe,Ae,x,re,z[7],14,1735328473),x=Ql(x,re=hl(re,oe,Ae,x,z[12],20,-1926607734),oe,Ae,z[5],4,-378558),Ae=Ql(Ae,x,re,oe,z[8],11,-2022574463),oe=Ql(oe,Ae,x,re,z[11],16,1839030562),re=Ql(re,oe,Ae,x,z[14],23,-35309556),x=Ql(x,re,oe,Ae,z[1],4,-1530992060),Ae=Ql(Ae,x,re,oe,z[4],11,1272893353),oe=Ql(oe,Ae,x,re,z[7],16,-155497632),re=Ql(re,oe,Ae,x,z[10],23,-1094730640),x=Ql(x,re,oe,Ae,z[13],4,681279174),Ae=Ql(Ae,x,re,oe,z[0],11,-358537222),oe=Ql(oe,Ae,x,re,z[3],16,-722521979),re=Ql(re,oe,Ae,x,z[6],23,76029189),x=Ql(x,re,oe,Ae,z[9],4,-640364487),Ae=Ql(Ae,x,re,oe,z[12],11,-421815835),oe=Ql(oe,Ae,x,re,z[15],16,530742520),x=kl(x,re=Ql(re,oe,Ae,x,z[2],23,-995338651),oe,Ae,z[0],6,-198630844),Ae=kl(Ae,x,re,oe,z[7],10,1126891415),oe=kl(oe,Ae,x,re,z[14],15,-1416354905),re=kl(re,oe,Ae,x,z[5],21,-57434055),x=kl(x,re,oe,Ae,z[12],6,1700485571),Ae=kl(Ae,x,re,oe,z[3],10,-1894986606),oe=kl(oe,Ae,x,re,z[10],15,-1051523),re=kl(re,oe,Ae,x,z[1],21,-2054922799),x=kl(x,re,oe,Ae,z[8],6,1873313359),Ae=kl(Ae,x,re,oe,z[15],10,-30611744),oe=kl(oe,Ae,x,re,z[6],15,-1560198380),re=kl(re,oe,Ae,x,z[13],21,1309151649),x=kl(x,re,oe,Ae,z[4],6,-145523070),Ae=kl(Ae,x,re,oe,z[11],10,-1120210379),oe=kl(oe,Ae,x,re,z[2],15,718787259),re=kl(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 Ol(b,z,x,re,oe,Ae,Ie){return Wg(z&x|~z&re,b,z,oe,Ae,Ie)}function hl(b,z,x,re,oe,Ae,Ie){return Wg(z&re|x&~re,b,z,oe,Ae,Ie)}function Ql(b,z,x,re,oe,Ae,Ie){return Wg(z^x^re,b,z,oe,Ae,Ie)}function kl(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 Mf(b){return String.fromCharCode(255&b,(65280&b)>>8,(16711680&b)>>16,(4278190080&b)>>24)}function C0(b){return Dh(b).map(Mf).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,yt=0,We=0,Gt="";for(Oe=0;Oe\x80/\f\xA9\xFEdSiz";var Ae=(z+this.padding).substr(0,32),Ie=(x+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ae,Ie),this.P=-(1+(255^oe)),this.encryptionKey=C0(Ae+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=$c(this.encryptionKey,this.padding)}function Gu(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,me.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){Yo.console&&Ws.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 Ao(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,me.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,yt={},We={internal:{},__private__:{}};We.__private__.PubSub=Oh;var Gt="1.3",Ht=We.__private__.getPdfVersion=function(){return Gt};We.__private__.setPdfVersion=function(ke){Gt=ke};var Zt={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};We.__private__.getPageFormats=function(){return Zt};var Ut=We.__private__.getPageFormat=function(ke){return Zt[ke]};oe=oe||"a4";var Fn="compat",mn="advanced",sn=Fn;function nr(){this.saveGraphicsState(),un(new Wo(ri,0,0,-ri,0,Af()*ri).toString()+" cm"),this.setFontSize(this.getFontSize()/ri),Re="n",sn=mn}function xr(){this.restoreGraphicsState(),Re="S",sn=Fn}var gr=We.__private__.combineFontStyleAndFontWeight=function(ke,ft){if(ke=="bold"&&ft=="normal"||ke=="bold"&&ft==400||ke=="normal"&&ft=="italic"||ke=="bold"&&ft=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return ft&&(ke=ft==400||ft==="normal"?ke==="italic"?"italic":"normal":ft!=700&&ft!=="bold"||ke!=="normal"?(ft==700?"bold":ft)+""+ke:"bold"),ke};We.advancedAPI=function(ke){var ft=sn===Fn;return ft&&nr.call(this),typeof ke!="function"||(ke(this),ft&&xr.call(this)),this},We.compatAPI=function(ke){var ft=sn===mn;return ft&&xr.call(this),typeof ke!="function"||(ke(this),ft&&nr.call(this)),this},We.isAdvancedAPI=function(){return sn===mn};var kn,An=function(ke){if(sn!==mn)throw new Error(ke+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Wn=We.roundToPrecision=We.__private__.roundToPrecision=function(ke,ft){var nn=z||ft;if(isNaN(ke)||isNaN(nn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ke.toFixed(nn).replace(/0+$/,"")};kn=We.hpf=We.__private__.hpf=typeof Oe=="number"?function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Wn(ke,Oe)}:Oe==="smart"?function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Wn(ke,ke>-1&&ke<1?16:5)}:function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Wn(ke,16)};var Nt=We.f2=We.__private__.f2=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.f2");return Wn(ke,2)},Xt=We.__private__.f3=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.f3");return Wn(ke,3)},Cn=We.scale=We.__private__.scale=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.scale");return sn===Fn?ke*ri:sn===mn?ke:void 0},Bn=function(ke){return Cn(function(ft){return sn===Fn?Af()-ft:sn===mn?ft:void 0}(ke))};We.__private__.setPrecision=We.setPrecision=function(ke){typeof parseInt(ke,10)=="number"&&(z=parseInt(ke,10))};var or,dr="00000000000000000000000000000000",pr=We.__private__.getFileId=function(){return dr},$n=We.__private__.setFileId=function(ke){return dr=ke!==void 0&&/^[a-fA-F0-9]{32}$/.test(ke)?ke.toUpperCase():dr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ve!==null&&($A=new tg(Ve.userPermissions,Ve.userPassword,Ve.ownerPassword,dr)),dr};We.setFileId=function(ke){return $n(ke),this},We.getFileId=function(){return pr()};var Br=We.__private__.convertDateToPDFDate=function(ke){var ft=ke.getTimezoneOffset(),nn=ft<0?"+":"-",Sn=Math.floor(Math.abs(ft/60)),Gn=Math.abs(ft%60),Ir=[nn,cn(Sn),"'",cn(Gn),"'"].join("");return["D:",ke.getFullYear(),cn(ke.getMonth()+1),cn(ke.getDate()),cn(ke.getHours()),cn(ke.getMinutes()),cn(ke.getSeconds()),Ir].join("")},da=We.__private__.convertPDFDateToDate=function(ke){var ft=parseInt(ke.substr(2,4),10),nn=parseInt(ke.substr(6,2),10)-1,Sn=parseInt(ke.substr(8,2),10),Gn=parseInt(ke.substr(10,2),10),Ir=parseInt(ke.substr(12,2),10),Zr=parseInt(ke.substr(14,2),10);return new Date(ft,nn,Sn,Gn,Ir,Zr,0)},zr=We.__private__.setCreationDate=function(ke){var ft;if(ke===void 0&&(ke=new Date),ke instanceof Date)ft=Br(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");ft=ke}return or=ft},xt=We.__private__.getCreationDate=function(ke){var ft=or;return ke==="jsDate"&&(ft=da(or)),ft};We.setCreationDate=function(ke){return zr(ke),this},We.getCreationDate=function(ke){return xt(ke)};var an,cn=We.__private__.padd2=function(ke){return("0"+parseInt(ke)).slice(-2)},Dn=We.__private__.padd2Hex=function(ke){return("00"+(ke=ke.toString())).substr(ke.length)},_n=0,er=[],mr=[],lr=0,Qr=[],ra=[],xa=!1,Ua=mr;We.__private__.setCustomOutputDestination=function(ke){xa=!0,Ua=ke};var br=function(ke){xa||(Ua=ke)};We.__private__.resetCustomOutputDestination=function(){xa=!1,Ua=mr};var un=We.__private__.out=function(ke){return ke=ke.toString(),lr+=ke.length+1,Ua.push(ke),Ua},es=We.__private__.write=function(ke){return un(arguments.length===1?ke.toString():Array.prototype.join.call(arguments," "))},Ui=We.__private__.getArrayBuffer=function(ke){for(var ft=ke.length,nn=new ArrayBuffer(ft),Sn=new Uint8Array(nn);ft--;)Sn[ft]=ke.charCodeAt(ft);return nn},Ho=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];We.__private__.getStandardFonts=function(){return Ho};var la=b.fontSize||16;We.__private__.setFontSize=We.setFontSize=function(ke){return la=sn===mn?ke/ri:ke,this};var xo,ja=We.__private__.getFontSize=We.getFontSize=function(){return sn===Fn?la:la*ri},Oi=b.R2L||!1;We.__private__.setR2L=We.setR2L=function(ke){return Oi=ke,this},We.__private__.getR2L=We.getR2L=function(){return Oi};var Qo,Ss=We.__private__.setZoomMode=function(ke){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ke))xo=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.');xo=ke}else xo=parseInt(ke,10)};We.__private__.getZoomMode=function(){return xo};var Si,bi=We.__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};We.__private__.getPageMode=function(){return Qo};var tA=We.__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.');Si=ke};We.__private__.getLayoutMode=function(){return Si},We.__private__.setDisplayMode=We.setDisplayMode=function(ke,ft,nn){return Ss(ke),tA(ft),bi(nn),this};var Qi={title:"",subject:"",author:"",keywords:"",creator:""};We.__private__.getDocumentProperty=function(ke){if(Object.keys(Qi).indexOf(ke)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Qi[ke]},We.__private__.getDocumentProperties=function(){return Qi},We.__private__.setDocumentProperties=We.setProperties=We.setDocumentProperties=function(ke){for(var ft in Qi)Qi.hasOwnProperty(ft)&&ke[ft]&&(Qi[ft]=ke[ft]);return this},We.__private__.setDocumentProperty=function(ke,ft){if(Object.keys(Qi).indexOf(ke)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Qi[ke]=ft};var Do,ri,Uo,pA,bs,wo={},Ci={},lA=[],Go={},rs={},Ei={},qA={},ml=null,uA=0,fi=[],Ts=new Oh(We),Yg=b.hotfixes||[],cu={},xd={},sd=[],Wo=function ke(ft,nn,Sn,Gn,Ir,Zr){if(!(this instanceof ke))return new ke(ft,nn,Sn,Gn,Ir,Zr);isNaN(ft)&&(ft=1),isNaN(nn)&&(nn=0),isNaN(Sn)&&(Sn=0),isNaN(Gn)&&(Gn=1),isNaN(Ir)&&(Ir=0),isNaN(Zr)&&(Zr=0),this._matrix=[ft,nn,Sn,Gn,Ir,Zr]};Object.defineProperty(Wo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ke){this._matrix[0]=ke}}),Object.defineProperty(Wo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ke){this._matrix[1]=ke}}),Object.defineProperty(Wo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ke){this._matrix[2]=ke}}),Object.defineProperty(Wo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ke){this._matrix[3]=ke}}),Object.defineProperty(Wo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ke){this._matrix[4]=ke}}),Object.defineProperty(Wo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ke){this._matrix[5]=ke}}),Object.defineProperty(Wo.prototype,"a",{get:function(){return this._matrix[0]},set:function(ke){this._matrix[0]=ke}}),Object.defineProperty(Wo.prototype,"b",{get:function(){return this._matrix[1]},set:function(ke){this._matrix[1]=ke}}),Object.defineProperty(Wo.prototype,"c",{get:function(){return this._matrix[2]},set:function(ke){this._matrix[2]=ke}}),Object.defineProperty(Wo.prototype,"d",{get:function(){return this._matrix[3]},set:function(ke){this._matrix[3]=ke}}),Object.defineProperty(Wo.prototype,"e",{get:function(){return this._matrix[4]},set:function(ke){this._matrix[4]=ke}}),Object.defineProperty(Wo.prototype,"f",{get:function(){return this._matrix[5]},set:function(ke){this._matrix[5]=ke}}),Object.defineProperty(Wo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Wo.prototype.join=function(ke){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(kn).join(ke)},Wo.prototype.multiply=function(ke){var ft=ke.sx*this.sx+ke.shy*this.shx,nn=ke.sx*this.shy+ke.shy*this.sy,Sn=ke.shx*this.sx+ke.sy*this.shx,Gn=ke.shx*this.shy+ke.sy*this.sy,Ir=ke.tx*this.sx+ke.ty*this.shx+this.tx,Zr=ke.tx*this.shy+ke.ty*this.sy+this.ty;return new Wo(ft,nn,Sn,Gn,Ir,Zr)},Wo.prototype.decompose=function(){var ke=this.sx,ft=this.shy,nn=this.shx,Sn=this.sy,Gn=this.tx,Ir=this.ty,Zr=Math.sqrt(ke*ke+ft*ft),oo=(ke/=Zr)*nn+(ft/=Zr)*Sn;nn-=ke*oo,Sn-=ft*oo;var po=Math.sqrt(nn*nn+Sn*Sn);return oo/=po,ke*(Sn/=po)>16&255,Sn=po>>8&255,Gn=255&po}if(Sn===void 0||Ir===void 0&&nn===Sn&&Sn===Gn)ft=typeof nn=="string"?nn+" "+Zr[0]:ke.precision===2?Nt(nn/255)+" "+Zr[0]:Xt(nn/255)+" "+Zr[0];else if(Ir===void 0||(0,me.Z)(Ir)==="object"){if(Ir&&!isNaN(Ir.a)&&Ir.a===0)return["1.","1.","1.",Zr[1]].join(" ");ft=typeof nn=="string"?[nn,Sn,Gn,Zr[1]].join(" "):ke.precision===2?[Nt(nn/255),Nt(Sn/255),Nt(Gn/255),Zr[1]].join(" "):[Xt(nn/255),Xt(Sn/255),Xt(Gn/255),Zr[1]].join(" ")}else ft=typeof nn=="string"?[nn,Sn,Gn,Ir,Zr[2]].join(" "):ke.precision===2?[Nt(nn),Nt(Sn),Nt(Gn),Nt(Ir),Zr[2]].join(" "):[Xt(nn),Xt(Sn),Xt(Gn),Xt(Ir),Zr[2]].join(" ");return ft},kc=We.__private__.getFilters=function(){return Ie},dc=We.__private__.putStream=function(ke){var ft=(ke=ke||{}).data||"",nn=ke.filters||kc(),Sn=ke.alreadyAppliedFilters||[],Gn=ke.addLength1||!1,Ir=ft.length,Zr=ke.objectId,oo=function(pl){return pl};if(Ve!==null&&Zr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ve!==null&&(oo=$A.encryptor(Zr,0));var po={};nn===!0&&(nn=["FlateEncode"]);var ui=ke.additionalKeyValues||[],Bi=(po=Ao.API.processDataByFilters!==void 0?Ao.API.processDataByFilters(ft,nn):{data:ft,reverseChain:[]}).reverseChain+(Array.isArray(Sn)?Sn.join(" "):Sn.toString());if(po.data.length!==0&&(ui.push({key:"Length",value:po.data.length}),Gn===!0&&ui.push({key:"Length1",value:Ir})),Bi.length!=0)if(Bi.split("/").length-1==1)ui.push({key:"Filter",value:Bi});else{ui.push({key:"Filter",value:"["+Bi+"]"});for(var Cs=0;Cs>"),po.data.length!==0&&(un("stream"),un(oo(po.data)),un("endstream"))},Jg=We.__private__.putPage=function(ke){var ft=ke.number,nn=ke.data,Sn=ke.objId,Gn=ke.contentsObjId;Wl(Sn,!0),un("<>"),un("endobj");var Ir=nn.join(` `);return sn===mn&&(Ir+=` Q`),Wl(Gn,!0),dc({data:Ir,filters:kc(),objectId:Gn}),un("endobj"),Sn},ld=We.__private__.putPages=function(){var ke,ft,nn=[];for(ke=1;ke<=uA;ke++)fi[ke].objId=Rl(),fi[ke].contentsObjId=Rl();for(ke=1;ke<=uA;ke++)nn.push(Jg({number:ke,data:ra[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:og,resourceDictionaryObjId:Oc}));Wl(og,!0),un("<>"),un("endobj"),Ts.publish("postPutPages")},qg=function(ke){Ts.publish("putFont",{font:ke,out:un,newObject:zA,putStream:dc}),ke.isAlreadyPutted!==!0&&(ke.objectNumber=zA(),un("<<"),un("/Type /Font"),un("/BaseFont /"+Gu(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=zA();var ft=[];ft.push({key:"Type",value:"/XObject"}),ft.push({key:"Subtype",value:"/Form"}),ft.push({key:"BBox",value:"["+[kn(ke.x),kn(ke.y),kn(ke.x+ke.width),kn(ke.y+ke.height)].join(" ")+"]"}),ft.push({key:"Matrix",value:"["+ke.matrix.toString()+"]"});var nn=ke.pages[1].join(` `);dc({data:nn,additionalKeyValues:ft,objectId:ke.objectNumber}),un("endobj")},zf=function(ke,ft){ft||(ft=21);var nn=zA(),Sn=function(Zr,oo){var po,ui=[],Bi=1/(oo-1);for(po=0;po<1;po+=Bi)ui.push(po);if(ui.push(1),Zr[0].offset!=0){var Cs={offset:0,color:Zr[0].color};Zr.unshift(Cs)}if(Zr[Zr.length-1].offset!=1){var jA={offset:1,color:Zr[Zr.length-1].color};Zr.push(jA)}for(var ul="",vA=0,pl=0;plZr[vA+1].offset;)vA++;var cl=Zr[vA].offset,Zl=(po-cl)/(Zr[vA+1].offset-cl),fc=Zr[vA].color,Tu=Zr[vA+1].color;ul+=Dn(Math.round((1-Zl)*fc[0]+Zl*Tu[0]).toString(16))+Dn(Math.round((1-Zl)*fc[1]+Zl*Tu[1]).toString(16))+Dn(Math.round((1-Zl)*fc[2]+Zl*Tu[2]).toString(16))}return ul.trim()}(ke.colors,ft),Gn=[];Gn.push({key:"FunctionType",value:"0"}),Gn.push({key:"Domain",value:"[0.0 1.0]"}),Gn.push({key:"Size",value:"["+ft+"]"}),Gn.push({key:"BitsPerSample",value:"8"}),Gn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Gn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),dc({data:Sn,additionalKeyValues:Gn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:nn}),un("endobj"),ke.objectNumber=zA(),un("<< /ShadingType "+ke.type),un("/ColorSpace /DeviceRGB");var Ir="/Coords ["+kn(parseFloat(ke.coords[0]))+" "+kn(parseFloat(ke.coords[1]))+" ";ke.type===2?Ir+=kn(parseFloat(ke.coords[2]))+" "+kn(parseFloat(ke.coords[3])):Ir+=kn(parseFloat(ke.coords[2]))+" "+kn(parseFloat(ke.coords[3]))+" "+kn(parseFloat(ke.coords[4]))+" "+kn(parseFloat(ke.coords[5])),un(Ir+="]"),ke.matrix&&un("/Matrix ["+ke.matrix.toString()+"]"),un("/Function "+nn+" 0 R"),un("/Extend [true true]"),un(">>"),un("endobj")},Gf=function(ke,ft){var nn=Rl(),Sn=zA();ft.push({resourcesOid:nn,objectOid:Sn}),ke.objectNumber=Sn;var Gn=[];Gn.push({key:"Type",value:"/Pattern"}),Gn.push({key:"PatternType",value:"1"}),Gn.push({key:"PaintType",value:"1"}),Gn.push({key:"TilingType",value:"1"}),Gn.push({key:"BBox",value:"["+ke.boundingBox.map(kn).join(" ")+"]"}),Gn.push({key:"XStep",value:kn(ke.xStep)}),Gn.push({key:"YStep",value:kn(ke.yStep)}),Gn.push({key:"Resources",value:nn+" 0 R"}),ke.matrix&&Gn.push({key:"Matrix",value:"["+ke.matrix.toString()+"]"}),dc({data:ke.stream,additionalKeyValues:Gn,objectId:ke.objectNumber}),un("endobj")},Gm=function(ke){for(var ft in ke.objectNumber=zA(),un("<<"),ke)switch(ft){case"opacity":un("/ca "+Nt(ke[ft]));break;case"stroke-opacity":un("/CA "+Nt(ke[ft]))}un(">>"),un("endobj")},x0=function(ke){Wl(ke.resourcesOid,!0),un("<<"),un("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var ft in un("/Font <<"),wo)wo.hasOwnProperty(ft)&&(ct===!1||ct===!0&&yt.hasOwnProperty(ft))&&un("/"+ft+" "+wo[ft].objectNumber+" 0 R");un(">>")}(),function(){if(Object.keys(Go).length>0){for(var ft in un("/Shading <<"),Go)Go.hasOwnProperty(ft)&&Go[ft]instanceof ed&&Go[ft].objectNumber>=0&&un("/"+ft+" "+Go[ft].objectNumber+" 0 R");Ts.publish("putShadingPatternDict"),un(">>")}}(),function(ft){if(Object.keys(Go).length>0){for(var nn in un("/Pattern <<"),Go)Go.hasOwnProperty(nn)&&Go[nn]instanceof We.TilingPattern&&Go[nn].objectNumber>=0&&Go[nn].objectNumber>")}}(ke.objectOid),function(){if(Object.keys(Ei).length>0){var ft;for(ft in un("/ExtGState <<"),Ei)Ei.hasOwnProperty(ft)&&Ei[ft].objectNumber>=0&&un("/"+ft+" "+Ei[ft].objectNumber+" 0 R");Ts.publish("putGStateDict"),un(">>")}}(),function(){for(var ft in un("/XObject <<"),cu)cu.hasOwnProperty(ft)&&cu[ft].objectNumber>=0&&un("/"+ft+" "+cu[ft].objectNumber+" 0 R");Ts.publish("putXobjectDict"),un(">>")}(),un(">>"),un("endobj")},Th=function(ke){Ci[ke.fontName]=Ci[ke.fontName]||{},Ci[ke.fontName][ke.fontStyle]=ke.id},Rh=function(ke,ft,nn,Sn,Gn){var Ir={id:"F"+(Object.keys(wo).length+1).toString(10),postScriptName:ke,fontName:ft,fontStyle:nn,encoding:Sn,isStandardFont:Gn||!1,metadata:{}};return Ts.publish("addFont",{font:Ir,instance:this}),wo[Ir.id]=Ir,Th(Ir),Ir.id},gc=We.__private__.pdfEscape=We.pdfEscape=function(ke,ft){return function(nn,Sn){var Gn,Ir,Zr,oo,po,ui,Bi,Cs,jA;if(Zr=(Sn=Sn||{}).sourceEncoding||"Unicode",po=Sn.outputEncoding,(Sn.autoencode||po)&&wo[Do].metadata&&wo[Do].metadata[Zr]&&wo[Do].metadata[Zr].encoding&&(oo=wo[Do].metadata[Zr].encoding,!po&&wo[Do].encoding&&(po=wo[Do].encoding),!po&&oo.codePages&&(po=oo.codePages[0]),typeof po=="string"&&(po=oo[po]),po)){for(Bi=!1,ui=[],Gn=0,Ir=nn.length;Gn>8&&(Bi=!0);nn=ui.join("")}for(Gn=nn.length;Bi===void 0&&Gn!==0;)nn.charCodeAt(Gn-1)>>8&&(Bi=!0),Gn--;if(!Bi)return nn;for(ui=Sn.noBOM?[]:[254,255],Gn=0,Ir=nn.length;Gn>8)>>8)throw new Error("Character at position "+Gn+" of string '"+nn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ui.push(jA),ui.push(Cs-(jA<<8))}return String.fromCharCode.apply(void 0,ui)}(ke,ft).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},F0=We.__private__.beginPage=function(ke){ra[++uA]=[],fi[uA]={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(uA),br(ra[an])},jh=function(ke,ft){var nn,Sn,Gn;switch(x=ft||x,typeof ke=="string"&&(nn=Ut(ke.toLowerCase()),Array.isArray(nn)&&(Sn=nn[0],Gn=nn[1])),Array.isArray(ke)&&(Sn=ke[0]*ri,Gn=ke[1]*ri),isNaN(Sn)&&(Sn=oe[0],Gn=oe[1]),(Sn>14400||Gn>14400)&&(Ws.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Sn=Math.min(14400,Sn),Gn=Math.min(14400,Gn)),oe=[Sn,Gn],x.substr(0,1)){case"l":Gn>Sn&&(oe=[Gn,Sn]);break;case"p":Sn>Gn&&(oe=[Gn,Sn])}F0(oe),ep(U0),un(Zf),Q0!==0&&un(Q0+" J"),k0!==0&&un(k0+" j"),Ts.publish("addPage",{pageNumber:uA})},L0=function(ke){ke>0&&ke<=uA&&(ra.splice(ke,1),fi.splice(ke,1),uA--,an>uA&&(an=uA),this.setPage(an))},Hh=function(ke){ke>0&&ke<=uA&&(an=ke)},Mh=We.__private__.getNumberOfPages=We.getNumberOfPages=function(){return ra.length-1},_h=function(ke,ft,nn){var Sn,Gn=void 0;return nn=nn||{},ke=ke!==void 0?ke:wo[Do].fontName,ft=ft!==void 0?ft:wo[Do].fontStyle,Sn=ke.toLowerCase(),Ci[Sn]!==void 0&&Ci[Sn][ft]!==void 0?Gn=Ci[Sn][ft]:Ci[ke]!==void 0&&Ci[ke][ft]!==void 0?Gn=Ci[ke][ft]:nn.disableWarning===!1&&Ws.warn("Unable to look up font label for font '"+ke+"', '"+ft+"'. Refer to getFontList() for available fonts."),Gn||nn.noFallback||(Gn=Ci.times[ft])==null&&(Gn=Ci.times.normal),Gn},Wf=We.__private__.putInfo=function(){var ke=zA(),ft=function(Sn){return Sn};for(var nn in Ve!==null&&(ft=$A.encryptor(ke,0)),un("<<"),un("/Producer ("+gc(ft("jsPDF "+Ao.version))+")"),Qi)Qi.hasOwnProperty(nn)&&Qi[nn]&&un("/"+nn.substr(0,1).toUpperCase()+nn.substr(1)+" ("+gc(ft(Qi[nn]))+")");un("/CreationDate ("+gc(ft(or))+")"),un(">>"),un("endobj")},Wm=We.__private__.putCatalog=function(ke){var ft=(ke=ke||{}).rootDictionaryObjId||og;switch(zA(),un("<<"),un("/Type /Catalog"),un("/Pages "+ft+" 0 R"),xo||(xo="fullwidth"),xo){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=""+xo;nn.substr(nn.length-1)==="%"&&(xo=parseInt(xo)/100),typeof xo=="number"&&un("/OpenAction [3 0 R /XYZ null null "+Nt(xo)+"]")}switch(Si||(Si="continuous"),Si){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),Ts.publish("putCatalog"),un(">>"),un("endobj")},ll=We.__private__.putTrailer=function(){un("trailer"),un("<<"),un("/Size "+(_n+1)),un("/Root "+_n+" 0 R"),un("/Info "+(_n-1)+" 0 R"),Ve!==null&&un("/Encrypt "+$A.oid+" 0 R"),un("/ID [ <"+dr+"> <"+dr+"> ]"),un(">>")},Kh=We.__private__.putHeader=function(){un("%PDF-"+Gt),un("%\xBA\xDF\xAC\xE0")},zh=We.__private__.putXRef=function(){var ke="0000000000";un("xref"),un("0 "+(_n+1)),un("0000000000 65535 f ");for(var ft=1;ft<=_n;ft++)typeof er[ft]=="function"?un((ke+er[ft]()).slice(-10)+" 00000 n "):er[ft]!==void 0?un((ke+er[ft]).slice(-10)+" 00000 n "):un("0000000000 00000 n ")},Id=We.__private__.buildDocument=function(){var ke;_n=0,lr=0,mr=[],er=[],Qr=[],og=Rl(),Oc=Rl(),br(mr),Ts.publish("buildDocument"),Kh(),ld(),function(){Ts.publish("putAdditionalObjects");for(var nn=0;nn"),un("/O <"+$A.toHexString($A.O)+">"),un("/P "+$A.P),un(">>"),un("endobj")),Wf(),Wm();var ft=lr;return zh(),ll(),un("startxref"),un(""+ft),un("%%EOF"),br(ra[an]),mr.join(` `)},$g=We.__private__.getBlob=function(ke){return new Blob([Ui(ke)],{type:"application/pdf"})},Tc=We.output=We.__private__.output=(cc=function(ke,ft){switch(typeof(ft=ft||{})=="string"?ft={filename:ft}:ft.filename=ft.filename||"generated.pdf",ke){case void 0:return Id();case"save":We.save(ft.filename);break;case"arraybuffer":return Ui(Id());case"blob":return $g(Id());case"bloburi":case"bloburl":if(Yo.URL!==void 0&&typeof Yo.URL.createObjectURL=="function")return Yo.URL&&Yo.URL.createObjectURL($g(Id()))||void 0;Ws.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var nn="",Sn=Id();try{nn=b0(Sn)}catch(ul){nn=b0(unescape(encodeURIComponent(Sn)))}return"data:application/pdf;filename="+ft.filename+";base64,"+nn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Yo)==="[object Window]"){var Gn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Ir=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';ft.pdfObjectUrl&&(Gn=ft.pdfObjectUrl,Ir="");var Zr='