diff --git a/1561.f991ff4e.async.js b/1561.28e42094.async.js similarity index 99% rename from 1561.f991ff4e.async.js rename to 1561.28e42094.async.js index 533e0d50f3..483e1f8ac8 100644 --- a/1561.f991ff4e.async.js +++ b/1561.28e42094.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[1561],{87169:function(ct,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ne=fe(54476),we=fe(59301),E={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"},he=E,me=fe(7657),de=function(ie,oe){return we.createElement(me.Z,(0,ne.Z)({},ie,{ref:oe,icon:he}))},le=we.forwardRef(de),se=le},27431:function(ct,at){"use strict";at.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},89517:function(ct,at){"use strict";at.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},68632:function(ct,at){"use strict";at.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},70122:function(){"use strict"},53956:function(ct,at,fe){"use strict";var ne=fe(59301),we=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,de=(ue,ie,oe)=>ie in ue?we(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ie]=oe,le=(ue,ie)=>{for(var oe in ie||(ie={}))he.call(ie,oe)&&de(ue,oe,ie[oe]);if(E)for(var oe of E(ie))me.call(ie,oe)&&de(ue,oe,ie[oe]);return ue};const se=ue=>React.createElement("svg",le({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ue),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));at.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},12082:function(ct,at,fe){"use strict";var ne=fe(59301),we=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,de=(ue,ie,oe)=>ie in ue?we(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ie]=oe,le=(ue,ie)=>{for(var oe in ie||(ie={}))he.call(ie,oe)&&de(ue,oe,ie[oe]);if(E)for(var oe of E(ie))me.call(ie,oe)&&de(ue,oe,ie[oe]);return ue};const se=ue=>React.createElement("svg",le({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ue),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));at.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},62595:function(ct,at,fe){"use strict";var ne=fe(59301),we=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,de=(ue,ie,oe)=>ie in ue?we(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ie]=oe,le=(ue,ie)=>{for(var oe in ie||(ie={}))he.call(ie,oe)&&de(ue,oe,ie[oe]);if(E)for(var oe of E(ie))me.call(ie,oe)&&de(ue,oe,ie[oe]);return ue};const se=ue=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));at.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},14699:function(ct,at,fe){"use strict";var ne=fe(59301),we=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,de=(ue,ie,oe)=>ie in ue?we(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ie]=oe,le=(ue,ie)=>{for(var oe in ie||(ie={}))he.call(ie,oe)&&de(ue,oe,ie[oe]);if(E)for(var oe of E(ie))me.call(ie,oe)&&de(ue,oe,ie[oe]);return ue};const se=ue=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));at.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},87851:function(){"use strict";function ct(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var at=[];function fe(ee,a){var y=at.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function ne(){var ee=at.pop();return ee===void 0?new go.Point:ee}function we(ee){at.push(ee)}function E(ee,a,y,x,b,z,te,ce,ge){ge||(ge=new go.Point);var pe=ee-y,ve=b-te,ye=NaN,Ee=NaN;if(pe===0)if(ve===0)ee===y&&(ye=ee,Ee=a);else{var be=(z-ce)/ve,Se=z-be*b;ye=ee,Ee=be*ye+Se}else if(ve===0){var Pe=(a-x)/pe,Ce=a-Pe*ee;ye=b,Ee=Pe*ye+Ce}else{var Pe=(a-x)/pe,be=(z-ce)/ve,Ce=a-Pe*ee,Se=z-be*b;ye=(Se-Ce)/(Pe-be),Ee=Pe*ye+Ce}return ge.x=ye,ge.y=Ee,ge}function he(ee,a,y,x,b,z,te,ce,ge,pe,ve,ye,Ee,be){var Se=1-ge,Pe=ge,Ce=ee*Se+y*Pe,xe=a*Se+x*Pe,Be=y*Se+b*Pe,Ae=x*Se+z*Pe,Te=b*Se+te*Pe,Oe=z*Se+ce*Pe,je=Ce*Se+Be*Pe,De=xe*Se+Ae*Pe,We=Be*Se+Te*Pe,ze=Ae*Se+Oe*Pe,Ve=je*Se+We*Pe,Ze=De*Se+ze*Pe;pe.x=Ce,pe.y=xe,ve.x=je,ve.y=De,ye.x=Ve,ye.y=Ze,Ee.x=We,Ee.y=ze,be.x=Te,be.y=Oe}var me=new go.Spot(.156,.156),de=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ee,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ee,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=me,b.spot2=de,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),z.spot1=me,z.spot2=de,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ee,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,b=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,z,te,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=le/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,te=y/2,ce=Math.atan2(y,a),ge=x-Math.min(Math.cos(ce)*x/2,z),pe=x-Math.min(Math.sin(ce)*x/2,te),b=new go.Geometry,ve=new go.PathFigure(ge,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ge,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,pe)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-pe)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ge,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,ge,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-pe)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,0,pe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,te=.3,ce=0,ge=z*le;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ce)*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te)*a,(.5-ge+ce)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te+.05)*a,(.5-ge+ce-.02)*y)),z=.2,te=0,ce=-.3,ge=z*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ce)*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te)*a,(.5-ge+ce)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ce)*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te)*a,(.5-ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),z=.2,te=-.3,ce=0,ge=z*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te-.05)*a,(.5-ge+ce-.02)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ce)*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te)*a,(.5-ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,te=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ce,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((te+z)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ce,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=.5,te=.5,ce=.5,ge=new go.PathFigure(te*a,(ce-z)*y);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),z=.4,b=le*.4;var pe=ne(),ve=ne(),ye=ne(),Ee=ne();he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.42,pe,ve,ye,Ee,Ee);var be=ne(),Se=ne(),Pe=ne();he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.58,Ee,Ee,Pe,be,Se);var Ce=ne(),xe=ne(),Be=ne();he(te,ce+z,te-b,ce+z,te-z,ce+b,te-z,ce,.42,Ce,xe,Be,Ee,Ee);var Ae=ne(),Te=ne(),Oe=ne();return he(te,ce+z,te-b,ce+z,te-z,ce+b,te-z,ce,.58,Ee,Ee,Oe,Ae,Te),ge.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,Ae.x*a,Ae.y*y,Te.x*a,Te.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye.x*a,ye.y*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,Be.x*a,Be.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,be.x*a,be.y*y,Se.x*a,Se.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Be.x*a,Be.y*y,Ce.x*a,Ce.y*y,xe.x*a,xe.y*y).close()),we(pe),we(ve),we(ye),we(Ee),we(be),we(Se),we(Pe),we(Ce),we(xe),we(Be),we(Ae),we(Te),we(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ee,a,y){var x=new go.Geometry,b=le*.4,z=.4,te=.5,ce=.5,ge=ne(),pe=ne(),ve=ne(),ye=ne(),Ee=new go.PathFigure((te-z)*a,ce*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.44,ve,ye,pe,ge,ge),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ve.x*a,ve.y*y,ye.x*a,ye.y*y));var be=fe(pe.x,pe.y);he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.56,ge,ge,pe,ve,ye);var Se=fe(pe.x,pe.y);Ee.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*a,be.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,be.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,(Se.y*.1+.05*.9)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ve.x*a,ve.y*y,ye.x*a,ye.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),z=.35,b=le*.35;var Pe=new go.PathFigure(te*a,(ce-z)*y,!1);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y));var Ce=new go.PathFigure((te-z)*a,ce*y,!1);return x.add(Ce),we(ge),we(pe),we(ve),we(ye),we(be),we(Se),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ee,a,y){var x=new go.Geometry,b=.375,z=0,te=-.125,ce=b*le,ge=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ce+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ce+te)*y,(.5+ce+z)*a,(.5-b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ce+te)*y,(.5-ce+z)*a,(.5+b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,te=-.125,ce=b*le;var ge=new go.PathFigure((1-.5+b+z)*a,(.5+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ce+te)*y,(.5+ce+z)*a,(.5+b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y,(.5-ce+z)*a,(.5-b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ce+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ce+te)*y));var ge=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);return x.add(ge),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ee,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,te=(.5-b/2)*y,ce=(.5+b/2)*y,ge=new go.Geometry,pe=new go.PathFigure(0,te,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,te)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),ge.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,z/a,1,1,.5,ne());return ge.spot2=new go.Spot(ve.x,ve.y),we(ve),ge}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,te=(y-b)/2,ce=te+b,ge=new go.Geometry,pe=new go.PathFigure(0,te,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,te)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),ge.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,z/a,1,1,.5,ne());return ge.spot2=new go.Spot(ve.x,ve.y),we(ve),ge}),go.Shape.defineFigureGenerator("Chevron",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ge=E(0,.5,.3,0,0,b/y,.1,b/y,ne());return te.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,1,1,.5,0,z/y,1,z/y,ge),te.spot2=new go.Spot(ge.x,ge.y),we(ge),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,ce=(y-b)/2,ge=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ce=0,ge=y):(z=0,te=y,ce=0,ge=y));var pe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);pe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var ye=E(0,.5,.3,ce/y,0,z/y,1,z/y,ne());return pe.spot1=new go.Spot(ye.x,ye.y),ye=E(.7,ge/y,1,.5,0,te/y,1,te/y,ye),pe.spot2=new go.Spot(ye.x,ye.y),we(ye),pe}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var ge=E(.7,1,1,.5,0,z/y,1,z/y,ne());return te.spot2=new go.Spot(ge.x,ge.y),we(ge),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,ce=(y-b)/2,ge=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ce=0,ge=y):(z=0,te=y,ce=0,ge=y));var pe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);pe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),pe.spot1=new go.Spot(0,z/y);var ye=E(.7,ge/y,1,.5,0,te/y,1,te/y,ne());return pe.spot2=new go.Spot(ye.x,ye.y),we(ye),pe}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),we(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),we(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var ge=E(.7,1,1,.5,0,z/y,1,z/y,ne());return te.spot2=new go.Spot(ge.x,ge.y),we(ge),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var ge=E(.7,1,1,.5,0,z/y,1,z/y,ne());return te.spot2=new go.Spot(ge.x,ge.y),we(ge),te}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=le*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=le*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,le*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-le*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-le*x,(.5+z)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-le*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=le*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,le*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-le*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-le*x,(.5-z)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-le*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=le*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-le*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,le*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+le*x,0,2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+le*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=le*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-le*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,le*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-le*x,0,a-2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-le*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,b=.2,z=.1,te=le*b,ce=le*z,ge=.5,pe=.1,ve=new go.PathFigure(ge*a,(pe+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge-b)*a,pe*y,(ge-te)*a,(pe+z)*y,(ge-b)*a,(pe+ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-z)*y,(ge-b)*a,(pe-ce)*y,(ge-te)*a,(pe-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+b)*a,pe*y,(ge+te)*a,(pe-z)*y,(ge+b)*a,(pe-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+z)*y,(ge+b)*a,(pe+ce)*y,(ge+te)*a,(pe+z)*y));var ye=.05,Ee=le*ye;ge=.05,pe=.25;var be=new go.PathFigure(.5*a,.2*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ge=.95,pe=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ye)*a,pe*y,(ge+Ee)*a,(pe-ye)*y,(ge+ye)*a,(pe-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ye=.025,Ee=le*ye,ge=.825,pe=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ye)*y,(ge+ye)*a,(pe-Ee)*y,(ge+Ee)*a,(pe-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ye)*a,pe*y,(ge-Ee)*a,(pe-ye)*y,(ge-ye)*a,(pe-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ye=.05,Ee=le*ye,ge=.5,pe=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ye)*y,(ge+ye)*a,(pe-Ee)*y,(ge+Ee)*a,(pe-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ye)*a,pe*y,(ge-Ee)*a,(pe-ye)*y,(ge-ye)*a,(pe-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ye=.025,Ee=le*ye,ge=.175,pe=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ye)*y,(ge+ye)*a,(pe-Ee)*y,(ge+Ee)*a,(pe-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ye)*a,pe*y,(ge-Ee)*a,(pe-ye)*y,(ge-ye)*a,(pe-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ye=.05,Ee=le*ye,ge=.05,pe=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ye)*y,(ge-ye)*a,(pe-Ee)*y,(ge-Ee)*a,(pe-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=le*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=le*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=le*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=le*.5,ce=.5,ge=new go.PathFigure(a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+te)*y,(ce+te)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-te)*a,y,0,(ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-te)*y,(ce-te)*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+te)*a,0,a,(ce-te)*y));var pe=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),pe.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-b)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,z*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ge=new go.PathFigure(.8*a,.75*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ee,a,y){var x=new go.Geometry,b=le*.1,z=.1,te=.9,ce=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var pe=new go.PathFigure((te+z)*a,ce*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce-z)*y,(te+z)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=le*.4,te=le*.1,ce=.1,ge=.9,pe=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var ye=new go.PathFigure((ge+ce)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ce)*y,(ge+ce)*a,(pe+te)*y,(ge+te)*a,(pe+ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,pe*y,(ge-te)*a,(pe+ce)*y,(ge-ce)*a,(pe+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ce)*y,(ge-ce)*a,(pe-te)*y,(ge-te)*a,(pe-ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,pe*y,(ge+te)*a,(pe-ce)*y,(ge+ce)*a,(pe-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=le*b,te=0,ce=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=le*.1,te=.9,ce=.5;var pe=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=le*b,te=0,ce=.5,ge=new go.PathFigure(0,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(ce-b)*y,.8*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+z)*y,(te+z+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=le*b,te=.2,ce=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=le*.1,te=.9,ce=.5;var ve=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=le*b,te=.2,ce=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.2*a,0,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z)*a,(ce-b)*y,.9*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ee,a,y){var x=new go.Geometry,b=le*.1,z=.1,te=.1,ce=.5,ge=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.3,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.5,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.9,ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+z)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,b=le*.5,z=.5,te=.5,ce=.5,ge=new go.PathFigure((te-z)*a,ce*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce-z)*y,(te+z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,ce*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,ce*y,te*a,(ce-z)*y,te*a,(ce+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ee,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var te=le*.8,ce=.8,ge=0,pe=.5,ve=(b-a)/2,ye=(z-y)/2,Ee=new go.PathFigure(ge*a+ve,(pe+ce)*y+ye,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,pe*y+ye,(ge-te)*a+ve,(pe+ce)*y+ye,(ge-ce)*a+ve,(pe+te)*y+ye)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe-ce)*y+ye,(ge-ce)*a+ve,(pe-te)*y+ye,(ge-te)*a+ve,(pe-ce)*y+ye)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce+te*.5)*a+ve,pe*y+ye,ge*a+ve,(pe-ce)*y+ye,(ge-ce+te*.5)*a+ve,(pe-te)*y+ye)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe+ce)*y+ye,(ge-ce+te*.5)*a+ve,(pe+te)*y+ye,ge*a+ve,(pe+ce)*y+ye).close()),te=le*.4,ce=.4,ge=.2,pe=.5;var be=new go.PathFigure(ge*a+ve,(pe+ce)*y+ye,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,pe*y+ye,(ge-te)*a+ve,(pe+ce)*y+ye,(ge-ce)*a+ve,(pe+te)*y+ye)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe-ce)*y+ye,(ge-ce)*a+ve,(pe-te)*y+ye,(ge-te)*a+ve,(pe-ce)*y+ye)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce+te*.5)*a+ve,pe*y+ye,ge*a+ve,(pe-ce)*y+ye,(ge-ce+te*.5)*a+ve,(pe-te)*y+ye)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe+ce)*y+ye,(ge-ce+te*.5)*a+ve,(pe+te)*y+ye,ge*a+ve,(pe+ce)*y+ye).close()),te=le*.2,ce=.2,ge=.5,pe=.5;var Se=new go.PathFigure((ge-ce)*a+ve,pe*y+ye,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe-ce)*y+ye,(ge-ce)*a+ve,(pe-te)*y+ye,(ge-te)*a+ve,(pe-ce)*y+ye)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,pe*y+ye,(ge+te)*a+ve,(pe-ce)*y+ye,(ge+ce)*a+ve,(pe-te)*y+ye)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe+ce)*y+ye,(ge+ce)*a+ve,(pe+te)*y+ye,(ge+te)*a+ve,(pe+ce)*y+ye)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,pe*y+ye,(ge-te)*a+ve,(pe+ce)*y+ye,(ge-ce)*a+ve,(pe+te)*y+ye)),te=le*.4,ce=.4,ge=.8,pe=.5;var Pe=new go.PathFigure(ge*a+ve,(pe-ce)*y+ye,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,pe*y+ye,(ge+te)*a+ve,(pe-ce)*y+ye,(ge+ce)*a+ve,(pe-te)*y+ye)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe+ce)*y+ye,(ge+ce)*a+ve,(pe+te)*y+ye,(ge+te)*a+ve,(pe+ce)*y+ye)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce-te*.5)*a+ve,pe*y+ye,ge*a+ve,(pe+ce)*y+ye,(ge+ce-te*.5)*a+ve,(pe+te)*y+ye)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe-ce)*y+ye,(ge+ce-te*.5)*a+ve,(pe-te)*y+ye,ge*a+ve,(pe-ce)*y+ye).close()),te=le*.8,ce=.8,ge=1,pe=.5;var Ce=new go.PathFigure(ge*a+ve,(pe-ce)*y+ye,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,pe*y+ye,(ge+te)*a+ve,(pe-ce)*y+ye,(ge+ce)*a+ve,(pe-te)*y+ye)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe+ce)*y+ye,(ge+ce)*a+ve,(pe+te)*y+ye,(ge+te)*a+ve,(pe+ce)*y+ye)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce-te*.5)*a+ve,pe*y+ye,ge*a+ve,(pe+ce)*y+ye,(ge+ce-te*.5)*a+ve,(pe+te)*y+ye)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(pe-ce)*y+ye,(ge+ce-te*.5)*a+ve,(pe-te)*y+ye,ge*a+ve,(pe-ce)*y+ye).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,b=le*.4,z=.4,te=.5,ce=.5,ge=ne(),pe=ne(),ve=ne(),ye=ne();he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.5,ge,ge,pe,ve,ye);var Ee=fe(pe.x,pe.y),be=new go.PathFigure(pe.x*a,pe.y*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ve.x*a,ve.y*y,ye.x*a,ye.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),he(te-z,ce,te-z,ce-b,te-b,ce-z,te,ce-z,.5,ve,ye,pe,ge,ge),be.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ve.x*a,ve.y*y,ye.x*a,ye.y*y)),b=le*.3,z=.3,he(te-z,ce,te-z,ce-b,te-b,ce-z,te,ce-z,.5,ve,ye,pe,ge,ge),be.add(new go.PathSegment(go.PathSegment.Line,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,ye.x*a,ye.y*y,ve.x*a,ve.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.5,ge,ge,pe,ve,ye),be.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ye.x*a,ye.y*y,ve.x*a,ve.y*y).close());var be=new go.PathFigure(.45*a,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),we(ge),we(pe),we(ve),we(ye),we(Ee),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(te,ce,ge){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+ge)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ee,a,y){var x=new go.Geometry,b=.5,z=0,te=0,ce=b*le,ge=.4*Math.SQRT2/2+.5,pe=.5-.5*Math.SQRT2/2,ve=1,ye=.5,Ee=.5,be=0,Se=new go.PathFigure(ge*a,(1-pe)*y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,ye*y,ve*a,.7*y,ve*a,ye*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+z)*a,(be+z)*y,(.5+b+z)*a,(.5-ce+z)*y,(.5+ce+z)*a,(.5-b+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+ce+te)*y,(.5-ce+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ce=.5,ge=te,pe=Math.PI/4,ve=4*(1-Math.cos(pe))/(3*Math.sin(pe)),ye=ve*.5,Ee=te,be=te,Se=ve*Ee,Pe=ve*be;z.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Ee)*a,ge*y,(ce-(Se+Ee)/2)*a,(ge+(be+Pe)/2)*y,(ce-Ee)*a,(ge+Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-be)*y,(ce-Ee)*a,(ge-Pe)*y,(ce-Se)*a,(ge-be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Ee)*a,ge*y,(ce+Se)*a,(ge-be)*y,(ce+Ee)*a,(ge-Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+Ee)*a,(ge+Pe)*y,(ce+(Se+Ee)/2)*a,(ge+(be+Pe)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ce=new go.PathFigure(.2*a,y,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var xe=new go.PathFigure(.8*a,y,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ee,a,y){var x=new go.Geometry,b=.5,z=le*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ce=le*.1,ge=.2,pe=.9,ve=new go.PathFigure((ge-te)*a,pe*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-te)*y,(ge-te)*a,(pe-ce)*y,(ge-ce)*a,(pe-te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,pe*y,(ge+ce)*a,(pe-te)*y,(ge+te)*a,(pe-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+te)*y,(ge+te)*a,(pe+ce)*y,(ge+ce)*a,(pe+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,pe*y,(ge-ce)*a,(pe+te)*y,(ge-te)*a,(pe+ce)*y).close()),te=.1,ce=le*.1,ge=.8,pe=.9;var ye=new go.PathFigure((ge-te)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-te)*y,(ge-te)*a,(pe-ce)*y,(ge-ce)*a,(pe-te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,pe*y,(ge+ce)*a,(pe-te)*y,(ge+te)*a,(pe-ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+te)*y,(ge+te)*a,(pe+ce)*y,(ge+ce)*a,(pe+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,pe*y,(ge-ce)*a,(pe+te)*y,(ge-te)*a,(pe+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ge=.1,pe=le*.1,ve=.1,ye=.9,Ee=new go.PathFigure((ve-ge)*a,ye*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ye-ge)*y,(ve-ge)*a,(ye-pe)*y,(ve-pe)*a,(ye-ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*a,ye*y,(ve+pe)*a,(ye-ge)*y,(ve+ge)*a,(ye-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ye+ge)*y,(ve+ge)*a,(ye+pe)*y,(ve+pe)*a,(ye+ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*a,ye*y,(ve-pe)*a,(ye+ge)*y,(ve-ge)*a,(ye+pe)*y)),ge=.1,pe=le*.1,ve=.4,ye=.9;var be=new go.PathFigure((ve-ge)*a,ye*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ye-ge)*y,(ve-ge)*a,(ye-pe)*y,(ve-pe)*a,(ye-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*a,ye*y,(ve+pe)*a,(ye-ge)*y,(ve+ge)*a,(ye-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ye+ge)*y,(ve+ge)*a,(ye+pe)*y,(ve+pe)*a,(ye+ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*a,ye*y,(ve-pe)*a,(ye+ge)*y,(ve-ge)*a,(ye+pe)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,ye=le*.05,Ee=.175,be=.95,ce=new go.PathFigure((Ee-ve)*a,be*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-ve)*y,(Ee-ve)*a,(be-ye)*y,(Ee-ye)*a,(be-ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ve)*a,be*y,(Ee+ye)*a,(be-ve)*y,(Ee+ve)*a,(be-ye)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+ve)*y,(Ee+ve)*a,(be+ye)*y,(Ee+ye)*a,(be+ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ve)*a,be*y,(Ee-ye)*a,(be+ve)*y,(Ee-ve)*a,(be+ye)*y));var ve=.05,ye=le*.05,Ee=.375,be=.95,ge=new go.PathFigure((Ee-ve)*a,be*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-ve)*y,(Ee-ve)*a,(be-ye)*y,(Ee-ye)*a,(be-ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ve)*a,be*y,(Ee+ye)*a,(be-ve)*y,(Ee+ve)*a,(be-ye)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+ve)*y,(Ee+ve)*a,(be+ye)*y,(Ee+ye)*a,(be+ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ve)*a,be*y,(Ee-ye)*a,(be+ve)*y,(Ee-ve)*a,(be+ye)*y));var ve=.05,ye=le*.05,Ee=.625,be=.95,pe=new go.PathFigure((Ee-ve)*a,be*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-ve)*y,(Ee-ve)*a,(be-ye)*y,(Ee-ye)*a,(be-ve)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ve)*a,be*y,(Ee+ye)*a,(be-ve)*y,(Ee+ve)*a,(be-ye)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+ve)*y,(Ee+ve)*a,(be+ye)*y,(Ee+ye)*a,(be+ve)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ve)*a,be*y,(Ee-ye)*a,(be+ve)*y,(Ee-ve)*a,(be+ye)*y));var ve=.05,ye=le*.05,Ee=.825,be=.95,Se=new go.PathFigure((Ee-ve)*a,be*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-ve)*y,(Ee-ve)*a,(be-ye)*y,(Ee-ye)*a,(be-ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ve)*a,be*y,(Ee+ye)*a,(be-ve)*y,(Ee+ve)*a,(be-ye)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+ve)*y,(Ee+ve)*a,(be+ye)*y,(Ee+ye)*a,(be+ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ve)*a,be*y,(Ee-ye)*a,(be+ve)*y,(Ee-ve)*a,(be+ye)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,ge=le*.05,pe=.35,ve=.775,ye=new go.PathFigure((pe-ce)*a,ve*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ve-ce)*y,(pe-ce)*a,(ve-ge)*y,(pe-ge)*a,(ve-ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ce)*a,ve*y,(pe+ge)*a,(ve-ce)*y,(pe+ce)*a,(ve-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ve+ce)*y,(pe+ce)*a,(ve+ge)*y,(pe+ge)*a,(ve+ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ce)*a,ve*y,(pe-ge)*a,(ve+ce)*y,(pe-ce)*a,(ve+ge)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ee,a,y){var x=new go.Geometry,b=.3,z=le*.3,te=.5,ce=.7,ge=new go.PathFigure((te-b)*a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y));var pe=new go.PathFigure(0,.7*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,b=.5,z=le*.5,te=.5,ce=.5,ge=new go.PathFigure((te-b)*a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y));var pe=new go.PathFigure(.15*a,.5*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ee,a,y){var x=new go.Geometry,b=.5,z=le*.5,te=.5,ce=.5,ge=new go.PathFigure((te-b)*a,ce*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y).close()),b=.05,z=le*.05,te=.5,ce=.8;var pe=new go.PathFigure((te-b)*a,ce*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y).close()),pe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ge=new go.PathFigure(.5*a,.1*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ge=new go.PathFigure(a*.816,y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ge=new go.PathFigure(a*1,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ge=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,b=8,z=b*le,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ge=new go.PathFigure(a*.83,y*1,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var pe=new go.PathFigure(a*.78,y*.05,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),pe.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,z=y*.8,te=new go.Geometry,ce=new go.PathFigure(x,0,!0);return te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ce.add(new go.PathSegment(go.PathSegment.Line,x,z)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ee,a,y){var x=new go.Geometry,b=15,z=b*le,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},at="5.0",fe={},ne=null,we=!1,E=!1,he=null,me=!1,de=null,le=null,se=0;se4?parseFloat(Ue):5};ct.setHTML5Codebase=function(Ue,Me){le=Ue,ze(Ue,Me)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ue,Me){var He=parseFloat(Ue);if(He!==NaN&&He<5){console.log("The GeoGebra HTML5 codebase version "+He+" is deprecated. Using version latest instead.");return}de=Ue,We(Ue,Me)},ct.getHTML5CodebaseVersion=function(){return ee},ct.getParameters=function(){return fe},ct.setFontsCSSURL=function(Ue){te=Ue},ct.setGiacJSURL=function(Ue){},ct.setJNLPFile=function(Ue){ie=Ue},ct.setJNLPBaseDir=function(Ue){},ct.inject=function(){function Ue(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Me="auto",He=fe.id,Qe,Ke=!1,rt=0;rt=5)return!0;var Ue=ct.getAppletObject();return Ue&&typeof Ue.recalculateEnvironments=="function"?(Ue.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ue=ct.getAppletObject();return Ue&&typeof Ue.startAnimation=="function"?(Ue.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ue=ct.getAppletObject();return Ue&&typeof Ue.stopAnimation=="function"?(Ue.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ue=fe.id!==void 0?fe.id:"ggbApplet";return window[Ue]},ct.resize=function(){};var Se=function(Ue,Me,He){var Qe=document.createElement("param");Qe.setAttribute("name",Me),Qe.setAttribute("value",He),Ue.appendChild(Qe)},Pe=function(Ue){return Ue&&Ue!=="false"},Ce=function(Ue,Me,He){ge(ee)<=4.2&&(He=!0);var Qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ke=document.createElement("div");Ke.classList.add("appletParameters","notranslate");var rt=Me.width,Ye=Me.height;if(Me.disableAutoScale=Me.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Me.disableAutoScale,Me.width!==void 0)if(ge(ee)<=4.4)Pe(Me.showToolBar)&&(Me.height-=7),Pe(Me.showAlgebraInput)&&(Me.height-=37),Me.width<605&&Pe(Me.showToolBar)&&(Me.width=605,rt=605);else{var Ge=100;(Pe(Me.showToolBar)||Pe(Me.showMenuBar))&&(Me.hasOwnProperty("customToolBar")&&(Me.customToolbar=Me.customToolBar),Ge=Pe(Me.showMenuBar)?245:155),rt=5?(Me.appletOnLoad=function(tt){var ot=Ue.querySelector(".ggb_preview");ot&&ot.parentNode.removeChild(ot),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Fe),window.GGBT_wsf_view&&$(window).trigger("resize"),Xe(tt)},ke||Fe.appendChild($e)):Ke.appendChild($e),Fe.appendChild(Ke),ke||Ue.appendChild(Fe),setTimeout(function(){ct.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(Ke),Ue.appendChild(et),Me.appletOnLoad=function(tt){ct.resize(),Xe(tt)}}function Je(tt,ot){ot&&typeof ot.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(tt,ot.appletOnLoad):renderGGBElement(tt),Ve("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ot)}function _e(tt,ot){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:tt,params:ot}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Et){Je(Et.article,Et.params)}),html5AppletsToProcess=null)},ge(ee)<5&&(tt.className+=" geogebraweb")):Je(tt,ot)}if(Qe){scriptLoadStarted=!0;for(var Ie=0;Ie0?(Le.remove(),Fe.attr("id","fullscreencontent").show(),jQuery(Xe).append(Fe),window.dispatchEvent(new Event("resize"))):Ce(Le,Me,!1),window.GGBT_wsf_view.launchFullScreen(Xe)}else re=Qe,Ce(Ue,Me,!1);if(!window.GGBT_wsf_view)for(Ye=0;YeUe/4*3&&(Le=Ue/4*3),Xe=Le/5.8,Ge.setAttribute("src",b),Ge.setAttribute("width",Le),Ge.setAttribute("height",Xe);var Fe=(Ue-Le)/2,ke=(Me-Xe)/2;Ge.style.left=Fe+"px",Ge.style.top=ke+"px",Ke.appendChild(Ge)}}return Ke.appendChild(Ye),Ke},je=function(Ue){return Ue=Ue.toLowerCase(),Ue==="html5"||Ue==="screenshot"?Ue:"html5"},De=["web","webSimple","web3d","tablet","tablet3d","phone"],We=function(Ue,Me){if(ee=Ue,Me){ze(ee,!0);return}var He=!we;if(He){var Qe=ge(ee);!isNaN(Qe)&&Qe<4.4&&(He=!1)}var Ke,rt;window.location.protocol.substr(0,4)==="http"?Ke=window.location.protocol:Ke="http:";var Ye=ee.indexOf("//");Ye>0?rt=ee:Ye===0?rt=Ke+ee:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ge in De)if(ee.slice(De[Ge].length*-1)===De[Ge]||ee.slice((De[Ge].length+1)*-1)===De[Ge]+"/"){ze(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&He&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!Pe(fe.showToolBar)&&!Pe(fe.showMenuBar)&&!Pe(fe.showAlgebraInput)&&!Pe(fe.enableRightClick)&&(!fe.appName||fe.appName=="classic")?rt+="webSimple/":rt+="web3d/",ze(rt,!1)},ze=function(Ue,Me){if(Ue.requirejs){oe=Ue;return}Ue.slice(-1)!=="/"&&(Ue+="/"),oe=Ue,Me===null&&(Me=Ue.indexOf("http")===-1),ae=Me,a="web.nocache.js",y=!1;var He=oe.split("/");He.length>1&&(!Me&&He[He.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):De.indexOf(He[He.length-2])>=0&&(a=He[He.length-2]+".nocache.js")),He=Ue.split("/"),ee=He[He.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var Qe=parseFloat(ee);Qe!==NaN&&Qe<5&&Ue.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead."),We("5.0",Me))},Ve=function(Ue,Me){window.console&&window.console.log&&(!Me||typeof Me.showLogging=="undefined"||Me.showLogging&&Me.showLogging!=="false")&&console.log(Ue)};fe.material_id!==void 0?ye(Ze):Ze();function Ze(){var Ue=at;de!==null?Ue=de:parseFloat(Ue)<5&&(Ue="5.0"),We(Ue,!1),le!==null&&ze(le,ae),me=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function at(me,de){de!=1?(me.style.transformOrigin="0% 0% 0px",me.style.webkitTransformOrigin="0% 0% 0px",me.style.transform="scale("+de+","+de+")",me.style.webkitTransform="scale("+de+","+de+")",me.style.maxWidth="initial",me.querySelector(".ggb_preview")!==null&&(me.querySelector(".ggb_preview").style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(me.style.transform="none",me.style.webkitTransform="none")}function fe(me,de,le,se,ue,ie){var oe=null;if(ie!=null&&ie!="")for(var ae=me.parentNode;ae!=null;)if((" "+ae.className+" ").indexOf(" "+ie+" ")>-1){oe=ae;break}else ae=ae.parentNode;var re=0,ee=0,a=0,y=0,x=0,b=0,z=0;if(oe)re=oe.offsetWidth,ee=Math.max(se?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(re=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=re):(re=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),me){var te=me.getBoundingClientRect();te.left>0&&te.left<=re&&(ue===void 0||!ue)&&(document.dir==="rtl"?(x=re-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return me&&((le===void 0||!le)&&de>0&&de+y1&&(ie=!0)),de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie=!0),!(me.hasOwnProperty("disableAutoScale")&&me.disableAutoScale))ue=ne(me,de,ie,le,me.scaleContainerClass);else return se;return ie&&(!me.hasOwnProperty("scale")||se===1)?ue:Math.min(se,ue)}function E(me){var de=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),se=me.getBoundingClientRect(),ue=(de-se.width)/2,ie=(le-se.height)/2;ie<0&&(ie=0),me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ue<40?me.style.left="40px":me.style.left=ue+"px",me.style.top=ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ie<40?me.style.top="40px":me.style.top=ie+"px",me.style.left=ue+"px")}function he(me,de){var le=me.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(de.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(me)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var se=we(de,me);ct()&&le.setAttribute("data-param-scale",se);for(var ue=null,ie=0;ie=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(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var at=c[ct];return at==null?null:at},r=d,webModule.__errFn=e}function B(){function ct(me){var de=me.lastIndexOf(rb);de==-1&&(de=me.length);var le=me.indexOf(sb);le==-1&&(le=me.length);var se=me.lastIndexOf(tb,Math.min(le,de));return se>=O?me.substring(O,se+P):W}function at(me){if(!me.match(/^\w+:\/\//)){var de=o.createElement(ub);de.src=me+vb,me=ct(de.src)}return me}function fe(){var me=__gwt_getMetaProperty(wb);return me!=null?me:W}function ne(){for(var me=o.getElementsByTagName(_),de=O;deO?me[me.length-P].href:W}function E(){var me=o.location;return me.href==me.protocol+zb+me.host+me.pathname+me.search+me.hash}var he=fe();return he==W&&(he=ne()),he==W&&(he=we()),he==W&&E()&&(he=ct(o.location.href)),he=at(he),he}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],at=O,fe=[],ne=[];function we(me){var de=ne[me](),le=fe[me];if(de in le)return de;var se=[];for(var ue in le)se[le[ue]]=ue;throw r&&r(me,se,de),null}if(__gwt_isKnownPropertyValue=function(me,de){return de in fe[me]},webModule.__getPropMap=function(){var me={};for(var de in fe)fe.hasOwnProperty(de)&&(me[de]=we(de));return me},webModule.__computePropValue=we,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var he=E.indexOf(Db);he!=-1&&(at=parseInt(E.substring(he+P),$),E=E.substring(O,he))}catch(me){}return webModule.__softPermutationId=at,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(ct,at,fe){"use strict";fe.d(at,{Ax:function(){return he},Ds:function(){return me},KI:function(){return le},SI:function(){return E},f1:function(){return we}});var ne=fe(78323);function we(se){let ue=!0;if(se.length>0){for(let ie=0;iey in a?E(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ie=(a,y)=>{for(var x in y||(y={}))le.call(y,x)&&ue(a,x,y[x]);if(de)for(var x of de(y))se.call(y,x)&&ue(a,x,y[x]);return a},oe=(a,y)=>he(a,me(y)),ae=(a,y)=>{var x={};for(var b in a)le.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&de)for(var b of de(a))y.indexOf(b)<0&&se.call(a,b)&&(x[b]=a[b]);return x},re=(a,y,x)=>new Promise((b,z)=>{var te=pe=>{try{ge(x.next(pe))}catch(ve){z(ve)}},ce=pe=>{try{ge(x.throw(pe))}catch(ve){z(ve)}},ge=pe=>pe.done?b(pe.value):Promise.resolve(pe.value).then(te,ce);ge((x=x.apply(a,y)).next())});const ee=a=>{var y=a,{children:x}=y,b=ae(y,["children"]);const[z,te]=(0,we.useState)(!1);return we.createElement(ne.ZP,oe(ie({},b),{loading:z,onClick:ce=>re(void 0,null,function*(){try{te(!0),yield b.onClick(ce),te(!1)}catch(ge){console.error(ge),te(!1)}})}),x)}},12306:function(ct,at,fe){"use strict";var ne=fe(86204),we=fe.n(ne),E=Object.defineProperty,he=(se,ue,ie)=>ue in se?E(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ue]=ie,me=(se,ue,ie)=>he(se,typeof ue!="symbol"?ue+"":ue,ie),de=(se,ue,ie)=>new Promise((oe,ae)=>{var re=y=>{try{a(ie.next(y))}catch(x){ae(x)}},ee=y=>{try{a(ie.throw(y))}catch(x){ae(x)}},a=y=>y.done?oe(y.value):Promise.resolve(y.value).then(re,ee);a((ie=ie.apply(se,ue)).next())});class le extends ne.EventEmitter{constructor(ue,ie){super(),me(this,"url"),me(this,"body"),me(this,"fullContent",""),me(this,"controller",null),me(this,"buffer",""),this.url=ue,this.body=ie}startStream(){return de(this,null,function*(){this.controller=new AbortController;const{signal:ue}=this.controller;try{const ie=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:ue});if(!ie.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ie.status}`);const oe=ie.headers.get("content-type");if(!oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(oe.includes("application/json")){const ee=yield ie.json();this.emit("error",ee);return}if(!oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ae=ie.body.getReader(),re=new TextDecoder("utf-8");for(;;){const{done:ee,value:a}=yield ae.read();if(ee)break;const y=re.decode(a,{stream:!0});this.buffer+=y;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const b of x)if(b.startsWith("data:")){const z=b.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=b+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(ie){ie.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ie.message)}})}handleData(ue){ue.content&&(this.fullContent+=ue.content,this.emit("data",{chunk:ue,full:this.fullContent}))}cancelRequest(){var ue;(ue=this.controller)==null||ue.abort()}}at.Z=le},57593:function(ct,at,fe){"use strict";fe.d(at,{Z:function(){return De}});var ne=fe(59301),we=fe(97831),E=fe(66328),he=fe(3977),me=fe(18369),de=fe(56102),le={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},se=fe(8591),ue=fe(11611),ie=fe(13058),oe=fe(30084),ae=fe(10787),re=fe(79562),ee=fe(43428),a=fe(95237),y=fe(43604),x={smartWrp:"smartWrp___NjRcB"},b=fe(95440),z=fe(16338),te=fe(75353),ce=fe(59301),ge=(We,ze,Ve)=>new Promise((Ze,Ue)=>{var Me=Ke=>{try{Qe(Ve.next(Ke))}catch(rt){Ue(rt)}},He=Ke=>{try{Qe(Ve.throw(Ke))}catch(rt){Ue(rt)}},Qe=Ke=>Ke.done?Ze(Ke.value):Promise.resolve(Ke.value).then(Me,He);Qe((Ve=Ve.apply(We,ze)).next())});const pe=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(ie){ie.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ie.message)}})}handleData(ue){ue.content&&(this.fullContent+=ue.content,this.emit("data",{chunk:ue,full:this.fullContent}))}cancelRequest(){var ue;(ue=this.controller)==null||ue.abort()}}at.Z=le},57593:function(ct,at,fe){"use strict";fe.d(at,{Z:function(){return De}});var ne=fe(59301),we=fe(97831),E=fe(66328),he=fe(3977),me=fe(18369),de=fe(56102),le={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},se=fe(8591),ue=fe(11611),ie=fe(55939),oe=fe(30084),ae=fe(10787),re=fe(79562),ee=fe(43428),a=fe(95237),y=fe(43604),x={smartWrp:"smartWrp___NjRcB"},b=fe(95440),z=fe(16338),te=fe(75353),ce=fe(59301),ge=(We,ze,Ve)=>new Promise((Ze,Ue)=>{var Me=Ke=>{try{Qe(Ve.next(Ke))}catch(rt){Ue(rt)}},He=Ke=>{try{Qe(Ve.throw(Ke))}catch(rt){Ue(rt)}},Qe=Ke=>Ke.done?Ze(Ke.value):Promise.resolve(Ke.value).then(Me,He);Qe((Ve=Ve.apply(We,ze)).next())});const pe=` diff --git a/8660.22621fa4.async.js b/9795.a2beaac7.async.js similarity index 97% rename from 8660.22621fa4.async.js rename to 9795.a2beaac7.async.js index ffe45e5f8a..bd1daf215d 100644 --- a/8660.22621fa4.async.js +++ b/9795.a2beaac7.async.js @@ -1,10 +1,10 @@ -!(function(){var Ss=Object.defineProperty,Ts=Object.defineProperties;var xs=Object.getOwnPropertyDescriptors;var cs=Object.getOwnPropertySymbols;var vs=Object.prototype.hasOwnProperty,Es=Object.prototype.propertyIsEnumerable;var fs=Math.pow,bs=(S,s,t)=>s in S?Ss(S,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):S[s]=t,ur=(S,s)=>{for(var t in s||(s={}))vs.call(s,t)&&bs(S,t,s[t]);if(cs)for(var t of cs(s))Es.call(s,t)&&bs(S,t,s[t]);return S},Io=(S,s)=>Ts(S,xs(s));var ys=(S,s)=>{var t={};for(var i in S)vs.call(S,i)&&s.indexOf(i)<0&&(t[i]=S[i]);if(S!=null&&cs)for(var i of cs(S))s.indexOf(i)<0&&Es.call(S,i)&&(t[i]=S[i]);return t};var ms=(S,s,t)=>new Promise((i,p)=>{var g=y=>{try{C(t.next(y))}catch(f){p(f)}},h=y=>{try{C(t.throw(y))}catch(f){p(f)}},C=y=>y.done?i(y.value):Promise.resolve(y.value).then(g,h);C((t=t.apply(S,s)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[8660],{89489:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},59477:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},26227:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},49198:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},41464:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},52671:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},8657:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},56082:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},33853:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},15075:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},43531:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},38819:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},50371:function(S,s){"use strict";function t(){const i=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let p=1;p{const C=g[h];C!==void 0&&(i[h]=C)})}return i}s.Z=t},13845:function(S,s,t){"use strict";t.d(s,{F:function(){return i},Z:function(){return p}});function i(g){return g!=null&&g===g.window}function p(g,h){var C,y;if(typeof window=="undefined")return 0;const f=h?"scrollTop":"scrollLeft";let F=0;return i(g)?F=g[h?"pageYOffset":"pageXOffset"]:g instanceof Document?F=g.documentElement[f]:(g instanceof HTMLElement||g)&&(F=g[f]),g&&!i(g)&&typeof F!="number"&&(F=(y=((C=g.ownerDocument)!==null&&C!==void 0?C:g).documentElement)===null||y===void 0?void 0:y[f]),F}},56762:function(S,s,t){"use strict";t.d(s,{Z:function(){return p}});var i=t(59301);function p(){const[,g]=i.useReducer(h=>h+1,0);return g}},68031:function(S,s,t){"use strict";t.d(s,{Z:function(){return h}});var i=t(16089);function p(C,y,f,F){const U=f-y;return C/=F/2,C<1?U/2*C*C*C+y:U/2*((C-=2)*C*C+2)+y}var g=t(13845);function h(C){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:f=()=>window,callback:F,duration:U=450}=y,te=f(),ne=(0,g.Z)(te,!0),pe=Date.now(),Ee=()=>{const Se=Date.now()-pe,be=p(Se>U?U:Se,ne,C,U);(0,g.F)(te)?te.scrollTo(window.pageXOffset,be):te instanceof Document||te.constructor.name==="HTMLDocument"?te.documentElement.scrollTop=be:te.scrollTop=be,Se{var ye;const{prefixCls:fe,className:D,rootClassName:He,children:rt,indeterminate:Lt=!1,style:$e,onMouseEnter:it,onMouseLeave:ot,skipGroup:_t=!1,disabled:Kt}=J,wt=Ee(J,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:O,direction:ze,checkbox:nt}=h.useContext(C.E_),we=h.useContext(U),{isFormItemInput:ct}=h.useContext(f.aM),Xe=h.useContext(y.Z),tn=(ye=(we==null?void 0:we.disabled)||Kt)!==null&&ye!==void 0?ye:Xe,zt=h.useRef(wt.value);h.useEffect(()=>{we==null||we.registerValue(wt.value)},[]),h.useEffect(()=>{if(!_t)return wt.value!==zt.current&&(we==null||we.cancelValue(zt.current),we==null||we.registerValue(wt.value),zt.current=wt.value),()=>we==null?void 0:we.cancelValue(wt.value)},[wt.value]);const un=O("checkbox",fe),[dn,At]=(0,te.ZP)(un),xt=Object.assign({},wt);we&&!_t&&(xt.onChange=function(){wt.onChange&&wt.onChange.apply(wt,arguments),we.toggleOption&&we.toggleOption({label:rt,value:wt.value})},xt.name=we.name,xt.checked=we.value.includes(wt.value));const Xt=p()(`${un}-wrapper`,{[`${un}-rtl`]:ze==="rtl",[`${un}-wrapper-checked`]:xt.checked,[`${un}-wrapper-disabled`]:tn,[`${un}-wrapper-in-form-item`]:ct},nt==null?void 0:nt.className,D,He,At),jt=p()({[`${un}-indeterminate`]:Lt},pe.A,At),ke=Lt?"mixed":void 0;return dn(h.createElement(ne.Z,{component:"Checkbox",disabled:tn},h.createElement("label",{className:Xt,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),$e),onMouseEnter:it,onMouseLeave:ot},h.createElement(g.Z,Object.assign({"aria-checked":ke},xt,{prefixCls:un,className:jt,disabled:tn,ref:X})),rt!==void 0&&h.createElement("span",null,rt))))};var be=h.forwardRef(se),Ce=t(94480),j=t(2738),G=function(J,X){var ye={};for(var fe in J)Object.prototype.hasOwnProperty.call(J,fe)&&X.indexOf(fe)<0&&(ye[fe]=J[fe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,fe=Object.getOwnPropertySymbols(J);D{const{defaultValue:ye,children:fe,options:D=[],prefixCls:He,className:rt,rootClassName:Lt,style:$e,onChange:it}=J,ot=G(J,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:_t,direction:Kt}=h.useContext(C.E_),[wt,O]=h.useState(ot.value||ye||[]),[ze,nt]=h.useState([]);h.useEffect(()=>{"value"in ot&&O(ot.value||[])},[ot.value]);const we=h.useMemo(()=>D.map(_e=>typeof _e=="string"||typeof _e=="number"?{label:_e,value:_e}:_e),[D]),ct=_e=>{nt(ie=>ie.filter(N=>N!==_e))},Xe=_e=>{nt(ie=>[].concat((0,Ce.Z)(ie),[_e]))},tn=_e=>{const ie=wt.indexOf(_e.value),N=(0,Ce.Z)(wt);ie===-1?N.push(_e.value):N.splice(ie,1),"value"in ot||O(N),it==null||it(N.filter(Te=>ze.includes(Te)).sort((Te,st)=>{const V=we.findIndex(Pe=>Pe.value===Te),H=we.findIndex(Pe=>Pe.value===st);return V-H}))},zt=_t("checkbox",He),un=`${zt}-group`,[dn,At]=(0,te.ZP)(zt),xt=(0,j.Z)(ot,["value","disabled"]),Xt=D.length?we.map(_e=>h.createElement(be,{prefixCls:zt,key:_e.value.toString(),disabled:"disabled"in _e?_e.disabled:ot.disabled,value:_e.value,checked:wt.includes(_e.value),onChange:_e.onChange,className:`${un}-item`,style:_e.style,title:_e.title},_e.label)):fe,jt={toggleOption:tn,value:wt,disabled:ot.disabled,name:ot.name,registerValue:Xe,cancelValue:ct},ke=p()(un,{[`${un}-rtl`]:Kt==="rtl"},rt,Lt,At);return dn(h.createElement("div",Object.assign({className:ke,style:$e},xt,{ref:X}),h.createElement(U.Provider,{value:jt},Xt)))},B=h.forwardRef(Z);var Y=h.memo(B);const W=be;W.Group=Y,W.__ANT_CHECKBOX=!0;var le=W},98447:function(S,s,t){"use strict";t.d(s,{C2:function(){return C}});var i=t(17313),p=t(37613),g=t(83116);const h=y=>{const{checkboxCls:f}=y,F=`${f}-wrapper`;return[{[`${f}-group`]:Object.assign(Object.assign({},(0,i.Wf)(y)),{display:"inline-flex",flexWrap:"wrap",columnGap:y.marginXS,[`> ${y.antCls}-row`]:{flex:1}}),[F]:Object.assign(Object.assign({},(0,i.Wf)(y)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${F}`]:{marginInlineStart:0},[`&${F}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[f]:Object.assign(Object.assign({},(0,i.Wf)(y)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:y.borderRadiusSM,alignSelf:"center",[`${f}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${f}-inner`]:Object.assign({},(0,i.oN)(y))},[`${f}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:y.checkboxSize,height:y.checkboxSize,direction:"ltr",backgroundColor:y.colorBgContainer,border:`${y.lineWidth}px ${y.lineType} ${y.colorBorder}`,borderRadius:y.borderRadiusSM,borderCollapse:"separate",transition:`all ${y.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:y.checkboxSize/14*5,height:y.checkboxSize/14*8,border:`${y.lineWidthBold}px solid ${y.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${y.motionDurationFast} ${y.motionEaseInBack}, opacity ${y.motionDurationFast}`}},"& + span":{paddingInlineStart:y.paddingXS,paddingInlineEnd:y.paddingXS}})},{[` +!(function(){var Ss=Object.defineProperty,Ts=Object.defineProperties;var xs=Object.getOwnPropertyDescriptors;var cs=Object.getOwnPropertySymbols;var vs=Object.prototype.hasOwnProperty,Es=Object.prototype.propertyIsEnumerable;var fs=Math.pow,bs=(S,s,t)=>s in S?Ss(S,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):S[s]=t,ur=(S,s)=>{for(var t in s||(s={}))vs.call(s,t)&&bs(S,t,s[t]);if(cs)for(var t of cs(s))Es.call(s,t)&&bs(S,t,s[t]);return S},Io=(S,s)=>Ts(S,xs(s));var ys=(S,s)=>{var t={};for(var i in S)vs.call(S,i)&&s.indexOf(i)<0&&(t[i]=S[i]);if(S!=null&&cs)for(var i of cs(S))s.indexOf(i)<0&&Es.call(S,i)&&(t[i]=S[i]);return t};var ms=(S,s,t)=>new Promise((i,p)=>{var g=y=>{try{C(t.next(y))}catch(f){p(f)}},h=y=>{try{C(t.throw(y))}catch(f){p(f)}},C=y=>y.done?i(y.value):Promise.resolve(y.value).then(g,h);C((t=t.apply(S,s)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[9795],{89489:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},59477:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},26227:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},49198:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},41464:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},52671:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},8657:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},56082:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},33853:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},15075:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},43531:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},38819:function(S,s,t){"use strict";t.d(s,{Z:function(){return F}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(te,ne){return p.createElement(C.Z,(0,i.Z)({},te,{ref:ne,icon:h}))},f=p.forwardRef(y),F=f},50371:function(S,s){"use strict";function t(){const i=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let p=1;p{const C=g[h];C!==void 0&&(i[h]=C)})}return i}s.Z=t},13845:function(S,s,t){"use strict";t.d(s,{F:function(){return i},Z:function(){return p}});function i(g){return g!=null&&g===g.window}function p(g,h){var C,y;if(typeof window=="undefined")return 0;const f=h?"scrollTop":"scrollLeft";let F=0;return i(g)?F=g[h?"pageYOffset":"pageXOffset"]:g instanceof Document?F=g.documentElement[f]:(g instanceof HTMLElement||g)&&(F=g[f]),g&&!i(g)&&typeof F!="number"&&(F=(y=((C=g.ownerDocument)!==null&&C!==void 0?C:g).documentElement)===null||y===void 0?void 0:y[f]),F}},56762:function(S,s,t){"use strict";t.d(s,{Z:function(){return p}});var i=t(59301);function p(){const[,g]=i.useReducer(h=>h+1,0);return g}},68031:function(S,s,t){"use strict";t.d(s,{Z:function(){return h}});var i=t(16089);function p(C,y,f,F){const U=f-y;return C/=F/2,C<1?U/2*C*C*C+y:U/2*((C-=2)*C*C+2)+y}var g=t(13845);function h(C){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:f=()=>window,callback:F,duration:U=450}=y,te=f(),ne=(0,g.Z)(te,!0),pe=Date.now(),Ee=()=>{const Se=Date.now()-pe,be=p(Se>U?U:Se,ne,C,U);(0,g.F)(te)?te.scrollTo(window.pageXOffset,be):te instanceof Document||te.constructor.name==="HTMLDocument"?te.documentElement.scrollTop=be:te.scrollTop=be,Se{var ye;const{prefixCls:fe,className:D,rootClassName:He,children:rt,indeterminate:Lt=!1,style:$e,onMouseEnter:it,onMouseLeave:ot,skipGroup:_t=!1,disabled:Kt}=J,wt=Ee(J,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:O,direction:ze,checkbox:nt}=h.useContext(C.E_),Ne=h.useContext(U),{isFormItemInput:ct}=h.useContext(f.aM),Xe=h.useContext(y.Z),tn=(ye=(Ne==null?void 0:Ne.disabled)||Kt)!==null&&ye!==void 0?ye:Xe,zt=h.useRef(wt.value);h.useEffect(()=>{Ne==null||Ne.registerValue(wt.value)},[]),h.useEffect(()=>{if(!_t)return wt.value!==zt.current&&(Ne==null||Ne.cancelValue(zt.current),Ne==null||Ne.registerValue(wt.value),zt.current=wt.value),()=>Ne==null?void 0:Ne.cancelValue(wt.value)},[wt.value]);const un=O("checkbox",fe),[dn,At]=(0,te.ZP)(un),xt=Object.assign({},wt);Ne&&!_t&&(xt.onChange=function(){wt.onChange&&wt.onChange.apply(wt,arguments),Ne.toggleOption&&Ne.toggleOption({label:rt,value:wt.value})},xt.name=Ne.name,xt.checked=Ne.value.includes(wt.value));const Xt=p()(`${un}-wrapper`,{[`${un}-rtl`]:ze==="rtl",[`${un}-wrapper-checked`]:xt.checked,[`${un}-wrapper-disabled`]:tn,[`${un}-wrapper-in-form-item`]:ct},nt==null?void 0:nt.className,D,He,At),jt=p()({[`${un}-indeterminate`]:Lt},pe.A,At),ke=Lt?"mixed":void 0;return dn(h.createElement(ne.Z,{component:"Checkbox",disabled:tn},h.createElement("label",{className:Xt,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),$e),onMouseEnter:it,onMouseLeave:ot},h.createElement(g.Z,Object.assign({"aria-checked":ke},xt,{prefixCls:un,className:jt,disabled:tn,ref:X})),rt!==void 0&&h.createElement("span",null,rt))))};var be=h.forwardRef(se),Ce=t(94480),j=t(2738),G=function(J,X){var ye={};for(var fe in J)Object.prototype.hasOwnProperty.call(J,fe)&&X.indexOf(fe)<0&&(ye[fe]=J[fe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,fe=Object.getOwnPropertySymbols(J);D{const{defaultValue:ye,children:fe,options:D=[],prefixCls:He,className:rt,rootClassName:Lt,style:$e,onChange:it}=J,ot=G(J,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:_t,direction:Kt}=h.useContext(C.E_),[wt,O]=h.useState(ot.value||ye||[]),[ze,nt]=h.useState([]);h.useEffect(()=>{"value"in ot&&O(ot.value||[])},[ot.value]);const Ne=h.useMemo(()=>D.map(_e=>typeof _e=="string"||typeof _e=="number"?{label:_e,value:_e}:_e),[D]),ct=_e=>{nt(ie=>ie.filter(N=>N!==_e))},Xe=_e=>{nt(ie=>[].concat((0,Ce.Z)(ie),[_e]))},tn=_e=>{const ie=wt.indexOf(_e.value),N=(0,Ce.Z)(wt);ie===-1?N.push(_e.value):N.splice(ie,1),"value"in ot||O(N),it==null||it(N.filter(Te=>ze.includes(Te)).sort((Te,st)=>{const V=Ne.findIndex(Pe=>Pe.value===Te),H=Ne.findIndex(Pe=>Pe.value===st);return V-H}))},zt=_t("checkbox",He),un=`${zt}-group`,[dn,At]=(0,te.ZP)(zt),xt=(0,j.Z)(ot,["value","disabled"]),Xt=D.length?Ne.map(_e=>h.createElement(be,{prefixCls:zt,key:_e.value.toString(),disabled:"disabled"in _e?_e.disabled:ot.disabled,value:_e.value,checked:wt.includes(_e.value),onChange:_e.onChange,className:`${un}-item`,style:_e.style,title:_e.title},_e.label)):fe,jt={toggleOption:tn,value:wt,disabled:ot.disabled,name:ot.name,registerValue:Xe,cancelValue:ct},ke=p()(un,{[`${un}-rtl`]:Kt==="rtl"},rt,Lt,At);return dn(h.createElement("div",Object.assign({className:ke,style:$e},xt,{ref:X}),h.createElement(U.Provider,{value:jt},Xt)))},B=h.forwardRef(Z);var Y=h.memo(B);const W=be;W.Group=Y,W.__ANT_CHECKBOX=!0;var le=W},98447:function(S,s,t){"use strict";t.d(s,{C2:function(){return C}});var i=t(17313),p=t(37613),g=t(83116);const h=y=>{const{checkboxCls:f}=y,F=`${f}-wrapper`;return[{[`${f}-group`]:Object.assign(Object.assign({},(0,i.Wf)(y)),{display:"inline-flex",flexWrap:"wrap",columnGap:y.marginXS,[`> ${y.antCls}-row`]:{flex:1}}),[F]:Object.assign(Object.assign({},(0,i.Wf)(y)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${F}`]:{marginInlineStart:0},[`&${F}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[f]:Object.assign(Object.assign({},(0,i.Wf)(y)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:y.borderRadiusSM,alignSelf:"center",[`${f}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${f}-inner`]:Object.assign({},(0,i.oN)(y))},[`${f}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:y.checkboxSize,height:y.checkboxSize,direction:"ltr",backgroundColor:y.colorBgContainer,border:`${y.lineWidth}px ${y.lineType} ${y.colorBorder}`,borderRadius:y.borderRadiusSM,borderCollapse:"separate",transition:`all ${y.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:y.checkboxSize/14*5,height:y.checkboxSize/14*8,border:`${y.lineWidthBold}px solid ${y.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${y.motionDurationFast} ${y.motionEaseInBack}, opacity ${y.motionDurationFast}`}},"& + span":{paddingInlineStart:y.paddingXS,paddingInlineEnd:y.paddingXS}})},{[` ${F}:not(${F}-disabled), ${f}:not(${f}-disabled) `]:{[`&:hover ${f}-inner`]:{borderColor:y.colorPrimary}},[`${F}:not(${F}-disabled)`]:{[`&:hover ${f}-checked:not(${f}-disabled) ${f}-inner`]:{backgroundColor:y.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${f}-checked:not(${f}-disabled):after`]:{borderColor:y.colorPrimaryHover}}},{[`${f}-checked`]:{[`${f}-inner`]:{backgroundColor:y.colorPrimary,borderColor:y.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${y.motionDurationMid} ${y.motionEaseOutBack} ${y.motionDurationFast}`}}},[` ${F}-checked:not(${F}-disabled), ${f}-checked:not(${f}-disabled) - `]:{[`&:hover ${f}-inner`]:{backgroundColor:y.colorPrimaryHover,borderColor:"transparent"}}},{[f]:{"&-indeterminate":{[`${f}-inner`]:{backgroundColor:y.colorBgContainer,borderColor:y.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:y.fontSizeLG/2,height:y.fontSizeLG/2,backgroundColor:y.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${F}-disabled`]:{cursor:"not-allowed"},[`${f}-disabled`]:{[`&, ${f}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${f}-inner`]:{background:y.colorBgContainerDisabled,borderColor:y.colorBorder,"&:after":{borderColor:y.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:y.colorTextDisabled},[`&${f}-indeterminate ${f}-inner::after`]:{background:y.colorTextDisabled}}}]};function C(y,f){const F=(0,p.TS)(f,{checkboxCls:`.${y}`,checkboxSize:f.controlInteractiveSize});return[h(F)]}s.ZP=(0,g.Z)("Checkbox",(y,f)=>{let{prefixCls:F}=f;return[C(F,y)]})},43428:function(S,s,t){"use strict";t.d(s,{Z:function(){return dn}});var i=t(92310),p=t.n(i),g=t(33885),h=t(42978),C=t(43403),y=t(34280),f=t(59301),F=f.createContext(null),U=f.createContext({}),te=F,ne=t(20068),pe=t(54476),Ee=t(77900),se=t(10228),Se=t(26112),be=t(70425),Ce=function(xt){var Xt=xt.prefixCls,jt=xt.className,ke=xt.style,_e=xt.children,ie=xt.containerRef,N=xt.id,Te=xt.onMouseEnter,st=xt.onMouseOver,V=xt.onMouseLeave,H=xt.onClick,Pe=xt.onKeyDown,he=xt.onKeyUp,Q={onMouseEnter:Te,onMouseOver:st,onMouseLeave:V,onClick:H,onKeyDown:Pe,onKeyUp:he},Le=f.useContext(U),ht=Le.panel,at=(0,be.useComposeRef)(ht,ie);return f.createElement(f.Fragment,null,f.createElement("div",(0,pe.Z)({id:N,className:p()("".concat(Xt,"-content"),jt),style:(0,g.Z)({},ke),"aria-modal":"true",role:"dialog",ref:at},Q),_e))},j=Ce,G=t(48736);function Z(At){return typeof At=="string"&&String(Number(At))===At?((0,G.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(At)):At}function B(At){warning(!("wrapperClassName"in At),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!At.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Y={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function W(At,xt){var Xt,jt,ke,_e,ie=At.prefixCls,N=At.open,Te=At.placement,st=At.inline,V=At.push,H=At.forceRender,Pe=At.autoFocus,he=At.keyboard,Q=At.rootClassName,Le=At.rootStyle,ht=At.zIndex,at=At.className,Et=At.id,dt=At.style,mt=At.motion,ee=At.width,Ge=At.height,Je=At.children,qe=At.contentWrapperStyle,_=At.mask,Ot=At.maskClosable,tt=At.maskMotion,Re=At.maskClassName,Jt=At.maskStyle,cn=At.afterOpenChange,sn=At.onClose,Ze=At.onMouseEnter,Rn=At.onMouseOver,Cn=At.onMouseLeave,Mt=At.onClick,Hn=At.onKeyDown,On=At.onKeyUp,kn=f.useRef(),zn=f.useRef(),dr=f.useRef();f.useImperativeHandle(xt,function(){return kn.current});var Jn=function(ut){var Qt=ut.keyCode,qt=ut.shiftKey;switch(Qt){case se.Z.TAB:{if(Qt===se.Z.TAB){if(!qt&&document.activeElement===dr.current){var Tt;(Tt=zn.current)===null||Tt===void 0||Tt.focus({preventScroll:!0})}else if(qt&&document.activeElement===zn.current){var mn;(mn=dr.current)===null||mn===void 0||mn.focus({preventScroll:!0})}}break}case se.Z.ESC:{sn&&he&&(ut.stopPropagation(),sn(ut));break}}};f.useEffect(function(){if(N&&Pe){var It;(It=kn.current)===null||It===void 0||It.focus({preventScroll:!0})}},[N]);var Cr=f.useState(!1),Hr=(0,h.Z)(Cr,2),_n=Hr[0],ar=Hr[1],Gn=f.useContext(te),Ar;V===!1?Ar={distance:0}:V===!0?Ar={}:Ar=V||{};var Yr=(Xt=(jt=(ke=Ar)===null||ke===void 0?void 0:ke.distance)!==null&&jt!==void 0?jt:Gn==null?void 0:Gn.pushDistance)!==null&&Xt!==void 0?Xt:180,Kr=f.useMemo(function(){return{pushDistance:Yr,push:function(){ar(!0)},pull:function(){ar(!1)}}},[Yr]);f.useEffect(function(){if(N){var It;Gn==null||(It=Gn.push)===null||It===void 0||It.call(Gn)}else{var ut;Gn==null||(ut=Gn.pull)===null||ut===void 0||ut.call(Gn)}},[N]),f.useEffect(function(){return function(){var It;Gn==null||(It=Gn.pull)===null||It===void 0||It.call(Gn)}},[]);var Nr=_&&f.createElement(Ee.default,(0,pe.Z)({key:"mask"},tt,{visible:N}),function(It,ut){var Qt=It.className,qt=It.style;return f.createElement("div",{className:p()("".concat(ie,"-mask"),Qt,Re),style:(0,g.Z)((0,g.Z)({},qt),Jt),onClick:Ot&&N?sn:void 0,ref:ut})}),ir=typeof mt=="function"?mt(Te):mt,Wn={};if(_n&&Yr)switch(Te){case"top":Wn.transform="translateY(".concat(Yr,"px)");break;case"bottom":Wn.transform="translateY(".concat(-Yr,"px)");break;case"left":Wn.transform="translateX(".concat(Yr,"px)");break;default:Wn.transform="translateX(".concat(-Yr,"px)");break}Te==="left"||Te==="right"?Wn.width=Z(ee):Wn.height=Z(Ge);var Vn={onMouseEnter:Ze,onMouseOver:Rn,onMouseLeave:Cn,onClick:Mt,onKeyDown:Hn,onKeyUp:On},sa=f.createElement(Ee.default,(0,pe.Z)({key:"panel"},ir,{visible:N,forceRender:H,onVisibleChanged:function(ut){cn==null||cn(ut)},removeOnLeave:!1,leavedClassName:"".concat(ie,"-content-wrapper-hidden")}),function(It,ut){var Qt=It.className,qt=It.style;return f.createElement("div",(0,pe.Z)({className:p()("".concat(ie,"-content-wrapper"),Qt),style:(0,g.Z)((0,g.Z)((0,g.Z)({},Wn),qt),qe)},(0,Se.Z)(At,{data:!0})),f.createElement(j,(0,pe.Z)({id:Et,containerRef:ut,prefixCls:ie,className:at,style:dt},Vn),Je))}),hr=(0,g.Z)({},Le);return ht&&(hr.zIndex=ht),f.createElement(te.Provider,{value:Kr},f.createElement("div",{className:p()(ie,"".concat(ie,"-").concat(Te),Q,(_e={},(0,ne.Z)(_e,"".concat(ie,"-open"),N),(0,ne.Z)(_e,"".concat(ie,"-inline"),st),_e)),style:hr,tabIndex:-1,ref:kn,onKeyDown:Jn},Nr,f.createElement("div",{tabIndex:0,ref:zn,style:Y,"aria-hidden":"true","data-sentinel":"start"}),sa,f.createElement("div",{tabIndex:0,ref:dr,style:Y,"aria-hidden":"true","data-sentinel":"end"})))}var le=f.forwardRef(W),J=le,X=function(xt){var Xt=xt.open,jt=Xt===void 0?!1:Xt,ke=xt.prefixCls,_e=ke===void 0?"rc-drawer":ke,ie=xt.placement,N=ie===void 0?"right":ie,Te=xt.autoFocus,st=Te===void 0?!0:Te,V=xt.keyboard,H=V===void 0?!0:V,Pe=xt.width,he=Pe===void 0?378:Pe,Q=xt.mask,Le=Q===void 0?!0:Q,ht=xt.maskClosable,at=ht===void 0?!0:ht,Et=xt.getContainer,dt=xt.forceRender,mt=xt.afterOpenChange,ee=xt.destroyOnClose,Ge=xt.onMouseEnter,Je=xt.onMouseOver,qe=xt.onMouseLeave,_=xt.onClick,Ot=xt.onKeyDown,tt=xt.onKeyUp,Re=xt.panelRef,Jt=f.useState(!1),cn=(0,h.Z)(Jt,2),sn=cn[0],Ze=cn[1],Rn=f.useState(!1),Cn=(0,h.Z)(Rn,2),Mt=Cn[0],Hn=Cn[1];(0,y.Z)(function(){Hn(!0)},[]);var On=Mt?jt:!1,kn=f.useRef(),zn=f.useRef();(0,y.Z)(function(){On&&(zn.current=document.activeElement)},[On]);var dr=function(ar){var Gn;if(Ze(ar),mt==null||mt(ar),!ar&&zn.current&&!((Gn=kn.current)!==null&&Gn!==void 0&&Gn.contains(zn.current))){var Ar;(Ar=zn.current)===null||Ar===void 0||Ar.focus({preventScroll:!0})}},Jn=f.useMemo(function(){return{panel:Re}},[Re]);if(!dt&&!sn&&!On&&ee)return null;var Cr={onMouseEnter:Ge,onMouseOver:Je,onMouseLeave:qe,onClick:_,onKeyDown:Ot,onKeyUp:tt},Hr=(0,g.Z)((0,g.Z)({},xt),{},{open:On,prefixCls:_e,placement:N,autoFocus:st,keyboard:H,width:he,mask:Le,maskClosable:at,inline:Et===!1,afterOpenChange:dr,ref:kn},Cr);return f.createElement(U.Provider,{value:Jn},f.createElement(C.Z,{open:On||dt||sn,autoDestroy:!1,getContainer:Et,autoLock:Le&&(On||sn)},f.createElement(J,Hr)))},ye=X,fe=ye,D=t(62892),He=t(36355),rt=t(32441),Lt=t(47729),it=At=>{const{prefixCls:xt,title:Xt,footer:jt,extra:ke,closeIcon:_e,closable:ie,onClose:N,headerStyle:Te,drawerStyle:st,bodyStyle:V,footerStyle:H,children:Pe}=At,he=f.useCallback(Et=>f.createElement("button",{type:"button",onClick:N,"aria-label":"Close",className:`${xt}-close`},Et),[N]),[Q,Le]=(0,Lt.Z)(ie,_e,he,void 0,!0),ht=f.useMemo(()=>!Xt&&!Q?null:f.createElement("div",{style:Te,className:p()(`${xt}-header`,{[`${xt}-header-close-only`]:Q&&!Xt&&!ke})},f.createElement("div",{className:`${xt}-header-title`},Le,Xt&&f.createElement("div",{className:`${xt}-title`},Xt)),ke&&f.createElement("div",{className:`${xt}-extra`},ke)),[Q,Le,ke,Te,xt,Xt]),at=f.useMemo(()=>{if(!jt)return null;const Et=`${xt}-footer`;return f.createElement("div",{className:Et,style:H},jt)},[jt,H,xt]);return f.createElement("div",{className:`${xt}-wrapper-body`,style:st},ht,f.createElement("div",{className:`${xt}-body`,style:V},Pe),at)},ot=t(33234),_t=t(83116),Kt=t(37613),O=At=>{const{componentCls:xt,motionDurationSlow:Xt}=At,jt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Xt}`}}};return{[xt]:{[`${xt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Xt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${xt}-panel-motion`]:{"&-left":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const ze=At=>{const{componentCls:xt,zIndexPopup:Xt,colorBgMask:jt,colorBgElevated:ke,motionDurationSlow:_e,motionDurationMid:ie,padding:N,paddingLG:Te,fontSizeLG:st,lineHeightLG:V,lineWidth:H,lineType:Pe,colorSplit:he,marginSM:Q,colorIcon:Le,colorIconHover:ht,colorText:at,fontWeightStrong:Et,footerPaddingBlock:dt,footerPaddingInline:mt}=At,ee=`${xt}-content-wrapper`;return{[xt]:{position:"fixed",inset:0,zIndex:Xt,pointerEvents:"none","&-pure":{position:"relative",background:ke,[`&${xt}-left`]:{boxShadow:At.boxShadowDrawerLeft},[`&${xt}-right`]:{boxShadow:At.boxShadowDrawerRight},[`&${xt}-top`]:{boxShadow:At.boxShadowDrawerUp},[`&${xt}-bottom`]:{boxShadow:At.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${xt}-mask`]:{position:"absolute",inset:0,zIndex:Xt,background:jt,pointerEvents:"auto"},[ee]:{position:"absolute",zIndex:Xt,maxWidth:"100vw",transition:`all ${_e}`,"&-hidden":{display:"none"}},[`&-left > ${ee}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:At.boxShadowDrawerLeft},[`&-right > ${ee}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:At.boxShadowDrawerRight},[`&-top > ${ee}`]:{top:0,insetInline:0,boxShadow:At.boxShadowDrawerUp},[`&-bottom > ${ee}`]:{bottom:0,insetInline:0,boxShadow:At.boxShadowDrawerDown},[`${xt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ke,pointerEvents:"auto"},[`${xt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${xt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${N}px ${Te}px`,fontSize:st,lineHeight:V,borderBottom:`${H}px ${Pe} ${he}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${xt}-extra`]:{flex:"none"},[`${xt}-close`]:{display:"inline-block",marginInlineEnd:Q,color:Le,fontWeight:Et,fontSize:st,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ie}`,textRendering:"auto","&:focus, &:hover":{color:ht,textDecoration:"none"}},[`${xt}-title`]:{flex:1,margin:0,color:at,fontWeight:At.fontWeightStrong,fontSize:st,lineHeight:V},[`${xt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Te,overflow:"auto"},[`${xt}-footer`]:{flexShrink:0,padding:`${dt}px ${mt}px`,borderTop:`${H}px ${Pe} ${he}`},"&-rtl":{direction:"rtl"}}}};var nt=(0,_t.Z)("Drawer",At=>{const xt=(0,Kt.TS)(At,{});return[ze(xt),O(xt)]},At=>({zIndexPopup:At.zIndexPopupBase,footerPaddingBlock:At.paddingXS,footerPaddingInline:At.padding})),we=t(11575),ct=function(At,xt){var Xt={};for(var jt in At)Object.prototype.hasOwnProperty.call(At,jt)&&xt.indexOf(jt)<0&&(Xt[jt]=At[jt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,jt=Object.getOwnPropertySymbols(At);ke{var xt;const{rootClassName:Xt,width:jt,height:ke,size:_e="default",mask:ie=!0,push:N=tn,open:Te,afterOpenChange:st,onClose:V,prefixCls:H,getContainer:Pe,style:he,className:Q,visible:Le,afterVisibleChange:ht}=At,at=ct(At,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Et,getPrefixCls:dt,direction:mt,drawer:ee}=f.useContext(He.E_),Ge=dt("drawer",H),[Je,qe]=nt(Ge),_=Pe===void 0&&Et?()=>Et(document.body):Pe,Ot=p()({"no-mask":!ie,[`${Ge}-rtl`]:mt==="rtl"},Xt,qe),tt=f.useMemo(()=>jt!=null?jt:_e==="large"?736:378,[jt,_e]),Re=f.useMemo(()=>ke!=null?ke:_e==="large"?736:378,[ke,_e]),Jt={motionName:(0,D.m)(Ge,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},cn=Ze=>({motionName:(0,D.m)(Ge,`panel-motion-${Ze}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),sn=(0,we.H)();return Je(f.createElement(ot.BR,null,f.createElement(rt.Ux,{status:!0,override:!0},f.createElement(fe,Object.assign({prefixCls:Ge,onClose:V,maskMotion:Jt,motion:cn},at,{open:Te!=null?Te:Le,mask:ie,push:N,width:tt,height:Re,style:Object.assign(Object.assign({},ee==null?void 0:ee.style),he),className:p()(ee==null?void 0:ee.className,Q),rootClassName:Ot,getContainer:_,afterOpenChange:st!=null?st:ht,panelRef:sn}),f.createElement(it,Object.assign({prefixCls:Ge},at,{onClose:V}))))))},un=At=>{const{prefixCls:xt,style:Xt,className:jt,placement:ke="right"}=At,_e=ct(At,["prefixCls","style","className","placement"]),{getPrefixCls:ie}=f.useContext(He.E_),N=ie("drawer",xt),[Te,st]=nt(N),V=p()(N,`${N}-pure`,`${N}-${ke}`,st,jt);return Te(f.createElement("div",{className:V,style:Xt},f.createElement(it,Object.assign({prefixCls:N},_e))))};zt._InternalPanelDoNotUseOrYouWillBeFired=un;var dn=zt},91857:function(S,s,t){"use strict";var i=t(59301),p=t(38819),g=t(92310),h=t.n(g),C=t(31561),y=t(70425),f=t(18929),F=t(2738),U=t(79676),te=t(53487),ne=t(92343),pe=t(36355),Ee=t(20834),se=t(40875),Se=t(88088),be=t(47211);const Ce=null,j=Y=>{const{menu:W,arrow:le,prefixCls:J,children:X,trigger:ye,disabled:fe,dropdownRender:D,getPopupContainer:He,overlayClassName:rt,rootClassName:Lt,open:$e,onOpenChange:it,visible:ot,onVisibleChange:_t,mouseEnterDelay:Kt=.15,mouseLeaveDelay:wt=.1,autoAdjustOverflow:O=!0,placement:ze="",overlay:nt,transitionName:we}=Y,{getPopupContainer:ct,getPrefixCls:Xe,direction:tn}=i.useContext(pe.E_),zt=i.useMemo(()=>{const Q=Xe();return we!==void 0?we:ze.includes("top")?`${Q}-slide-down`:`${Q}-slide-up`},[Xe,ze,we]),un=i.useMemo(()=>ze?ze.includes("Center")?ze.slice(0,ze.indexOf("Center")):ze:tn==="rtl"?"bottomRight":"bottomLeft",[ze,tn]),dn=Xe("dropdown",J),[At,xt]=(0,be.Z)(dn),[,Xt]=(0,Se.Z)(),jt=i.Children.only(X),ke=(0,ne.Tm)(jt,{className:h()(`${dn}-trigger`,{[`${dn}-rtl`]:tn==="rtl"},jt.props.className),disabled:fe}),_e=fe?[]:ye;let ie;_e&&_e.includes("contextMenu")&&(ie=!0);const[N,Te]=(0,f.Z)(!1,{value:$e!=null?$e:ot}),st=(0,y.useEvent)(Q=>{it==null||it(Q),_t==null||_t(Q),Te(Q)}),V=h()(rt,Lt,xt,{[`${dn}-rtl`]:tn==="rtl"}),H=(0,U.Z)({arrowPointAtCenter:typeof le=="object"&&le.pointAtCenter,autoAdjustOverflow:O,offset:Xt.marginXXS,arrowWidth:le?Xt.sizePopupArrow:0,borderRadius:Xt.borderRadius}),Pe=i.useCallback(()=>{Te(!1)},[]),he=()=>{let Q;return W!=null&&W.items?Q=i.createElement(Ee.default,Object.assign({},W)):typeof nt=="function"?Q=nt():Q=nt,D&&(Q=D(Q)),Q=i.Children.only(typeof Q=="string"?i.createElement("span",null,Q):Q),i.createElement(se.J,{prefixCls:`${dn}-menu`,expandIcon:i.createElement("span",{className:`${dn}-menu-submenu-arrow`},i.createElement(p.Z,{className:`${dn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pe,validator:Le=>{let{mode:ht}=Le}},Q)};return At(i.createElement(C.Z,Object.assign({alignPoint:ie},(0,F.Z)(Y,["rootClassName"]),{mouseEnterDelay:Kt,mouseLeaveDelay:wt,visible:N,builtinPlacements:H,arrow:!!le,overlayClassName:V,prefixCls:dn,getPopupContainer:He||ct,transitionName:zt,trigger:_e,overlay:he,placement:un,onVisibleChange:st}),ke))};function G(Y){return Object.assign(Object.assign({},Y),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Z=(0,te.Z)(j,"dropdown",Y=>Y,G),B=Y=>i.createElement(Z,Object.assign({},Y),i.createElement("span",null));j._InternalPanelDoNotUseOrYouWillBeFired=B,s.Z=j},38854:function(S,s,t){"use strict";t.d(s,{Z:function(){return Se}});var i=t(91857),p=t(92310),g=t.n(p),h=t(59301),C=t(18785),y=t(3113),f=t(36355),F=t(81327),U=t(33234),te=t(47211),ne=function(be,Ce){var j={};for(var G in be)Object.prototype.hasOwnProperty.call(be,G)&&Ce.indexOf(G)<0&&(j[G]=be[G]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,G=Object.getOwnPropertySymbols(be);Z{const{getPopupContainer:Ce,getPrefixCls:j,direction:G}=h.useContext(f.E_),{prefixCls:Z,type:B="default",danger:Y,disabled:W,loading:le,onClick:J,htmlType:X,children:ye,className:fe,menu:D,arrow:He,autoFocus:rt,overlay:Lt,trigger:$e,align:it,open:ot,onOpenChange:_t,placement:Kt,getPopupContainer:wt,href:O,icon:ze=h.createElement(C.Z,null),title:nt,buttonsRender:we=he=>he,mouseEnterDelay:ct,mouseLeaveDelay:Xe,overlayClassName:tn,overlayStyle:zt,destroyPopupOnHide:un,dropdownRender:dn}=be,At=ne(be,["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"]),xt=j("dropdown",Z),Xt=`${xt}-button`,[jt,ke]=(0,te.Z)(xt),_e={menu:D,arrow:He,autoFocus:rt,align:it,disabled:W,trigger:W?[]:$e,onOpenChange:_t,getPopupContainer:wt||Ce,mouseEnterDelay:ct,mouseLeaveDelay:Xe,overlayClassName:tn,overlayStyle:zt,destroyPopupOnHide:un,dropdownRender:dn},{compactSize:ie,compactItemClassnames:N}=(0,U.ri)(xt,G),Te=g()(Xt,N,fe,ke);"overlay"in be&&(_e.overlay=Lt),"open"in be&&(_e.open=ot),"placement"in be?_e.placement=Kt:_e.placement=G==="rtl"?"bottomLeft":"bottomRight";const st=h.createElement(y.ZP,{type:B,danger:Y,disabled:W,loading:le,onClick:J,htmlType:X,href:O,title:nt},ye),V=h.createElement(y.ZP,{type:B,danger:Y,icon:ze}),[H,Pe]=we([st,V]);return jt(h.createElement(F.Z.Compact,Object.assign({className:Te,size:ie,block:!0},At),H,h.createElement(i.Z,Object.assign({},_e),Pe)))};pe.__ANT_BUTTON=!0;var Ee=pe;const se=i.Z;se.Button=Ee;var Se=se},47211:function(S,s,t){"use strict";t.d(s,{Z:function(){return ne}});var i=t(17313),p=t(13826),g=t(92899),h=t(29878),C=t(19447),y=t(83116),f=t(37613),U=pe=>{const{componentCls:Ee,menuCls:se,colorError:Se,colorTextLightSolid:be}=pe,Ce=`${se}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${se} ${Ce}`]:{[`&${Ce}-danger:not(${Ce}-disabled)`]:{color:Se,"&:hover":{color:be,backgroundColor:Se}}}}}};const te=pe=>{const{componentCls:Ee,menuCls:se,zIndexPopup:Se,dropdownArrowDistance:be,sizePopupArrow:Ce,antCls:j,iconCls:G,motionDurationMid:Z,dropdownPaddingVertical:B,fontSize:Y,dropdownEdgeChildPadding:W,colorTextDisabled:le,fontSizeIcon:J,controlPaddingHorizontal:X,colorBgElevated:ye}=pe;return[{[Ee]:Object.assign(Object.assign({},(0,i.Wf)(pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Se,display:"block","&::before":{position:"absolute",insetBlock:-be+Ce/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${j}-btn`]:{[`& > ${G}-down, & > ${j}-btn-icon > ${G}-down`]:{fontSize:J}},[`${Ee}-wrap`]:{position:"relative",[`${j}-btn > ${G}-down`]:{fontSize:J},[`${G}-down::before`]:{transition:`transform ${Z}`}},[`${Ee}-wrap-open`]:{[`${G}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${j}-slide-down-enter${j}-slide-down-enter-active${Ee}-placement-bottomLeft, + `]:{[`&:hover ${f}-inner`]:{backgroundColor:y.colorPrimaryHover,borderColor:"transparent"}}},{[f]:{"&-indeterminate":{[`${f}-inner`]:{backgroundColor:y.colorBgContainer,borderColor:y.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:y.fontSizeLG/2,height:y.fontSizeLG/2,backgroundColor:y.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${F}-disabled`]:{cursor:"not-allowed"},[`${f}-disabled`]:{[`&, ${f}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${f}-inner`]:{background:y.colorBgContainerDisabled,borderColor:y.colorBorder,"&:after":{borderColor:y.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:y.colorTextDisabled},[`&${f}-indeterminate ${f}-inner::after`]:{background:y.colorTextDisabled}}}]};function C(y,f){const F=(0,p.TS)(f,{checkboxCls:`.${y}`,checkboxSize:f.controlInteractiveSize});return[h(F)]}s.ZP=(0,g.Z)("Checkbox",(y,f)=>{let{prefixCls:F}=f;return[C(F,y)]})},43428:function(S,s,t){"use strict";t.d(s,{Z:function(){return dn}});var i=t(92310),p=t.n(i),g=t(33885),h=t(42978),C=t(43403),y=t(34280),f=t(59301),F=f.createContext(null),U=f.createContext({}),te=F,ne=t(20068),pe=t(54476),Ee=t(77900),se=t(10228),Se=t(26112),be=t(70425),Ce=function(xt){var Xt=xt.prefixCls,jt=xt.className,ke=xt.style,_e=xt.children,ie=xt.containerRef,N=xt.id,Te=xt.onMouseEnter,st=xt.onMouseOver,V=xt.onMouseLeave,H=xt.onClick,Pe=xt.onKeyDown,he=xt.onKeyUp,Q={onMouseEnter:Te,onMouseOver:st,onMouseLeave:V,onClick:H,onKeyDown:Pe,onKeyUp:he},Le=f.useContext(U),ht=Le.panel,at=(0,be.useComposeRef)(ht,ie);return f.createElement(f.Fragment,null,f.createElement("div",(0,pe.Z)({id:N,className:p()("".concat(Xt,"-content"),jt),style:(0,g.Z)({},ke),"aria-modal":"true",role:"dialog",ref:at},Q),_e))},j=Ce,G=t(48736);function Z(At){return typeof At=="string"&&String(Number(At))===At?((0,G.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(At)):At}function B(At){warning(!("wrapperClassName"in At),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!At.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Y={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function W(At,xt){var Xt,jt,ke,_e,ie=At.prefixCls,N=At.open,Te=At.placement,st=At.inline,V=At.push,H=At.forceRender,Pe=At.autoFocus,he=At.keyboard,Q=At.rootClassName,Le=At.rootStyle,ht=At.zIndex,at=At.className,Et=At.id,dt=At.style,mt=At.motion,ee=At.width,Ge=At.height,Je=At.children,qe=At.contentWrapperStyle,_=At.mask,Ot=At.maskClosable,tt=At.maskMotion,Re=At.maskClassName,Jt=At.maskStyle,cn=At.afterOpenChange,sn=At.onClose,Ze=At.onMouseEnter,Rn=At.onMouseOver,Cn=At.onMouseLeave,Mt=At.onClick,Hn=At.onKeyDown,On=At.onKeyUp,kn=f.useRef(),zn=f.useRef(),dr=f.useRef();f.useImperativeHandle(xt,function(){return kn.current});var Jn=function(ut){var Qt=ut.keyCode,qt=ut.shiftKey;switch(Qt){case se.Z.TAB:{if(Qt===se.Z.TAB){if(!qt&&document.activeElement===dr.current){var Tt;(Tt=zn.current)===null||Tt===void 0||Tt.focus({preventScroll:!0})}else if(qt&&document.activeElement===zn.current){var mn;(mn=dr.current)===null||mn===void 0||mn.focus({preventScroll:!0})}}break}case se.Z.ESC:{sn&&he&&(ut.stopPropagation(),sn(ut));break}}};f.useEffect(function(){if(N&&Pe){var It;(It=kn.current)===null||It===void 0||It.focus({preventScroll:!0})}},[N]);var Cr=f.useState(!1),Hr=(0,h.Z)(Cr,2),_n=Hr[0],ar=Hr[1],Gn=f.useContext(te),Ar;V===!1?Ar={distance:0}:V===!0?Ar={}:Ar=V||{};var Yr=(Xt=(jt=(ke=Ar)===null||ke===void 0?void 0:ke.distance)!==null&&jt!==void 0?jt:Gn==null?void 0:Gn.pushDistance)!==null&&Xt!==void 0?Xt:180,Kr=f.useMemo(function(){return{pushDistance:Yr,push:function(){ar(!0)},pull:function(){ar(!1)}}},[Yr]);f.useEffect(function(){if(N){var It;Gn==null||(It=Gn.push)===null||It===void 0||It.call(Gn)}else{var ut;Gn==null||(ut=Gn.pull)===null||ut===void 0||ut.call(Gn)}},[N]),f.useEffect(function(){return function(){var It;Gn==null||(It=Gn.pull)===null||It===void 0||It.call(Gn)}},[]);var Nr=_&&f.createElement(Ee.default,(0,pe.Z)({key:"mask"},tt,{visible:N}),function(It,ut){var Qt=It.className,qt=It.style;return f.createElement("div",{className:p()("".concat(ie,"-mask"),Qt,Re),style:(0,g.Z)((0,g.Z)({},qt),Jt),onClick:Ot&&N?sn:void 0,ref:ut})}),ir=typeof mt=="function"?mt(Te):mt,Wn={};if(_n&&Yr)switch(Te){case"top":Wn.transform="translateY(".concat(Yr,"px)");break;case"bottom":Wn.transform="translateY(".concat(-Yr,"px)");break;case"left":Wn.transform="translateX(".concat(Yr,"px)");break;default:Wn.transform="translateX(".concat(-Yr,"px)");break}Te==="left"||Te==="right"?Wn.width=Z(ee):Wn.height=Z(Ge);var Vn={onMouseEnter:Ze,onMouseOver:Rn,onMouseLeave:Cn,onClick:Mt,onKeyDown:Hn,onKeyUp:On},sa=f.createElement(Ee.default,(0,pe.Z)({key:"panel"},ir,{visible:N,forceRender:H,onVisibleChanged:function(ut){cn==null||cn(ut)},removeOnLeave:!1,leavedClassName:"".concat(ie,"-content-wrapper-hidden")}),function(It,ut){var Qt=It.className,qt=It.style;return f.createElement("div",(0,pe.Z)({className:p()("".concat(ie,"-content-wrapper"),Qt),style:(0,g.Z)((0,g.Z)((0,g.Z)({},Wn),qt),qe)},(0,Se.Z)(At,{data:!0})),f.createElement(j,(0,pe.Z)({id:Et,containerRef:ut,prefixCls:ie,className:at,style:dt},Vn),Je))}),hr=(0,g.Z)({},Le);return ht&&(hr.zIndex=ht),f.createElement(te.Provider,{value:Kr},f.createElement("div",{className:p()(ie,"".concat(ie,"-").concat(Te),Q,(_e={},(0,ne.Z)(_e,"".concat(ie,"-open"),N),(0,ne.Z)(_e,"".concat(ie,"-inline"),st),_e)),style:hr,tabIndex:-1,ref:kn,onKeyDown:Jn},Nr,f.createElement("div",{tabIndex:0,ref:zn,style:Y,"aria-hidden":"true","data-sentinel":"start"}),sa,f.createElement("div",{tabIndex:0,ref:dr,style:Y,"aria-hidden":"true","data-sentinel":"end"})))}var le=f.forwardRef(W),J=le,X=function(xt){var Xt=xt.open,jt=Xt===void 0?!1:Xt,ke=xt.prefixCls,_e=ke===void 0?"rc-drawer":ke,ie=xt.placement,N=ie===void 0?"right":ie,Te=xt.autoFocus,st=Te===void 0?!0:Te,V=xt.keyboard,H=V===void 0?!0:V,Pe=xt.width,he=Pe===void 0?378:Pe,Q=xt.mask,Le=Q===void 0?!0:Q,ht=xt.maskClosable,at=ht===void 0?!0:ht,Et=xt.getContainer,dt=xt.forceRender,mt=xt.afterOpenChange,ee=xt.destroyOnClose,Ge=xt.onMouseEnter,Je=xt.onMouseOver,qe=xt.onMouseLeave,_=xt.onClick,Ot=xt.onKeyDown,tt=xt.onKeyUp,Re=xt.panelRef,Jt=f.useState(!1),cn=(0,h.Z)(Jt,2),sn=cn[0],Ze=cn[1],Rn=f.useState(!1),Cn=(0,h.Z)(Rn,2),Mt=Cn[0],Hn=Cn[1];(0,y.Z)(function(){Hn(!0)},[]);var On=Mt?jt:!1,kn=f.useRef(),zn=f.useRef();(0,y.Z)(function(){On&&(zn.current=document.activeElement)},[On]);var dr=function(ar){var Gn;if(Ze(ar),mt==null||mt(ar),!ar&&zn.current&&!((Gn=kn.current)!==null&&Gn!==void 0&&Gn.contains(zn.current))){var Ar;(Ar=zn.current)===null||Ar===void 0||Ar.focus({preventScroll:!0})}},Jn=f.useMemo(function(){return{panel:Re}},[Re]);if(!dt&&!sn&&!On&&ee)return null;var Cr={onMouseEnter:Ge,onMouseOver:Je,onMouseLeave:qe,onClick:_,onKeyDown:Ot,onKeyUp:tt},Hr=(0,g.Z)((0,g.Z)({},xt),{},{open:On,prefixCls:_e,placement:N,autoFocus:st,keyboard:H,width:he,mask:Le,maskClosable:at,inline:Et===!1,afterOpenChange:dr,ref:kn},Cr);return f.createElement(U.Provider,{value:Jn},f.createElement(C.Z,{open:On||dt||sn,autoDestroy:!1,getContainer:Et,autoLock:Le&&(On||sn)},f.createElement(J,Hr)))},ye=X,fe=ye,D=t(62892),He=t(36355),rt=t(32441),Lt=t(47729),it=At=>{const{prefixCls:xt,title:Xt,footer:jt,extra:ke,closeIcon:_e,closable:ie,onClose:N,headerStyle:Te,drawerStyle:st,bodyStyle:V,footerStyle:H,children:Pe}=At,he=f.useCallback(Et=>f.createElement("button",{type:"button",onClick:N,"aria-label":"Close",className:`${xt}-close`},Et),[N]),[Q,Le]=(0,Lt.Z)(ie,_e,he,void 0,!0),ht=f.useMemo(()=>!Xt&&!Q?null:f.createElement("div",{style:Te,className:p()(`${xt}-header`,{[`${xt}-header-close-only`]:Q&&!Xt&&!ke})},f.createElement("div",{className:`${xt}-header-title`},Le,Xt&&f.createElement("div",{className:`${xt}-title`},Xt)),ke&&f.createElement("div",{className:`${xt}-extra`},ke)),[Q,Le,ke,Te,xt,Xt]),at=f.useMemo(()=>{if(!jt)return null;const Et=`${xt}-footer`;return f.createElement("div",{className:Et,style:H},jt)},[jt,H,xt]);return f.createElement("div",{className:`${xt}-wrapper-body`,style:st},ht,f.createElement("div",{className:`${xt}-body`,style:V},Pe),at)},ot=t(33234),_t=t(83116),Kt=t(37613),O=At=>{const{componentCls:xt,motionDurationSlow:Xt}=At,jt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Xt}`}}};return{[xt]:{[`${xt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Xt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${xt}-panel-motion`]:{"&-left":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[jt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const ze=At=>{const{componentCls:xt,zIndexPopup:Xt,colorBgMask:jt,colorBgElevated:ke,motionDurationSlow:_e,motionDurationMid:ie,padding:N,paddingLG:Te,fontSizeLG:st,lineHeightLG:V,lineWidth:H,lineType:Pe,colorSplit:he,marginSM:Q,colorIcon:Le,colorIconHover:ht,colorText:at,fontWeightStrong:Et,footerPaddingBlock:dt,footerPaddingInline:mt}=At,ee=`${xt}-content-wrapper`;return{[xt]:{position:"fixed",inset:0,zIndex:Xt,pointerEvents:"none","&-pure":{position:"relative",background:ke,[`&${xt}-left`]:{boxShadow:At.boxShadowDrawerLeft},[`&${xt}-right`]:{boxShadow:At.boxShadowDrawerRight},[`&${xt}-top`]:{boxShadow:At.boxShadowDrawerUp},[`&${xt}-bottom`]:{boxShadow:At.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${xt}-mask`]:{position:"absolute",inset:0,zIndex:Xt,background:jt,pointerEvents:"auto"},[ee]:{position:"absolute",zIndex:Xt,maxWidth:"100vw",transition:`all ${_e}`,"&-hidden":{display:"none"}},[`&-left > ${ee}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:At.boxShadowDrawerLeft},[`&-right > ${ee}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:At.boxShadowDrawerRight},[`&-top > ${ee}`]:{top:0,insetInline:0,boxShadow:At.boxShadowDrawerUp},[`&-bottom > ${ee}`]:{bottom:0,insetInline:0,boxShadow:At.boxShadowDrawerDown},[`${xt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ke,pointerEvents:"auto"},[`${xt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${xt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${N}px ${Te}px`,fontSize:st,lineHeight:V,borderBottom:`${H}px ${Pe} ${he}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${xt}-extra`]:{flex:"none"},[`${xt}-close`]:{display:"inline-block",marginInlineEnd:Q,color:Le,fontWeight:Et,fontSize:st,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ie}`,textRendering:"auto","&:focus, &:hover":{color:ht,textDecoration:"none"}},[`${xt}-title`]:{flex:1,margin:0,color:at,fontWeight:At.fontWeightStrong,fontSize:st,lineHeight:V},[`${xt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Te,overflow:"auto"},[`${xt}-footer`]:{flexShrink:0,padding:`${dt}px ${mt}px`,borderTop:`${H}px ${Pe} ${he}`},"&-rtl":{direction:"rtl"}}}};var nt=(0,_t.Z)("Drawer",At=>{const xt=(0,Kt.TS)(At,{});return[ze(xt),O(xt)]},At=>({zIndexPopup:At.zIndexPopupBase,footerPaddingBlock:At.paddingXS,footerPaddingInline:At.padding})),Ne=t(11575),ct=function(At,xt){var Xt={};for(var jt in At)Object.prototype.hasOwnProperty.call(At,jt)&&xt.indexOf(jt)<0&&(Xt[jt]=At[jt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,jt=Object.getOwnPropertySymbols(At);ke{var xt;const{rootClassName:Xt,width:jt,height:ke,size:_e="default",mask:ie=!0,push:N=tn,open:Te,afterOpenChange:st,onClose:V,prefixCls:H,getContainer:Pe,style:he,className:Q,visible:Le,afterVisibleChange:ht}=At,at=ct(At,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Et,getPrefixCls:dt,direction:mt,drawer:ee}=f.useContext(He.E_),Ge=dt("drawer",H),[Je,qe]=nt(Ge),_=Pe===void 0&&Et?()=>Et(document.body):Pe,Ot=p()({"no-mask":!ie,[`${Ge}-rtl`]:mt==="rtl"},Xt,qe),tt=f.useMemo(()=>jt!=null?jt:_e==="large"?736:378,[jt,_e]),Re=f.useMemo(()=>ke!=null?ke:_e==="large"?736:378,[ke,_e]),Jt={motionName:(0,D.m)(Ge,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},cn=Ze=>({motionName:(0,D.m)(Ge,`panel-motion-${Ze}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),sn=(0,Ne.H)();return Je(f.createElement(ot.BR,null,f.createElement(rt.Ux,{status:!0,override:!0},f.createElement(fe,Object.assign({prefixCls:Ge,onClose:V,maskMotion:Jt,motion:cn},at,{open:Te!=null?Te:Le,mask:ie,push:N,width:tt,height:Re,style:Object.assign(Object.assign({},ee==null?void 0:ee.style),he),className:p()(ee==null?void 0:ee.className,Q),rootClassName:Ot,getContainer:_,afterOpenChange:st!=null?st:ht,panelRef:sn}),f.createElement(it,Object.assign({prefixCls:Ge},at,{onClose:V}))))))},un=At=>{const{prefixCls:xt,style:Xt,className:jt,placement:ke="right"}=At,_e=ct(At,["prefixCls","style","className","placement"]),{getPrefixCls:ie}=f.useContext(He.E_),N=ie("drawer",xt),[Te,st]=nt(N),V=p()(N,`${N}-pure`,`${N}-${ke}`,st,jt);return Te(f.createElement("div",{className:V,style:Xt},f.createElement(it,Object.assign({prefixCls:N},_e))))};zt._InternalPanelDoNotUseOrYouWillBeFired=un;var dn=zt},91857:function(S,s,t){"use strict";var i=t(59301),p=t(38819),g=t(92310),h=t.n(g),C=t(31561),y=t(70425),f=t(18929),F=t(2738),U=t(79676),te=t(53487),ne=t(92343),pe=t(36355),Ee=t(20834),se=t(40875),Se=t(88088),be=t(47211);const Ce=null,j=Y=>{const{menu:W,arrow:le,prefixCls:J,children:X,trigger:ye,disabled:fe,dropdownRender:D,getPopupContainer:He,overlayClassName:rt,rootClassName:Lt,open:$e,onOpenChange:it,visible:ot,onVisibleChange:_t,mouseEnterDelay:Kt=.15,mouseLeaveDelay:wt=.1,autoAdjustOverflow:O=!0,placement:ze="",overlay:nt,transitionName:Ne}=Y,{getPopupContainer:ct,getPrefixCls:Xe,direction:tn}=i.useContext(pe.E_),zt=i.useMemo(()=>{const Q=Xe();return Ne!==void 0?Ne:ze.includes("top")?`${Q}-slide-down`:`${Q}-slide-up`},[Xe,ze,Ne]),un=i.useMemo(()=>ze?ze.includes("Center")?ze.slice(0,ze.indexOf("Center")):ze:tn==="rtl"?"bottomRight":"bottomLeft",[ze,tn]),dn=Xe("dropdown",J),[At,xt]=(0,be.Z)(dn),[,Xt]=(0,Se.Z)(),jt=i.Children.only(X),ke=(0,ne.Tm)(jt,{className:h()(`${dn}-trigger`,{[`${dn}-rtl`]:tn==="rtl"},jt.props.className),disabled:fe}),_e=fe?[]:ye;let ie;_e&&_e.includes("contextMenu")&&(ie=!0);const[N,Te]=(0,f.Z)(!1,{value:$e!=null?$e:ot}),st=(0,y.useEvent)(Q=>{it==null||it(Q),_t==null||_t(Q),Te(Q)}),V=h()(rt,Lt,xt,{[`${dn}-rtl`]:tn==="rtl"}),H=(0,U.Z)({arrowPointAtCenter:typeof le=="object"&&le.pointAtCenter,autoAdjustOverflow:O,offset:Xt.marginXXS,arrowWidth:le?Xt.sizePopupArrow:0,borderRadius:Xt.borderRadius}),Pe=i.useCallback(()=>{Te(!1)},[]),he=()=>{let Q;return W!=null&&W.items?Q=i.createElement(Ee.default,Object.assign({},W)):typeof nt=="function"?Q=nt():Q=nt,D&&(Q=D(Q)),Q=i.Children.only(typeof Q=="string"?i.createElement("span",null,Q):Q),i.createElement(se.J,{prefixCls:`${dn}-menu`,expandIcon:i.createElement("span",{className:`${dn}-menu-submenu-arrow`},i.createElement(p.Z,{className:`${dn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pe,validator:Le=>{let{mode:ht}=Le}},Q)};return At(i.createElement(C.Z,Object.assign({alignPoint:ie},(0,F.Z)(Y,["rootClassName"]),{mouseEnterDelay:Kt,mouseLeaveDelay:wt,visible:N,builtinPlacements:H,arrow:!!le,overlayClassName:V,prefixCls:dn,getPopupContainer:He||ct,transitionName:zt,trigger:_e,overlay:he,placement:un,onVisibleChange:st}),ke))};function G(Y){return Object.assign(Object.assign({},Y),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Z=(0,te.Z)(j,"dropdown",Y=>Y,G),B=Y=>i.createElement(Z,Object.assign({},Y),i.createElement("span",null));j._InternalPanelDoNotUseOrYouWillBeFired=B,s.Z=j},38854:function(S,s,t){"use strict";t.d(s,{Z:function(){return Se}});var i=t(91857),p=t(92310),g=t.n(p),h=t(59301),C=t(18785),y=t(3113),f=t(36355),F=t(81327),U=t(33234),te=t(47211),ne=function(be,Ce){var j={};for(var G in be)Object.prototype.hasOwnProperty.call(be,G)&&Ce.indexOf(G)<0&&(j[G]=be[G]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,G=Object.getOwnPropertySymbols(be);Z{const{getPopupContainer:Ce,getPrefixCls:j,direction:G}=h.useContext(f.E_),{prefixCls:Z,type:B="default",danger:Y,disabled:W,loading:le,onClick:J,htmlType:X,children:ye,className:fe,menu:D,arrow:He,autoFocus:rt,overlay:Lt,trigger:$e,align:it,open:ot,onOpenChange:_t,placement:Kt,getPopupContainer:wt,href:O,icon:ze=h.createElement(C.Z,null),title:nt,buttonsRender:Ne=he=>he,mouseEnterDelay:ct,mouseLeaveDelay:Xe,overlayClassName:tn,overlayStyle:zt,destroyPopupOnHide:un,dropdownRender:dn}=be,At=ne(be,["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"]),xt=j("dropdown",Z),Xt=`${xt}-button`,[jt,ke]=(0,te.Z)(xt),_e={menu:D,arrow:He,autoFocus:rt,align:it,disabled:W,trigger:W?[]:$e,onOpenChange:_t,getPopupContainer:wt||Ce,mouseEnterDelay:ct,mouseLeaveDelay:Xe,overlayClassName:tn,overlayStyle:zt,destroyPopupOnHide:un,dropdownRender:dn},{compactSize:ie,compactItemClassnames:N}=(0,U.ri)(xt,G),Te=g()(Xt,N,fe,ke);"overlay"in be&&(_e.overlay=Lt),"open"in be&&(_e.open=ot),"placement"in be?_e.placement=Kt:_e.placement=G==="rtl"?"bottomLeft":"bottomRight";const st=h.createElement(y.ZP,{type:B,danger:Y,disabled:W,loading:le,onClick:J,htmlType:X,href:O,title:nt},ye),V=h.createElement(y.ZP,{type:B,danger:Y,icon:ze}),[H,Pe]=Ne([st,V]);return jt(h.createElement(F.Z.Compact,Object.assign({className:Te,size:ie,block:!0},At),H,h.createElement(i.Z,Object.assign({},_e),Pe)))};pe.__ANT_BUTTON=!0;var Ee=pe;const se=i.Z;se.Button=Ee;var Se=se},47211:function(S,s,t){"use strict";t.d(s,{Z:function(){return ne}});var i=t(17313),p=t(13826),g=t(92899),h=t(29878),C=t(19447),y=t(83116),f=t(37613),U=pe=>{const{componentCls:Ee,menuCls:se,colorError:Se,colorTextLightSolid:be}=pe,Ce=`${se}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${se} ${Ce}`]:{[`&${Ce}-danger:not(${Ce}-disabled)`]:{color:Se,"&:hover":{color:be,backgroundColor:Se}}}}}};const te=pe=>{const{componentCls:Ee,menuCls:se,zIndexPopup:Se,dropdownArrowDistance:be,sizePopupArrow:Ce,antCls:j,iconCls:G,motionDurationMid:Z,dropdownPaddingVertical:B,fontSize:Y,dropdownEdgeChildPadding:W,colorTextDisabled:le,fontSizeIcon:J,controlPaddingHorizontal:X,colorBgElevated:ye}=pe;return[{[Ee]:Object.assign(Object.assign({},(0,i.Wf)(pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Se,display:"block","&::before":{position:"absolute",insetBlock:-be+Ce/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${j}-btn`]:{[`& > ${G}-down, & > ${j}-btn-icon > ${G}-down`]:{fontSize:J}},[`${Ee}-wrap`]:{position:"relative",[`${j}-btn > ${G}-down`]:{fontSize:J},[`${G}-down::before`]:{transition:`transform ${Z}`}},[`${Ee}-wrap-open`]:{[`${G}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${j}-slide-down-enter${j}-slide-down-enter-active${Ee}-placement-bottomLeft, &${j}-slide-down-appear${j}-slide-down-appear-active${Ee}-placement-bottomLeft, &${j}-slide-down-enter${j}-slide-down-enter-active${Ee}-placement-bottom, &${j}-slide-down-appear${j}-slide-down-appear-active${Ee}-placement-bottom, @@ -18,7 +18,7 @@ &${j}-slide-down-leave${j}-slide-down-leave-active${Ee}-placement-bottom, &${j}-slide-down-leave${j}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:p.Uw},[`&${j}-slide-up-leave${j}-slide-up-leave-active${Ee}-placement-topLeft, &${j}-slide-up-leave${j}-slide-up-leave-active${Ee}-placement-top, - &${j}-slide-up-leave${j}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:p.ly}})},(0,C.ZP)(pe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:Se,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:W,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,i.Qy)(pe)),{[`${se}-item-group-title`]:{padding:`${B}px ${X}px`,color:pe.colorTextDescription,transition:`all ${Z}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:Y,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${B}px ${X}px`,color:pe.colorText,fontWeight:"normal",fontSize:Y,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${Z}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,i.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:le,cursor:"not-allowed","&:hover":{color:le,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${pe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:J,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${pe.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:X+pe.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:le,backgroundColor:ye,cursor:"not-allowed"}},[`${se}-submenu-selected ${Ee}-menu-submenu-title`]:{color:pe.colorPrimary}})}},[(0,p.oN)(pe,"slide-up"),(0,p.oN)(pe,"slide-down"),(0,g.Fm)(pe,"move-up"),(0,g.Fm)(pe,"move-down"),(0,h._y)(pe,"zoom-big")]]};var ne=(0,y.Z)("Dropdown",(pe,Ee)=>{let{rootPrefixCls:se}=Ee;const{marginXXS:Se,sizePopupArrow:be,controlHeight:Ce,fontSize:j,lineHeight:G,paddingXXS:Z,componentCls:B,borderRadiusLG:Y}=pe,W=(Ce-j*G)/2,{dropdownArrowOffset:le}=(0,C.fS)({contentRadius:Y}),J=(0,f.TS)(pe,{menuCls:`${B}-menu`,rootPrefixCls:se,dropdownArrowDistance:be/2+Se,dropdownArrowOffset:le,dropdownPaddingVertical:W,dropdownEdgeChildPadding:Z});return[te(J),U(J)]},pe=>({zIndexPopup:pe.zIndexPopupBase+50}))},8628:function(S,s,t){"use strict";var i=t(59301),p=t(34280),g=t(56762),h=t(69507);function C(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const f=(0,i.useRef)({}),F=(0,g.Z)(),U=(0,h.ZP)();return(0,p.Z)(()=>{const te=U.subscribe(ne=>{f.current=ne,y&&F()});return()=>U.unsubscribe(te)},[]),f.current}s.Z=C},11611:function(S,s,t){"use strict";t.d(s,{Z:function(){return hr}});var i=t(59301),p=t(15277),g=t(92310),h=t.n(g),C=t(54476),y=t(33885),f=t(20068),F=t(42978),U=t(76190),te=t(75931),ne=t(55468),pe=t(18929),Ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],se=i.createContext(null),Se=0;function be(It,ut){var Qt=i.useState(function(){return Se+=1,String(Se)}),qt=(0,F.Z)(Qt,1),Tt=qt[0],mn=i.useContext(se),gt={data:ut,canPreview:It};return i.useEffect(function(){if(mn)return mn.register(Tt,gt)},[]),i.useEffect(function(){mn&&mn.register(Tt,gt)},[It,ut]),Tt}function Ce(It){return new Promise(function(ut){var Qt=document.createElement("img");Qt.onerror=function(){return ut(!1)},Qt.onload=function(){return ut(!0)},Qt.src=It})}function j(It){var ut=It.src,Qt=It.isCustomPlaceholder,qt=It.fallback,Tt=(0,i.useState)(Qt?"loading":"normal"),mn=(0,F.Z)(Tt,2),gt=mn[0],hn=mn[1],Oe=(0,i.useRef)(!1),oe=gt==="error";(0,i.useEffect)(function(){Ce(ut).then(function(Ke){Ke||hn("error")})},[ut]),(0,i.useEffect)(function(){Qt&&!Oe.current?hn("loading"):oe&&hn("normal")},[ut]);var c=function(){hn("normal")},pt=function(kt){Oe.current=!1,gt==="loading"&&kt!=null&&kt.complete&&(kt.naturalWidth||kt.naturalHeight)&&(Oe.current=!0,c())},Dt=oe&&qt?{src:qt}:{onLoad:c,src:ut};return[pt,Dt,gt]}var G=t(86923),Z=t(8224),B=t(10228),Y=t(48736);function W(It,ut,Qt,qt){var Tt=ut+Qt,mn=(Qt-qt)/2;if(Qt>qt){if(ut>0)return(0,f.Z)({},It,mn);if(ut<0&&Ttqt)return(0,f.Z)({},It,ut<0?mn:-mn);return{}}function le(It,ut,Qt,qt){var Tt=(0,ne.g1)(),mn=Tt.width,gt=Tt.height,hn=null;return It<=mn&&ut<=gt?hn={x:0,y:0}:(It>mn||ut>gt)&&(hn=(0,y.Z)((0,y.Z)({},W("x",Qt,It,mn)),W("y",qt,ut,gt))),hn}var J=t(13697),X=t(16089),ye={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function fe(It,ut,Qt,qt){var Tt=(0,i.useRef)(null),mn=(0,i.useRef)([]),gt=(0,i.useState)(ye),hn=(0,F.Z)(gt,2),Oe=hn[0],oe=hn[1],c=function(kt){oe(ye),qt&&!(0,J.Z)(ye,Oe)&&qt({transform:ye,action:kt})},pt=function(kt,Rt){Tt.current===null&&(mn.current=[],Tt.current=(0,X.Z)(function(){oe(function(gn){var vn=gn;return mn.current.forEach(function(ce){vn=(0,y.Z)((0,y.Z)({},vn),ce)}),Tt.current=null,qt==null||qt({transform:vn,action:Rt}),vn})})),mn.current.push((0,y.Z)((0,y.Z)({},Oe),kt))},Dt=function(kt,Rt,gn,vn){var ce=It.current,Ln=ce.width,nr=ce.height,or=ce.offsetWidth,Zn=ce.offsetHeight,T=ce.offsetLeft,A=ce.offsetTop,Pt=kt,z=Oe.scale*kt;z>Qt?(Pt=Qt/Oe.scale,z=Qt):z1,na=Fr&&ce>=1,ra=fe(Fe,T,Pt,Ir),lr=ra.transform,Yn=ra.resetTransform,Sr=ra.updateTransform,Nn=ra.dispatchZoomChange,Lr=(0,i.useState)(!0),Rr=(0,F.Z)(Lr,2),la=Rr[0],pa=Rr[1],va=lr.rotate,br=lr.scale,_r=lr.x,Ea=lr.y,Xa=h()((0,f.Z)({},"".concat(Qt,"-moving"),gr));(0,i.useEffect)(function(){la||pa(!0)},[la]);var pi=function(){Yn("close")},Ha=function(){Nn($e+or,"zoomIn")},Ra=function(){Nn($e/($e+or),"zoomOut")},ti=function(){Sr({rotate:va+90},"rotateRight")},vi=function(){Sr({rotate:va-90},"rotateLeft")},Ka=function(){Sr({flipX:!lr.flipX},"flipX")},Na=function(){Sr({flipY:!lr.flipY},"flipY")},Fa=function(ve){ve==null||ve.preventDefault(),ve==null||ve.stopPropagation(),gn>0&&(pa(!1),Yn("prev"),yr==null||yr(gn-1,gn))},ka=function(ve){ve==null||ve.preventDefault(),ve==null||ve.stopPropagation(),gn0&&(ya=$e/ya),Nn(ya,"wheel",ve.clientX,ve.clientY)}},Ei=function(ve){!oe||!Mr||(ve.keyCode===B.Z.LEFT?Fa():ve.keyCode===B.Z.RIGHT&&ka())},vr=function(ve){oe&&(br!==1?Sr({x:0,y:0,scale:1},"doubleClick"):Nn($e+or,"doubleClick",ve.clientX,ve.clientY))};(0,i.useEffect)(function(){var Er,ve,Dr,qr;if(hn){Dr=(0,Z.Z)(window,"mouseup",ua,!1),qr=(0,Z.Z)(window,"mousemove",Ii,!1);try{window.top!==window.self&&(Er=(0,Z.Z)(window.top,"mouseup",ua,!1),ve=(0,Z.Z)(window.top,"mousemove",Ii,!1))}catch(ya){(0,Y.Kp)(!1,"[rc-image] ".concat(ya))}}return function(){var ya,La,vt,Vr;(ya=Dr)===null||ya===void 0||ya.remove(),(La=qr)===null||La===void 0||La.remove(),(vt=Er)===null||vt===void 0||vt.remove(),(Vr=ve)===null||Vr===void 0||Vr.remove()}},[oe,gr,_r,Ea,va,hn]),(0,i.useEffect)(function(){var Er=(0,Z.Z)(window,"keydown",Ei,!1);return function(){Er.remove()}},[oe,Mr,gn]);var $r=i.createElement(Kt,(0,C.Z)({},wr,{width:ut.width,height:ut.height,imgRef:Fe,className:"".concat(Qt,"-img"),alt:Tt,style:{transform:"translate3d(".concat(lr.x,"px, ").concat(lr.y,"px, 0) scale3d(").concat(lr.flipX?"-":"").concat(br,", ").concat(lr.flipY?"-":"").concat(br,", 1) rotate(").concat(va,"deg)"),transitionDuration:!la&&"0s"},fallback:mn,src:qt,onWheel:Ki,onMouseDown:Ai,onDoubleClick:vr}));return i.createElement(i.Fragment,null,i.createElement(G.Z,(0,C.Z)({transitionName:Ie,maskTransitionName:Vt,closable:!1,keyboard:!0,prefixCls:Qt,onClose:Oe,visible:oe,wrapClassName:Xa,rootClassName:Dt,getContainer:kt},ba,{afterClose:pi}),i.createElement("div",{className:"".concat(Qt,"-img-wrapper")},pr?pr($r,(0,y.Z)({transform:lr},Fr?{current:gn}:{})):$r)),i.createElement(Lt,{visible:oe,transform:lr,maskTransitionName:Vt,closeIcon:Ke,getContainer:kt,prefixCls:Qt,rootClassName:Dt,icons:pt,countRender:Ln,showSwitch:Mr,showProgress:na,current:gn,count:ce,scale:br,minScale:T,maxScale:Pt,toolbarRender:xn,onSwitchLeft:Fa,onSwitchRight:ka,onZoomIn:Ha,onZoomOut:Ra,onRotateRight:ti,onRotateLeft:vi,onFlipX:Ka,onFlipY:Na,onClose:Oe}))},O=wt,ze=t(94480);function nt(It){var ut=i.useState({}),Qt=(0,F.Z)(ut,2),qt=Qt[0],Tt=Qt[1],mn=i.useCallback(function(hn,Oe){return Tt(function(oe){return(0,y.Z)((0,y.Z)({},oe),{},(0,f.Z)({},hn,Oe))}),function(){Tt(function(oe){var c=(0,y.Z)({},oe);return delete c[hn],c})}},[]),gt=i.useMemo(function(){return It?It.map(function(hn){if(typeof hn=="string")return{data:{src:hn}};var Oe={};return Object.keys(hn).forEach(function(oe){["src"].concat((0,ze.Z)(Ee)).includes(oe)&&(Oe[oe]=hn[oe])}),{data:Oe}}):Object.keys(qt).reduce(function(hn,Oe){var oe=qt[Oe],c=oe.canPreview,pt=oe.data;return c&&hn.push({data:pt,id:Oe}),hn},[])},[It,qt]);return[gt,mn]}var we=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],ct=["src"],Xe=function(ut){var Qt,qt=ut.previewPrefixCls,Tt=qt===void 0?"rc-image-preview":qt,mn=ut.children,gt=ut.icons,hn=gt===void 0?{}:gt,Oe=ut.items,oe=ut.preview,c=ut.fallback,pt=(0,U.Z)(oe)==="object"?oe:{},Dt=pt.visible,Ke=pt.onVisibleChange,kt=pt.getContainer,Rt=pt.current,gn=pt.movable,vn=pt.minScale,ce=pt.maxScale,Ln=pt.countRender,nr=pt.closeIcon,or=pt.onChange,Zn=pt.onTransform,T=pt.toolbarRender,A=pt.imageRender,Pt=(0,te.Z)(pt,we),z=nt(Oe),Ie=(0,F.Z)(z,2),Un=Ie[0],Vt=Ie[1],pr=(0,pe.Z)(0,{value:Rt}),wr=(0,F.Z)(pr,2),xn=wr[0],Ir=wr[1],yr=(0,i.useState)(!1),ba=(0,F.Z)(yr,2),Fe=ba[0],Xr=ba[1],Qe=((Qt=Un[xn])===null||Qt===void 0?void 0:Qt.data)||{},ta=Qe.src,gr=(0,te.Z)(Qe,ct),Ca=(0,pe.Z)(!!Dt,{value:Dt,onChange:function(va,br){Ke==null||Ke(va,br,xn)}}),Fr=(0,F.Z)(Ca,2),Mr=Fr[0],na=Fr[1],ra=(0,i.useState)(null),lr=(0,F.Z)(ra,2),Yn=lr[0],Sr=lr[1],Nn=i.useCallback(function(pa,va,br){var _r=Un.findIndex(function(Ea){return Ea.id===pa});na(!0),Sr({x:va,y:br}),Ir(_r<0?0:_r),Xr(!0)},[Un]);i.useEffect(function(){Mr?Fe||Ir(0):Xr(!1)},[Mr]);var Lr=function(va,br){Ir(va),or==null||or(va,br)},Rr=function(){na(!1),Sr(null)},la=i.useMemo(function(){return{register:Vt,onPreview:Nn}},[Vt,Nn]);return i.createElement(se.Provider,{value:la},mn,i.createElement(O,(0,C.Z)({"aria-hidden":!Mr,movable:gn,visible:Mr,prefixCls:Tt,closeIcon:nr,onClose:Rr,mousePosition:Yn,imgCommonProps:gr,src:ta,fallback:c,icons:hn,minScale:vn,maxScale:ce,getContainer:kt,current:xn,count:Un.length,countRender:Ln,onTransform:Zn,toolbarRender:T,imageRender:A,onChange:Lr},Pt)))},tn=Xe,zt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],un=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],dn=function(ut){var Qt=ut.src,qt=ut.alt,Tt=ut.onPreviewClose,mn=ut.prefixCls,gt=mn===void 0?"rc-image":mn,hn=ut.previewPrefixCls,Oe=hn===void 0?"".concat(gt,"-preview"):hn,oe=ut.placeholder,c=ut.fallback,pt=ut.width,Dt=ut.height,Ke=ut.style,kt=ut.preview,Rt=kt===void 0?!0:kt,gn=ut.className,vn=ut.onClick,ce=ut.onError,Ln=ut.wrapperClassName,nr=ut.wrapperStyle,or=ut.rootClassName,Zn=(0,te.Z)(ut,zt),T=oe&&oe!==!0,A=(0,U.Z)(Rt)==="object"?Rt:{},Pt=A.src,z=A.visible,Ie=z===void 0?void 0:z,Un=A.onVisibleChange,Vt=Un===void 0?Tt:Un,pr=A.getContainer,wr=pr===void 0?void 0:pr,xn=A.mask,Ir=A.maskClassName,yr=A.movable,ba=A.icons,Fe=A.scaleStep,Xr=A.minScale,Qe=A.maxScale,ta=A.imageRender,gr=A.toolbarRender,Ca=(0,te.Z)(A,un),Fr=Pt!=null?Pt:Qt,Mr=(0,pe.Z)(!!Ie,{value:Ie,onChange:Vt}),na=(0,F.Z)(Mr,2),ra=na[0],lr=na[1],Yn=j({src:Qt,isCustomPlaceholder:T,fallback:c}),Sr=(0,F.Z)(Yn,3),Nn=Sr[0],Lr=Sr[1],Rr=Sr[2],la=(0,i.useState)(null),pa=(0,F.Z)(la,2),va=pa[0],br=pa[1],_r=(0,i.useContext)(se),Ea=!!Rt,Xa=function(){lr(!1),br(null)},pi=h()(gt,Ln,or,(0,f.Z)({},"".concat(gt,"-error"),Rr==="error")),Ha=(0,i.useMemo)(function(){var Ka={};return Ee.forEach(function(Na){ut[Na]!==void 0&&(Ka[Na]=ut[Na])}),Ka},Ee.map(function(Ka){return ut[Ka]})),Ra=(0,i.useMemo)(function(){return(0,y.Z)((0,y.Z)({},Ha),{},{src:Fr})},[Fr,Ha]),ti=be(Ea,Ra),vi=function(Na){var Fa=(0,ne.os)(Na.target),ka=Fa.left,ua=Fa.top;_r?_r.onPreview(ti,ka,ua):(br({x:ka,y:ua}),lr(!0)),vn==null||vn(Na)};return i.createElement(i.Fragment,null,i.createElement("div",(0,C.Z)({},Zn,{className:pi,onClick:Ea?vi:vn,style:(0,y.Z)({width:pt,height:Dt},nr)}),i.createElement("img",(0,C.Z)({},Ha,{className:h()("".concat(gt,"-img"),(0,f.Z)({},"".concat(gt,"-img-placeholder"),oe===!0),gn),style:(0,y.Z)({height:Dt},Ke),ref:Nn},Lr,{width:pt,height:Dt,onError:ce})),Rr==="loading"&&i.createElement("div",{"aria-hidden":"true",className:"".concat(gt,"-placeholder")},oe),xn&&Ea&&i.createElement("div",{className:h()("".concat(gt,"-mask"),Ir),style:{display:(Ke==null?void 0:Ke.display)==="none"?"none":void 0}},xn)),!_r&&Ea&&i.createElement(O,(0,C.Z)({"aria-hidden":!ra,visible:ra,prefixCls:Oe,onClose:Xa,mousePosition:va,src:Fr,alt:qt,fallback:c,getContainer:wr,icons:ba,movable:yr,scaleStep:Fe,minScale:Xr,maxScale:Qe,rootClassName:or,imageRender:ta,imgCommonProps:Ha,toolbarRender:gr},Ca)))};dn.PreviewGroup=tn,dn.displayName="Image";var At=dn,xt=At,Xt=t(62892),jt=t(36355),ke=t(31724),_e=t(99267),ie=t(33853),N=t(38819),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},st=Te,V=t(7657),H=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:st}))},Pe=i.forwardRef(H),he=Pe,Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Le=Q,ht=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:Le}))},at=i.forwardRef(ht),Et=at,dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},mt=dt,ee=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:mt}))},Ge=i.forwardRef(ee),Je=Ge,qe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},_=qe,Ot=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:_}))},tt=i.forwardRef(Ot),Re=tt,Jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},cn=Jt,sn=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:cn}))},Ze=i.forwardRef(sn),Rn=Ze,Cn=t(64993),Mt=t(73819),Hn=t(17313),On=t(29878),kn=t(1950),zn=t(83116),dr=t(37613);const Jn=It=>({position:It||"absolute",inset:0}),Cr=It=>{const{iconCls:ut,motionDurationSlow:Qt,paddingXXS:qt,marginXXS:Tt,prefixCls:mn,colorTextLightSolid:gt}=It;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:gt,background:new Cn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Qt}`,[`.${mn}-mask-info`]:Object.assign(Object.assign({},Hn.vS),{padding:`0 ${qt}px`,[ut]:{marginInlineEnd:Tt,svg:{verticalAlign:"baseline"}}})}},Hr=It=>{const{previewCls:ut,modalMaskBg:Qt,paddingSM:qt,marginXL:Tt,margin:mn,paddingLG:gt,previewOperationColorDisabled:hn,previewOperationHoverColor:Oe,motionDurationSlow:oe,iconCls:c,colorTextLightSolid:pt}=It,Dt=new Cn.C(Qt).setAlpha(.1),Ke=Dt.clone().setAlpha(.2);return{[`${ut}-footer`]:{position:"fixed",bottom:Tt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:It.previewOperationColor},[`${ut}-progress`]:{marginBottom:mn},[`${ut}-close`]:{position:"fixed",top:Tt,right:{_skip_check_:!0,value:Tt},display:"flex",color:pt,backgroundColor:Dt.toRgbString(),borderRadius:"50%",padding:qt,outline:0,border:0,cursor:"pointer",transition:`all ${oe}`,"&:hover":{backgroundColor:Ke.toRgbString()},[`& > ${c}`]:{fontSize:It.previewOperationSize}},[`${ut}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${gt}px`,backgroundColor:Dt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:qt,padding:qt,cursor:"pointer",transition:`all ${oe}`,userSelect:"none",[`&:not(${ut}-operations-operation-disabled):hover > ${c}`]:{color:Oe},"&-disabled":{color:hn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${c}`]:{fontSize:It.previewOperationSize}}}}},_n=It=>{const{modalMaskBg:ut,iconCls:Qt,previewOperationColorDisabled:qt,previewCls:Tt,zIndexPopup:mn,motionDurationSlow:gt}=It,hn=new Cn.C(ut).setAlpha(.1),Oe=hn.clone().setAlpha(.2);return{[`${Tt}-switch-left, ${Tt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:mn+1,display:"flex",alignItems:"center",justifyContent:"center",width:It.imagePreviewSwitchSize,height:It.imagePreviewSwitchSize,marginTop:-It.imagePreviewSwitchSize/2,color:It.previewOperationColor,background:hn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${gt}`,userSelect:"none","&:hover":{background:Oe.toRgbString()},"&-disabled":{"&, &:hover":{color:qt,background:"transparent",cursor:"not-allowed",[`> ${Qt}`]:{cursor:"not-allowed"}}},[`> ${Qt}`]:{fontSize:It.previewOperationSize}},[`${Tt}-switch-left`]:{insetInlineStart:It.marginSM},[`${Tt}-switch-right`]:{insetInlineEnd:It.marginSM}}},ar=It=>{const{motionEaseOut:ut,previewCls:Qt,motionDurationSlow:qt,componentCls:Tt}=It;return[{[`${Tt}-preview-root`]:{[Qt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Qt}-body`]:Object.assign(Object.assign({},Jn()),{overflow:"hidden"}),[`${Qt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${qt} ${ut} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Jn()),{transition:`transform ${qt} ${ut} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Qt}-moving`]:{[`${Qt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Tt}-preview-root`]:{[`${Qt}-wrap`]:{zIndex:It.zIndexPopup}}},{[`${Tt}-preview-operations-wrapper`]:{position:"fixed",zIndex:It.zIndexPopup+1},"&":[Hr(It),_n(It)]}]},Gn=It=>{const{componentCls:ut}=It;return{[ut]:{position:"relative",display:"inline-block",[`${ut}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ut}-img-placeholder`]:{backgroundColor:It.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ut}-mask`]:Object.assign({},Cr(It)),[`${ut}-mask:hover`]:{opacity:1},[`${ut}-placeholder`]:Object.assign({},Jn())}}},Ar=It=>{const{previewCls:ut}=It;return{[`${ut}-root`]:(0,On._y)(It,"zoom"),"&":(0,kn.J$)(It,!0)}};var Yr=(0,zn.Z)("Image",It=>{const ut=`${It.componentCls}-preview`,Qt=(0,dr.TS)(It,{previewCls:ut,modalMaskBg:new Cn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:It.controlHeightLG});return[Gn(Qt),ar(Qt),(0,Mt.QA)((0,dr.TS)(Qt,{componentCls:ut})),Ar(Qt)]},It=>({zIndexPopup:It.zIndexPopupBase+80,previewOperationColor:new Cn.C(It.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Cn.C(It.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Cn.C(It.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:It.fontSizeIcon*1.5})),Kr=function(It,ut){var Qt={};for(var qt in It)Object.prototype.hasOwnProperty.call(It,qt)&&ut.indexOf(qt)<0&&(Qt[qt]=It[qt]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,qt=Object.getOwnPropertySymbols(It);Tt{var{previewPrefixCls:ut,preview:Qt}=It,qt=Kr(It,["previewPrefixCls","preview"]);const{getPrefixCls:Tt}=i.useContext(jt.E_),mn=Tt("image",ut),gt=`${mn}-preview`,hn=Tt(),[Oe,oe]=Yr(mn),c=i.useMemo(()=>{var pt;if(Qt===!1)return Qt;const Dt=typeof Qt=="object"?Qt:{},Ke=h()(oe,(pt=Dt.rootClassName)!==null&&pt!==void 0?pt:"");return Object.assign(Object.assign({},Dt),{transitionName:(0,Xt.m)(hn,"zoom",Dt.transitionName),maskTransitionName:(0,Xt.m)(hn,"fade",Dt.maskTransitionName),rootClassName:Ke})},[Qt]);return Oe(i.createElement(xt.PreviewGroup,Object.assign({preview:c,previewPrefixCls:gt,icons:Nr},qt)))},Vn=function(It,ut){var Qt={};for(var qt in It)Object.prototype.hasOwnProperty.call(It,qt)&&ut.indexOf(qt)<0&&(Qt[qt]=It[qt]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,qt=Object.getOwnPropertySymbols(It);Tt{const{prefixCls:ut,preview:Qt,className:qt,rootClassName:Tt,style:mn}=It,gt=Vn(It,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:hn,locale:Oe=ke.Z,getPopupContainer:oe,image:c}=i.useContext(jt.E_),pt=hn("image",ut),Dt=hn(),Ke=Oe.Image||ke.Z.Image,[kt,Rt]=Yr(pt),gn=h()(Tt,Rt),vn=h()(qt,Rt,c==null?void 0:c.className),ce=i.useMemo(()=>{if(Qt===!1)return Qt;const nr=typeof Qt=="object"?Qt:{},{getContainer:or}=nr,Zn=Vn(nr,["getContainer"]);return Object.assign(Object.assign({mask:i.createElement("div",{className:`${pt}-mask-info`},i.createElement(p.Z,null),Ke==null?void 0:Ke.preview),icons:Nr},Zn),{getContainer:or||oe,transitionName:(0,Xt.m)(Dt,"zoom",nr.transitionName),maskTransitionName:(0,Xt.m)(Dt,"fade",nr.maskTransitionName)})},[Qt,Ke]),Ln=Object.assign(Object.assign({},c==null?void 0:c.style),mn);return kt(i.createElement(xt,Object.assign({prefixCls:pt,preview:ce,rootClassName:gn,className:vn,style:Ln},gt)))};sa.PreviewGroup=Wn;var hr=sa},45818:function(S,s,t){"use strict";t.d(s,{D:function(){return Z},Z:function(){return W}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(J,X){return p.createElement(C.Z,(0,i.Z)({},J,{ref:X,icon:h}))},f=p.forwardRef(y),F=f,U=t(33853),te=t(38819),ne=t(92310),pe=t.n(ne),Ee=t(2738),Se=le=>!isNaN(parseFloat(le))&&isFinite(le),be=t(36355),Ce=t(84966),j=function(le,J){var X={};for(var ye in le)Object.prototype.hasOwnProperty.call(le,ye)&&J.indexOf(ye)<0&&(X[ye]=le[ye]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,ye=Object.getOwnPropertySymbols(le);fe{let le=0;return function(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return le+=1,`${J}${le}`}})();var W=p.forwardRef((le,J)=>{const{prefixCls:X,className:ye,trigger:fe,children:D,defaultCollapsed:He=!1,theme:rt="dark",style:Lt={},collapsible:$e=!1,reverseArrow:it=!1,width:ot=200,collapsedWidth:_t=80,zeroWidthTriggerStyle:Kt,breakpoint:wt,onCollapse:O,onBreakpoint:ze}=le,nt=j(le,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:we}=(0,p.useContext)(Ce.Gs),[ct,Xe]=(0,p.useState)("collapsed"in le?le.collapsed:He),[tn,zt]=(0,p.useState)(!1);(0,p.useEffect)(()=>{"collapsed"in le&&Xe(le.collapsed)},[le.collapsed]);const un=(ke,_e)=>{"collapsed"in le||Xe(ke),O==null||O(ke,_e)},dn=(0,p.useRef)();dn.current=ke=>{zt(ke.matches),ze==null||ze(ke.matches),ct!==ke.matches&&un(ke.matches,"responsive")},(0,p.useEffect)(()=>{function ke(ie){return dn.current(ie)}let _e;if(typeof window!="undefined"){const{matchMedia:ie}=window;if(ie&&wt&&wt in G){_e=ie(`(max-width: ${G[wt]})`);try{_e.addEventListener("change",ke)}catch(N){_e.addListener(ke)}ke(_e)}}return()=>{try{_e==null||_e.removeEventListener("change",ke)}catch(ie){_e==null||_e.removeListener(ke)}}},[wt]),(0,p.useEffect)(()=>{const ke=B("ant-sider-");return we.addSider(ke),()=>we.removeSider(ke)},[]);const At=()=>{un(!ct,"clickTrigger")},{getPrefixCls:xt}=(0,p.useContext)(be.E_),Xt=()=>{const ke=xt("layout-sider",X),_e=(0,Ee.Z)(nt,["collapsed"]),ie=ct?_t:ot,N=Se(ie)?`${ie}px`:String(ie),Te=parseFloat(String(_t||0))===0?p.createElement("span",{onClick:At,className:pe()(`${ke}-zero-width-trigger`,`${ke}-zero-width-trigger-${it?"right":"left"}`),style:Kt},fe||p.createElement(F,null)):null,H={expanded:it?p.createElement(te.Z,null):p.createElement(U.Z,null),collapsed:it?p.createElement(U.Z,null):p.createElement(te.Z,null)}[ct?"collapsed":"expanded"],Pe=fe!==null?Te||p.createElement("div",{className:`${ke}-trigger`,onClick:At,style:{width:N}},fe||H):null,he=Object.assign(Object.assign({},Lt),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),Q=pe()(ke,`${ke}-${rt}`,{[`${ke}-collapsed`]:!!ct,[`${ke}-has-trigger`]:$e&&fe!==null&&!Te,[`${ke}-below`]:!!tn,[`${ke}-zero-width`]:parseFloat(N)===0},ye);return p.createElement("aside",Object.assign({className:Q},_e,{style:he,ref:J}),p.createElement("div",{className:`${ke}-children`},D),$e||tn&&Te?Pe:null)},jt=p.useMemo(()=>({siderCollapsed:ct}),[ct]);return p.createElement(Z.Provider,{value:jt},Xt())})},84966:function(S,s,t){"use strict";t.d(s,{VY:function(){return Z},$_:function(){return G},h4:function(){return j},Gs:function(){return Ee},ZP:function(){return B}});var i=t(94480),p=t(92310),g=t.n(p),h=t(2738),C=t(59301),y=t(36355),f=t(83116),U=Y=>{const{componentCls:W,bodyBg:le,lightSiderBg:J,lightTriggerBg:X,lightTriggerColor:ye}=Y;return{[`${W}-sider-light`]:{background:J,[`${W}-sider-trigger`]:{color:ye,background:X},[`${W}-sider-zero-width-trigger`]:{color:ye,background:X,border:`1px solid ${le}`,borderInlineStart:0}}}};const te=Y=>{const{antCls:W,componentCls:le,colorText:J,triggerColor:X,footerBg:ye,triggerBg:fe,headerHeight:D,headerPadding:He,headerColor:rt,footerPadding:Lt,triggerHeight:$e,zeroTriggerHeight:it,zeroTriggerWidth:ot,motionDurationMid:_t,motionDurationSlow:Kt,fontSize:wt,borderRadius:O,bodyBg:ze,headerBg:nt,siderBg:we}=Y;return{[le]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ze,"&, *":{boxSizing:"border-box"},[`&${le}-has-sider`]:{flexDirection:"row",[`> ${le}, > ${le}-content`]:{width:0}},[`${le}-header, &${le}-footer`]:{flex:"0 0 auto"},[`${le}-sider`]:{position:"relative",minWidth:0,background:we,transition:`all ${_t}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${W}-menu${W}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:$e},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:$e,color:X,lineHeight:`${$e}px`,textAlign:"center",background:fe,cursor:"pointer",transition:`all ${_t}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:D,insetInlineEnd:-ot,zIndex:1,width:ot,height:it,color:X,fontSize:Y.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:we,borderStartStartRadius:0,borderStartEndRadius:O,borderEndEndRadius:O,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Kt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Kt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ot,borderStartStartRadius:O,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:O}}}}},U(Y)),{"&-rtl":{direction:"rtl"}}),[`${le}-header`]:{height:D,padding:He,color:rt,lineHeight:`${D}px`,background:nt,[`${W}-menu`]:{lineHeight:"inherit"}},[`${le}-footer`]:{padding:Lt,color:J,fontSize:wt,background:ye},[`${le}-content`]:{flex:"auto",minHeight:0}}};var ne=(0,f.Z)("Layout",Y=>[te(Y)],Y=>{const{colorBgLayout:W,controlHeight:le,controlHeightLG:J,colorText:X,controlHeightSM:ye,marginXXS:fe,colorTextLightSolid:D,colorBgContainer:He}=Y,rt=J*1.25;return{colorBgHeader:"#001529",colorBgBody:W,colorBgTrigger:"#002140",bodyBg:W,headerBg:"#001529",headerHeight:le*2,headerPadding:`0 ${rt}px`,headerColor:X,footerPadding:`${ye}px ${rt}px`,footerBg:W,siderBg:"#001529",triggerHeight:J+fe*2,triggerBg:"#002140",triggerColor:D,zeroTriggerWidth:J,zeroTriggerHeight:J,lightSiderBg:He,lightTriggerBg:He,lightTriggerColor:X}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),pe=function(Y,W){var le={};for(var J in Y)Object.prototype.hasOwnProperty.call(Y,J)&&W.indexOf(J)<0&&(le[J]=Y[J]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,J=Object.getOwnPropertySymbols(Y);Xnull,removeSider:()=>null}});function se(Y){let{suffixCls:W,tagName:le,displayName:J}=Y;return X=>C.forwardRef((fe,D)=>C.createElement(X,Object.assign({ref:D,suffixCls:W,tagName:le},fe)))}const Se=C.forwardRef((Y,W)=>{const{prefixCls:le,suffixCls:J,className:X,tagName:ye}=Y,fe=pe(Y,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:D}=C.useContext(y.E_),He=D("layout",le),[rt,Lt]=ne(He),$e=J?`${He}-${J}`:He;return rt(C.createElement(ye,Object.assign({className:g()(le||$e,X,Lt),ref:W},fe)))}),be=C.forwardRef((Y,W)=>{const{direction:le}=C.useContext(y.E_),[J,X]=C.useState([]),{prefixCls:ye,className:fe,rootClassName:D,children:He,hasSider:rt,tagName:Lt,style:$e}=Y,it=pe(Y,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ot=(0,h.Z)(it,["suffixCls"]),{getPrefixCls:_t,layout:Kt}=C.useContext(y.E_),wt=_t("layout",ye),[O,ze]=ne(wt),nt=g()(wt,{[`${wt}-has-sider`]:typeof rt=="boolean"?rt:J.length>0,[`${wt}-rtl`]:le==="rtl"},Kt==null?void 0:Kt.className,fe,D,ze),we=C.useMemo(()=>({siderHook:{addSider:ct=>{X(Xe=>[].concat((0,i.Z)(Xe),[ct]))},removeSider:ct=>{X(Xe=>Xe.filter(tn=>tn!==ct))}}}),[]);return O(C.createElement(Ee.Provider,{value:we},C.createElement(Lt,Object.assign({ref:W,className:nt,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),$e)},ot),He)))}),Ce=se({tagName:"div",displayName:"Layout"})(be),j=se({suffixCls:"header",tagName:"header",displayName:"Header"})(Se),G=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Se),Z=se({suffixCls:"content",tagName:"main",displayName:"Content"})(Se);var B=Ce},40875:function(S,s,t){"use strict";t.d(s,{J:function(){return y}});var i=t(59301),p=t(33234),g=t(70425),h=function(f,F){var U={};for(var te in f)Object.prototype.hasOwnProperty.call(f,te)&&F.indexOf(te)<0&&(U[te]=f[te]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(f);ne{const{children:U}=f,te=h(f,["children"]),ne=i.useContext(C),pe=i.useMemo(()=>Object.assign(Object.assign({},ne),te),[ne,te.prefixCls,te.mode,te.selectable]);return i.createElement(C.Provider,{value:pe},i.createElement(p.BR,null,(0,g.supportNodeRef)(U)?i.cloneElement(U,{ref:F}):U))});s.Z=C},20834:function(S,s,t){"use strict";t.d(s,{default:function(){return jt}});var i=t(15285),p=t(59301),g=t(45818),h=t(92310),C=t.n(h),y=t(36355),f=function(ke,_e){var ie={};for(var N in ke)Object.prototype.hasOwnProperty.call(ke,N)&&_e.indexOf(N)<0&&(ie[N]=ke[N]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,N=Object.getOwnPropertySymbols(ke);Te{const{prefixCls:_e,className:ie,dashed:N}=ke,Te=f(ke,["prefixCls","className","dashed"]),{getPrefixCls:st}=p.useContext(y.E_),V=st("menu",_e),H=C()({[`${V}-item-divider-dashed`]:!!N},ie);return p.createElement(i.iz,Object.assign({className:H},Te))},te=t(11592),ne=t(2738),pe=t(6848),Ee=t(92343),Se=(0,p.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ce=ke=>{var _e;const{className:ie,children:N,icon:Te,title:st,danger:V}=ke,{prefixCls:H,firstLevel:Pe,direction:he,disableMenuItemTitleTooltip:Q,inlineCollapsed:Le}=p.useContext(Se),ht=Ge=>{const Je=p.createElement("span",{className:`${H}-title-content`},N);return(!Te||(0,Ee.l$)(N)&&N.type==="span")&&N&&Ge&&Pe&&typeof N=="string"?p.createElement("div",{className:`${H}-inline-collapsed-noicon`},N.charAt(0)):Je},{siderCollapsed:at}=p.useContext(g.D);let Et=st;typeof st=="undefined"?Et=Pe?N:"":st===!1&&(Et="");const dt={title:Et};!at&&!Le&&(dt.title=null,dt.open=!1);const mt=(0,te.Z)(N).length;let ee=p.createElement(i.ck,Object.assign({},(0,ne.Z)(ke,["title","icon","danger"]),{className:C()({[`${H}-item-danger`]:V,[`${H}-item-only-child`]:(Te?mt+1:mt)===1},ie),title:typeof st=="string"?st:void 0}),(0,Ee.Tm)(Te,{className:C()((0,Ee.l$)(Te)?(_e=Te.props)===null||_e===void 0?void 0:_e.className:"",`${H}-item-icon`)}),ht(Le));return Q||(ee=p.createElement(pe.Z,Object.assign({},dt,{placement:he==="rtl"?"left":"right",overlayClassName:`${H}-inline-collapsed-tooltip`}),ee)),ee},G=ke=>{var _e;const{popupClassName:ie,icon:N,title:Te,theme:st}=ke,V=p.useContext(Se),{prefixCls:H,inlineCollapsed:Pe,theme:he}=V,Q=(0,i.Xl)();let Le;if(!N)Le=Pe&&!Q.length&&Te&&typeof Te=="string"?p.createElement("div",{className:`${H}-inline-collapsed-noicon`},Te.charAt(0)):p.createElement("span",{className:`${H}-title-content`},Te);else{const at=(0,Ee.l$)(Te)&&Te.type==="span";Le=p.createElement(p.Fragment,null,(0,Ee.Tm)(N,{className:C()((0,Ee.l$)(N)?(_e=N.props)===null||_e===void 0?void 0:_e.className:"",`${H}-item-icon`)}),at?Te:p.createElement("span",{className:`${H}-title-content`},Te))}const ht=p.useMemo(()=>Object.assign(Object.assign({},V),{firstLevel:!1}),[V]);return p.createElement(Se.Provider,{value:ht},p.createElement(i.Wd,Object.assign({},(0,ne.Z)(ke,["icon"]),{title:Le,popupClassName:C()(H,ie,`${H}-${st||he}`)})))},Z=t(18785),B=t(70425),Y=t(62892),W=t(40875),le=function(ke,_e){var ie={};for(var N in ke)Object.prototype.hasOwnProperty.call(ke,N)&&_e.indexOf(N)<0&&(ie[N]=ke[N]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,N=Object.getOwnPropertySymbols(ke);Te{if(_e&&typeof _e=="object"){const N=_e,{label:Te,children:st,key:V,type:H}=N,Pe=le(N,["label","children","key","type"]),he=V!=null?V:`tmp-${ie}`;return st||H==="group"?H==="group"?p.createElement(i.BW,Object.assign({key:he},Pe,{title:Te}),J(st)):p.createElement(G,Object.assign({key:he},Pe,{title:Te}),J(st)):H==="divider"?p.createElement(U,Object.assign({key:he},Pe)):p.createElement(Ce,Object.assign({key:he},Pe),Te)}return null}).filter(_e=>_e)}function X(ke){return p.useMemo(()=>ke&&J(ke),[ke])}var ye=t(64993),fe=t(17313),D=t(8378),He=t(13826),rt=t(29878),Lt=t(83116),$e=t(37613),ot=ke=>{const{componentCls:_e,motionDurationSlow:ie,horizontalLineHeight:N,colorSplit:Te,lineWidth:st,lineType:V,itemPaddingInline:H}=ke;return{[`${_e}-horizontal`]:{lineHeight:N,border:0,borderBottom:`${st}px ${V} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${_e}-item, ${_e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:H},[`> ${_e}-item:hover, + &${j}-slide-up-leave${j}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:p.ly}})},(0,C.ZP)(pe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:Se,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:W,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,i.Qy)(pe)),{[`${se}-item-group-title`]:{padding:`${B}px ${X}px`,color:pe.colorTextDescription,transition:`all ${Z}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:Y,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${B}px ${X}px`,color:pe.colorText,fontWeight:"normal",fontSize:Y,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${Z}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,i.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:le,cursor:"not-allowed","&:hover":{color:le,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${pe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:J,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${pe.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:X+pe.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:le,backgroundColor:ye,cursor:"not-allowed"}},[`${se}-submenu-selected ${Ee}-menu-submenu-title`]:{color:pe.colorPrimary}})}},[(0,p.oN)(pe,"slide-up"),(0,p.oN)(pe,"slide-down"),(0,g.Fm)(pe,"move-up"),(0,g.Fm)(pe,"move-down"),(0,h._y)(pe,"zoom-big")]]};var ne=(0,y.Z)("Dropdown",(pe,Ee)=>{let{rootPrefixCls:se}=Ee;const{marginXXS:Se,sizePopupArrow:be,controlHeight:Ce,fontSize:j,lineHeight:G,paddingXXS:Z,componentCls:B,borderRadiusLG:Y}=pe,W=(Ce-j*G)/2,{dropdownArrowOffset:le}=(0,C.fS)({contentRadius:Y}),J=(0,f.TS)(pe,{menuCls:`${B}-menu`,rootPrefixCls:se,dropdownArrowDistance:be/2+Se,dropdownArrowOffset:le,dropdownPaddingVertical:W,dropdownEdgeChildPadding:Z});return[te(J),U(J)]},pe=>({zIndexPopup:pe.zIndexPopupBase+50}))},8628:function(S,s,t){"use strict";var i=t(59301),p=t(34280),g=t(56762),h=t(69507);function C(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const f=(0,i.useRef)({}),F=(0,g.Z)(),U=(0,h.ZP)();return(0,p.Z)(()=>{const te=U.subscribe(ne=>{f.current=ne,y&&F()});return()=>U.unsubscribe(te)},[]),f.current}s.Z=C},11611:function(S,s,t){"use strict";t.d(s,{Z:function(){return hr}});var i=t(59301),p=t(15277),g=t(92310),h=t.n(g),C=t(54476),y=t(33885),f=t(20068),F=t(42978),U=t(76190),te=t(75931),ne=t(55468),pe=t(18929),Ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],se=i.createContext(null),Se=0;function be(It,ut){var Qt=i.useState(function(){return Se+=1,String(Se)}),qt=(0,F.Z)(Qt,1),Tt=qt[0],mn=i.useContext(se),gt={data:ut,canPreview:It};return i.useEffect(function(){if(mn)return mn.register(Tt,gt)},[]),i.useEffect(function(){mn&&mn.register(Tt,gt)},[It,ut]),Tt}function Ce(It){return new Promise(function(ut){var Qt=document.createElement("img");Qt.onerror=function(){return ut(!1)},Qt.onload=function(){return ut(!0)},Qt.src=It})}function j(It){var ut=It.src,Qt=It.isCustomPlaceholder,qt=It.fallback,Tt=(0,i.useState)(Qt?"loading":"normal"),mn=(0,F.Z)(Tt,2),gt=mn[0],hn=mn[1],Oe=(0,i.useRef)(!1),oe=gt==="error";(0,i.useEffect)(function(){Ce(ut).then(function(Ke){Ke||hn("error")})},[ut]),(0,i.useEffect)(function(){Qt&&!Oe.current?hn("loading"):oe&&hn("normal")},[ut]);var c=function(){hn("normal")},pt=function(kt){Oe.current=!1,gt==="loading"&&kt!=null&&kt.complete&&(kt.naturalWidth||kt.naturalHeight)&&(Oe.current=!0,c())},Dt=oe&&qt?{src:qt}:{onLoad:c,src:ut};return[pt,Dt,gt]}var G=t(86923),Z=t(8224),B=t(10228),Y=t(48736);function W(It,ut,Qt,qt){var Tt=ut+Qt,mn=(Qt-qt)/2;if(Qt>qt){if(ut>0)return(0,f.Z)({},It,mn);if(ut<0&&Ttqt)return(0,f.Z)({},It,ut<0?mn:-mn);return{}}function le(It,ut,Qt,qt){var Tt=(0,ne.g1)(),mn=Tt.width,gt=Tt.height,hn=null;return It<=mn&&ut<=gt?hn={x:0,y:0}:(It>mn||ut>gt)&&(hn=(0,y.Z)((0,y.Z)({},W("x",Qt,It,mn)),W("y",qt,ut,gt))),hn}var J=t(13697),X=t(16089),ye={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function fe(It,ut,Qt,qt){var Tt=(0,i.useRef)(null),mn=(0,i.useRef)([]),gt=(0,i.useState)(ye),hn=(0,F.Z)(gt,2),Oe=hn[0],oe=hn[1],c=function(kt){oe(ye),qt&&!(0,J.Z)(ye,Oe)&&qt({transform:ye,action:kt})},pt=function(kt,Rt){Tt.current===null&&(mn.current=[],Tt.current=(0,X.Z)(function(){oe(function(gn){var vn=gn;return mn.current.forEach(function(ce){vn=(0,y.Z)((0,y.Z)({},vn),ce)}),Tt.current=null,qt==null||qt({transform:vn,action:Rt}),vn})})),mn.current.push((0,y.Z)((0,y.Z)({},Oe),kt))},Dt=function(kt,Rt,gn,vn){var ce=It.current,Ln=ce.width,nr=ce.height,or=ce.offsetWidth,Zn=ce.offsetHeight,T=ce.offsetLeft,A=ce.offsetTop,Pt=kt,z=Oe.scale*kt;z>Qt?(Pt=Qt/Oe.scale,z=Qt):z1,na=Fr&&ce>=1,ra=fe(Fe,T,Pt,Ir),lr=ra.transform,Yn=ra.resetTransform,Sr=ra.updateTransform,Nn=ra.dispatchZoomChange,Lr=(0,i.useState)(!0),Rr=(0,F.Z)(Lr,2),la=Rr[0],pa=Rr[1],va=lr.rotate,br=lr.scale,_r=lr.x,Ea=lr.y,Xa=h()((0,f.Z)({},"".concat(Qt,"-moving"),gr));(0,i.useEffect)(function(){la||pa(!0)},[la]);var pi=function(){Yn("close")},Ha=function(){Nn($e+or,"zoomIn")},Ra=function(){Nn($e/($e+or),"zoomOut")},ti=function(){Sr({rotate:va+90},"rotateRight")},vi=function(){Sr({rotate:va-90},"rotateLeft")},Ka=function(){Sr({flipX:!lr.flipX},"flipX")},Na=function(){Sr({flipY:!lr.flipY},"flipY")},Fa=function(ve){ve==null||ve.preventDefault(),ve==null||ve.stopPropagation(),gn>0&&(pa(!1),Yn("prev"),yr==null||yr(gn-1,gn))},ka=function(ve){ve==null||ve.preventDefault(),ve==null||ve.stopPropagation(),gn0&&(ya=$e/ya),Nn(ya,"wheel",ve.clientX,ve.clientY)}},Ei=function(ve){!oe||!Mr||(ve.keyCode===B.Z.LEFT?Fa():ve.keyCode===B.Z.RIGHT&&ka())},vr=function(ve){oe&&(br!==1?Sr({x:0,y:0,scale:1},"doubleClick"):Nn($e+or,"doubleClick",ve.clientX,ve.clientY))};(0,i.useEffect)(function(){var Er,ve,Dr,qr;if(hn){Dr=(0,Z.Z)(window,"mouseup",ua,!1),qr=(0,Z.Z)(window,"mousemove",Ii,!1);try{window.top!==window.self&&(Er=(0,Z.Z)(window.top,"mouseup",ua,!1),ve=(0,Z.Z)(window.top,"mousemove",Ii,!1))}catch(ya){(0,Y.Kp)(!1,"[rc-image] ".concat(ya))}}return function(){var ya,La,vt,Vr;(ya=Dr)===null||ya===void 0||ya.remove(),(La=qr)===null||La===void 0||La.remove(),(vt=Er)===null||vt===void 0||vt.remove(),(Vr=ve)===null||Vr===void 0||Vr.remove()}},[oe,gr,_r,Ea,va,hn]),(0,i.useEffect)(function(){var Er=(0,Z.Z)(window,"keydown",Ei,!1);return function(){Er.remove()}},[oe,Mr,gn]);var $r=i.createElement(Kt,(0,C.Z)({},wr,{width:ut.width,height:ut.height,imgRef:Fe,className:"".concat(Qt,"-img"),alt:Tt,style:{transform:"translate3d(".concat(lr.x,"px, ").concat(lr.y,"px, 0) scale3d(").concat(lr.flipX?"-":"").concat(br,", ").concat(lr.flipY?"-":"").concat(br,", 1) rotate(").concat(va,"deg)"),transitionDuration:!la&&"0s"},fallback:mn,src:qt,onWheel:Ki,onMouseDown:Ai,onDoubleClick:vr}));return i.createElement(i.Fragment,null,i.createElement(G.Z,(0,C.Z)({transitionName:Ie,maskTransitionName:Vt,closable:!1,keyboard:!0,prefixCls:Qt,onClose:Oe,visible:oe,wrapClassName:Xa,rootClassName:Dt,getContainer:kt},ba,{afterClose:pi}),i.createElement("div",{className:"".concat(Qt,"-img-wrapper")},pr?pr($r,(0,y.Z)({transform:lr},Fr?{current:gn}:{})):$r)),i.createElement(Lt,{visible:oe,transform:lr,maskTransitionName:Vt,closeIcon:Ke,getContainer:kt,prefixCls:Qt,rootClassName:Dt,icons:pt,countRender:Ln,showSwitch:Mr,showProgress:na,current:gn,count:ce,scale:br,minScale:T,maxScale:Pt,toolbarRender:xn,onSwitchLeft:Fa,onSwitchRight:ka,onZoomIn:Ha,onZoomOut:Ra,onRotateRight:ti,onRotateLeft:vi,onFlipX:Ka,onFlipY:Na,onClose:Oe}))},O=wt,ze=t(94480);function nt(It){var ut=i.useState({}),Qt=(0,F.Z)(ut,2),qt=Qt[0],Tt=Qt[1],mn=i.useCallback(function(hn,Oe){return Tt(function(oe){return(0,y.Z)((0,y.Z)({},oe),{},(0,f.Z)({},hn,Oe))}),function(){Tt(function(oe){var c=(0,y.Z)({},oe);return delete c[hn],c})}},[]),gt=i.useMemo(function(){return It?It.map(function(hn){if(typeof hn=="string")return{data:{src:hn}};var Oe={};return Object.keys(hn).forEach(function(oe){["src"].concat((0,ze.Z)(Ee)).includes(oe)&&(Oe[oe]=hn[oe])}),{data:Oe}}):Object.keys(qt).reduce(function(hn,Oe){var oe=qt[Oe],c=oe.canPreview,pt=oe.data;return c&&hn.push({data:pt,id:Oe}),hn},[])},[It,qt]);return[gt,mn]}var Ne=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],ct=["src"],Xe=function(ut){var Qt,qt=ut.previewPrefixCls,Tt=qt===void 0?"rc-image-preview":qt,mn=ut.children,gt=ut.icons,hn=gt===void 0?{}:gt,Oe=ut.items,oe=ut.preview,c=ut.fallback,pt=(0,U.Z)(oe)==="object"?oe:{},Dt=pt.visible,Ke=pt.onVisibleChange,kt=pt.getContainer,Rt=pt.current,gn=pt.movable,vn=pt.minScale,ce=pt.maxScale,Ln=pt.countRender,nr=pt.closeIcon,or=pt.onChange,Zn=pt.onTransform,T=pt.toolbarRender,A=pt.imageRender,Pt=(0,te.Z)(pt,Ne),z=nt(Oe),Ie=(0,F.Z)(z,2),Un=Ie[0],Vt=Ie[1],pr=(0,pe.Z)(0,{value:Rt}),wr=(0,F.Z)(pr,2),xn=wr[0],Ir=wr[1],yr=(0,i.useState)(!1),ba=(0,F.Z)(yr,2),Fe=ba[0],Xr=ba[1],Qe=((Qt=Un[xn])===null||Qt===void 0?void 0:Qt.data)||{},ta=Qe.src,gr=(0,te.Z)(Qe,ct),Ca=(0,pe.Z)(!!Dt,{value:Dt,onChange:function(va,br){Ke==null||Ke(va,br,xn)}}),Fr=(0,F.Z)(Ca,2),Mr=Fr[0],na=Fr[1],ra=(0,i.useState)(null),lr=(0,F.Z)(ra,2),Yn=lr[0],Sr=lr[1],Nn=i.useCallback(function(pa,va,br){var _r=Un.findIndex(function(Ea){return Ea.id===pa});na(!0),Sr({x:va,y:br}),Ir(_r<0?0:_r),Xr(!0)},[Un]);i.useEffect(function(){Mr?Fe||Ir(0):Xr(!1)},[Mr]);var Lr=function(va,br){Ir(va),or==null||or(va,br)},Rr=function(){na(!1),Sr(null)},la=i.useMemo(function(){return{register:Vt,onPreview:Nn}},[Vt,Nn]);return i.createElement(se.Provider,{value:la},mn,i.createElement(O,(0,C.Z)({"aria-hidden":!Mr,movable:gn,visible:Mr,prefixCls:Tt,closeIcon:nr,onClose:Rr,mousePosition:Yn,imgCommonProps:gr,src:ta,fallback:c,icons:hn,minScale:vn,maxScale:ce,getContainer:kt,current:xn,count:Un.length,countRender:Ln,onTransform:Zn,toolbarRender:T,imageRender:A,onChange:Lr},Pt)))},tn=Xe,zt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],un=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],dn=function(ut){var Qt=ut.src,qt=ut.alt,Tt=ut.onPreviewClose,mn=ut.prefixCls,gt=mn===void 0?"rc-image":mn,hn=ut.previewPrefixCls,Oe=hn===void 0?"".concat(gt,"-preview"):hn,oe=ut.placeholder,c=ut.fallback,pt=ut.width,Dt=ut.height,Ke=ut.style,kt=ut.preview,Rt=kt===void 0?!0:kt,gn=ut.className,vn=ut.onClick,ce=ut.onError,Ln=ut.wrapperClassName,nr=ut.wrapperStyle,or=ut.rootClassName,Zn=(0,te.Z)(ut,zt),T=oe&&oe!==!0,A=(0,U.Z)(Rt)==="object"?Rt:{},Pt=A.src,z=A.visible,Ie=z===void 0?void 0:z,Un=A.onVisibleChange,Vt=Un===void 0?Tt:Un,pr=A.getContainer,wr=pr===void 0?void 0:pr,xn=A.mask,Ir=A.maskClassName,yr=A.movable,ba=A.icons,Fe=A.scaleStep,Xr=A.minScale,Qe=A.maxScale,ta=A.imageRender,gr=A.toolbarRender,Ca=(0,te.Z)(A,un),Fr=Pt!=null?Pt:Qt,Mr=(0,pe.Z)(!!Ie,{value:Ie,onChange:Vt}),na=(0,F.Z)(Mr,2),ra=na[0],lr=na[1],Yn=j({src:Qt,isCustomPlaceholder:T,fallback:c}),Sr=(0,F.Z)(Yn,3),Nn=Sr[0],Lr=Sr[1],Rr=Sr[2],la=(0,i.useState)(null),pa=(0,F.Z)(la,2),va=pa[0],br=pa[1],_r=(0,i.useContext)(se),Ea=!!Rt,Xa=function(){lr(!1),br(null)},pi=h()(gt,Ln,or,(0,f.Z)({},"".concat(gt,"-error"),Rr==="error")),Ha=(0,i.useMemo)(function(){var Ka={};return Ee.forEach(function(Na){ut[Na]!==void 0&&(Ka[Na]=ut[Na])}),Ka},Ee.map(function(Ka){return ut[Ka]})),Ra=(0,i.useMemo)(function(){return(0,y.Z)((0,y.Z)({},Ha),{},{src:Fr})},[Fr,Ha]),ti=be(Ea,Ra),vi=function(Na){var Fa=(0,ne.os)(Na.target),ka=Fa.left,ua=Fa.top;_r?_r.onPreview(ti,ka,ua):(br({x:ka,y:ua}),lr(!0)),vn==null||vn(Na)};return i.createElement(i.Fragment,null,i.createElement("div",(0,C.Z)({},Zn,{className:pi,onClick:Ea?vi:vn,style:(0,y.Z)({width:pt,height:Dt},nr)}),i.createElement("img",(0,C.Z)({},Ha,{className:h()("".concat(gt,"-img"),(0,f.Z)({},"".concat(gt,"-img-placeholder"),oe===!0),gn),style:(0,y.Z)({height:Dt},Ke),ref:Nn},Lr,{width:pt,height:Dt,onError:ce})),Rr==="loading"&&i.createElement("div",{"aria-hidden":"true",className:"".concat(gt,"-placeholder")},oe),xn&&Ea&&i.createElement("div",{className:h()("".concat(gt,"-mask"),Ir),style:{display:(Ke==null?void 0:Ke.display)==="none"?"none":void 0}},xn)),!_r&&Ea&&i.createElement(O,(0,C.Z)({"aria-hidden":!ra,visible:ra,prefixCls:Oe,onClose:Xa,mousePosition:va,src:Fr,alt:qt,fallback:c,getContainer:wr,icons:ba,movable:yr,scaleStep:Fe,minScale:Xr,maxScale:Qe,rootClassName:or,imageRender:ta,imgCommonProps:Ha,toolbarRender:gr},Ca)))};dn.PreviewGroup=tn,dn.displayName="Image";var At=dn,xt=At,Xt=t(62892),jt=t(36355),ke=t(31724),_e=t(99267),ie=t(33853),N=t(38819),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},st=Te,V=t(7657),H=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:st}))},Pe=i.forwardRef(H),he=Pe,Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Le=Q,ht=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:Le}))},at=i.forwardRef(ht),Et=at,dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},mt=dt,ee=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:mt}))},Ge=i.forwardRef(ee),Je=Ge,qe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},_=qe,Ot=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:_}))},tt=i.forwardRef(Ot),Re=tt,Jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},cn=Jt,sn=function(ut,Qt){return i.createElement(V.Z,(0,C.Z)({},ut,{ref:Qt,icon:cn}))},Ze=i.forwardRef(sn),Rn=Ze,Cn=t(64993),Mt=t(73819),Hn=t(17313),On=t(29878),kn=t(1950),zn=t(83116),dr=t(37613);const Jn=It=>({position:It||"absolute",inset:0}),Cr=It=>{const{iconCls:ut,motionDurationSlow:Qt,paddingXXS:qt,marginXXS:Tt,prefixCls:mn,colorTextLightSolid:gt}=It;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:gt,background:new Cn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Qt}`,[`.${mn}-mask-info`]:Object.assign(Object.assign({},Hn.vS),{padding:`0 ${qt}px`,[ut]:{marginInlineEnd:Tt,svg:{verticalAlign:"baseline"}}})}},Hr=It=>{const{previewCls:ut,modalMaskBg:Qt,paddingSM:qt,marginXL:Tt,margin:mn,paddingLG:gt,previewOperationColorDisabled:hn,previewOperationHoverColor:Oe,motionDurationSlow:oe,iconCls:c,colorTextLightSolid:pt}=It,Dt=new Cn.C(Qt).setAlpha(.1),Ke=Dt.clone().setAlpha(.2);return{[`${ut}-footer`]:{position:"fixed",bottom:Tt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:It.previewOperationColor},[`${ut}-progress`]:{marginBottom:mn},[`${ut}-close`]:{position:"fixed",top:Tt,right:{_skip_check_:!0,value:Tt},display:"flex",color:pt,backgroundColor:Dt.toRgbString(),borderRadius:"50%",padding:qt,outline:0,border:0,cursor:"pointer",transition:`all ${oe}`,"&:hover":{backgroundColor:Ke.toRgbString()},[`& > ${c}`]:{fontSize:It.previewOperationSize}},[`${ut}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${gt}px`,backgroundColor:Dt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:qt,padding:qt,cursor:"pointer",transition:`all ${oe}`,userSelect:"none",[`&:not(${ut}-operations-operation-disabled):hover > ${c}`]:{color:Oe},"&-disabled":{color:hn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${c}`]:{fontSize:It.previewOperationSize}}}}},_n=It=>{const{modalMaskBg:ut,iconCls:Qt,previewOperationColorDisabled:qt,previewCls:Tt,zIndexPopup:mn,motionDurationSlow:gt}=It,hn=new Cn.C(ut).setAlpha(.1),Oe=hn.clone().setAlpha(.2);return{[`${Tt}-switch-left, ${Tt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:mn+1,display:"flex",alignItems:"center",justifyContent:"center",width:It.imagePreviewSwitchSize,height:It.imagePreviewSwitchSize,marginTop:-It.imagePreviewSwitchSize/2,color:It.previewOperationColor,background:hn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${gt}`,userSelect:"none","&:hover":{background:Oe.toRgbString()},"&-disabled":{"&, &:hover":{color:qt,background:"transparent",cursor:"not-allowed",[`> ${Qt}`]:{cursor:"not-allowed"}}},[`> ${Qt}`]:{fontSize:It.previewOperationSize}},[`${Tt}-switch-left`]:{insetInlineStart:It.marginSM},[`${Tt}-switch-right`]:{insetInlineEnd:It.marginSM}}},ar=It=>{const{motionEaseOut:ut,previewCls:Qt,motionDurationSlow:qt,componentCls:Tt}=It;return[{[`${Tt}-preview-root`]:{[Qt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Qt}-body`]:Object.assign(Object.assign({},Jn()),{overflow:"hidden"}),[`${Qt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${qt} ${ut} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Jn()),{transition:`transform ${qt} ${ut} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Qt}-moving`]:{[`${Qt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Tt}-preview-root`]:{[`${Qt}-wrap`]:{zIndex:It.zIndexPopup}}},{[`${Tt}-preview-operations-wrapper`]:{position:"fixed",zIndex:It.zIndexPopup+1},"&":[Hr(It),_n(It)]}]},Gn=It=>{const{componentCls:ut}=It;return{[ut]:{position:"relative",display:"inline-block",[`${ut}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ut}-img-placeholder`]:{backgroundColor:It.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ut}-mask`]:Object.assign({},Cr(It)),[`${ut}-mask:hover`]:{opacity:1},[`${ut}-placeholder`]:Object.assign({},Jn())}}},Ar=It=>{const{previewCls:ut}=It;return{[`${ut}-root`]:(0,On._y)(It,"zoom"),"&":(0,kn.J$)(It,!0)}};var Yr=(0,zn.Z)("Image",It=>{const ut=`${It.componentCls}-preview`,Qt=(0,dr.TS)(It,{previewCls:ut,modalMaskBg:new Cn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:It.controlHeightLG});return[Gn(Qt),ar(Qt),(0,Mt.QA)((0,dr.TS)(Qt,{componentCls:ut})),Ar(Qt)]},It=>({zIndexPopup:It.zIndexPopupBase+80,previewOperationColor:new Cn.C(It.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Cn.C(It.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Cn.C(It.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:It.fontSizeIcon*1.5})),Kr=function(It,ut){var Qt={};for(var qt in It)Object.prototype.hasOwnProperty.call(It,qt)&&ut.indexOf(qt)<0&&(Qt[qt]=It[qt]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,qt=Object.getOwnPropertySymbols(It);Tt{var{previewPrefixCls:ut,preview:Qt}=It,qt=Kr(It,["previewPrefixCls","preview"]);const{getPrefixCls:Tt}=i.useContext(jt.E_),mn=Tt("image",ut),gt=`${mn}-preview`,hn=Tt(),[Oe,oe]=Yr(mn),c=i.useMemo(()=>{var pt;if(Qt===!1)return Qt;const Dt=typeof Qt=="object"?Qt:{},Ke=h()(oe,(pt=Dt.rootClassName)!==null&&pt!==void 0?pt:"");return Object.assign(Object.assign({},Dt),{transitionName:(0,Xt.m)(hn,"zoom",Dt.transitionName),maskTransitionName:(0,Xt.m)(hn,"fade",Dt.maskTransitionName),rootClassName:Ke})},[Qt]);return Oe(i.createElement(xt.PreviewGroup,Object.assign({preview:c,previewPrefixCls:gt,icons:Nr},qt)))},Vn=function(It,ut){var Qt={};for(var qt in It)Object.prototype.hasOwnProperty.call(It,qt)&&ut.indexOf(qt)<0&&(Qt[qt]=It[qt]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,qt=Object.getOwnPropertySymbols(It);Tt{const{prefixCls:ut,preview:Qt,className:qt,rootClassName:Tt,style:mn}=It,gt=Vn(It,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:hn,locale:Oe=ke.Z,getPopupContainer:oe,image:c}=i.useContext(jt.E_),pt=hn("image",ut),Dt=hn(),Ke=Oe.Image||ke.Z.Image,[kt,Rt]=Yr(pt),gn=h()(Tt,Rt),vn=h()(qt,Rt,c==null?void 0:c.className),ce=i.useMemo(()=>{if(Qt===!1)return Qt;const nr=typeof Qt=="object"?Qt:{},{getContainer:or}=nr,Zn=Vn(nr,["getContainer"]);return Object.assign(Object.assign({mask:i.createElement("div",{className:`${pt}-mask-info`},i.createElement(p.Z,null),Ke==null?void 0:Ke.preview),icons:Nr},Zn),{getContainer:or||oe,transitionName:(0,Xt.m)(Dt,"zoom",nr.transitionName),maskTransitionName:(0,Xt.m)(Dt,"fade",nr.maskTransitionName)})},[Qt,Ke]),Ln=Object.assign(Object.assign({},c==null?void 0:c.style),mn);return kt(i.createElement(xt,Object.assign({prefixCls:pt,preview:ce,rootClassName:gn,className:vn,style:Ln},gt)))};sa.PreviewGroup=Wn;var hr=sa},45818:function(S,s,t){"use strict";t.d(s,{D:function(){return Z},Z:function(){return W}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(J,X){return p.createElement(C.Z,(0,i.Z)({},J,{ref:X,icon:h}))},f=p.forwardRef(y),F=f,U=t(33853),te=t(38819),ne=t(92310),pe=t.n(ne),Ee=t(2738),Se=le=>!isNaN(parseFloat(le))&&isFinite(le),be=t(36355),Ce=t(84966),j=function(le,J){var X={};for(var ye in le)Object.prototype.hasOwnProperty.call(le,ye)&&J.indexOf(ye)<0&&(X[ye]=le[ye]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,ye=Object.getOwnPropertySymbols(le);fe{let le=0;return function(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return le+=1,`${J}${le}`}})();var W=p.forwardRef((le,J)=>{const{prefixCls:X,className:ye,trigger:fe,children:D,defaultCollapsed:He=!1,theme:rt="dark",style:Lt={},collapsible:$e=!1,reverseArrow:it=!1,width:ot=200,collapsedWidth:_t=80,zeroWidthTriggerStyle:Kt,breakpoint:wt,onCollapse:O,onBreakpoint:ze}=le,nt=j(le,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ne}=(0,p.useContext)(Ce.Gs),[ct,Xe]=(0,p.useState)("collapsed"in le?le.collapsed:He),[tn,zt]=(0,p.useState)(!1);(0,p.useEffect)(()=>{"collapsed"in le&&Xe(le.collapsed)},[le.collapsed]);const un=(ke,_e)=>{"collapsed"in le||Xe(ke),O==null||O(ke,_e)},dn=(0,p.useRef)();dn.current=ke=>{zt(ke.matches),ze==null||ze(ke.matches),ct!==ke.matches&&un(ke.matches,"responsive")},(0,p.useEffect)(()=>{function ke(ie){return dn.current(ie)}let _e;if(typeof window!="undefined"){const{matchMedia:ie}=window;if(ie&&wt&&wt in G){_e=ie(`(max-width: ${G[wt]})`);try{_e.addEventListener("change",ke)}catch(N){_e.addListener(ke)}ke(_e)}}return()=>{try{_e==null||_e.removeEventListener("change",ke)}catch(ie){_e==null||_e.removeListener(ke)}}},[wt]),(0,p.useEffect)(()=>{const ke=B("ant-sider-");return Ne.addSider(ke),()=>Ne.removeSider(ke)},[]);const At=()=>{un(!ct,"clickTrigger")},{getPrefixCls:xt}=(0,p.useContext)(be.E_),Xt=()=>{const ke=xt("layout-sider",X),_e=(0,Ee.Z)(nt,["collapsed"]),ie=ct?_t:ot,N=Se(ie)?`${ie}px`:String(ie),Te=parseFloat(String(_t||0))===0?p.createElement("span",{onClick:At,className:pe()(`${ke}-zero-width-trigger`,`${ke}-zero-width-trigger-${it?"right":"left"}`),style:Kt},fe||p.createElement(F,null)):null,H={expanded:it?p.createElement(te.Z,null):p.createElement(U.Z,null),collapsed:it?p.createElement(U.Z,null):p.createElement(te.Z,null)}[ct?"collapsed":"expanded"],Pe=fe!==null?Te||p.createElement("div",{className:`${ke}-trigger`,onClick:At,style:{width:N}},fe||H):null,he=Object.assign(Object.assign({},Lt),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),Q=pe()(ke,`${ke}-${rt}`,{[`${ke}-collapsed`]:!!ct,[`${ke}-has-trigger`]:$e&&fe!==null&&!Te,[`${ke}-below`]:!!tn,[`${ke}-zero-width`]:parseFloat(N)===0},ye);return p.createElement("aside",Object.assign({className:Q},_e,{style:he,ref:J}),p.createElement("div",{className:`${ke}-children`},D),$e||tn&&Te?Pe:null)},jt=p.useMemo(()=>({siderCollapsed:ct}),[ct]);return p.createElement(Z.Provider,{value:jt},Xt())})},84966:function(S,s,t){"use strict";t.d(s,{VY:function(){return Z},$_:function(){return G},h4:function(){return j},Gs:function(){return Ee},ZP:function(){return B}});var i=t(94480),p=t(92310),g=t.n(p),h=t(2738),C=t(59301),y=t(36355),f=t(83116),U=Y=>{const{componentCls:W,bodyBg:le,lightSiderBg:J,lightTriggerBg:X,lightTriggerColor:ye}=Y;return{[`${W}-sider-light`]:{background:J,[`${W}-sider-trigger`]:{color:ye,background:X},[`${W}-sider-zero-width-trigger`]:{color:ye,background:X,border:`1px solid ${le}`,borderInlineStart:0}}}};const te=Y=>{const{antCls:W,componentCls:le,colorText:J,triggerColor:X,footerBg:ye,triggerBg:fe,headerHeight:D,headerPadding:He,headerColor:rt,footerPadding:Lt,triggerHeight:$e,zeroTriggerHeight:it,zeroTriggerWidth:ot,motionDurationMid:_t,motionDurationSlow:Kt,fontSize:wt,borderRadius:O,bodyBg:ze,headerBg:nt,siderBg:Ne}=Y;return{[le]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ze,"&, *":{boxSizing:"border-box"},[`&${le}-has-sider`]:{flexDirection:"row",[`> ${le}, > ${le}-content`]:{width:0}},[`${le}-header, &${le}-footer`]:{flex:"0 0 auto"},[`${le}-sider`]:{position:"relative",minWidth:0,background:Ne,transition:`all ${_t}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${W}-menu${W}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:$e},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:$e,color:X,lineHeight:`${$e}px`,textAlign:"center",background:fe,cursor:"pointer",transition:`all ${_t}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:D,insetInlineEnd:-ot,zIndex:1,width:ot,height:it,color:X,fontSize:Y.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ne,borderStartStartRadius:0,borderStartEndRadius:O,borderEndEndRadius:O,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Kt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Kt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ot,borderStartStartRadius:O,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:O}}}}},U(Y)),{"&-rtl":{direction:"rtl"}}),[`${le}-header`]:{height:D,padding:He,color:rt,lineHeight:`${D}px`,background:nt,[`${W}-menu`]:{lineHeight:"inherit"}},[`${le}-footer`]:{padding:Lt,color:J,fontSize:wt,background:ye},[`${le}-content`]:{flex:"auto",minHeight:0}}};var ne=(0,f.Z)("Layout",Y=>[te(Y)],Y=>{const{colorBgLayout:W,controlHeight:le,controlHeightLG:J,colorText:X,controlHeightSM:ye,marginXXS:fe,colorTextLightSolid:D,colorBgContainer:He}=Y,rt=J*1.25;return{colorBgHeader:"#001529",colorBgBody:W,colorBgTrigger:"#002140",bodyBg:W,headerBg:"#001529",headerHeight:le*2,headerPadding:`0 ${rt}px`,headerColor:X,footerPadding:`${ye}px ${rt}px`,footerBg:W,siderBg:"#001529",triggerHeight:J+fe*2,triggerBg:"#002140",triggerColor:D,zeroTriggerWidth:J,zeroTriggerHeight:J,lightSiderBg:He,lightTriggerBg:He,lightTriggerColor:X}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),pe=function(Y,W){var le={};for(var J in Y)Object.prototype.hasOwnProperty.call(Y,J)&&W.indexOf(J)<0&&(le[J]=Y[J]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,J=Object.getOwnPropertySymbols(Y);Xnull,removeSider:()=>null}});function se(Y){let{suffixCls:W,tagName:le,displayName:J}=Y;return X=>C.forwardRef((fe,D)=>C.createElement(X,Object.assign({ref:D,suffixCls:W,tagName:le},fe)))}const Se=C.forwardRef((Y,W)=>{const{prefixCls:le,suffixCls:J,className:X,tagName:ye}=Y,fe=pe(Y,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:D}=C.useContext(y.E_),He=D("layout",le),[rt,Lt]=ne(He),$e=J?`${He}-${J}`:He;return rt(C.createElement(ye,Object.assign({className:g()(le||$e,X,Lt),ref:W},fe)))}),be=C.forwardRef((Y,W)=>{const{direction:le}=C.useContext(y.E_),[J,X]=C.useState([]),{prefixCls:ye,className:fe,rootClassName:D,children:He,hasSider:rt,tagName:Lt,style:$e}=Y,it=pe(Y,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ot=(0,h.Z)(it,["suffixCls"]),{getPrefixCls:_t,layout:Kt}=C.useContext(y.E_),wt=_t("layout",ye),[O,ze]=ne(wt),nt=g()(wt,{[`${wt}-has-sider`]:typeof rt=="boolean"?rt:J.length>0,[`${wt}-rtl`]:le==="rtl"},Kt==null?void 0:Kt.className,fe,D,ze),Ne=C.useMemo(()=>({siderHook:{addSider:ct=>{X(Xe=>[].concat((0,i.Z)(Xe),[ct]))},removeSider:ct=>{X(Xe=>Xe.filter(tn=>tn!==ct))}}}),[]);return O(C.createElement(Ee.Provider,{value:Ne},C.createElement(Lt,Object.assign({ref:W,className:nt,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),$e)},ot),He)))}),Ce=se({tagName:"div",displayName:"Layout"})(be),j=se({suffixCls:"header",tagName:"header",displayName:"Header"})(Se),G=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Se),Z=se({suffixCls:"content",tagName:"main",displayName:"Content"})(Se);var B=Ce},40875:function(S,s,t){"use strict";t.d(s,{J:function(){return y}});var i=t(59301),p=t(33234),g=t(70425),h=function(f,F){var U={};for(var te in f)Object.prototype.hasOwnProperty.call(f,te)&&F.indexOf(te)<0&&(U[te]=f[te]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(f);ne{const{children:U}=f,te=h(f,["children"]),ne=i.useContext(C),pe=i.useMemo(()=>Object.assign(Object.assign({},ne),te),[ne,te.prefixCls,te.mode,te.selectable]);return i.createElement(C.Provider,{value:pe},i.createElement(p.BR,null,(0,g.supportNodeRef)(U)?i.cloneElement(U,{ref:F}):U))});s.Z=C},20834:function(S,s,t){"use strict";t.d(s,{default:function(){return jt}});var i=t(15285),p=t(59301),g=t(45818),h=t(92310),C=t.n(h),y=t(36355),f=function(ke,_e){var ie={};for(var N in ke)Object.prototype.hasOwnProperty.call(ke,N)&&_e.indexOf(N)<0&&(ie[N]=ke[N]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,N=Object.getOwnPropertySymbols(ke);Te{const{prefixCls:_e,className:ie,dashed:N}=ke,Te=f(ke,["prefixCls","className","dashed"]),{getPrefixCls:st}=p.useContext(y.E_),V=st("menu",_e),H=C()({[`${V}-item-divider-dashed`]:!!N},ie);return p.createElement(i.iz,Object.assign({className:H},Te))},te=t(11592),ne=t(2738),pe=t(6848),Ee=t(92343),Se=(0,p.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ce=ke=>{var _e;const{className:ie,children:N,icon:Te,title:st,danger:V}=ke,{prefixCls:H,firstLevel:Pe,direction:he,disableMenuItemTitleTooltip:Q,inlineCollapsed:Le}=p.useContext(Se),ht=Ge=>{const Je=p.createElement("span",{className:`${H}-title-content`},N);return(!Te||(0,Ee.l$)(N)&&N.type==="span")&&N&&Ge&&Pe&&typeof N=="string"?p.createElement("div",{className:`${H}-inline-collapsed-noicon`},N.charAt(0)):Je},{siderCollapsed:at}=p.useContext(g.D);let Et=st;typeof st=="undefined"?Et=Pe?N:"":st===!1&&(Et="");const dt={title:Et};!at&&!Le&&(dt.title=null,dt.open=!1);const mt=(0,te.Z)(N).length;let ee=p.createElement(i.ck,Object.assign({},(0,ne.Z)(ke,["title","icon","danger"]),{className:C()({[`${H}-item-danger`]:V,[`${H}-item-only-child`]:(Te?mt+1:mt)===1},ie),title:typeof st=="string"?st:void 0}),(0,Ee.Tm)(Te,{className:C()((0,Ee.l$)(Te)?(_e=Te.props)===null||_e===void 0?void 0:_e.className:"",`${H}-item-icon`)}),ht(Le));return Q||(ee=p.createElement(pe.Z,Object.assign({},dt,{placement:he==="rtl"?"left":"right",overlayClassName:`${H}-inline-collapsed-tooltip`}),ee)),ee},G=ke=>{var _e;const{popupClassName:ie,icon:N,title:Te,theme:st}=ke,V=p.useContext(Se),{prefixCls:H,inlineCollapsed:Pe,theme:he}=V,Q=(0,i.Xl)();let Le;if(!N)Le=Pe&&!Q.length&&Te&&typeof Te=="string"?p.createElement("div",{className:`${H}-inline-collapsed-noicon`},Te.charAt(0)):p.createElement("span",{className:`${H}-title-content`},Te);else{const at=(0,Ee.l$)(Te)&&Te.type==="span";Le=p.createElement(p.Fragment,null,(0,Ee.Tm)(N,{className:C()((0,Ee.l$)(N)?(_e=N.props)===null||_e===void 0?void 0:_e.className:"",`${H}-item-icon`)}),at?Te:p.createElement("span",{className:`${H}-title-content`},Te))}const ht=p.useMemo(()=>Object.assign(Object.assign({},V),{firstLevel:!1}),[V]);return p.createElement(Se.Provider,{value:ht},p.createElement(i.Wd,Object.assign({},(0,ne.Z)(ke,["icon"]),{title:Le,popupClassName:C()(H,ie,`${H}-${st||he}`)})))},Z=t(18785),B=t(70425),Y=t(62892),W=t(40875),le=function(ke,_e){var ie={};for(var N in ke)Object.prototype.hasOwnProperty.call(ke,N)&&_e.indexOf(N)<0&&(ie[N]=ke[N]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,N=Object.getOwnPropertySymbols(ke);Te{if(_e&&typeof _e=="object"){const N=_e,{label:Te,children:st,key:V,type:H}=N,Pe=le(N,["label","children","key","type"]),he=V!=null?V:`tmp-${ie}`;return st||H==="group"?H==="group"?p.createElement(i.BW,Object.assign({key:he},Pe,{title:Te}),J(st)):p.createElement(G,Object.assign({key:he},Pe,{title:Te}),J(st)):H==="divider"?p.createElement(U,Object.assign({key:he},Pe)):p.createElement(Ce,Object.assign({key:he},Pe),Te)}return null}).filter(_e=>_e)}function X(ke){return p.useMemo(()=>ke&&J(ke),[ke])}var ye=t(64993),fe=t(17313),D=t(8378),He=t(13826),rt=t(29878),Lt=t(83116),$e=t(37613),ot=ke=>{const{componentCls:_e,motionDurationSlow:ie,horizontalLineHeight:N,colorSplit:Te,lineWidth:st,lineType:V,itemPaddingInline:H}=ke;return{[`${_e}-horizontal`]:{lineHeight:N,border:0,borderBottom:`${st}px ${V} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${_e}-item, ${_e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:H},[`> ${_e}-item:hover, > ${_e}-item-active, > ${_e}-submenu ${_e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${_e}-item, ${_e}-submenu-title`]:{transition:[`border-color ${ie}`,`background ${ie}`].join(",")},[`${_e}-submenu-arrow`]:{display:"none"}}}},Kt=ke=>{let{componentCls:_e,menuArrowOffset:ie}=ke;return{[`${_e}-rtl`]:{direction:"rtl"},[`${_e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${_e}-rtl${_e}-vertical, ${_e}-submenu-rtl ${_e}-vertical`]:{[`${_e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ie})`},"&::after":{transform:`rotate(45deg) translateY(${ie})`}}}}};const wt=ke=>Object.assign({},(0,fe.oN)(ke));var ze=(ke,_e)=>{const{componentCls:ie,itemColor:N,itemSelectedColor:Te,groupTitleColor:st,itemBg:V,subMenuItemBg:H,itemSelectedBg:Pe,activeBarHeight:he,activeBarWidth:Q,activeBarBorderWidth:Le,motionDurationSlow:ht,motionEaseInOut:at,motionEaseOut:Et,itemPaddingInline:dt,motionDurationMid:mt,itemHoverColor:ee,lineType:Ge,colorSplit:Je,itemDisabledColor:qe,dangerItemColor:_,dangerItemHoverColor:Ot,dangerItemSelectedColor:tt,dangerItemActiveBg:Re,dangerItemSelectedBg:Jt,itemHoverBg:cn,itemActiveBg:sn,menuSubMenuBg:Ze,horizontalItemSelectedColor:Rn,horizontalItemSelectedBg:Cn,horizontalItemBorderRadius:Mt,horizontalItemHoverBg:Hn,popupBg:On}=ke;return{[`${ie}-${_e}, ${ie}-${_e} > ${ie}`]:{color:N,background:V,[`&${ie}-root:focus-visible`]:Object.assign({},wt(ke)),[`${ie}-item-group-title`]:{color:st},[`${ie}-submenu-selected`]:{[`> ${ie}-submenu-title`]:{color:Te}},[`${ie}-item-disabled, ${ie}-submenu-disabled`]:{color:`${qe} !important`},[`${ie}-item:not(${ie}-item-selected):not(${ie}-submenu-selected)`]:{[`&:hover, > ${ie}-submenu-title:hover`]:{color:ee}},[`&:not(${ie}-horizontal)`]:{[`${ie}-item:not(${ie}-item-selected)`]:{"&:hover":{backgroundColor:cn},"&:active":{backgroundColor:sn}},[`${ie}-submenu-title`]:{"&:hover":{backgroundColor:cn},"&:active":{backgroundColor:sn}}},[`${ie}-item-danger`]:{color:_,[`&${ie}-item:hover`]:{[`&:not(${ie}-item-selected):not(${ie}-submenu-selected)`]:{color:Ot}},[`&${ie}-item:active`]:{background:Re}},[`${ie}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ie}-item-selected`]:{color:Te,[`&${ie}-item-danger`]:{color:tt},"a, a:hover":{color:"inherit"}},[`& ${ie}-item-selected`]:{backgroundColor:Pe,[`&${ie}-item-danger`]:{backgroundColor:Jt}},[`${ie}-item, ${ie}-submenu-title`]:{[`&:not(${ie}-item-disabled):focus-visible`]:Object.assign({},wt(ke))},[`&${ie}-submenu > ${ie}`]:{backgroundColor:Ze},[`&${ie}-popup > ${ie}`]:{backgroundColor:On},[`&${ie}-horizontal`]:Object.assign(Object.assign({},_e==="dark"?{borderBottom:0}:{}),{[`> ${ie}-item, > ${ie}-submenu`]:{top:Le,marginTop:-Le,marginBottom:0,borderRadius:Mt,"&::after":{position:"absolute",insetInline:dt,bottom:0,borderBottom:`${he}px solid transparent`,transition:`border-color ${ht} ${at}`,content:'""'},"&:hover, &-active, &-open":{background:Hn,"&::after":{borderBottomWidth:he,borderBottomColor:Rn}},"&-selected":{color:Rn,backgroundColor:Cn,"&:hover":{backgroundColor:Cn},"&::after":{borderBottomWidth:he,borderBottomColor:Rn}}}}),[`&${ie}-root`]:{[`&${ie}-inline, &${ie}-vertical`]:{borderInlineEnd:`${Le}px ${Ge} ${Je}`}},[`&${ie}-inline`]:{[`${ie}-sub${ie}-inline`]:{background:H},[`${ie}-item, ${ie}-submenu-title`]:Le&&Q?{width:`calc(100% + ${Le}px)`}:{},[`${ie}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Q}px solid ${Te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${mt} ${Et}`,`opacity ${mt} ${Et}`].join(","),content:'""'},[`&${ie}-item-danger`]:{"&::after":{borderInlineEndColor:tt}}},[`${ie}-selected, ${ie}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${mt} ${at}`,`opacity ${mt} ${at}`].join(",")}}}}}};const nt=ke=>{const{componentCls:_e,itemHeight:ie,itemMarginInline:N,padding:Te,menuArrowSize:st,marginXS:V,itemMarginBlock:H}=ke,Pe=Te+st+V;return{[`${_e}-item`]:{position:"relative",overflow:"hidden"},[`${_e}-item, ${_e}-submenu-title`]:{height:ie,lineHeight:`${ie}px`,paddingInline:Te,overflow:"hidden",textOverflow:"ellipsis",marginInline:N,marginBlock:H,width:`calc(100% - ${N*2}px)`},[`> ${_e}-item, @@ -30,10 +30,10 @@ ${_e}-submenu-arrow, ${_e}-submenu-expand-icon `]:{opacity:0},[`${_e}-item-icon, ${ie}`]:{margin:0,fontSize:mt,lineHeight:`${N}px`,"+ span":{display:"inline-block",opacity:0}}},[`${_e}-item-icon, ${ie}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${_e}-item-icon, ${ie}`]:{display:"none"},"a, a:hover":{color:Te}},[`${_e}-item-group-title`]:Object.assign(Object.assign({},fe.vS),{paddingInline:at})}}]};const Xe=ke=>{const{componentCls:_e,motionDurationSlow:ie,motionDurationMid:N,motionEaseInOut:Te,motionEaseOut:st,iconCls:V,iconSize:H,iconMarginInlineEnd:Pe}=ke;return{[`${_e}-item, ${_e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ie}`,`background ${ie}`,`padding ${ie} ${Te}`].join(","),[`${_e}-item-icon, ${V}`]:{minWidth:H,fontSize:H,transition:[`font-size ${N} ${st}`,`margin ${ie} ${Te}`,`color ${ie}`].join(","),"+ span":{marginInlineStart:Pe,opacity:1,transition:[`opacity ${ie} ${Te}`,`margin ${ie}`,`color ${ie}`].join(",")}},[`${_e}-item-icon`]:Object.assign({},(0,fe.Ro)()),[`&${_e}-item-only-child`]:{[`> ${V}, > ${_e}-item-icon`]:{marginInlineEnd:0}}},[`${_e}-item-disabled, ${_e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${_e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tn=ke=>{const{componentCls:_e,motionDurationSlow:ie,motionEaseInOut:N,borderRadius:Te,menuArrowSize:st,menuArrowOffset:V}=ke;return{[`${_e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ke.margin,width:st,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ie} ${N}, opacity ${ie}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:st*.6,height:st*.15,backgroundColor:"currentcolor",borderRadius:Te,transition:[`background ${ie} ${N}`,`transform ${ie} ${N}`,`top ${ie} ${N}`,`color ${ie} ${N}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${V})`},"&::after":{transform:`rotate(-45deg) translateY(${V})`}}}}},zt=ke=>{const{antCls:_e,componentCls:ie,fontSize:N,motionDurationSlow:Te,motionDurationMid:st,motionEaseInOut:V,paddingXS:H,padding:Pe,colorSplit:he,lineWidth:Q,zIndexPopup:Le,borderRadiusLG:ht,subMenuItemBorderRadius:at,menuArrowSize:Et,menuArrowOffset:dt,lineType:mt,menuPanelMaskInset:ee,groupTitleLineHeight:Ge,groupTitleFontSize:Je}=ke;return[{"":{[`${ie}`]:Object.assign(Object.assign({},(0,fe.dF)()),{"&-hidden":{display:"none"}})},[`${ie}-submenu-hidden`]:{display:"none"}},{[ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(ke)),(0,fe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:N,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ie}-item`]:{flex:"none"}},[`${ie}-item, ${ie}-submenu, ${ie}-submenu-title`]:{borderRadius:ke.itemBorderRadius},[`${ie}-item-group-title`]:{padding:`${H}px ${Pe}px`,fontSize:Je,lineHeight:Ge,transition:`all ${Te}`},[`&-horizontal ${ie}-submenu`]:{transition:[`border-color ${Te} ${V}`,`background ${Te} ${V}`].join(",")},[`${ie}-submenu, ${ie}-submenu-inline`]:{transition:[`border-color ${Te} ${V}`,`background ${Te} ${V}`,`padding ${st} ${V}`].join(",")},[`${ie}-submenu ${ie}-sub`]:{cursor:"initial",transition:[`background ${Te} ${V}`,`padding ${Te} ${V}`].join(",")},[`${ie}-title-content`]:{transition:`color ${Te}`},[`${ie}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ie}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:he,borderStyle:mt,borderWidth:0,borderTopWidth:Q,marginBlock:Q,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Xe(ke)),{[`${ie}-item-group`]:{[`${ie}-item-group-list`]:{margin:0,padding:0,[`${ie}-item, ${ie}-submenu-title`]:{paddingInline:`${N*2}px ${Pe}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Le,borderRadius:ht,boxShadow:"none",transformOrigin:"0 0",[`&${ie}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ee}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ee},"\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:ke.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ke.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ke.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ke.paddingXS},[`> ${ie}`]:Object.assign(Object.assign(Object.assign({borderRadius:ht},Xe(ke)),tn(ke)),{[`${ie}-item, ${ie}-submenu > ${ie}-submenu-title`]:{borderRadius:at},[`${ie}-submenu-title::after`]:{transition:`transform ${Te} ${V}`}})}}),tn(ke)),{[`&-inline-collapsed ${ie}-submenu-arrow, - &-inline ${ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${dt})`},"&::after":{transform:`rotate(45deg) translateX(-${dt})`}},[`${ie}-submenu-open${ie}-submenu-inline > ${ie}-submenu-title > ${ie}-submenu-arrow`]:{transform:`translateY(-${Et*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${dt})`},"&::before":{transform:`rotate(45deg) translateX(${dt})`}}})},{[`${_e}-layout-header`]:{[ie]:{lineHeight:"inherit"}}}]};var un=(ke,_e)=>(0,Lt.Z)("Menu",N=>{if(_e===!1)return[];const{colorBgElevated:Te,colorPrimary:st,colorTextLightSolid:V,controlHeightLG:H,fontSize:Pe,darkItemColor:he,darkDangerItemColor:Q,darkItemBg:Le,darkSubMenuItemBg:ht,darkItemSelectedColor:at,darkItemSelectedBg:Et,darkDangerItemSelectedBg:dt,darkItemHoverBg:mt,darkGroupTitleColor:ee,darkItemHoverColor:Ge,darkItemDisabledColor:Je,darkDangerItemHoverColor:qe,darkDangerItemSelectedColor:_,darkDangerItemActiveBg:Ot}=N,tt=Pe/7*5,Re=(0,$e.TS)(N,{menuArrowSize:tt,menuHorizontalHeight:H*1.15,menuArrowOffset:`${tt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Te}),Jt=(0,$e.TS)(Re,{itemColor:he,itemHoverColor:Ge,groupTitleColor:ee,itemSelectedColor:at,itemBg:Le,popupBg:Le,subMenuItemBg:ht,itemActiveBg:"transparent",itemSelectedBg:Et,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:mt,itemDisabledColor:Je,dangerItemColor:Q,dangerItemHoverColor:qe,dangerItemSelectedColor:_,dangerItemActiveBg:Ot,dangerItemSelectedBg:dt,menuSubMenuBg:ht,horizontalItemSelectedColor:V,horizontalItemSelectedBg:st});return[zt(Re),ot(Re),ct(Re),ze(Re,"light"),ze(Jt,"dark"),Kt(Re),(0,D.Z)(Re),(0,He.oN)(Re,"slide-up"),(0,He.oN)(Re,"slide-down"),(0,rt._y)(Re,"zoom-big")]},N=>{const{colorPrimary:Te,colorError:st,colorTextDisabled:V,colorErrorBg:H,colorText:Pe,colorTextDescription:he,colorBgContainer:Q,colorFillAlter:Le,colorFillContent:ht,lineWidth:at,lineWidthBold:Et,controlItemBgActive:dt,colorBgTextHover:mt,controlHeightLG:ee,lineHeight:Ge,colorBgElevated:Je,marginXXS:qe,padding:_,fontSize:Ot,controlHeightSM:tt,fontSizeLG:Re,colorTextLightSolid:Jt,colorErrorHover:cn}=N,sn=new ye.C(Jt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:N.zIndexPopupBase+50,radiusItem:N.borderRadiusLG,itemBorderRadius:N.borderRadiusLG,radiusSubMenuItem:N.borderRadiusSM,subMenuItemBorderRadius:N.borderRadiusSM,colorItemText:Pe,itemColor:Pe,colorItemTextHover:Pe,itemHoverColor:Pe,colorItemTextHoverHorizontal:Te,horizontalItemHoverColor:Te,colorGroupTitle:he,groupTitleColor:he,colorItemTextSelected:Te,itemSelectedColor:Te,colorItemTextSelectedHorizontal:Te,horizontalItemSelectedColor:Te,colorItemBg:Q,itemBg:Q,colorItemBgHover:mt,itemHoverBg:mt,colorItemBgActive:ht,itemActiveBg:dt,colorSubItemBg:Le,subMenuItemBg:Le,colorItemBgSelected:dt,itemSelectedBg:dt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Et,activeBarHeight:Et,colorActiveBarBorderSize:at,activeBarBorderWidth:at,colorItemTextDisabled:V,itemDisabledColor:V,colorDangerItemText:st,dangerItemColor:st,colorDangerItemTextHover:st,dangerItemHoverColor:st,colorDangerItemTextSelected:st,dangerItemSelectedColor:st,colorDangerItemBgActive:H,dangerItemActiveBg:H,colorDangerItemBgSelected:H,dangerItemSelectedBg:H,itemMarginInline:N.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ee,groupTitleLineHeight:Ge,collapsedWidth:ee*2,popupBg:Je,itemMarginBlock:qe,itemPaddingInline:_,horizontalLineHeight:`${ee*1.15}px`,iconSize:Ot,iconMarginInlineEnd:tt-Ot,collapsedIconSize:Re,groupTitleFontSize:Ot,darkItemDisabledColor:new ye.C(Jt).setAlpha(.25).toRgbString(),darkItemColor:sn,darkDangerItemColor:st,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jt,darkItemSelectedBg:Te,darkDangerItemSelectedBg:st,darkItemHoverBg:"transparent",darkGroupTitleColor:sn,darkItemHoverColor:Jt,darkDangerItemHoverColor:cn,darkDangerItemSelectedColor:Jt,darkDangerItemActiveBg:st}},{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"]]})(ke),dn=function(ke,_e){var ie={};for(var N in ke)Object.prototype.hasOwnProperty.call(ke,N)&&_e.indexOf(N)<0&&(ie[N]=ke[N]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,N=Object.getOwnPropertySymbols(ke);Te{var ie,N;const Te=p.useContext(W.Z),st=Te||{},{getPrefixCls:V,getPopupContainer:H,direction:Pe,menu:he}=p.useContext(y.E_),Q=V(),{prefixCls:Le,className:ht,style:at,theme:Et="light",expandIcon:dt,_internalDisableMenuItemTitleTooltip:mt,inlineCollapsed:ee,siderCollapsed:Ge,items:Je,children:qe,rootClassName:_,mode:Ot,selectable:tt,onClick:Re,overflowedIndicatorPopupClassName:Jt}=ke,cn=dn(ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),sn=(0,ne.Z)(cn,["collapsedWidth"]),Ze=X(Je)||qe;(ie=st.validator)===null||ie===void 0||ie.call(st,{mode:Ot});const Rn=(0,B.useEvent)(function(){var _n;Re==null||Re.apply(void 0,arguments),(_n=st.onClick)===null||_n===void 0||_n.call(st)}),Cn=st.mode||Ot,Mt=tt!=null?tt:st.selectable,Hn=p.useMemo(()=>Ge!==void 0?Ge:ee,[ee,Ge]),On={horizontal:{motionName:`${Q}-slide-up`},inline:(0,Y.Z)(Q),other:{motionName:`${Q}-zoom-big`}},kn=V("menu",Le||st.prefixCls),[zn,dr]=un(kn,!Te),Jn=C()(`${kn}-${Et}`,he==null?void 0:he.className,ht);let Cr;if(typeof dt=="function")Cr=dt;else if(dt===null||dt===!1)Cr=null;else if(st.expandIcon===null||st.expandIcon===!1)Cr=null;else{const _n=dt!=null?dt:st.expandIcon;Cr=(0,Ee.Tm)(_n,{className:C()(`${kn}-submenu-expand-icon`,(0,Ee.l$)(_n)?(N=_n.props)===null||N===void 0?void 0:N.className:"")})}const Hr=p.useMemo(()=>({prefixCls:kn,inlineCollapsed:Hn||!1,direction:Pe,firstLevel:!0,theme:Et,mode:Cn,disableMenuItemTitleTooltip:mt}),[kn,Hn,Pe,mt,Et]);return zn(p.createElement(W.Z.Provider,{value:null},p.createElement(Se.Provider,{value:Hr},p.createElement(i.ZP,Object.assign({getPopupContainer:H,overflowedIndicator:p.createElement(Z.Z,null),overflowedIndicatorPopupClassName:C()(kn,`${kn}-${Et}`,Jt),mode:Cn,selectable:Mt,onClick:Rn},sn,{inlineCollapsed:Hn,style:Object.assign(Object.assign({},he==null?void 0:he.style),at),className:Jn,prefixCls:kn,direction:Pe,defaultMotions:On,expandIcon:Cr,ref:_e,rootClassName:C()(_,dr)}),Ze))))});const Xt=(0,p.forwardRef)((ke,_e)=>{const ie=(0,p.useRef)(null),N=p.useContext(g.D);return(0,p.useImperativeHandle)(_e,()=>({menu:ie.current,focus:Te=>{var st;(st=ie.current)===null||st===void 0||st.focus(Te)}})),p.createElement(xt,Object.assign({ref:ie},ke,N))});Xt.Item=Ce,Xt.SubMenu=G,Xt.Divider=U,Xt.ItemGroup=i.BW;var jt=Xt},58421:function(S,s,t){"use strict";t.d(s,{Z:function(){return st}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(H,Pe){return p.createElement(C.Z,(0,i.Z)({},H,{ref:Pe,icon:h}))},f=p.forwardRef(y),F=f,U=t(49198),te=t(33853),ne=t(38819),pe=t(92310),Ee=t.n(pe),se=t(20068),Se=t(33885),be=t(67732),Ce=t(83652),j=t(42403),G=t(158),Z=t(26112),B={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Y=B,W=t(91735),le=function(V){(0,j.Z)(Pe,V);var H=(0,G.Z)(Pe);function Pe(){var he;(0,be.Z)(this,Pe);for(var Q=arguments.length,Le=new Array(Q),ht=0;ht=0||at.relatedTarget.className.indexOf("".concat(ee,"-item"))>=0))&&mt(he.getValidValue()))},he.go=function(at){var Et=he.state.goInputText;Et!==""&&(at.keyCode===Y.ENTER||at.type==="click")&&(he.setState({goInputText:""}),he.props.quickGo(he.getValidValue()))},he}return(0,Ce.Z)(Pe,[{key:"getPageSizeOptions",value:function(){var Q=this.props,Le=Q.pageSize,ht=Q.pageSizeOptions;return ht.some(function(at){return at.toString()===Le.toString()})?ht:ht.concat([Le.toString()]).sort(function(at,Et){var dt=Number.isNaN(Number(at))?0:Number(at),mt=Number.isNaN(Number(Et))?0:Number(Et);return dt-mt})}},{key:"render",value:function(){var Q=this,Le=this.props,ht=Le.pageSize,at=Le.locale,Et=Le.rootPrefixCls,dt=Le.changeSize,mt=Le.quickGo,ee=Le.goButton,Ge=Le.selectComponentClass,Je=Le.buildOptionText,qe=Le.selectPrefixCls,_=Le.disabled,Ot=this.state.goInputText,tt="".concat(Et,"-options"),Re=Ge,Jt=null,cn=null,sn=null;if(!dt&&!mt)return null;var Ze=this.getPageSizeOptions();if(dt&&Re){var Rn=Ze.map(function(Cn,Mt){return p.createElement(Re.Option,{key:Mt,value:Cn.toString()},(Je||Q.buildOptionText)(Cn))});Jt=p.createElement(Re,{disabled:_,prefixCls:qe,showSearch:!1,className:"".concat(tt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ht||Ze[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Mt){return Mt.parentNode},"aria-label":at.page_size,defaultOpen:!1},Rn)}return mt&&(ee&&(sn=typeof ee=="boolean"?p.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:_,className:"".concat(tt,"-quick-jumper-button")},at.jump_to_confirm):p.createElement("span",{onClick:this.go,onKeyUp:this.go},ee)),cn=p.createElement("div",{className:"".concat(tt,"-quick-jumper")},at.jump_to,p.createElement("input",{disabled:_,type:"text",value:Ot,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":at.page}),at.page,sn)),p.createElement("li",{className:"".concat(tt)},Jt,cn)}}]),Pe}(p.Component);le.defaultProps={pageSizeOptions:["10","20","50","100"]};var J=le,X=function(H){var Pe,he=H.rootPrefixCls,Q=H.page,Le=H.active,ht=H.className,at=H.showTitle,Et=H.onClick,dt=H.onKeyPress,mt=H.itemRender,ee="".concat(he,"-item"),Ge=Ee()(ee,"".concat(ee,"-").concat(Q),(Pe={},(0,se.Z)(Pe,"".concat(ee,"-active"),Le),(0,se.Z)(Pe,"".concat(ee,"-disabled"),!Q),(0,se.Z)(Pe,H.className,ht),Pe)),Je=function(){Et(Q)},qe=function(tt){dt(tt,Et,Q)},_=mt(Q,"page",p.createElement("a",{rel:"nofollow"},Q));return _?p.createElement("li",{title:at?Q.toString():null,className:Ge,onClick:Je,onKeyPress:qe,tabIndex:0},_):null},ye=X;function fe(){}function D(V){var H=Number(V);return typeof H=="number"&&!Number.isNaN(H)&&isFinite(H)&&Math.floor(H)===H}var He=function(H,Pe,he){return he};function rt(V,H,Pe){var he=typeof V=="undefined"?H.pageSize:V;return Math.floor((Pe.total-1)/he)+1}var Lt=function(V){(0,j.Z)(Pe,V);var H=(0,G.Z)(Pe);function Pe(he){var Q;(0,be.Z)(this,Pe),Q=H.call(this,he),Q.paginationNode=p.createRef(),Q.getJumpPrevPage=function(){return Math.max(1,Q.state.current-(Q.props.showLessItems?3:5))},Q.getJumpNextPage=function(){return Math.min(rt(void 0,Q.state,Q.props),Q.state.current+(Q.props.showLessItems?3:5))},Q.getItemIcon=function(dt,mt){var ee=Q.props.prefixCls,Ge=dt||p.createElement("button",{type:"button","aria-label":mt,className:"".concat(ee,"-item-link")});return typeof dt=="function"&&(Ge=p.createElement(dt,(0,Se.Z)({},Q.props))),Ge},Q.isValid=function(dt){var mt=Q.props.total;return D(dt)&&dt!==Q.state.current&&D(mt)&&mt>0},Q.shouldDisplayQuickJumper=function(){var dt=Q.props,mt=dt.showQuickJumper,ee=dt.total,Ge=Q.state.pageSize;return ee<=Ge?!1:mt},Q.handleKeyDown=function(dt){(dt.keyCode===Y.ARROW_UP||dt.keyCode===Y.ARROW_DOWN)&&dt.preventDefault()},Q.handleKeyUp=function(dt){var mt=Q.getValidValue(dt),ee=Q.state.currentInputValue;mt!==ee&&Q.setState({currentInputValue:mt}),dt.keyCode===Y.ENTER?Q.handleChange(mt):dt.keyCode===Y.ARROW_UP?Q.handleChange(mt-1):dt.keyCode===Y.ARROW_DOWN&&Q.handleChange(mt+1)},Q.handleBlur=function(dt){var mt=Q.getValidValue(dt);Q.handleChange(mt)},Q.changePageSize=function(dt){var mt=Q.state.current,ee=rt(dt,Q.state,Q.props);mt=mt>ee?ee:mt,ee===0&&(mt=Q.state.current),typeof dt=="number"&&("pageSize"in Q.props||Q.setState({pageSize:dt}),"current"in Q.props||Q.setState({current:mt,currentInputValue:mt})),Q.props.onShowSizeChange(mt,dt),"onChange"in Q.props&&Q.props.onChange&&Q.props.onChange(mt,dt)},Q.handleChange=function(dt){var mt=Q.props,ee=mt.disabled,Ge=mt.onChange,Je=Q.state,qe=Je.pageSize,_=Je.current,Ot=Je.currentInputValue;if(Q.isValid(dt)&&!ee){var tt=rt(void 0,Q.state,Q.props),Re=dt;return dt>tt?Re=tt:dt<1&&(Re=1),"current"in Q.props||Q.setState({current:Re}),Re!==Ot&&Q.setState({currentInputValue:Re}),Ge(Re,qe),Re}return _},Q.prev=function(){Q.hasPrev()&&Q.handleChange(Q.state.current-1)},Q.next=function(){Q.hasNext()&&Q.handleChange(Q.state.current+1)},Q.jumpPrev=function(){Q.handleChange(Q.getJumpPrevPage())},Q.jumpNext=function(){Q.handleChange(Q.getJumpNextPage())},Q.hasPrev=function(){return Q.state.current>1},Q.hasNext=function(){return Q.state.current2?ee-2:0),Je=2;Je=ht?Et=ht:Et=Number(Le),Et}},{key:"getShowSizeChanger",value:function(){var Q=this.props,Le=Q.showSizeChanger,ht=Q.total,at=Q.totalBoundaryShowSizeChanger;return typeof Le!="undefined"?Le:ht>at}},{key:"render",value:function(){var Q=this.props,Le=Q.prefixCls,ht=Q.className,at=Q.style,Et=Q.disabled,dt=Q.hideOnSinglePage,mt=Q.total,ee=Q.locale,Ge=Q.showQuickJumper,Je=Q.showLessItems,qe=Q.showTitle,_=Q.showTotal,Ot=Q.simple,tt=Q.itemRender,Re=Q.showPrevNextJumpers,Jt=Q.jumpPrevIcon,cn=Q.jumpNextIcon,sn=Q.selectComponentClass,Ze=Q.selectPrefixCls,Rn=Q.pageSizeOptions,Cn=this.state,Mt=Cn.current,Hn=Cn.pageSize,On=Cn.currentInputValue;if(dt===!0&&mt<=Hn)return null;var kn=rt(void 0,this.state,this.props),zn=[],dr=null,Jn=null,Cr=null,Hr=null,_n=null,ar=Ge&&Ge.goButton,Gn=Je?1:2,Ar=Mt-1>0?Mt-1:0,Yr=Mt+1mt?mt:Mt*Hn]));if(Ot){ar&&(typeof ar=="boolean"?_n=p.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ee.jump_to_confirm):_n=p.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ar),_n=p.createElement("li",{title:qe?"".concat(ee.jump_to).concat(Mt,"/").concat(kn):null,className:"".concat(Le,"-simple-pager")},_n));var ir=this.renderPrev(Ar);return p.createElement("ul",(0,i.Z)({className:Ee()(Le,"".concat(Le,"-simple"),(0,se.Z)({},"".concat(Le,"-disabled"),Et),ht),style:at,ref:this.paginationNode},Kr),Nr,ir?p.createElement("li",{title:qe?ee.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Le,"-prev"),(0,se.Z)({},"".concat(Le,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ir):null,p.createElement("li",{title:qe?"".concat(Mt,"/").concat(kn):null,className:"".concat(Le,"-simple-pager")},p.createElement("input",{type:"text",value:On,disabled:Et,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),p.createElement("span",{className:"".concat(Le,"-slash")},"/"),kn),p.createElement("li",{title:qe?ee.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Le,"-next"),(0,se.Z)({},"".concat(Le,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Yr)),_n)}if(kn<=3+Gn*2){var Wn={locale:ee,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:qe,itemRender:tt};kn||zn.push(p.createElement(ye,(0,i.Z)({},Wn,{key:"noPager",page:1,className:"".concat(Le,"-item-disabled")})));for(var Vn=1;Vn<=kn;Vn+=1){var sa=Mt===Vn;zn.push(p.createElement(ye,(0,i.Z)({},Wn,{key:Vn,page:Vn,active:sa})))}}else{var hr=Je?ee.prev_3:ee.prev_5,It=Je?ee.next_3:ee.next_5,ut=tt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jt,"prev page")),Qt=tt(this.getJumpNextPage(),"jump-next",this.getItemIcon(cn,"next page"));Re&&(dr=ut?p.createElement("li",{title:qe?hr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(Le,"-jump-prev"),(0,se.Z)({},"".concat(Le,"-jump-prev-custom-icon"),!!Jt))},ut):null,Jn=Qt?p.createElement("li",{title:qe?It:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(Le,"-jump-next"),(0,se.Z)({},"".concat(Le,"-jump-next-custom-icon"),!!cn))},Qt):null),Hr=p.createElement(ye,{locale:ee,last:!0,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:kn,page:kn,active:!1,showTitle:qe,itemRender:tt}),Cr=p.createElement(ye,{locale:ee,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:qe,itemRender:tt});var qt=Math.max(1,Mt-Gn),Tt=Math.min(Mt+Gn,kn);Mt-1<=Gn&&(Tt=1+Gn*2),kn-Mt<=Gn&&(qt=kn-Gn*2);for(var mn=qt;mn<=Tt;mn+=1){var gt=Mt===mn;zn.push(p.createElement(ye,{locale:ee,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:mn,page:mn,active:gt,showTitle:qe,itemRender:tt}))}Mt-1>=Gn*2&&Mt!==3&&(zn[0]=(0,p.cloneElement)(zn[0],{className:"".concat(Le,"-item-after-jump-prev")}),zn.unshift(dr)),kn-Mt>=Gn*2&&Mt!==kn-2&&(zn[zn.length-1]=(0,p.cloneElement)(zn[zn.length-1],{className:"".concat(Le,"-item-before-jump-next")}),zn.push(Jn)),qt!==1&&zn.unshift(Cr),Tt!==kn&&zn.push(Hr)}var hn=!this.hasPrev()||!kn,Oe=!this.hasNext()||!kn,oe=this.renderPrev(Ar),c=this.renderNext(Yr);return p.createElement("ul",(0,i.Z)({className:Ee()(Le,ht,(0,se.Z)({},"".concat(Le,"-disabled"),Et)),style:at,ref:this.paginationNode},Kr),Nr,oe?p.createElement("li",{title:qe?ee.prev_page:null,onClick:this.prev,tabIndex:hn?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Le,"-prev"),(0,se.Z)({},"".concat(Le,"-disabled"),hn)),"aria-disabled":hn},oe):null,zn,c?p.createElement("li",{title:qe?ee.next_page:null,onClick:this.next,tabIndex:Oe?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Le,"-next"),(0,se.Z)({},"".concat(Le,"-disabled"),Oe)),"aria-disabled":Oe},c):null,p.createElement(J,{disabled:Et,locale:ee,rootPrefixCls:Le,selectComponentClass:sn,selectPrefixCls:Ze,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Mt,pageSize:Hn,pageSizeOptions:Rn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ar}))}}],[{key:"getDerivedStateFromProps",value:function(Q,Le){var ht={};if("current"in Q&&(ht.current=Q.current,Q.current!==Le.current&&(ht.currentInputValue=ht.current)),"pageSize"in Q&&Q.pageSize!==Le.pageSize){var at=Le.current,Et=rt(Q.pageSize,Le,Q);at=at>Et?Et:at,"current"in Q||(ht.current=at,ht.currentInputValue=at),ht.pageSize=Q.pageSize}return ht}}]),Pe}(p.Component);Lt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:fe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:fe,locale:W.Z,style:{},itemRender:He,totalBoundaryShowSizeChanger:50};var $e=Lt,it=t(22075),ot=t(36355),_t=t(19716),Kt=t(8628),wt=t(9763),O=t(57809);const ze=V=>p.createElement(O.default,Object.assign({},V,{showSearch:!0,size:"small"})),nt=V=>p.createElement(O.default,Object.assign({},V,{showSearch:!0,size:"middle"}));ze.Option=O.default.Option,nt.Option=O.default.Option;var we=t(9937),ct=t(17313),Xe=t(83116),tn=t(37613);const zt=V=>{const{componentCls:H}=V;return{[`${H}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${H}-item-link`]:{color:V.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${H}-item-link`]:{color:V.colorTextDisabled,cursor:"not-allowed"}}},[`&${H}-disabled`]:{cursor:"not-allowed",[`${H}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:V.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:V.colorBorder,backgroundColor:V.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:V.itemActiveBgDisabled},a:{color:V.itemActiveColorDisabled}}},[`${H}-item-link`]:{color:V.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${H}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${H}-simple-pager`]:{color:V.colorTextDisabled},[`${H}-jump-prev, ${H}-jump-next`]:{[`${H}-item-link-icon`]:{opacity:0},[`${H}-item-ellipsis`]:{opacity:1}}},[`&${H}-simple`]:{[`${H}-prev, ${H}-next`]:{[`&${H}-disabled ${H}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},un=V=>{const{componentCls:H}=V;return{[`&${H}-mini ${H}-total-text, &${H}-mini ${H}-simple-pager`]:{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`},[`&${H}-mini ${H}-item`]:{minWidth:V.itemSizeSM,height:V.itemSizeSM,margin:0,lineHeight:`${V.itemSizeSM-2}px`},[`&${H}-mini:not(${H}-disabled) ${H}-item:not(${H}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:V.colorBgTextHover},"&:active":{backgroundColor:V.colorBgTextActive}},[`&${H}-mini ${H}-prev, &${H}-mini ${H}-next`]:{minWidth:V.itemSizeSM,height:V.itemSizeSM,margin:0,lineHeight:`${V.itemSizeSM}px`},[`&${H}-mini:not(${H}-disabled)`]:{[`${H}-prev, ${H}-next`]:{[`&:hover ${H}-item-link`]:{backgroundColor:V.colorBgTextHover},[`&:active ${H}-item-link`]:{backgroundColor:V.colorBgTextActive},[`&${H}-disabled:hover ${H}-item-link`]:{backgroundColor:"transparent"}}},[` + &-inline ${ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${dt})`},"&::after":{transform:`rotate(45deg) translateX(-${dt})`}},[`${ie}-submenu-open${ie}-submenu-inline > ${ie}-submenu-title > ${ie}-submenu-arrow`]:{transform:`translateY(-${Et*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${dt})`},"&::before":{transform:`rotate(45deg) translateX(${dt})`}}})},{[`${_e}-layout-header`]:{[ie]:{lineHeight:"inherit"}}}]};var un=(ke,_e)=>(0,Lt.Z)("Menu",N=>{if(_e===!1)return[];const{colorBgElevated:Te,colorPrimary:st,colorTextLightSolid:V,controlHeightLG:H,fontSize:Pe,darkItemColor:he,darkDangerItemColor:Q,darkItemBg:Le,darkSubMenuItemBg:ht,darkItemSelectedColor:at,darkItemSelectedBg:Et,darkDangerItemSelectedBg:dt,darkItemHoverBg:mt,darkGroupTitleColor:ee,darkItemHoverColor:Ge,darkItemDisabledColor:Je,darkDangerItemHoverColor:qe,darkDangerItemSelectedColor:_,darkDangerItemActiveBg:Ot}=N,tt=Pe/7*5,Re=(0,$e.TS)(N,{menuArrowSize:tt,menuHorizontalHeight:H*1.15,menuArrowOffset:`${tt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Te}),Jt=(0,$e.TS)(Re,{itemColor:he,itemHoverColor:Ge,groupTitleColor:ee,itemSelectedColor:at,itemBg:Le,popupBg:Le,subMenuItemBg:ht,itemActiveBg:"transparent",itemSelectedBg:Et,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:mt,itemDisabledColor:Je,dangerItemColor:Q,dangerItemHoverColor:qe,dangerItemSelectedColor:_,dangerItemActiveBg:Ot,dangerItemSelectedBg:dt,menuSubMenuBg:ht,horizontalItemSelectedColor:V,horizontalItemSelectedBg:st});return[zt(Re),ot(Re),ct(Re),ze(Re,"light"),ze(Jt,"dark"),Kt(Re),(0,D.Z)(Re),(0,He.oN)(Re,"slide-up"),(0,He.oN)(Re,"slide-down"),(0,rt._y)(Re,"zoom-big")]},N=>{const{colorPrimary:Te,colorError:st,colorTextDisabled:V,colorErrorBg:H,colorText:Pe,colorTextDescription:he,colorBgContainer:Q,colorFillAlter:Le,colorFillContent:ht,lineWidth:at,lineWidthBold:Et,controlItemBgActive:dt,colorBgTextHover:mt,controlHeightLG:ee,lineHeight:Ge,colorBgElevated:Je,marginXXS:qe,padding:_,fontSize:Ot,controlHeightSM:tt,fontSizeLG:Re,colorTextLightSolid:Jt,colorErrorHover:cn}=N,sn=new ye.C(Jt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:N.zIndexPopupBase+50,radiusItem:N.borderRadiusLG,itemBorderRadius:N.borderRadiusLG,radiusSubMenuItem:N.borderRadiusSM,subMenuItemBorderRadius:N.borderRadiusSM,colorItemText:Pe,itemColor:Pe,colorItemTextHover:Pe,itemHoverColor:Pe,colorItemTextHoverHorizontal:Te,horizontalItemHoverColor:Te,colorGroupTitle:he,groupTitleColor:he,colorItemTextSelected:Te,itemSelectedColor:Te,colorItemTextSelectedHorizontal:Te,horizontalItemSelectedColor:Te,colorItemBg:Q,itemBg:Q,colorItemBgHover:mt,itemHoverBg:mt,colorItemBgActive:ht,itemActiveBg:dt,colorSubItemBg:Le,subMenuItemBg:Le,colorItemBgSelected:dt,itemSelectedBg:dt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Et,activeBarHeight:Et,colorActiveBarBorderSize:at,activeBarBorderWidth:at,colorItemTextDisabled:V,itemDisabledColor:V,colorDangerItemText:st,dangerItemColor:st,colorDangerItemTextHover:st,dangerItemHoverColor:st,colorDangerItemTextSelected:st,dangerItemSelectedColor:st,colorDangerItemBgActive:H,dangerItemActiveBg:H,colorDangerItemBgSelected:H,dangerItemSelectedBg:H,itemMarginInline:N.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ee,groupTitleLineHeight:Ge,collapsedWidth:ee*2,popupBg:Je,itemMarginBlock:qe,itemPaddingInline:_,horizontalLineHeight:`${ee*1.15}px`,iconSize:Ot,iconMarginInlineEnd:tt-Ot,collapsedIconSize:Re,groupTitleFontSize:Ot,darkItemDisabledColor:new ye.C(Jt).setAlpha(.25).toRgbString(),darkItemColor:sn,darkDangerItemColor:st,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jt,darkItemSelectedBg:Te,darkDangerItemSelectedBg:st,darkItemHoverBg:"transparent",darkGroupTitleColor:sn,darkItemHoverColor:Jt,darkDangerItemHoverColor:cn,darkDangerItemSelectedColor:Jt,darkDangerItemActiveBg:st}},{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"]]})(ke),dn=function(ke,_e){var ie={};for(var N in ke)Object.prototype.hasOwnProperty.call(ke,N)&&_e.indexOf(N)<0&&(ie[N]=ke[N]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,N=Object.getOwnPropertySymbols(ke);Te{var ie,N;const Te=p.useContext(W.Z),st=Te||{},{getPrefixCls:V,getPopupContainer:H,direction:Pe,menu:he}=p.useContext(y.E_),Q=V(),{prefixCls:Le,className:ht,style:at,theme:Et="light",expandIcon:dt,_internalDisableMenuItemTitleTooltip:mt,inlineCollapsed:ee,siderCollapsed:Ge,items:Je,children:qe,rootClassName:_,mode:Ot,selectable:tt,onClick:Re,overflowedIndicatorPopupClassName:Jt}=ke,cn=dn(ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),sn=(0,ne.Z)(cn,["collapsedWidth"]),Ze=X(Je)||qe;(ie=st.validator)===null||ie===void 0||ie.call(st,{mode:Ot});const Rn=(0,B.useEvent)(function(){var _n;Re==null||Re.apply(void 0,arguments),(_n=st.onClick)===null||_n===void 0||_n.call(st)}),Cn=st.mode||Ot,Mt=tt!=null?tt:st.selectable,Hn=p.useMemo(()=>Ge!==void 0?Ge:ee,[ee,Ge]),On={horizontal:{motionName:`${Q}-slide-up`},inline:(0,Y.Z)(Q),other:{motionName:`${Q}-zoom-big`}},kn=V("menu",Le||st.prefixCls),[zn,dr]=un(kn,!Te),Jn=C()(`${kn}-${Et}`,he==null?void 0:he.className,ht);let Cr;if(typeof dt=="function")Cr=dt;else if(dt===null||dt===!1)Cr=null;else if(st.expandIcon===null||st.expandIcon===!1)Cr=null;else{const _n=dt!=null?dt:st.expandIcon;Cr=(0,Ee.Tm)(_n,{className:C()(`${kn}-submenu-expand-icon`,(0,Ee.l$)(_n)?(N=_n.props)===null||N===void 0?void 0:N.className:"")})}const Hr=p.useMemo(()=>({prefixCls:kn,inlineCollapsed:Hn||!1,direction:Pe,firstLevel:!0,theme:Et,mode:Cn,disableMenuItemTitleTooltip:mt}),[kn,Hn,Pe,mt,Et]);return zn(p.createElement(W.Z.Provider,{value:null},p.createElement(Se.Provider,{value:Hr},p.createElement(i.ZP,Object.assign({getPopupContainer:H,overflowedIndicator:p.createElement(Z.Z,null),overflowedIndicatorPopupClassName:C()(kn,`${kn}-${Et}`,Jt),mode:Cn,selectable:Mt,onClick:Rn},sn,{inlineCollapsed:Hn,style:Object.assign(Object.assign({},he==null?void 0:he.style),at),className:Jn,prefixCls:kn,direction:Pe,defaultMotions:On,expandIcon:Cr,ref:_e,rootClassName:C()(_,dr)}),Ze))))});const Xt=(0,p.forwardRef)((ke,_e)=>{const ie=(0,p.useRef)(null),N=p.useContext(g.D);return(0,p.useImperativeHandle)(_e,()=>({menu:ie.current,focus:Te=>{var st;(st=ie.current)===null||st===void 0||st.focus(Te)}})),p.createElement(xt,Object.assign({ref:ie},ke,N))});Xt.Item=Ce,Xt.SubMenu=G,Xt.Divider=U,Xt.ItemGroup=i.BW;var jt=Xt},58421:function(S,s,t){"use strict";t.d(s,{Z:function(){return st}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(H,Pe){return p.createElement(C.Z,(0,i.Z)({},H,{ref:Pe,icon:h}))},f=p.forwardRef(y),F=f,U=t(49198),te=t(33853),ne=t(38819),pe=t(92310),Ee=t.n(pe),se=t(20068),Se=t(33885),be=t(67732),Ce=t(83652),j=t(42403),G=t(158),Z=t(26112),B={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Y=B,W=t(91735),le=function(V){(0,j.Z)(Pe,V);var H=(0,G.Z)(Pe);function Pe(){var he;(0,be.Z)(this,Pe);for(var Q=arguments.length,Le=new Array(Q),ht=0;ht=0||at.relatedTarget.className.indexOf("".concat(ee,"-item"))>=0))&&mt(he.getValidValue()))},he.go=function(at){var Et=he.state.goInputText;Et!==""&&(at.keyCode===Y.ENTER||at.type==="click")&&(he.setState({goInputText:""}),he.props.quickGo(he.getValidValue()))},he}return(0,Ce.Z)(Pe,[{key:"getPageSizeOptions",value:function(){var Q=this.props,Le=Q.pageSize,ht=Q.pageSizeOptions;return ht.some(function(at){return at.toString()===Le.toString()})?ht:ht.concat([Le.toString()]).sort(function(at,Et){var dt=Number.isNaN(Number(at))?0:Number(at),mt=Number.isNaN(Number(Et))?0:Number(Et);return dt-mt})}},{key:"render",value:function(){var Q=this,Le=this.props,ht=Le.pageSize,at=Le.locale,Et=Le.rootPrefixCls,dt=Le.changeSize,mt=Le.quickGo,ee=Le.goButton,Ge=Le.selectComponentClass,Je=Le.buildOptionText,qe=Le.selectPrefixCls,_=Le.disabled,Ot=this.state.goInputText,tt="".concat(Et,"-options"),Re=Ge,Jt=null,cn=null,sn=null;if(!dt&&!mt)return null;var Ze=this.getPageSizeOptions();if(dt&&Re){var Rn=Ze.map(function(Cn,Mt){return p.createElement(Re.Option,{key:Mt,value:Cn.toString()},(Je||Q.buildOptionText)(Cn))});Jt=p.createElement(Re,{disabled:_,prefixCls:qe,showSearch:!1,className:"".concat(tt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ht||Ze[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Mt){return Mt.parentNode},"aria-label":at.page_size,defaultOpen:!1},Rn)}return mt&&(ee&&(sn=typeof ee=="boolean"?p.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:_,className:"".concat(tt,"-quick-jumper-button")},at.jump_to_confirm):p.createElement("span",{onClick:this.go,onKeyUp:this.go},ee)),cn=p.createElement("div",{className:"".concat(tt,"-quick-jumper")},at.jump_to,p.createElement("input",{disabled:_,type:"text",value:Ot,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":at.page}),at.page,sn)),p.createElement("li",{className:"".concat(tt)},Jt,cn)}}]),Pe}(p.Component);le.defaultProps={pageSizeOptions:["10","20","50","100"]};var J=le,X=function(H){var Pe,he=H.rootPrefixCls,Q=H.page,Le=H.active,ht=H.className,at=H.showTitle,Et=H.onClick,dt=H.onKeyPress,mt=H.itemRender,ee="".concat(he,"-item"),Ge=Ee()(ee,"".concat(ee,"-").concat(Q),(Pe={},(0,se.Z)(Pe,"".concat(ee,"-active"),Le),(0,se.Z)(Pe,"".concat(ee,"-disabled"),!Q),(0,se.Z)(Pe,H.className,ht),Pe)),Je=function(){Et(Q)},qe=function(tt){dt(tt,Et,Q)},_=mt(Q,"page",p.createElement("a",{rel:"nofollow"},Q));return _?p.createElement("li",{title:at?Q.toString():null,className:Ge,onClick:Je,onKeyPress:qe,tabIndex:0},_):null},ye=X;function fe(){}function D(V){var H=Number(V);return typeof H=="number"&&!Number.isNaN(H)&&isFinite(H)&&Math.floor(H)===H}var He=function(H,Pe,he){return he};function rt(V,H,Pe){var he=typeof V=="undefined"?H.pageSize:V;return Math.floor((Pe.total-1)/he)+1}var Lt=function(V){(0,j.Z)(Pe,V);var H=(0,G.Z)(Pe);function Pe(he){var Q;(0,be.Z)(this,Pe),Q=H.call(this,he),Q.paginationNode=p.createRef(),Q.getJumpPrevPage=function(){return Math.max(1,Q.state.current-(Q.props.showLessItems?3:5))},Q.getJumpNextPage=function(){return Math.min(rt(void 0,Q.state,Q.props),Q.state.current+(Q.props.showLessItems?3:5))},Q.getItemIcon=function(dt,mt){var ee=Q.props.prefixCls,Ge=dt||p.createElement("button",{type:"button","aria-label":mt,className:"".concat(ee,"-item-link")});return typeof dt=="function"&&(Ge=p.createElement(dt,(0,Se.Z)({},Q.props))),Ge},Q.isValid=function(dt){var mt=Q.props.total;return D(dt)&&dt!==Q.state.current&&D(mt)&&mt>0},Q.shouldDisplayQuickJumper=function(){var dt=Q.props,mt=dt.showQuickJumper,ee=dt.total,Ge=Q.state.pageSize;return ee<=Ge?!1:mt},Q.handleKeyDown=function(dt){(dt.keyCode===Y.ARROW_UP||dt.keyCode===Y.ARROW_DOWN)&&dt.preventDefault()},Q.handleKeyUp=function(dt){var mt=Q.getValidValue(dt),ee=Q.state.currentInputValue;mt!==ee&&Q.setState({currentInputValue:mt}),dt.keyCode===Y.ENTER?Q.handleChange(mt):dt.keyCode===Y.ARROW_UP?Q.handleChange(mt-1):dt.keyCode===Y.ARROW_DOWN&&Q.handleChange(mt+1)},Q.handleBlur=function(dt){var mt=Q.getValidValue(dt);Q.handleChange(mt)},Q.changePageSize=function(dt){var mt=Q.state.current,ee=rt(dt,Q.state,Q.props);mt=mt>ee?ee:mt,ee===0&&(mt=Q.state.current),typeof dt=="number"&&("pageSize"in Q.props||Q.setState({pageSize:dt}),"current"in Q.props||Q.setState({current:mt,currentInputValue:mt})),Q.props.onShowSizeChange(mt,dt),"onChange"in Q.props&&Q.props.onChange&&Q.props.onChange(mt,dt)},Q.handleChange=function(dt){var mt=Q.props,ee=mt.disabled,Ge=mt.onChange,Je=Q.state,qe=Je.pageSize,_=Je.current,Ot=Je.currentInputValue;if(Q.isValid(dt)&&!ee){var tt=rt(void 0,Q.state,Q.props),Re=dt;return dt>tt?Re=tt:dt<1&&(Re=1),"current"in Q.props||Q.setState({current:Re}),Re!==Ot&&Q.setState({currentInputValue:Re}),Ge(Re,qe),Re}return _},Q.prev=function(){Q.hasPrev()&&Q.handleChange(Q.state.current-1)},Q.next=function(){Q.hasNext()&&Q.handleChange(Q.state.current+1)},Q.jumpPrev=function(){Q.handleChange(Q.getJumpPrevPage())},Q.jumpNext=function(){Q.handleChange(Q.getJumpNextPage())},Q.hasPrev=function(){return Q.state.current>1},Q.hasNext=function(){return Q.state.current2?ee-2:0),Je=2;Je=ht?Et=ht:Et=Number(Le),Et}},{key:"getShowSizeChanger",value:function(){var Q=this.props,Le=Q.showSizeChanger,ht=Q.total,at=Q.totalBoundaryShowSizeChanger;return typeof Le!="undefined"?Le:ht>at}},{key:"render",value:function(){var Q=this.props,Le=Q.prefixCls,ht=Q.className,at=Q.style,Et=Q.disabled,dt=Q.hideOnSinglePage,mt=Q.total,ee=Q.locale,Ge=Q.showQuickJumper,Je=Q.showLessItems,qe=Q.showTitle,_=Q.showTotal,Ot=Q.simple,tt=Q.itemRender,Re=Q.showPrevNextJumpers,Jt=Q.jumpPrevIcon,cn=Q.jumpNextIcon,sn=Q.selectComponentClass,Ze=Q.selectPrefixCls,Rn=Q.pageSizeOptions,Cn=this.state,Mt=Cn.current,Hn=Cn.pageSize,On=Cn.currentInputValue;if(dt===!0&&mt<=Hn)return null;var kn=rt(void 0,this.state,this.props),zn=[],dr=null,Jn=null,Cr=null,Hr=null,_n=null,ar=Ge&&Ge.goButton,Gn=Je?1:2,Ar=Mt-1>0?Mt-1:0,Yr=Mt+1mt?mt:Mt*Hn]));if(Ot){ar&&(typeof ar=="boolean"?_n=p.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ee.jump_to_confirm):_n=p.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ar),_n=p.createElement("li",{title:qe?"".concat(ee.jump_to).concat(Mt,"/").concat(kn):null,className:"".concat(Le,"-simple-pager")},_n));var ir=this.renderPrev(Ar);return p.createElement("ul",(0,i.Z)({className:Ee()(Le,"".concat(Le,"-simple"),(0,se.Z)({},"".concat(Le,"-disabled"),Et),ht),style:at,ref:this.paginationNode},Kr),Nr,ir?p.createElement("li",{title:qe?ee.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Le,"-prev"),(0,se.Z)({},"".concat(Le,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ir):null,p.createElement("li",{title:qe?"".concat(Mt,"/").concat(kn):null,className:"".concat(Le,"-simple-pager")},p.createElement("input",{type:"text",value:On,disabled:Et,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),p.createElement("span",{className:"".concat(Le,"-slash")},"/"),kn),p.createElement("li",{title:qe?ee.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Le,"-next"),(0,se.Z)({},"".concat(Le,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Yr)),_n)}if(kn<=3+Gn*2){var Wn={locale:ee,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:qe,itemRender:tt};kn||zn.push(p.createElement(ye,(0,i.Z)({},Wn,{key:"noPager",page:1,className:"".concat(Le,"-item-disabled")})));for(var Vn=1;Vn<=kn;Vn+=1){var sa=Mt===Vn;zn.push(p.createElement(ye,(0,i.Z)({},Wn,{key:Vn,page:Vn,active:sa})))}}else{var hr=Je?ee.prev_3:ee.prev_5,It=Je?ee.next_3:ee.next_5,ut=tt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jt,"prev page")),Qt=tt(this.getJumpNextPage(),"jump-next",this.getItemIcon(cn,"next page"));Re&&(dr=ut?p.createElement("li",{title:qe?hr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(Le,"-jump-prev"),(0,se.Z)({},"".concat(Le,"-jump-prev-custom-icon"),!!Jt))},ut):null,Jn=Qt?p.createElement("li",{title:qe?It:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(Le,"-jump-next"),(0,se.Z)({},"".concat(Le,"-jump-next-custom-icon"),!!cn))},Qt):null),Hr=p.createElement(ye,{locale:ee,last:!0,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:kn,page:kn,active:!1,showTitle:qe,itemRender:tt}),Cr=p.createElement(ye,{locale:ee,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:qe,itemRender:tt});var qt=Math.max(1,Mt-Gn),Tt=Math.min(Mt+Gn,kn);Mt-1<=Gn&&(Tt=1+Gn*2),kn-Mt<=Gn&&(qt=kn-Gn*2);for(var mn=qt;mn<=Tt;mn+=1){var gt=Mt===mn;zn.push(p.createElement(ye,{locale:ee,rootPrefixCls:Le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:mn,page:mn,active:gt,showTitle:qe,itemRender:tt}))}Mt-1>=Gn*2&&Mt!==3&&(zn[0]=(0,p.cloneElement)(zn[0],{className:"".concat(Le,"-item-after-jump-prev")}),zn.unshift(dr)),kn-Mt>=Gn*2&&Mt!==kn-2&&(zn[zn.length-1]=(0,p.cloneElement)(zn[zn.length-1],{className:"".concat(Le,"-item-before-jump-next")}),zn.push(Jn)),qt!==1&&zn.unshift(Cr),Tt!==kn&&zn.push(Hr)}var hn=!this.hasPrev()||!kn,Oe=!this.hasNext()||!kn,oe=this.renderPrev(Ar),c=this.renderNext(Yr);return p.createElement("ul",(0,i.Z)({className:Ee()(Le,ht,(0,se.Z)({},"".concat(Le,"-disabled"),Et)),style:at,ref:this.paginationNode},Kr),Nr,oe?p.createElement("li",{title:qe?ee.prev_page:null,onClick:this.prev,tabIndex:hn?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Le,"-prev"),(0,se.Z)({},"".concat(Le,"-disabled"),hn)),"aria-disabled":hn},oe):null,zn,c?p.createElement("li",{title:qe?ee.next_page:null,onClick:this.next,tabIndex:Oe?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Le,"-next"),(0,se.Z)({},"".concat(Le,"-disabled"),Oe)),"aria-disabled":Oe},c):null,p.createElement(J,{disabled:Et,locale:ee,rootPrefixCls:Le,selectComponentClass:sn,selectPrefixCls:Ze,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Mt,pageSize:Hn,pageSizeOptions:Rn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ar}))}}],[{key:"getDerivedStateFromProps",value:function(Q,Le){var ht={};if("current"in Q&&(ht.current=Q.current,Q.current!==Le.current&&(ht.currentInputValue=ht.current)),"pageSize"in Q&&Q.pageSize!==Le.pageSize){var at=Le.current,Et=rt(Q.pageSize,Le,Q);at=at>Et?Et:at,"current"in Q||(ht.current=at,ht.currentInputValue=at),ht.pageSize=Q.pageSize}return ht}}]),Pe}(p.Component);Lt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:fe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:fe,locale:W.Z,style:{},itemRender:He,totalBoundaryShowSizeChanger:50};var $e=Lt,it=t(22075),ot=t(36355),_t=t(19716),Kt=t(8628),wt=t(9763),O=t(57809);const ze=V=>p.createElement(O.default,Object.assign({},V,{showSearch:!0,size:"small"})),nt=V=>p.createElement(O.default,Object.assign({},V,{showSearch:!0,size:"middle"}));ze.Option=O.default.Option,nt.Option=O.default.Option;var Ne=t(9937),ct=t(17313),Xe=t(83116),tn=t(37613);const zt=V=>{const{componentCls:H}=V;return{[`${H}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${H}-item-link`]:{color:V.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${H}-item-link`]:{color:V.colorTextDisabled,cursor:"not-allowed"}}},[`&${H}-disabled`]:{cursor:"not-allowed",[`${H}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:V.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:V.colorBorder,backgroundColor:V.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:V.itemActiveBgDisabled},a:{color:V.itemActiveColorDisabled}}},[`${H}-item-link`]:{color:V.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${H}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${H}-simple-pager`]:{color:V.colorTextDisabled},[`${H}-jump-prev, ${H}-jump-next`]:{[`${H}-item-link-icon`]:{opacity:0},[`${H}-item-ellipsis`]:{opacity:1}}},[`&${H}-simple`]:{[`${H}-prev, ${H}-next`]:{[`&${H}-disabled ${H}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},un=V=>{const{componentCls:H}=V;return{[`&${H}-mini ${H}-total-text, &${H}-mini ${H}-simple-pager`]:{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`},[`&${H}-mini ${H}-item`]:{minWidth:V.itemSizeSM,height:V.itemSizeSM,margin:0,lineHeight:`${V.itemSizeSM-2}px`},[`&${H}-mini:not(${H}-disabled) ${H}-item:not(${H}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:V.colorBgTextHover},"&:active":{backgroundColor:V.colorBgTextActive}},[`&${H}-mini ${H}-prev, &${H}-mini ${H}-next`]:{minWidth:V.itemSizeSM,height:V.itemSizeSM,margin:0,lineHeight:`${V.itemSizeSM}px`},[`&${H}-mini:not(${H}-disabled)`]:{[`${H}-prev, ${H}-next`]:{[`&:hover ${H}-item-link`]:{backgroundColor:V.colorBgTextHover},[`&:active ${H}-item-link`]:{backgroundColor:V.colorBgTextActive},[`&${H}-disabled:hover ${H}-item-link`]:{backgroundColor:"transparent"}}},[` &${H}-mini ${H}-prev ${H}-item-link, &${H}-mini ${H}-next ${H}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`}},[`&${H}-mini ${H}-jump-prev, &${H}-mini ${H}-jump-next`]:{height:V.itemSizeSM,marginInlineEnd:0,lineHeight:`${V.itemSizeSM}px`},[`&${H}-mini ${H}-options`]:{marginInlineStart:V.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:V.miniOptionsSizeChangerTop},"&-quick-jumper":{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,we.x0)(V)),{width:V.paginationMiniQuickJumperInputWidth,height:V.controlHeightSM})}}}},dn=V=>{const{componentCls:H}=V;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`}},[`&${H}-mini ${H}-jump-prev, &${H}-mini ${H}-jump-next`]:{height:V.itemSizeSM,marginInlineEnd:0,lineHeight:`${V.itemSizeSM}px`},[`&${H}-mini ${H}-options`]:{marginInlineStart:V.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:V.miniOptionsSizeChangerTop},"&-quick-jumper":{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ne.x0)(V)),{width:V.paginationMiniQuickJumperInputWidth,height:V.controlHeightSM})}}}},dn=V=>{const{componentCls:H}=V;return{[` &${H}-simple ${H}-prev, &${H}-simple ${H}-next `]:{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`,verticalAlign:"top",[`${H}-item-link`]:{height:V.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:V.colorBgTextHover},"&:active":{backgroundColor:V.colorBgTextActive},"&::after":{height:V.itemSizeSM,lineHeight:`${V.itemSizeSM}px`}}},[`&${H}-simple ${H}-simple-pager`]:{display:"inline-block",height:V.itemSizeSM,marginInlineEnd:V.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:V.marginXS,padding:`0 ${V.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:V.itemInputBg,border:`${V.lineWidth}px ${V.lineType} ${V.colorBorder}`,borderRadius:V.borderRadius,outline:"none",transition:`border-color ${V.motionDurationMid}`,color:"inherit","&:hover":{borderColor:V.colorPrimary},"&:focus":{borderColor:V.colorPrimaryHover,boxShadow:`${V.inputOutlineOffset}px 0 ${V.controlOutlineWidth}px ${V.controlOutline}`},"&[disabled]":{color:V.colorTextDisabled,backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder,cursor:"not-allowed"}}}}},At=V=>{const{componentCls:H}=V;return{[`${H}-jump-prev, ${H}-jump-next`]:{outline:0,[`${H}-item-container`]:{position:"relative",[`${H}-item-link-icon`]:{color:V.colorPrimary,fontSize:V.fontSizeSM,opacity:0,transition:`all ${V.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${H}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:V.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:V.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:V.paginationEllipsisTextIndent,opacity:1,transition:`all ${V.motionDurationMid}`}},"&:hover":{[`${H}-item-link-icon`]:{opacity:1},[`${H}-item-ellipsis`]:{opacity:0}}},[` @@ -45,15 +45,15 @@ ${H}-next, ${H}-jump-prev, ${H}-jump-next - `]:{display:"inline-block",minWidth:V.itemSize,height:V.itemSize,color:V.colorText,fontFamily:V.fontFamily,lineHeight:`${V.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:V.borderRadius,cursor:"pointer",transition:`all ${V.motionDurationMid}`},[`${H}-prev, ${H}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:V.colorText,cursor:"pointer",userSelect:"none"},[`${H}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:V.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${V.lineWidth}px ${V.lineType} transparent`,borderRadius:V.borderRadius,outline:"none",transition:`all ${V.motionDurationMid}`},[`&:hover ${H}-item-link`]:{backgroundColor:V.colorBgTextHover},[`&:active ${H}-item-link`]:{backgroundColor:V.colorBgTextActive},[`&${H}-disabled:hover`]:{[`${H}-item-link`]:{backgroundColor:"transparent"}}},[`${H}-slash`]:{marginInlineEnd:V.paginationSlashMarginInlineEnd,marginInlineStart:V.paginationSlashMarginInlineStart},[`${H}-options`]:{display:"inline-block",marginInlineStart:V.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:V.controlHeight,marginInlineStart:V.marginXS,lineHeight:`${V.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,we.ik)(V)),{width:V.controlHeightLG*1.25,height:V.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:V.marginXS,marginInlineEnd:V.marginXS})}}}},xt=V=>{const{componentCls:H}=V;return{[`${H}-item`]:{display:"inline-block",minWidth:V.itemSize,height:V.itemSize,marginInlineEnd:V.marginXS,fontFamily:V.fontFamily,lineHeight:`${V.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${V.lineWidth}px ${V.lineType} transparent`,borderRadius:V.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${V.paginationItemPaddingInline}px`,color:V.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${H}-item-active)`]:{"&:hover":{transition:`all ${V.motionDurationMid}`,backgroundColor:V.colorBgTextHover},"&:active":{backgroundColor:V.colorBgTextActive}},"&-active":{fontWeight:V.fontWeightStrong,backgroundColor:V.itemActiveBg,borderColor:V.colorPrimary,a:{color:V.colorPrimary},"&:hover":{borderColor:V.colorPrimaryHover},"&:hover a":{color:V.colorPrimaryHover}}}}},Xt=V=>{const{componentCls:H}=V;return{[H]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ct.Wf)(V)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${H}-total-text`]:{display:"inline-block",height:V.itemSize,marginInlineEnd:V.marginXS,lineHeight:`${V.itemSize-2}px`,verticalAlign:"middle"}}),xt(V)),At(V)),dn(V)),un(V)),zt(V)),{[`@media only screen and (max-width: ${V.screenLG}px)`]:{[`${H}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${V.screenSM}px)`]:{[`${H}-options`]:{display:"none"}}}),[`&${V.componentCls}-rtl`]:{direction:"rtl"}}},jt=V=>{const{componentCls:H}=V;return{[`${H}${H}-disabled:not(${H}-mini)`]:{"&, &:hover":{[`${H}-item-link`]:{borderColor:V.colorBorder}},"&:focus-visible":{[`${H}-item-link`]:{borderColor:V.colorBorder}},[`${H}-item, ${H}-item-link`]:{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder,[`&:hover:not(${H}-item-active)`]:{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder,a:{color:V.colorTextDisabled}},[`&${H}-item-active`]:{backgroundColor:V.itemActiveBgDisabled}},[`${H}-prev, ${H}-next`]:{"&:hover button":{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder,color:V.colorTextDisabled},[`${H}-item-link`]:{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder}}},[`${H}:not(${H}-mini)`]:{[`${H}-prev, ${H}-next`]:{"&:hover button":{borderColor:V.colorPrimaryHover,backgroundColor:V.itemBg},[`${H}-item-link`]:{backgroundColor:V.itemLinkBg,borderColor:V.colorBorder},[`&:hover ${H}-item-link`]:{borderColor:V.colorPrimary,backgroundColor:V.itemBg,color:V.colorPrimary},[`&${H}-disabled`]:{[`${H}-item-link`]:{borderColor:V.colorBorder,color:V.colorTextDisabled}}},[`${H}-item`]:{backgroundColor:V.itemBg,border:`${V.lineWidth}px ${V.lineType} ${V.colorBorder}`,[`&:hover:not(${H}-item-active)`]:{borderColor:V.colorPrimary,backgroundColor:V.itemBg,a:{color:V.colorPrimary}},"&-active":{borderColor:V.colorPrimary}}}}},ke=V=>{const{componentCls:H}=V;return{[`${H}:not(${H}-disabled)`]:{[`${H}-item`]:Object.assign({},(0,ct.Qy)(V)),[`${H}-jump-prev, ${H}-jump-next`]:{"&:focus-visible":Object.assign({[`${H}-item-link-icon`]:{opacity:1},[`${H}-item-ellipsis`]:{opacity:0}},(0,ct.oN)(V))},[`${H}-prev, ${H}-next`]:{[`&:focus-visible ${H}-item-link`]:Object.assign({},(0,ct.oN)(V))}}}};var _e=(0,Xe.Z)("Pagination",V=>{const H=(0,tn.TS)(V,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:V.marginXXS/2,paginationMiniQuickJumperInputWidth:V.controlHeightLG*1.1,paginationItemPaddingInline:V.marginXXS*1.5,paginationEllipsisLetterSpacing:V.marginXXS/2,paginationSlashMarginInlineStart:V.marginXXS,paginationSlashMarginInlineEnd:V.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,we.e5)(V),(0,we.TM)(V));return[Xt(H),ke(H),V.wireframe&&jt(H)]},V=>({itemBg:V.colorBgContainer,itemSize:V.controlHeight,itemSizeSM:V.controlHeightSM,itemActiveBg:V.colorBgContainer,itemLinkBg:V.colorBgContainer,itemActiveColorDisabled:V.colorTextDisabled,itemActiveBgDisabled:V.controlItemBgActiveDisabled,itemInputBg:V.colorBgContainer,miniOptionsSizeChangerTop:0})),ie=function(V,H){var Pe={};for(var he in V)Object.prototype.hasOwnProperty.call(V,he)&&H.indexOf(he)<0&&(Pe[he]=V[he]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,he=Object.getOwnPropertySymbols(V);Q{const{prefixCls:H,selectPrefixCls:Pe,className:he,rootClassName:Q,style:Le,size:ht,locale:at,selectComponentClass:Et,responsive:dt,showSizeChanger:mt}=V,ee=ie(V,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ge}=(0,Kt.Z)(dt),{getPrefixCls:Je,direction:qe,pagination:_={}}=p.useContext(ot.E_),Ot=Je("pagination",H),[tt,Re]=_e(Ot),Jt=mt!=null?mt:_.showSizeChanger,cn=p.useMemo(()=>{const kn=p.createElement("span",{className:`${Ot}-item-ellipsis`},"\u2022\u2022\u2022"),zn=p.createElement("button",{className:`${Ot}-item-link`,type:"button",tabIndex:-1},qe==="rtl"?p.createElement(ne.Z,null):p.createElement(te.Z,null)),dr=p.createElement("button",{className:`${Ot}-item-link`,type:"button",tabIndex:-1},qe==="rtl"?p.createElement(te.Z,null):p.createElement(ne.Z,null)),Jn=p.createElement("a",{className:`${Ot}-item-link`},p.createElement("div",{className:`${Ot}-item-container`},qe==="rtl"?p.createElement(U.Z,{className:`${Ot}-item-link-icon`}):p.createElement(F,{className:`${Ot}-item-link-icon`}),kn)),Cr=p.createElement("a",{className:`${Ot}-item-link`},p.createElement("div",{className:`${Ot}-item-container`},qe==="rtl"?p.createElement(F,{className:`${Ot}-item-link-icon`}):p.createElement(U.Z,{className:`${Ot}-item-link-icon`}),kn));return{prevIcon:zn,nextIcon:dr,jumpPrevIcon:Jn,jumpNextIcon:Cr}},[qe,Ot]),[sn]=(0,wt.Z)("Pagination",it.Z),Ze=Object.assign(Object.assign({},sn),at),Rn=(0,_t.Z)(ht),Cn=Rn==="small"||!!(Ge&&!Rn&&dt),Mt=Je("select",Pe),Hn=Ee()({[`${Ot}-mini`]:Cn,[`${Ot}-rtl`]:qe==="rtl"},_==null?void 0:_.className,he,Q,Re),On=Object.assign(Object.assign({},_==null?void 0:_.style),Le);return tt(p.createElement($e,Object.assign({},cn,ee,{style:On,prefixCls:Ot,selectPrefixCls:Mt,className:Hn,selectComponentClass:Et||(Cn?ze:nt),locale:Ze,showSizeChanger:Jt})))},st=Te},93948:function(S,s,t){"use strict";t.d(s,{Z:function(){return mt}});var i=t(59301),p=t(29679),g=t(40001),h=t(19248),C=t(99267),y=t(92310),f=t.n(y),F=t(2738),U=t(36355),te=t(54476),ne=t(33885),pe=t(75931),Ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var Ge=(0,i.useRef)([]),Je=(0,i.useRef)(null);return(0,i.useEffect)(function(){var qe=Date.now(),_=!1;Ge.current.forEach(function(Ot){if(Ot){_=!0;var tt=Ot.style;tt.transitionDuration=".3s, .3s, .3s, .06s",Je.current&&qe-Je.current<100&&(tt.transitionDuration="0s, 0s")}}),_&&(Je.current=Date.now())}),Ge.current},Se=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],be=function(Ge){var Je=(0,ne.Z)((0,ne.Z)({},Ee),Ge),qe=Je.className,_=Je.percent,Ot=Je.prefixCls,tt=Je.strokeColor,Re=Je.strokeLinecap,Jt=Je.strokeWidth,cn=Je.style,sn=Je.trailColor,Ze=Je.trailWidth,Rn=Je.transition,Cn=(0,pe.Z)(Je,Se);delete Cn.gapPosition;var Mt=Array.isArray(_)?_:[_],Hn=Array.isArray(tt)?tt:[tt],On=se(),kn=Jt/2,zn=100-Jt/2,dr="M ".concat(Re==="round"?kn:0,",").concat(kn,` - L `).concat(Re==="round"?zn:100,",").concat(kn),Jn="0 0 100 ".concat(Jt),Cr=0;return i.createElement("svg",(0,te.Z)({className:f()("".concat(Ot,"-line"),qe),viewBox:Jn,preserveAspectRatio:"none",style:cn},Cn),i.createElement("path",{className:"".concat(Ot,"-line-trail"),d:dr,strokeLinecap:Re,stroke:sn,strokeWidth:Ze||Jt,fillOpacity:"0"}),Mt.map(function(Hr,_n){var ar=1;switch(Re){case"round":ar=1-Jt/100;break;case"square":ar=1-Jt/2/100;break;default:ar=1;break}var Gn={strokeDasharray:"".concat(Hr*ar,"px, 100px"),strokeDashoffset:"-".concat(Cr,"px"),transition:Rn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ar=Hn[_n]||Hn[Hn.length-1];return Cr+=Hr,i.createElement("path",{key:_n,className:"".concat(Ot,"-line-path"),d:dr,strokeLinecap:Re,stroke:Ar,strokeWidth:Jt,fillOpacity:"0",ref:function(Kr){On[_n]=Kr},style:Gn})}))},Ce=be,j=t(76190),G=t(42978),Z=t(47273),B=0,Y=(0,Z.Z)();function W(){var ee;return Y?(ee=B,B+=1):ee="TEST_OR_SSR",ee}var le=function(ee){var Ge=i.useState(),Je=(0,G.Z)(Ge,2),qe=Je[0],_=Je[1];return i.useEffect(function(){_("rc_progress_".concat(W()))},[]),ee||qe},J=function(Ge){var Je=Ge.bg,qe=Ge.children;return i.createElement("div",{style:{width:"100%",height:"100%",background:Je}},qe)};function X(ee,Ge){return Object.keys(ee).map(function(Je){var qe=parseFloat(Je),_="".concat(Math.floor(qe*Ge),"%");return"".concat(ee[Je]," ").concat(_)})}var ye=i.forwardRef(function(ee,Ge){var Je=ee.prefixCls,qe=ee.color,_=ee.gradientId,Ot=ee.radius,tt=ee.style,Re=ee.ptg,Jt=ee.strokeLinecap,cn=ee.strokeWidth,sn=ee.size,Ze=ee.gapDegree,Rn=qe&&(0,j.Z)(qe)==="object",Cn=Rn?"#FFF":void 0,Mt=sn/2,Hn=i.createElement("circle",{className:"".concat(Je,"-circle-path"),r:Ot,cx:Mt,cy:Mt,stroke:Cn,strokeLinecap:Jt,strokeWidth:cn,opacity:Re===0?0:1,style:tt,ref:Ge});if(!Rn)return Hn;var On="".concat(_,"-conic"),kn=Ze?"".concat(180+Ze/2,"deg"):"0deg",zn=X(qe,(360-Ze)/360),dr=X(qe,1),Jn="conic-gradient(from ".concat(kn,", ").concat(zn.join(", "),")"),Cr="linear-gradient(to ".concat(Ze?"bottom":"top",", ").concat(dr.join(", "),")");return i.createElement(i.Fragment,null,i.createElement("mask",{id:On},Hn),i.createElement("foreignObject",{x:0,y:0,width:sn,height:sn,mask:"url(#".concat(On,")")},i.createElement(J,{bg:Cr},i.createElement(J,{bg:Jn}))))}),fe=ye,D=100,He=function(Ge,Je,qe,_,Ot,tt,Re,Jt,cn,sn){var Ze=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Rn=qe/100*360*((360-tt)/360),Cn=tt===0?0:{bottom:0,top:180,left:90,right:-90}[Re],Mt=(100-_)/100*Je;cn==="round"&&_!==100&&(Mt+=sn/2,Mt>=Je&&(Mt=Je-.01));var Hn=D/2;return{stroke:typeof Jt=="string"?Jt:void 0,strokeDasharray:"".concat(Je,"px ").concat(Ge),strokeDashoffset:Mt+Ze,transform:"rotate(".concat(Ot+Rn+Cn,"deg)"),transformOrigin:"".concat(Hn,"px ").concat(Hn,"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}},rt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Lt(ee){var Ge=ee!=null?ee:[];return Array.isArray(Ge)?Ge:[Ge]}var $e=function(Ge){var Je=(0,ne.Z)((0,ne.Z)({},Ee),Ge),qe=Je.id,_=Je.prefixCls,Ot=Je.steps,tt=Je.strokeWidth,Re=Je.trailWidth,Jt=Je.gapDegree,cn=Jt===void 0?0:Jt,sn=Je.gapPosition,Ze=Je.trailColor,Rn=Je.strokeLinecap,Cn=Je.style,Mt=Je.className,Hn=Je.strokeColor,On=Je.percent,kn=(0,pe.Z)(Je,rt),zn=D/2,dr=le(qe),Jn="".concat(dr,"-gradient"),Cr=zn-tt/2,Hr=Math.PI*2*Cr,_n=cn>0?90+cn/2:-90,ar=Hr*((360-cn)/360),Gn=(0,j.Z)(Ot)==="object"?Ot:{count:Ot,space:2},Ar=Gn.count,Yr=Gn.space,Kr=Lt(On),Nr=Lt(Hn),ir=Nr.find(function(Qt){return Qt&&(0,j.Z)(Qt)==="object"}),Wn=ir&&(0,j.Z)(ir)==="object",Vn=Wn?"butt":Rn,sa=He(Hr,ar,0,100,_n,cn,sn,Ze,Vn,tt),hr=se(),It=function(){var qt=0;return Kr.map(function(Tt,mn){var gt=Nr[mn]||Nr[Nr.length-1],hn=He(Hr,ar,qt,Tt,_n,cn,sn,gt,Vn,tt);return qt+=Tt,i.createElement(fe,{key:mn,color:gt,ptg:Tt,radius:Cr,prefixCls:_,gradientId:Jn,style:hn,strokeLinecap:Vn,strokeWidth:tt,gapDegree:cn,ref:function(oe){hr[mn]=oe},size:D})}).reverse()},ut=function(){var qt=Math.round(Ar*(Kr[0]/100)),Tt=100/Ar,mn=0;return new Array(Ar).fill(null).map(function(gt,hn){var Oe=hn<=qt-1?Nr[0]:Ze,oe=Oe&&(0,j.Z)(Oe)==="object"?"url(#".concat(Jn,")"):void 0,c=He(Hr,ar,mn,Tt,_n,cn,sn,Oe,"butt",tt,Yr);return mn+=(ar-c.strokeDashoffset+Yr)*100/ar,i.createElement("circle",{key:hn,className:"".concat(_,"-circle-path"),r:Cr,cx:zn,cy:zn,stroke:oe,strokeWidth:tt,opacity:1,style:c,ref:function(Dt){hr[hn]=Dt}})})};return i.createElement("svg",(0,te.Z)({className:f()("".concat(_,"-circle"),Mt),viewBox:"0 0 ".concat(D," ").concat(D),style:Cn,id:qe,role:"presentation"},kn),!Ar&&i.createElement("circle",{className:"".concat(_,"-circle-trail"),r:Cr,cx:zn,cy:zn,stroke:Ze,strokeLinecap:Vn,strokeWidth:Re||tt,style:sa}),Ar?ut():It())},it=$e,ot={Line:Ce,Circle:it},_t=t(6848),Kt=t(30071);function wt(ee){return!ee||ee<0?0:ee>100?100:ee}function O(ee){let{success:Ge,successPercent:Je}=ee,qe=Je;return Ge&&"progress"in Ge&&(qe=Ge.progress),Ge&&"percent"in Ge&&(qe=Ge.percent),qe}const ze=ee=>{let{percent:Ge,success:Je,successPercent:qe}=ee;const _=wt(O({success:Je,successPercent:qe}));return[_,wt(wt(Ge)-_)]},nt=ee=>{let{success:Ge={},strokeColor:Je}=ee;const{strokeColor:qe}=Ge;return[qe||Kt.presetPrimaryColors.green,Je||null]},we=(ee,Ge,Je)=>{var qe,_,Ot,tt;let Re=-1,Jt=-1;if(Ge==="step"){const cn=Je.steps,sn=Je.strokeWidth;typeof ee=="string"||typeof ee=="undefined"?(Re=ee==="small"?2:14,Jt=sn!=null?sn:8):typeof ee=="number"?[Re,Jt]=[ee,ee]:[Re=14,Jt=8]=ee,Re*=cn}else if(Ge==="line"){const cn=Je==null?void 0:Je.strokeWidth;typeof ee=="string"||typeof ee=="undefined"?Jt=cn||(ee==="small"?6:8):typeof ee=="number"?[Re,Jt]=[ee,ee]:[Re=-1,Jt=8]=ee}else(Ge==="circle"||Ge==="dashboard")&&(typeof ee=="string"||typeof ee=="undefined"?[Re,Jt]=ee==="small"?[60,60]:[120,120]:typeof ee=="number"?[Re,Jt]=[ee,ee]:(Re=(_=(qe=ee[0])!==null&&qe!==void 0?qe:ee[1])!==null&&_!==void 0?_:120,Jt=(tt=(Ot=ee[0])!==null&&Ot!==void 0?Ot:ee[1])!==null&&tt!==void 0?tt:120));return[Re,Jt]},ct=3,Xe=ee=>ct/ee*100;var zt=ee=>{const{prefixCls:Ge,trailColor:Je=null,strokeLinecap:qe="round",gapPosition:_,gapDegree:Ot,width:tt=120,type:Re,children:Jt,success:cn,size:sn=tt}=ee,[Ze,Rn]=we(sn,"circle");let{strokeWidth:Cn}=ee;Cn===void 0&&(Cn=Math.max(Xe(Ze),6));const Mt={width:Ze,height:Rn,fontSize:Ze*.15+6},Hn=i.useMemo(()=>{if(Ot||Ot===0)return Ot;if(Re==="dashboard")return 75},[Ot,Re]),On=_||Re==="dashboard"&&"bottom"||void 0,kn=Object.prototype.toString.call(ee.strokeColor)==="[object Object]",zn=nt({success:cn,strokeColor:ee.strokeColor}),dr=f()(`${Ge}-inner`,{[`${Ge}-circle-gradient`]:kn}),Jn=i.createElement(it,{percent:ze(ee),strokeWidth:Cn,trailWidth:Cn,strokeColor:zn,strokeLinecap:qe,trailColor:Je,prefixCls:Ge,gapDegree:Hn,gapPosition:On});return i.createElement("div",{className:dr,style:Mt},Ze<=20?i.createElement(_t.Z,{title:Jt},i.createElement("span",null,Jn)):i.createElement(i.Fragment,null,Jn,Jt))},un=function(ee,Ge){var Je={};for(var qe in ee)Object.prototype.hasOwnProperty.call(ee,qe)&&Ge.indexOf(qe)<0&&(Je[qe]=ee[qe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,qe=Object.getOwnPropertySymbols(ee);_{let Ge=[];return Object.keys(ee).forEach(Je=>{const qe=parseFloat(Je.replace(/%/g,""));isNaN(qe)||Ge.push({key:qe,value:ee[Je]})}),Ge=Ge.sort((Je,qe)=>Je.key-qe.key),Ge.map(Je=>{let{key:qe,value:_}=Je;return`${_} ${qe}%`}).join(", ")},At=(ee,Ge)=>{const{from:Je=Kt.presetPrimaryColors.blue,to:qe=Kt.presetPrimaryColors.blue,direction:_=Ge==="rtl"?"to left":"to right"}=ee,Ot=un(ee,["from","to","direction"]);if(Object.keys(Ot).length!==0){const tt=dn(Ot);return{backgroundImage:`linear-gradient(${_}, ${tt})`}}return{backgroundImage:`linear-gradient(${_}, ${Je}, ${qe})`}};var Xt=ee=>{const{prefixCls:Ge,direction:Je,percent:qe,size:_,strokeWidth:Ot,strokeColor:tt,strokeLinecap:Re="round",children:Jt,trailColor:cn=null,success:sn}=ee,Ze=tt&&typeof tt!="string"?At(tt,Je):{backgroundColor:tt},Rn=Re==="square"||Re==="butt"?0:void 0,Cn={backgroundColor:cn||void 0,borderRadius:Rn},Mt=_!=null?_:[-1,Ot||(_==="small"?6:8)],[Hn,On]=we(Mt,"line",{strokeWidth:Ot}),kn=Object.assign({width:`${wt(qe)}%`,height:On,borderRadius:Rn},Ze),zn=O(ee),dr={width:`${wt(zn)}%`,height:On,borderRadius:Rn,backgroundColor:sn==null?void 0:sn.strokeColor},Jn={width:Hn<0?"100%":Hn,height:On};return i.createElement(i.Fragment,null,i.createElement("div",{className:`${Ge}-outer`,style:Jn},i.createElement("div",{className:`${Ge}-inner`,style:Cn},i.createElement("div",{className:`${Ge}-bg`,style:kn}),zn!==void 0?i.createElement("div",{className:`${Ge}-success-bg`,style:dr}):null)),Jt)},ke=ee=>{const{size:Ge,steps:Je,percent:qe=0,strokeWidth:_=8,strokeColor:Ot,trailColor:tt=null,prefixCls:Re,children:Jt}=ee,cn=Math.round(Je*(qe/100)),sn=Ge==="small"?2:14,Ze=Ge!=null?Ge:[sn,_],[Rn,Cn]=we(Ze,"step",{steps:Je,strokeWidth:_}),Mt=Rn/Je,Hn=new Array(Je);for(let On=0;On{const Ge=ee?"100%":"-100%";return new _e.Keyframes(`antProgress${ee?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ge}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ge}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=ee=>{const{componentCls:Ge,iconCls:Je}=ee;return{[Ge]:Object.assign(Object.assign({},(0,ie.Wf)(ee)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ee.fontSize,marginInlineEnd:ee.marginXS,marginBottom:ee.marginXS},[`${Ge}-outer`]:{display:"inline-block",width:"100%"},[`&${Ge}-show-info`]:{[`${Ge}-outer`]:{marginInlineEnd:`calc(-2em - ${ee.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ee.paddingXS}px)`}},[`${Ge}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ee.remainingColor,borderRadius:ee.lineBorderRadius},[`${Ge}-inner:not(${Ge}-circle-gradient)`]:{[`${Ge}-circle-path`]:{stroke:ee.defaultColor}},[`${Ge}-success-bg, ${Ge}-bg`]:{position:"relative",backgroundColor:ee.defaultColor,borderRadius:ee.lineBorderRadius,transition:`all ${ee.motionDurationSlow} ${ee.motionEaseInOutCirc}`},[`${Ge}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ee.colorSuccess},[`${Ge}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ee.marginXS,color:ee.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Je]:{fontSize:ee.fontSize}},[`&${Ge}-status-active`]:{[`${Ge}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ee.colorBgContainer,borderRadius:ee.lineBorderRadius,opacity:0,animationName:st(),animationDuration:ee.progressActiveMotionDuration,animationTimingFunction:ee.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ge}-rtl${Ge}-status-active`]:{[`${Ge}-bg::before`]:{animationName:st(!0)}},[`&${Ge}-status-exception`]:{[`${Ge}-bg`]:{backgroundColor:ee.colorError},[`${Ge}-text`]:{color:ee.colorError}},[`&${Ge}-status-exception ${Ge}-inner:not(${Ge}-circle-gradient)`]:{[`${Ge}-circle-path`]:{stroke:ee.colorError}},[`&${Ge}-status-success`]:{[`${Ge}-bg`]:{backgroundColor:ee.colorSuccess},[`${Ge}-text`]:{color:ee.colorSuccess}},[`&${Ge}-status-success ${Ge}-inner:not(${Ge}-circle-gradient)`]:{[`${Ge}-circle-path`]:{stroke:ee.colorSuccess}}})}},H=ee=>{const{componentCls:Ge,iconCls:Je}=ee;return{[Ge]:{[`${Ge}-circle-trail`]:{stroke:ee.remainingColor},[`&${Ge}-circle ${Ge}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ge}-circle ${Ge}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ee.circleTextColor,fontSize:ee.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Je]:{fontSize:`${ee.fontSize/ee.fontSizeSM}em`}},[`${Ge}-circle&-status-exception`]:{[`${Ge}-text`]:{color:ee.colorError}},[`${Ge}-circle&-status-success`]:{[`${Ge}-text`]:{color:ee.colorSuccess}}},[`${Ge}-inline-circle`]:{lineHeight:1,[`${Ge}-inner`]:{verticalAlign:"bottom"}}}},Pe=ee=>{const{componentCls:Ge}=ee;return{[Ge]:{[`${Ge}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ee.progressStepMinWidth,marginInlineEnd:ee.progressStepMarginInlineEnd,backgroundColor:ee.remainingColor,transition:`all ${ee.motionDurationSlow}`,"&-active":{backgroundColor:ee.defaultColor}}}}}},he=ee=>{const{componentCls:Ge,iconCls:Je}=ee;return{[Ge]:{[`${Ge}-small&-line, ${Ge}-small&-line ${Ge}-text ${Je}`]:{fontSize:ee.fontSizeSM}}}};var Q=(0,N.Z)("Progress",ee=>{const Ge=ee.marginXXS/2,Je=(0,Te.TS)(ee,{progressStepMarginInlineEnd:Ge,progressStepMinWidth:Ge,progressActiveMotionDuration:"2.4s"});return[V(Je),H(Je),Pe(Je),he(Je)]},ee=>({circleTextColor:ee.colorText,defaultColor:ee.colorInfo,remainingColor:ee.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Le=function(ee,Ge){var Je={};for(var qe in ee)Object.prototype.hasOwnProperty.call(ee,qe)&&Ge.indexOf(qe)<0&&(Je[qe]=ee[qe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,qe=Object.getOwnPropertySymbols(ee);_{const{prefixCls:Je,className:qe,rootClassName:_,steps:Ot,strokeColor:tt,percent:Re=0,size:Jt="default",showInfo:cn=!0,type:sn="line",status:Ze,format:Rn,style:Cn}=ee,Mt=Le(ee,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Hn=i.useMemo(()=>{var Kr,Nr;const ir=O(ee);return parseInt(ir!==void 0?(Kr=ir!=null?ir:0)===null||Kr===void 0?void 0:Kr.toString():(Nr=Re!=null?Re:0)===null||Nr===void 0?void 0:Nr.toString(),10)},[Re,ee.success,ee.successPercent]),On=i.useMemo(()=>!at.includes(Ze)&&Hn>=100?"success":Ze||"normal",[Ze,Hn]),{getPrefixCls:kn,direction:zn,progress:dr}=i.useContext(U.E_),Jn=kn("progress",Je),[Cr,Hr]=Q(Jn),_n=i.useMemo(()=>{if(!cn)return null;const Kr=O(ee);let Nr;const ir=Rn||(Vn=>`${Vn}%`),Wn=sn==="line";return Rn||On!=="exception"&&On!=="success"?Nr=ir(wt(Re),wt(Kr)):On==="exception"?Nr=Wn?i.createElement(h.Z,null):i.createElement(C.Z,null):On==="success"&&(Nr=Wn?i.createElement(p.Z,null):i.createElement(g.Z,null)),i.createElement("span",{className:`${Jn}-text`,title:typeof Nr=="string"?Nr:void 0},Nr)},[cn,Re,Hn,On,sn,Jn,Rn]),ar=Array.isArray(tt)?tt[0]:tt,Gn=typeof tt=="string"||Array.isArray(tt)?tt:void 0;let Ar;sn==="line"?Ar=Ot?i.createElement(ke,Object.assign({},ee,{strokeColor:Gn,prefixCls:Jn,steps:Ot}),_n):i.createElement(Xt,Object.assign({},ee,{strokeColor:ar,prefixCls:Jn,direction:zn}),_n):(sn==="circle"||sn==="dashboard")&&(Ar=i.createElement(zt,Object.assign({},ee,{strokeColor:ar,prefixCls:Jn,progressStatus:On}),_n));const Yr=f()(Jn,`${Jn}-status-${On}`,`${Jn}-${sn==="dashboard"&&"circle"||Ot&&"steps"||sn}`,{[`${Jn}-inline-circle`]:sn==="circle"&&we(Jt,"circle")[0]<=20,[`${Jn}-show-info`]:cn,[`${Jn}-${Jt}`]:typeof Jt=="string",[`${Jn}-rtl`]:zn==="rtl"},dr==null?void 0:dr.className,qe,_,Hr);return Cr(i.createElement("div",Object.assign({ref:Ge,style:Object.assign(Object.assign({},dr==null?void 0:dr.style),Cn),className:Yr,role:"progressbar","aria-valuenow":Hn},(0,F.Z)(Mt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ar))}),mt=dt},13570:function(S,s,t){"use strict";t.d(s,{Z:function(){return wt}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(ze,nt){return p.createElement(C.Z,(0,i.Z)({},ze,{ref:nt,icon:h}))},f=p.forwardRef(y),F=f,U=t(92310),te=t.n(U),ne=t(20068),pe=t(42978),Ee=t(75931),se=t(18929),Se=t(10228),be=t(26112);function Ce(O,ze){var nt=O.disabled,we=O.prefixCls,ct=O.character,Xe=O.characterRender,tn=O.index,zt=O.count,un=O.value,dn=O.allowHalf,At=O.focused,xt=O.onHover,Xt=O.onClick,jt=function(H){xt(H,tn)},ke=function(H){Xt(H,tn)},_e=function(H){H.keyCode===Se.Z.ENTER&&Xt(H,tn)},ie=tn+1,N=new Set([we]);un===0&&tn===0&&At?N.add("".concat(we,"-focused")):dn&&un+.5>=ie&&untn?"true":"false","aria-posinset":tn+1,"aria-setsize":zt,tabIndex:nt?-1:0},p.createElement("div",{className:"".concat(we,"-first")},Te),p.createElement("div",{className:"".concat(we,"-second")},Te)));return Xe&&(st=Xe(st,O)),st}var j=p.forwardRef(Ce);function G(){var O=p.useRef({});function ze(we){return O.current[we]}function nt(we){return function(ct){O.current[we]=ct}}return[ze,nt]}function Z(O){var ze=O.pageXOffset,nt="scrollLeft";if(typeof ze!="number"){var we=O.document;ze=we.documentElement[nt],typeof ze!="number"&&(ze=we.body[nt])}return ze}function B(O){var ze,nt,we=O.ownerDocument,ct=we.body,Xe=we&&we.documentElement,tn=O.getBoundingClientRect();return ze=tn.left,nt=tn.top,ze-=Xe.clientLeft||ct.clientLeft||0,nt-=Xe.clientTop||ct.clientTop||0,{left:ze,top:nt}}function Y(O){var ze=B(O),nt=O.ownerDocument,we=nt.defaultView||nt.parentWindow;return ze.left+=Z(we),ze.left}var W=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function le(O,ze){var nt,we=O.prefixCls,ct=we===void 0?"rc-rate":we,Xe=O.className,tn=O.defaultValue,zt=O.value,un=O.count,dn=un===void 0?5:un,At=O.allowHalf,xt=At===void 0?!1:At,Xt=O.allowClear,jt=Xt===void 0?!0:Xt,ke=O.character,_e=ke===void 0?"\u2605":ke,ie=O.characterRender,N=O.disabled,Te=O.direction,st=Te===void 0?"ltr":Te,V=O.tabIndex,H=V===void 0?0:V,Pe=O.autoFocus,he=O.onHoverChange,Q=O.onChange,Le=O.onFocus,ht=O.onBlur,at=O.onKeyDown,Et=O.onMouseLeave,dt=(0,Ee.Z)(O,W),mt=G(),ee=(0,pe.Z)(mt,2),Ge=ee[0],Je=ee[1],qe=p.useRef(null),_=function(){if(!N){var Vn;(Vn=qe.current)===null||Vn===void 0||Vn.focus()}};p.useImperativeHandle(ze,function(){return{focus:_,blur:function(){if(!N){var Vn;(Vn=qe.current)===null||Vn===void 0||Vn.blur()}}}});var Ot=(0,se.Z)(tn||0,{value:zt}),tt=(0,pe.Z)(Ot,2),Re=tt[0],Jt=tt[1],cn=(0,se.Z)(null),sn=(0,pe.Z)(cn,2),Ze=sn[0],Rn=sn[1],Cn=function(Vn,sa){var hr=st==="rtl",It=Vn+1;if(xt){var ut=Ge(Vn),Qt=Y(ut),qt=ut.clientWidth;(hr&&sa-Qt>qt/2||!hr&&sa-Qt0&&!hr||sa===Se.Z.RIGHT&&It>0&&hr?(xt?It-=.5:It-=1,Mt(It),Vn.preventDefault()):sa===Se.Z.LEFT&&It{const{componentCls:ze}=O;return{[`${ze}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:O.marginXS},"> div":{transition:`all ${O.motionDurationMid}, outline 0s`,"&:hover":{transform:O.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${O.lineWidth}px dashed ${O.starColor}`,transform:O.starHoverScale}},"&-first, &-second":{color:O.starBg,transition:`all ${O.motionDurationMid}`,userSelect:"none",[O.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ze}-star-first, &-half ${ze}-star-second`]:{opacity:1},[`&-half ${ze}-star-first, &-full ${ze}-star-second`]:{color:"inherit"}}}},$e=O=>({[`&-rtl${O.componentCls}`]:{direction:"rtl"}}),it=O=>{const{componentCls:ze}=O;return{[ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,D.Wf)(O)),{display:"inline-block",margin:0,padding:0,color:O.starColor,fontSize:O.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${ze} ${ze}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Lt(O)),{[`+ ${ze}-text`]:{display:"inline-block",marginInlineStart:O.marginXS,fontSize:O.fontSize}}),$e(O))}};var ot=(0,He.Z)("Rate",O=>{const ze=(0,rt.TS)(O,{});return[it(ze)]},O=>({starColor:O.yellow6,starSize:O.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:O.colorFillContent})),_t=function(O,ze){var nt={};for(var we in O)Object.prototype.hasOwnProperty.call(O,we)&&ze.indexOf(we)<0&&(nt[we]=O[we]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,we=Object.getOwnPropertySymbols(O);ct{const{prefixCls:nt,className:we,rootClassName:ct,style:Xe,tooltips:tn,character:zt=p.createElement(F,null)}=O,un=_t(O,["prefixCls","className","rootClassName","style","tooltips","character"]),dn=(N,Te)=>{let{index:st}=Te;return tn?p.createElement(fe.Z,{title:tn[st]},N):N},{getPrefixCls:At,direction:xt,rate:Xt}=p.useContext(ye.E_),jt=At("rate",nt),[ke,_e]=ot(jt),ie=Object.assign(Object.assign({},Xt==null?void 0:Xt.style),Xe);return ke(p.createElement(X,Object.assign({ref:ze,character:zt,characterRender:dn},un,{className:te()(we,ct,_e,Xt==null?void 0:Xt.className),style:ie,prefixCls:jt,direction:xt})))})},61621:function(S,s,t){"use strict";t.d(s,{Z:function(){return _e}});var i=t(92310),p=t.n(i),g=t(59301),h=t(36355),C=t(2738),f=ie=>{const{prefixCls:N,className:Te,style:st,size:V,shape:H}=ie,Pe=p()({[`${N}-lg`]:V==="large",[`${N}-sm`]:V==="small"}),he=p()({[`${N}-circle`]:H==="circle",[`${N}-square`]:H==="square",[`${N}-round`]:H==="round"}),Q=g.useMemo(()=>typeof V=="number"?{width:V,height:V,lineHeight:`${V}px`}:{},[V]);return g.createElement("span",{className:p()(N,Pe,he,Te),style:Object.assign(Object.assign({},Q),st)})},F=t(36237),U=t(83116),te=t(37613);const ne=new F.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),pe=ie=>({height:ie,lineHeight:`${ie}px`}),Ee=ie=>Object.assign({width:ie},pe(ie)),se=ie=>({background:ie.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ne,animationDuration:ie.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Se=ie=>Object.assign({width:ie*5,minWidth:ie*5},pe(ie)),be=ie=>{const{skeletonAvatarCls:N,gradientFromColor:Te,controlHeight:st,controlHeightLG:V,controlHeightSM:H}=ie;return{[`${N}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Te},Ee(st)),[`${N}${N}-circle`]:{borderRadius:"50%"},[`${N}${N}-lg`]:Object.assign({},Ee(V)),[`${N}${N}-sm`]:Object.assign({},Ee(H))}},Ce=ie=>{const{controlHeight:N,borderRadiusSM:Te,skeletonInputCls:st,controlHeightLG:V,controlHeightSM:H,gradientFromColor:Pe}=ie;return{[`${st}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pe,borderRadius:Te},Se(N)),[`${st}-lg`]:Object.assign({},Se(V)),[`${st}-sm`]:Object.assign({},Se(H))}},j=ie=>Object.assign({width:ie},pe(ie)),G=ie=>{const{skeletonImageCls:N,imageSizeBase:Te,gradientFromColor:st,borderRadiusSM:V}=ie;return{[`${N}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:st,borderRadius:V},j(Te*2)),{[`${N}-path`]:{fill:"#bfbfbf"},[`${N}-svg`]:Object.assign(Object.assign({},j(Te)),{maxWidth:Te*4,maxHeight:Te*4}),[`${N}-svg${N}-svg-circle`]:{borderRadius:"50%"}}),[`${N}${N}-circle`]:{borderRadius:"50%"}}},Z=(ie,N,Te)=>{const{skeletonButtonCls:st}=ie;return{[`${Te}${st}-circle`]:{width:N,minWidth:N,borderRadius:"50%"},[`${Te}${st}-round`]:{borderRadius:N}}},B=ie=>Object.assign({width:ie*2,minWidth:ie*2},pe(ie)),Y=ie=>{const{borderRadiusSM:N,skeletonButtonCls:Te,controlHeight:st,controlHeightLG:V,controlHeightSM:H,gradientFromColor:Pe}=ie;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pe,borderRadius:N,width:st*2,minWidth:st*2},B(st))},Z(ie,st,Te)),{[`${Te}-lg`]:Object.assign({},B(V))}),Z(ie,V,`${Te}-lg`)),{[`${Te}-sm`]:Object.assign({},B(H))}),Z(ie,H,`${Te}-sm`))},W=ie=>{const{componentCls:N,skeletonAvatarCls:Te,skeletonTitleCls:st,skeletonParagraphCls:V,skeletonButtonCls:H,skeletonInputCls:Pe,skeletonImageCls:he,controlHeight:Q,controlHeightLG:Le,controlHeightSM:ht,gradientFromColor:at,padding:Et,marginSM:dt,borderRadius:mt,titleHeight:ee,blockRadius:Ge,paragraphLiHeight:Je,controlHeightXS:qe,paragraphMarginTop:_}=ie;return{[`${N}`]:{display:"table",width:"100%",[`${N}-header`]:{display:"table-cell",paddingInlineEnd:Et,verticalAlign:"top",[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at},Ee(Q)),[`${Te}-circle`]:{borderRadius:"50%"},[`${Te}-lg`]:Object.assign({},Ee(Le)),[`${Te}-sm`]:Object.assign({},Ee(ht))},[`${N}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${st}`]:{width:"100%",height:ee,background:at,borderRadius:Ge,[`+ ${V}`]:{marginBlockStart:ht}},[`${V}`]:{padding:0,"> li":{width:"100%",height:Je,listStyle:"none",background:at,borderRadius:Ge,"+ li":{marginBlockStart:qe}}},[`${V}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${N}-content`]:{[`${st}, ${V} > li`]:{borderRadius:mt}}},[`${N}-with-avatar ${N}-content`]:{[`${st}`]:{marginBlockStart:dt,[`+ ${V}`]:{marginBlockStart:_}}},[`${N}${N}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Y(ie)),be(ie)),Ce(ie)),G(ie)),[`${N}${N}-block`]:{width:"100%",[`${H}`]:{width:"100%"},[`${Pe}`]:{width:"100%"}},[`${N}${N}-active`]:{[` + `]:{display:"inline-block",minWidth:V.itemSize,height:V.itemSize,color:V.colorText,fontFamily:V.fontFamily,lineHeight:`${V.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:V.borderRadius,cursor:"pointer",transition:`all ${V.motionDurationMid}`},[`${H}-prev, ${H}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:V.colorText,cursor:"pointer",userSelect:"none"},[`${H}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:V.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${V.lineWidth}px ${V.lineType} transparent`,borderRadius:V.borderRadius,outline:"none",transition:`all ${V.motionDurationMid}`},[`&:hover ${H}-item-link`]:{backgroundColor:V.colorBgTextHover},[`&:active ${H}-item-link`]:{backgroundColor:V.colorBgTextActive},[`&${H}-disabled:hover`]:{[`${H}-item-link`]:{backgroundColor:"transparent"}}},[`${H}-slash`]:{marginInlineEnd:V.paginationSlashMarginInlineEnd,marginInlineStart:V.paginationSlashMarginInlineStart},[`${H}-options`]:{display:"inline-block",marginInlineStart:V.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:V.controlHeight,marginInlineStart:V.marginXS,lineHeight:`${V.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ne.ik)(V)),{width:V.controlHeightLG*1.25,height:V.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:V.marginXS,marginInlineEnd:V.marginXS})}}}},xt=V=>{const{componentCls:H}=V;return{[`${H}-item`]:{display:"inline-block",minWidth:V.itemSize,height:V.itemSize,marginInlineEnd:V.marginXS,fontFamily:V.fontFamily,lineHeight:`${V.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${V.lineWidth}px ${V.lineType} transparent`,borderRadius:V.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${V.paginationItemPaddingInline}px`,color:V.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${H}-item-active)`]:{"&:hover":{transition:`all ${V.motionDurationMid}`,backgroundColor:V.colorBgTextHover},"&:active":{backgroundColor:V.colorBgTextActive}},"&-active":{fontWeight:V.fontWeightStrong,backgroundColor:V.itemActiveBg,borderColor:V.colorPrimary,a:{color:V.colorPrimary},"&:hover":{borderColor:V.colorPrimaryHover},"&:hover a":{color:V.colorPrimaryHover}}}}},Xt=V=>{const{componentCls:H}=V;return{[H]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ct.Wf)(V)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${H}-total-text`]:{display:"inline-block",height:V.itemSize,marginInlineEnd:V.marginXS,lineHeight:`${V.itemSize-2}px`,verticalAlign:"middle"}}),xt(V)),At(V)),dn(V)),un(V)),zt(V)),{[`@media only screen and (max-width: ${V.screenLG}px)`]:{[`${H}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${V.screenSM}px)`]:{[`${H}-options`]:{display:"none"}}}),[`&${V.componentCls}-rtl`]:{direction:"rtl"}}},jt=V=>{const{componentCls:H}=V;return{[`${H}${H}-disabled:not(${H}-mini)`]:{"&, &:hover":{[`${H}-item-link`]:{borderColor:V.colorBorder}},"&:focus-visible":{[`${H}-item-link`]:{borderColor:V.colorBorder}},[`${H}-item, ${H}-item-link`]:{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder,[`&:hover:not(${H}-item-active)`]:{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder,a:{color:V.colorTextDisabled}},[`&${H}-item-active`]:{backgroundColor:V.itemActiveBgDisabled}},[`${H}-prev, ${H}-next`]:{"&:hover button":{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder,color:V.colorTextDisabled},[`${H}-item-link`]:{backgroundColor:V.colorBgContainerDisabled,borderColor:V.colorBorder}}},[`${H}:not(${H}-mini)`]:{[`${H}-prev, ${H}-next`]:{"&:hover button":{borderColor:V.colorPrimaryHover,backgroundColor:V.itemBg},[`${H}-item-link`]:{backgroundColor:V.itemLinkBg,borderColor:V.colorBorder},[`&:hover ${H}-item-link`]:{borderColor:V.colorPrimary,backgroundColor:V.itemBg,color:V.colorPrimary},[`&${H}-disabled`]:{[`${H}-item-link`]:{borderColor:V.colorBorder,color:V.colorTextDisabled}}},[`${H}-item`]:{backgroundColor:V.itemBg,border:`${V.lineWidth}px ${V.lineType} ${V.colorBorder}`,[`&:hover:not(${H}-item-active)`]:{borderColor:V.colorPrimary,backgroundColor:V.itemBg,a:{color:V.colorPrimary}},"&-active":{borderColor:V.colorPrimary}}}}},ke=V=>{const{componentCls:H}=V;return{[`${H}:not(${H}-disabled)`]:{[`${H}-item`]:Object.assign({},(0,ct.Qy)(V)),[`${H}-jump-prev, ${H}-jump-next`]:{"&:focus-visible":Object.assign({[`${H}-item-link-icon`]:{opacity:1},[`${H}-item-ellipsis`]:{opacity:0}},(0,ct.oN)(V))},[`${H}-prev, ${H}-next`]:{[`&:focus-visible ${H}-item-link`]:Object.assign({},(0,ct.oN)(V))}}}};var _e=(0,Xe.Z)("Pagination",V=>{const H=(0,tn.TS)(V,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:V.marginXXS/2,paginationMiniQuickJumperInputWidth:V.controlHeightLG*1.1,paginationItemPaddingInline:V.marginXXS*1.5,paginationEllipsisLetterSpacing:V.marginXXS/2,paginationSlashMarginInlineStart:V.marginXXS,paginationSlashMarginInlineEnd:V.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ne.e5)(V),(0,Ne.TM)(V));return[Xt(H),ke(H),V.wireframe&&jt(H)]},V=>({itemBg:V.colorBgContainer,itemSize:V.controlHeight,itemSizeSM:V.controlHeightSM,itemActiveBg:V.colorBgContainer,itemLinkBg:V.colorBgContainer,itemActiveColorDisabled:V.colorTextDisabled,itemActiveBgDisabled:V.controlItemBgActiveDisabled,itemInputBg:V.colorBgContainer,miniOptionsSizeChangerTop:0})),ie=function(V,H){var Pe={};for(var he in V)Object.prototype.hasOwnProperty.call(V,he)&&H.indexOf(he)<0&&(Pe[he]=V[he]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,he=Object.getOwnPropertySymbols(V);Q{const{prefixCls:H,selectPrefixCls:Pe,className:he,rootClassName:Q,style:Le,size:ht,locale:at,selectComponentClass:Et,responsive:dt,showSizeChanger:mt}=V,ee=ie(V,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ge}=(0,Kt.Z)(dt),{getPrefixCls:Je,direction:qe,pagination:_={}}=p.useContext(ot.E_),Ot=Je("pagination",H),[tt,Re]=_e(Ot),Jt=mt!=null?mt:_.showSizeChanger,cn=p.useMemo(()=>{const kn=p.createElement("span",{className:`${Ot}-item-ellipsis`},"\u2022\u2022\u2022"),zn=p.createElement("button",{className:`${Ot}-item-link`,type:"button",tabIndex:-1},qe==="rtl"?p.createElement(ne.Z,null):p.createElement(te.Z,null)),dr=p.createElement("button",{className:`${Ot}-item-link`,type:"button",tabIndex:-1},qe==="rtl"?p.createElement(te.Z,null):p.createElement(ne.Z,null)),Jn=p.createElement("a",{className:`${Ot}-item-link`},p.createElement("div",{className:`${Ot}-item-container`},qe==="rtl"?p.createElement(U.Z,{className:`${Ot}-item-link-icon`}):p.createElement(F,{className:`${Ot}-item-link-icon`}),kn)),Cr=p.createElement("a",{className:`${Ot}-item-link`},p.createElement("div",{className:`${Ot}-item-container`},qe==="rtl"?p.createElement(F,{className:`${Ot}-item-link-icon`}):p.createElement(U.Z,{className:`${Ot}-item-link-icon`}),kn));return{prevIcon:zn,nextIcon:dr,jumpPrevIcon:Jn,jumpNextIcon:Cr}},[qe,Ot]),[sn]=(0,wt.Z)("Pagination",it.Z),Ze=Object.assign(Object.assign({},sn),at),Rn=(0,_t.Z)(ht),Cn=Rn==="small"||!!(Ge&&!Rn&&dt),Mt=Je("select",Pe),Hn=Ee()({[`${Ot}-mini`]:Cn,[`${Ot}-rtl`]:qe==="rtl"},_==null?void 0:_.className,he,Q,Re),On=Object.assign(Object.assign({},_==null?void 0:_.style),Le);return tt(p.createElement($e,Object.assign({},cn,ee,{style:On,prefixCls:Ot,selectPrefixCls:Mt,className:Hn,selectComponentClass:Et||(Cn?ze:nt),locale:Ze,showSizeChanger:Jt})))},st=Te},93948:function(S,s,t){"use strict";t.d(s,{Z:function(){return mt}});var i=t(59301),p=t(29679),g=t(40001),h=t(19248),C=t(99267),y=t(92310),f=t.n(y),F=t(2738),U=t(36355),te=t(54476),ne=t(33885),pe=t(75931),Ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var Ge=(0,i.useRef)([]),Je=(0,i.useRef)(null);return(0,i.useEffect)(function(){var qe=Date.now(),_=!1;Ge.current.forEach(function(Ot){if(Ot){_=!0;var tt=Ot.style;tt.transitionDuration=".3s, .3s, .3s, .06s",Je.current&&qe-Je.current<100&&(tt.transitionDuration="0s, 0s")}}),_&&(Je.current=Date.now())}),Ge.current},Se=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],be=function(Ge){var Je=(0,ne.Z)((0,ne.Z)({},Ee),Ge),qe=Je.className,_=Je.percent,Ot=Je.prefixCls,tt=Je.strokeColor,Re=Je.strokeLinecap,Jt=Je.strokeWidth,cn=Je.style,sn=Je.trailColor,Ze=Je.trailWidth,Rn=Je.transition,Cn=(0,pe.Z)(Je,Se);delete Cn.gapPosition;var Mt=Array.isArray(_)?_:[_],Hn=Array.isArray(tt)?tt:[tt],On=se(),kn=Jt/2,zn=100-Jt/2,dr="M ".concat(Re==="round"?kn:0,",").concat(kn,` + L `).concat(Re==="round"?zn:100,",").concat(kn),Jn="0 0 100 ".concat(Jt),Cr=0;return i.createElement("svg",(0,te.Z)({className:f()("".concat(Ot,"-line"),qe),viewBox:Jn,preserveAspectRatio:"none",style:cn},Cn),i.createElement("path",{className:"".concat(Ot,"-line-trail"),d:dr,strokeLinecap:Re,stroke:sn,strokeWidth:Ze||Jt,fillOpacity:"0"}),Mt.map(function(Hr,_n){var ar=1;switch(Re){case"round":ar=1-Jt/100;break;case"square":ar=1-Jt/2/100;break;default:ar=1;break}var Gn={strokeDasharray:"".concat(Hr*ar,"px, 100px"),strokeDashoffset:"-".concat(Cr,"px"),transition:Rn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ar=Hn[_n]||Hn[Hn.length-1];return Cr+=Hr,i.createElement("path",{key:_n,className:"".concat(Ot,"-line-path"),d:dr,strokeLinecap:Re,stroke:Ar,strokeWidth:Jt,fillOpacity:"0",ref:function(Kr){On[_n]=Kr},style:Gn})}))},Ce=be,j=t(76190),G=t(42978),Z=t(47273),B=0,Y=(0,Z.Z)();function W(){var ee;return Y?(ee=B,B+=1):ee="TEST_OR_SSR",ee}var le=function(ee){var Ge=i.useState(),Je=(0,G.Z)(Ge,2),qe=Je[0],_=Je[1];return i.useEffect(function(){_("rc_progress_".concat(W()))},[]),ee||qe},J=function(Ge){var Je=Ge.bg,qe=Ge.children;return i.createElement("div",{style:{width:"100%",height:"100%",background:Je}},qe)};function X(ee,Ge){return Object.keys(ee).map(function(Je){var qe=parseFloat(Je),_="".concat(Math.floor(qe*Ge),"%");return"".concat(ee[Je]," ").concat(_)})}var ye=i.forwardRef(function(ee,Ge){var Je=ee.prefixCls,qe=ee.color,_=ee.gradientId,Ot=ee.radius,tt=ee.style,Re=ee.ptg,Jt=ee.strokeLinecap,cn=ee.strokeWidth,sn=ee.size,Ze=ee.gapDegree,Rn=qe&&(0,j.Z)(qe)==="object",Cn=Rn?"#FFF":void 0,Mt=sn/2,Hn=i.createElement("circle",{className:"".concat(Je,"-circle-path"),r:Ot,cx:Mt,cy:Mt,stroke:Cn,strokeLinecap:Jt,strokeWidth:cn,opacity:Re===0?0:1,style:tt,ref:Ge});if(!Rn)return Hn;var On="".concat(_,"-conic"),kn=Ze?"".concat(180+Ze/2,"deg"):"0deg",zn=X(qe,(360-Ze)/360),dr=X(qe,1),Jn="conic-gradient(from ".concat(kn,", ").concat(zn.join(", "),")"),Cr="linear-gradient(to ".concat(Ze?"bottom":"top",", ").concat(dr.join(", "),")");return i.createElement(i.Fragment,null,i.createElement("mask",{id:On},Hn),i.createElement("foreignObject",{x:0,y:0,width:sn,height:sn,mask:"url(#".concat(On,")")},i.createElement(J,{bg:Cr},i.createElement(J,{bg:Jn}))))}),fe=ye,D=100,He=function(Ge,Je,qe,_,Ot,tt,Re,Jt,cn,sn){var Ze=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Rn=qe/100*360*((360-tt)/360),Cn=tt===0?0:{bottom:0,top:180,left:90,right:-90}[Re],Mt=(100-_)/100*Je;cn==="round"&&_!==100&&(Mt+=sn/2,Mt>=Je&&(Mt=Je-.01));var Hn=D/2;return{stroke:typeof Jt=="string"?Jt:void 0,strokeDasharray:"".concat(Je,"px ").concat(Ge),strokeDashoffset:Mt+Ze,transform:"rotate(".concat(Ot+Rn+Cn,"deg)"),transformOrigin:"".concat(Hn,"px ").concat(Hn,"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}},rt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Lt(ee){var Ge=ee!=null?ee:[];return Array.isArray(Ge)?Ge:[Ge]}var $e=function(Ge){var Je=(0,ne.Z)((0,ne.Z)({},Ee),Ge),qe=Je.id,_=Je.prefixCls,Ot=Je.steps,tt=Je.strokeWidth,Re=Je.trailWidth,Jt=Je.gapDegree,cn=Jt===void 0?0:Jt,sn=Je.gapPosition,Ze=Je.trailColor,Rn=Je.strokeLinecap,Cn=Je.style,Mt=Je.className,Hn=Je.strokeColor,On=Je.percent,kn=(0,pe.Z)(Je,rt),zn=D/2,dr=le(qe),Jn="".concat(dr,"-gradient"),Cr=zn-tt/2,Hr=Math.PI*2*Cr,_n=cn>0?90+cn/2:-90,ar=Hr*((360-cn)/360),Gn=(0,j.Z)(Ot)==="object"?Ot:{count:Ot,space:2},Ar=Gn.count,Yr=Gn.space,Kr=Lt(On),Nr=Lt(Hn),ir=Nr.find(function(Qt){return Qt&&(0,j.Z)(Qt)==="object"}),Wn=ir&&(0,j.Z)(ir)==="object",Vn=Wn?"butt":Rn,sa=He(Hr,ar,0,100,_n,cn,sn,Ze,Vn,tt),hr=se(),It=function(){var qt=0;return Kr.map(function(Tt,mn){var gt=Nr[mn]||Nr[Nr.length-1],hn=He(Hr,ar,qt,Tt,_n,cn,sn,gt,Vn,tt);return qt+=Tt,i.createElement(fe,{key:mn,color:gt,ptg:Tt,radius:Cr,prefixCls:_,gradientId:Jn,style:hn,strokeLinecap:Vn,strokeWidth:tt,gapDegree:cn,ref:function(oe){hr[mn]=oe},size:D})}).reverse()},ut=function(){var qt=Math.round(Ar*(Kr[0]/100)),Tt=100/Ar,mn=0;return new Array(Ar).fill(null).map(function(gt,hn){var Oe=hn<=qt-1?Nr[0]:Ze,oe=Oe&&(0,j.Z)(Oe)==="object"?"url(#".concat(Jn,")"):void 0,c=He(Hr,ar,mn,Tt,_n,cn,sn,Oe,"butt",tt,Yr);return mn+=(ar-c.strokeDashoffset+Yr)*100/ar,i.createElement("circle",{key:hn,className:"".concat(_,"-circle-path"),r:Cr,cx:zn,cy:zn,stroke:oe,strokeWidth:tt,opacity:1,style:c,ref:function(Dt){hr[hn]=Dt}})})};return i.createElement("svg",(0,te.Z)({className:f()("".concat(_,"-circle"),Mt),viewBox:"0 0 ".concat(D," ").concat(D),style:Cn,id:qe,role:"presentation"},kn),!Ar&&i.createElement("circle",{className:"".concat(_,"-circle-trail"),r:Cr,cx:zn,cy:zn,stroke:Ze,strokeLinecap:Vn,strokeWidth:Re||tt,style:sa}),Ar?ut():It())},it=$e,ot={Line:Ce,Circle:it},_t=t(6848),Kt=t(30071);function wt(ee){return!ee||ee<0?0:ee>100?100:ee}function O(ee){let{success:Ge,successPercent:Je}=ee,qe=Je;return Ge&&"progress"in Ge&&(qe=Ge.progress),Ge&&"percent"in Ge&&(qe=Ge.percent),qe}const ze=ee=>{let{percent:Ge,success:Je,successPercent:qe}=ee;const _=wt(O({success:Je,successPercent:qe}));return[_,wt(wt(Ge)-_)]},nt=ee=>{let{success:Ge={},strokeColor:Je}=ee;const{strokeColor:qe}=Ge;return[qe||Kt.presetPrimaryColors.green,Je||null]},Ne=(ee,Ge,Je)=>{var qe,_,Ot,tt;let Re=-1,Jt=-1;if(Ge==="step"){const cn=Je.steps,sn=Je.strokeWidth;typeof ee=="string"||typeof ee=="undefined"?(Re=ee==="small"?2:14,Jt=sn!=null?sn:8):typeof ee=="number"?[Re,Jt]=[ee,ee]:[Re=14,Jt=8]=ee,Re*=cn}else if(Ge==="line"){const cn=Je==null?void 0:Je.strokeWidth;typeof ee=="string"||typeof ee=="undefined"?Jt=cn||(ee==="small"?6:8):typeof ee=="number"?[Re,Jt]=[ee,ee]:[Re=-1,Jt=8]=ee}else(Ge==="circle"||Ge==="dashboard")&&(typeof ee=="string"||typeof ee=="undefined"?[Re,Jt]=ee==="small"?[60,60]:[120,120]:typeof ee=="number"?[Re,Jt]=[ee,ee]:(Re=(_=(qe=ee[0])!==null&&qe!==void 0?qe:ee[1])!==null&&_!==void 0?_:120,Jt=(tt=(Ot=ee[0])!==null&&Ot!==void 0?Ot:ee[1])!==null&&tt!==void 0?tt:120));return[Re,Jt]},ct=3,Xe=ee=>ct/ee*100;var zt=ee=>{const{prefixCls:Ge,trailColor:Je=null,strokeLinecap:qe="round",gapPosition:_,gapDegree:Ot,width:tt=120,type:Re,children:Jt,success:cn,size:sn=tt}=ee,[Ze,Rn]=Ne(sn,"circle");let{strokeWidth:Cn}=ee;Cn===void 0&&(Cn=Math.max(Xe(Ze),6));const Mt={width:Ze,height:Rn,fontSize:Ze*.15+6},Hn=i.useMemo(()=>{if(Ot||Ot===0)return Ot;if(Re==="dashboard")return 75},[Ot,Re]),On=_||Re==="dashboard"&&"bottom"||void 0,kn=Object.prototype.toString.call(ee.strokeColor)==="[object Object]",zn=nt({success:cn,strokeColor:ee.strokeColor}),dr=f()(`${Ge}-inner`,{[`${Ge}-circle-gradient`]:kn}),Jn=i.createElement(it,{percent:ze(ee),strokeWidth:Cn,trailWidth:Cn,strokeColor:zn,strokeLinecap:qe,trailColor:Je,prefixCls:Ge,gapDegree:Hn,gapPosition:On});return i.createElement("div",{className:dr,style:Mt},Ze<=20?i.createElement(_t.Z,{title:Jt},i.createElement("span",null,Jn)):i.createElement(i.Fragment,null,Jn,Jt))},un=function(ee,Ge){var Je={};for(var qe in ee)Object.prototype.hasOwnProperty.call(ee,qe)&&Ge.indexOf(qe)<0&&(Je[qe]=ee[qe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,qe=Object.getOwnPropertySymbols(ee);_{let Ge=[];return Object.keys(ee).forEach(Je=>{const qe=parseFloat(Je.replace(/%/g,""));isNaN(qe)||Ge.push({key:qe,value:ee[Je]})}),Ge=Ge.sort((Je,qe)=>Je.key-qe.key),Ge.map(Je=>{let{key:qe,value:_}=Je;return`${_} ${qe}%`}).join(", ")},At=(ee,Ge)=>{const{from:Je=Kt.presetPrimaryColors.blue,to:qe=Kt.presetPrimaryColors.blue,direction:_=Ge==="rtl"?"to left":"to right"}=ee,Ot=un(ee,["from","to","direction"]);if(Object.keys(Ot).length!==0){const tt=dn(Ot);return{backgroundImage:`linear-gradient(${_}, ${tt})`}}return{backgroundImage:`linear-gradient(${_}, ${Je}, ${qe})`}};var Xt=ee=>{const{prefixCls:Ge,direction:Je,percent:qe,size:_,strokeWidth:Ot,strokeColor:tt,strokeLinecap:Re="round",children:Jt,trailColor:cn=null,success:sn}=ee,Ze=tt&&typeof tt!="string"?At(tt,Je):{backgroundColor:tt},Rn=Re==="square"||Re==="butt"?0:void 0,Cn={backgroundColor:cn||void 0,borderRadius:Rn},Mt=_!=null?_:[-1,Ot||(_==="small"?6:8)],[Hn,On]=Ne(Mt,"line",{strokeWidth:Ot}),kn=Object.assign({width:`${wt(qe)}%`,height:On,borderRadius:Rn},Ze),zn=O(ee),dr={width:`${wt(zn)}%`,height:On,borderRadius:Rn,backgroundColor:sn==null?void 0:sn.strokeColor},Jn={width:Hn<0?"100%":Hn,height:On};return i.createElement(i.Fragment,null,i.createElement("div",{className:`${Ge}-outer`,style:Jn},i.createElement("div",{className:`${Ge}-inner`,style:Cn},i.createElement("div",{className:`${Ge}-bg`,style:kn}),zn!==void 0?i.createElement("div",{className:`${Ge}-success-bg`,style:dr}):null)),Jt)},ke=ee=>{const{size:Ge,steps:Je,percent:qe=0,strokeWidth:_=8,strokeColor:Ot,trailColor:tt=null,prefixCls:Re,children:Jt}=ee,cn=Math.round(Je*(qe/100)),sn=Ge==="small"?2:14,Ze=Ge!=null?Ge:[sn,_],[Rn,Cn]=Ne(Ze,"step",{steps:Je,strokeWidth:_}),Mt=Rn/Je,Hn=new Array(Je);for(let On=0;On{const Ge=ee?"100%":"-100%";return new _e.Keyframes(`antProgress${ee?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ge}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ge}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=ee=>{const{componentCls:Ge,iconCls:Je}=ee;return{[Ge]:Object.assign(Object.assign({},(0,ie.Wf)(ee)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ee.fontSize,marginInlineEnd:ee.marginXS,marginBottom:ee.marginXS},[`${Ge}-outer`]:{display:"inline-block",width:"100%"},[`&${Ge}-show-info`]:{[`${Ge}-outer`]:{marginInlineEnd:`calc(-2em - ${ee.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ee.paddingXS}px)`}},[`${Ge}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ee.remainingColor,borderRadius:ee.lineBorderRadius},[`${Ge}-inner:not(${Ge}-circle-gradient)`]:{[`${Ge}-circle-path`]:{stroke:ee.defaultColor}},[`${Ge}-success-bg, ${Ge}-bg`]:{position:"relative",backgroundColor:ee.defaultColor,borderRadius:ee.lineBorderRadius,transition:`all ${ee.motionDurationSlow} ${ee.motionEaseInOutCirc}`},[`${Ge}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ee.colorSuccess},[`${Ge}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ee.marginXS,color:ee.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Je]:{fontSize:ee.fontSize}},[`&${Ge}-status-active`]:{[`${Ge}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ee.colorBgContainer,borderRadius:ee.lineBorderRadius,opacity:0,animationName:st(),animationDuration:ee.progressActiveMotionDuration,animationTimingFunction:ee.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ge}-rtl${Ge}-status-active`]:{[`${Ge}-bg::before`]:{animationName:st(!0)}},[`&${Ge}-status-exception`]:{[`${Ge}-bg`]:{backgroundColor:ee.colorError},[`${Ge}-text`]:{color:ee.colorError}},[`&${Ge}-status-exception ${Ge}-inner:not(${Ge}-circle-gradient)`]:{[`${Ge}-circle-path`]:{stroke:ee.colorError}},[`&${Ge}-status-success`]:{[`${Ge}-bg`]:{backgroundColor:ee.colorSuccess},[`${Ge}-text`]:{color:ee.colorSuccess}},[`&${Ge}-status-success ${Ge}-inner:not(${Ge}-circle-gradient)`]:{[`${Ge}-circle-path`]:{stroke:ee.colorSuccess}}})}},H=ee=>{const{componentCls:Ge,iconCls:Je}=ee;return{[Ge]:{[`${Ge}-circle-trail`]:{stroke:ee.remainingColor},[`&${Ge}-circle ${Ge}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ge}-circle ${Ge}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ee.circleTextColor,fontSize:ee.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Je]:{fontSize:`${ee.fontSize/ee.fontSizeSM}em`}},[`${Ge}-circle&-status-exception`]:{[`${Ge}-text`]:{color:ee.colorError}},[`${Ge}-circle&-status-success`]:{[`${Ge}-text`]:{color:ee.colorSuccess}}},[`${Ge}-inline-circle`]:{lineHeight:1,[`${Ge}-inner`]:{verticalAlign:"bottom"}}}},Pe=ee=>{const{componentCls:Ge}=ee;return{[Ge]:{[`${Ge}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ee.progressStepMinWidth,marginInlineEnd:ee.progressStepMarginInlineEnd,backgroundColor:ee.remainingColor,transition:`all ${ee.motionDurationSlow}`,"&-active":{backgroundColor:ee.defaultColor}}}}}},he=ee=>{const{componentCls:Ge,iconCls:Je}=ee;return{[Ge]:{[`${Ge}-small&-line, ${Ge}-small&-line ${Ge}-text ${Je}`]:{fontSize:ee.fontSizeSM}}}};var Q=(0,N.Z)("Progress",ee=>{const Ge=ee.marginXXS/2,Je=(0,Te.TS)(ee,{progressStepMarginInlineEnd:Ge,progressStepMinWidth:Ge,progressActiveMotionDuration:"2.4s"});return[V(Je),H(Je),Pe(Je),he(Je)]},ee=>({circleTextColor:ee.colorText,defaultColor:ee.colorInfo,remainingColor:ee.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Le=function(ee,Ge){var Je={};for(var qe in ee)Object.prototype.hasOwnProperty.call(ee,qe)&&Ge.indexOf(qe)<0&&(Je[qe]=ee[qe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,qe=Object.getOwnPropertySymbols(ee);_{const{prefixCls:Je,className:qe,rootClassName:_,steps:Ot,strokeColor:tt,percent:Re=0,size:Jt="default",showInfo:cn=!0,type:sn="line",status:Ze,format:Rn,style:Cn}=ee,Mt=Le(ee,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Hn=i.useMemo(()=>{var Kr,Nr;const ir=O(ee);return parseInt(ir!==void 0?(Kr=ir!=null?ir:0)===null||Kr===void 0?void 0:Kr.toString():(Nr=Re!=null?Re:0)===null||Nr===void 0?void 0:Nr.toString(),10)},[Re,ee.success,ee.successPercent]),On=i.useMemo(()=>!at.includes(Ze)&&Hn>=100?"success":Ze||"normal",[Ze,Hn]),{getPrefixCls:kn,direction:zn,progress:dr}=i.useContext(U.E_),Jn=kn("progress",Je),[Cr,Hr]=Q(Jn),_n=i.useMemo(()=>{if(!cn)return null;const Kr=O(ee);let Nr;const ir=Rn||(Vn=>`${Vn}%`),Wn=sn==="line";return Rn||On!=="exception"&&On!=="success"?Nr=ir(wt(Re),wt(Kr)):On==="exception"?Nr=Wn?i.createElement(h.Z,null):i.createElement(C.Z,null):On==="success"&&(Nr=Wn?i.createElement(p.Z,null):i.createElement(g.Z,null)),i.createElement("span",{className:`${Jn}-text`,title:typeof Nr=="string"?Nr:void 0},Nr)},[cn,Re,Hn,On,sn,Jn,Rn]),ar=Array.isArray(tt)?tt[0]:tt,Gn=typeof tt=="string"||Array.isArray(tt)?tt:void 0;let Ar;sn==="line"?Ar=Ot?i.createElement(ke,Object.assign({},ee,{strokeColor:Gn,prefixCls:Jn,steps:Ot}),_n):i.createElement(Xt,Object.assign({},ee,{strokeColor:ar,prefixCls:Jn,direction:zn}),_n):(sn==="circle"||sn==="dashboard")&&(Ar=i.createElement(zt,Object.assign({},ee,{strokeColor:ar,prefixCls:Jn,progressStatus:On}),_n));const Yr=f()(Jn,`${Jn}-status-${On}`,`${Jn}-${sn==="dashboard"&&"circle"||Ot&&"steps"||sn}`,{[`${Jn}-inline-circle`]:sn==="circle"&&Ne(Jt,"circle")[0]<=20,[`${Jn}-show-info`]:cn,[`${Jn}-${Jt}`]:typeof Jt=="string",[`${Jn}-rtl`]:zn==="rtl"},dr==null?void 0:dr.className,qe,_,Hr);return Cr(i.createElement("div",Object.assign({ref:Ge,style:Object.assign(Object.assign({},dr==null?void 0:dr.style),Cn),className:Yr,role:"progressbar","aria-valuenow":Hn},(0,F.Z)(Mt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ar))}),mt=dt},13570:function(S,s,t){"use strict";t.d(s,{Z:function(){return wt}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(ze,nt){return p.createElement(C.Z,(0,i.Z)({},ze,{ref:nt,icon:h}))},f=p.forwardRef(y),F=f,U=t(92310),te=t.n(U),ne=t(20068),pe=t(42978),Ee=t(75931),se=t(18929),Se=t(10228),be=t(26112);function Ce(O,ze){var nt=O.disabled,Ne=O.prefixCls,ct=O.character,Xe=O.characterRender,tn=O.index,zt=O.count,un=O.value,dn=O.allowHalf,At=O.focused,xt=O.onHover,Xt=O.onClick,jt=function(H){xt(H,tn)},ke=function(H){Xt(H,tn)},_e=function(H){H.keyCode===Se.Z.ENTER&&Xt(H,tn)},ie=tn+1,N=new Set([Ne]);un===0&&tn===0&&At?N.add("".concat(Ne,"-focused")):dn&&un+.5>=ie&&untn?"true":"false","aria-posinset":tn+1,"aria-setsize":zt,tabIndex:nt?-1:0},p.createElement("div",{className:"".concat(Ne,"-first")},Te),p.createElement("div",{className:"".concat(Ne,"-second")},Te)));return Xe&&(st=Xe(st,O)),st}var j=p.forwardRef(Ce);function G(){var O=p.useRef({});function ze(Ne){return O.current[Ne]}function nt(Ne){return function(ct){O.current[Ne]=ct}}return[ze,nt]}function Z(O){var ze=O.pageXOffset,nt="scrollLeft";if(typeof ze!="number"){var Ne=O.document;ze=Ne.documentElement[nt],typeof ze!="number"&&(ze=Ne.body[nt])}return ze}function B(O){var ze,nt,Ne=O.ownerDocument,ct=Ne.body,Xe=Ne&&Ne.documentElement,tn=O.getBoundingClientRect();return ze=tn.left,nt=tn.top,ze-=Xe.clientLeft||ct.clientLeft||0,nt-=Xe.clientTop||ct.clientTop||0,{left:ze,top:nt}}function Y(O){var ze=B(O),nt=O.ownerDocument,Ne=nt.defaultView||nt.parentWindow;return ze.left+=Z(Ne),ze.left}var W=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function le(O,ze){var nt,Ne=O.prefixCls,ct=Ne===void 0?"rc-rate":Ne,Xe=O.className,tn=O.defaultValue,zt=O.value,un=O.count,dn=un===void 0?5:un,At=O.allowHalf,xt=At===void 0?!1:At,Xt=O.allowClear,jt=Xt===void 0?!0:Xt,ke=O.character,_e=ke===void 0?"\u2605":ke,ie=O.characterRender,N=O.disabled,Te=O.direction,st=Te===void 0?"ltr":Te,V=O.tabIndex,H=V===void 0?0:V,Pe=O.autoFocus,he=O.onHoverChange,Q=O.onChange,Le=O.onFocus,ht=O.onBlur,at=O.onKeyDown,Et=O.onMouseLeave,dt=(0,Ee.Z)(O,W),mt=G(),ee=(0,pe.Z)(mt,2),Ge=ee[0],Je=ee[1],qe=p.useRef(null),_=function(){if(!N){var Vn;(Vn=qe.current)===null||Vn===void 0||Vn.focus()}};p.useImperativeHandle(ze,function(){return{focus:_,blur:function(){if(!N){var Vn;(Vn=qe.current)===null||Vn===void 0||Vn.blur()}}}});var Ot=(0,se.Z)(tn||0,{value:zt}),tt=(0,pe.Z)(Ot,2),Re=tt[0],Jt=tt[1],cn=(0,se.Z)(null),sn=(0,pe.Z)(cn,2),Ze=sn[0],Rn=sn[1],Cn=function(Vn,sa){var hr=st==="rtl",It=Vn+1;if(xt){var ut=Ge(Vn),Qt=Y(ut),qt=ut.clientWidth;(hr&&sa-Qt>qt/2||!hr&&sa-Qt0&&!hr||sa===Se.Z.RIGHT&&It>0&&hr?(xt?It-=.5:It-=1,Mt(It),Vn.preventDefault()):sa===Se.Z.LEFT&&It{const{componentCls:ze}=O;return{[`${ze}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:O.marginXS},"> div":{transition:`all ${O.motionDurationMid}, outline 0s`,"&:hover":{transform:O.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${O.lineWidth}px dashed ${O.starColor}`,transform:O.starHoverScale}},"&-first, &-second":{color:O.starBg,transition:`all ${O.motionDurationMid}`,userSelect:"none",[O.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ze}-star-first, &-half ${ze}-star-second`]:{opacity:1},[`&-half ${ze}-star-first, &-full ${ze}-star-second`]:{color:"inherit"}}}},$e=O=>({[`&-rtl${O.componentCls}`]:{direction:"rtl"}}),it=O=>{const{componentCls:ze}=O;return{[ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,D.Wf)(O)),{display:"inline-block",margin:0,padding:0,color:O.starColor,fontSize:O.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${ze} ${ze}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Lt(O)),{[`+ ${ze}-text`]:{display:"inline-block",marginInlineStart:O.marginXS,fontSize:O.fontSize}}),$e(O))}};var ot=(0,He.Z)("Rate",O=>{const ze=(0,rt.TS)(O,{});return[it(ze)]},O=>({starColor:O.yellow6,starSize:O.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:O.colorFillContent})),_t=function(O,ze){var nt={};for(var Ne in O)Object.prototype.hasOwnProperty.call(O,Ne)&&ze.indexOf(Ne)<0&&(nt[Ne]=O[Ne]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Ne=Object.getOwnPropertySymbols(O);ct{const{prefixCls:nt,className:Ne,rootClassName:ct,style:Xe,tooltips:tn,character:zt=p.createElement(F,null)}=O,un=_t(O,["prefixCls","className","rootClassName","style","tooltips","character"]),dn=(N,Te)=>{let{index:st}=Te;return tn?p.createElement(fe.Z,{title:tn[st]},N):N},{getPrefixCls:At,direction:xt,rate:Xt}=p.useContext(ye.E_),jt=At("rate",nt),[ke,_e]=ot(jt),ie=Object.assign(Object.assign({},Xt==null?void 0:Xt.style),Xe);return ke(p.createElement(X,Object.assign({ref:ze,character:zt,characterRender:dn},un,{className:te()(Ne,ct,_e,Xt==null?void 0:Xt.className),style:ie,prefixCls:jt,direction:xt})))})},61621:function(S,s,t){"use strict";t.d(s,{Z:function(){return _e}});var i=t(92310),p=t.n(i),g=t(59301),h=t(36355),C=t(2738),f=ie=>{const{prefixCls:N,className:Te,style:st,size:V,shape:H}=ie,Pe=p()({[`${N}-lg`]:V==="large",[`${N}-sm`]:V==="small"}),he=p()({[`${N}-circle`]:H==="circle",[`${N}-square`]:H==="square",[`${N}-round`]:H==="round"}),Q=g.useMemo(()=>typeof V=="number"?{width:V,height:V,lineHeight:`${V}px`}:{},[V]);return g.createElement("span",{className:p()(N,Pe,he,Te),style:Object.assign(Object.assign({},Q),st)})},F=t(36237),U=t(83116),te=t(37613);const ne=new F.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),pe=ie=>({height:ie,lineHeight:`${ie}px`}),Ee=ie=>Object.assign({width:ie},pe(ie)),se=ie=>({background:ie.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ne,animationDuration:ie.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Se=ie=>Object.assign({width:ie*5,minWidth:ie*5},pe(ie)),be=ie=>{const{skeletonAvatarCls:N,gradientFromColor:Te,controlHeight:st,controlHeightLG:V,controlHeightSM:H}=ie;return{[`${N}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Te},Ee(st)),[`${N}${N}-circle`]:{borderRadius:"50%"},[`${N}${N}-lg`]:Object.assign({},Ee(V)),[`${N}${N}-sm`]:Object.assign({},Ee(H))}},Ce=ie=>{const{controlHeight:N,borderRadiusSM:Te,skeletonInputCls:st,controlHeightLG:V,controlHeightSM:H,gradientFromColor:Pe}=ie;return{[`${st}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pe,borderRadius:Te},Se(N)),[`${st}-lg`]:Object.assign({},Se(V)),[`${st}-sm`]:Object.assign({},Se(H))}},j=ie=>Object.assign({width:ie},pe(ie)),G=ie=>{const{skeletonImageCls:N,imageSizeBase:Te,gradientFromColor:st,borderRadiusSM:V}=ie;return{[`${N}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:st,borderRadius:V},j(Te*2)),{[`${N}-path`]:{fill:"#bfbfbf"},[`${N}-svg`]:Object.assign(Object.assign({},j(Te)),{maxWidth:Te*4,maxHeight:Te*4}),[`${N}-svg${N}-svg-circle`]:{borderRadius:"50%"}}),[`${N}${N}-circle`]:{borderRadius:"50%"}}},Z=(ie,N,Te)=>{const{skeletonButtonCls:st}=ie;return{[`${Te}${st}-circle`]:{width:N,minWidth:N,borderRadius:"50%"},[`${Te}${st}-round`]:{borderRadius:N}}},B=ie=>Object.assign({width:ie*2,minWidth:ie*2},pe(ie)),Y=ie=>{const{borderRadiusSM:N,skeletonButtonCls:Te,controlHeight:st,controlHeightLG:V,controlHeightSM:H,gradientFromColor:Pe}=ie;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pe,borderRadius:N,width:st*2,minWidth:st*2},B(st))},Z(ie,st,Te)),{[`${Te}-lg`]:Object.assign({},B(V))}),Z(ie,V,`${Te}-lg`)),{[`${Te}-sm`]:Object.assign({},B(H))}),Z(ie,H,`${Te}-sm`))},W=ie=>{const{componentCls:N,skeletonAvatarCls:Te,skeletonTitleCls:st,skeletonParagraphCls:V,skeletonButtonCls:H,skeletonInputCls:Pe,skeletonImageCls:he,controlHeight:Q,controlHeightLG:Le,controlHeightSM:ht,gradientFromColor:at,padding:Et,marginSM:dt,borderRadius:mt,titleHeight:ee,blockRadius:Ge,paragraphLiHeight:Je,controlHeightXS:qe,paragraphMarginTop:_}=ie;return{[`${N}`]:{display:"table",width:"100%",[`${N}-header`]:{display:"table-cell",paddingInlineEnd:Et,verticalAlign:"top",[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at},Ee(Q)),[`${Te}-circle`]:{borderRadius:"50%"},[`${Te}-lg`]:Object.assign({},Ee(Le)),[`${Te}-sm`]:Object.assign({},Ee(ht))},[`${N}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${st}`]:{width:"100%",height:ee,background:at,borderRadius:Ge,[`+ ${V}`]:{marginBlockStart:ht}},[`${V}`]:{padding:0,"> li":{width:"100%",height:Je,listStyle:"none",background:at,borderRadius:Ge,"+ li":{marginBlockStart:qe}}},[`${V}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${N}-content`]:{[`${st}, ${V} > li`]:{borderRadius:mt}}},[`${N}-with-avatar ${N}-content`]:{[`${st}`]:{marginBlockStart:dt,[`+ ${V}`]:{marginBlockStart:_}}},[`${N}${N}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Y(ie)),be(ie)),Ce(ie)),G(ie)),[`${N}${N}-block`]:{width:"100%",[`${H}`]:{width:"100%"},[`${Pe}`]:{width:"100%"}},[`${N}${N}-active`]:{[` ${st}, ${V} > li, ${Te}, ${H}, ${Pe}, ${he} - `]:Object.assign({},se(ie))}}};var le=(0,U.Z)("Skeleton",ie=>{const{componentCls:N}=ie,Te=(0,te.TS)(ie,{skeletonAvatarCls:`${N}-avatar`,skeletonTitleCls:`${N}-title`,skeletonParagraphCls:`${N}-paragraph`,skeletonButtonCls:`${N}-button`,skeletonInputCls:`${N}-input`,skeletonImageCls:`${N}-image`,imageSizeBase:ie.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ie.gradientFromColor} 25%, ${ie.gradientToColor} 37%, ${ie.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[W(Te)]},ie=>{const{colorFillContent:N,colorFill:Te}=ie,st=N,V=Te;return{color:st,colorGradientEnd:V,gradientFromColor:st,gradientToColor:V,titleHeight:ie.controlHeight/2,blockRadius:ie.borderRadiusSM,paragraphMarginTop:ie.marginLG+ie.marginXXS,paragraphLiHeight:ie.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),X=ie=>{const{prefixCls:N,className:Te,rootClassName:st,active:V,shape:H="circle",size:Pe="default"}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=(0,C.Z)(ie,["prefixCls","className"]),Et=p()(Q,`${Q}-element`,{[`${Q}-active`]:V},Te,st,ht);return Le(g.createElement("div",{className:Et},g.createElement(f,Object.assign({prefixCls:`${Q}-avatar`,shape:H,size:Pe},at))))},fe=ie=>{const{prefixCls:N,className:Te,rootClassName:st,active:V,block:H=!1,size:Pe="default"}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=(0,C.Z)(ie,["prefixCls"]),Et=p()(Q,`${Q}-element`,{[`${Q}-active`]:V,[`${Q}-block`]:H},Te,st,ht);return Le(g.createElement("div",{className:Et},g.createElement(f,Object.assign({prefixCls:`${Q}-button`,size:Pe},at))))};const D="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 rt=ie=>{const{prefixCls:N,className:Te,rootClassName:st,style:V,active:H}=ie,{getPrefixCls:Pe}=g.useContext(h.E_),he=Pe("skeleton",N),[Q,Le]=le(he),ht=p()(he,`${he}-element`,{[`${he}-active`]:H},Te,st,Le);return Q(g.createElement("div",{className:ht},g.createElement("div",{className:p()(`${he}-image`,Te),style:V},g.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${he}-image-svg`},g.createElement("path",{d:D,className:`${he}-image-path`})))))},$e=ie=>{const{prefixCls:N,className:Te,rootClassName:st,active:V,block:H,size:Pe="default"}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=(0,C.Z)(ie,["prefixCls"]),Et=p()(Q,`${Q}-element`,{[`${Q}-active`]:V,[`${Q}-block`]:H},Te,st,ht);return Le(g.createElement("div",{className:Et},g.createElement(f,Object.assign({prefixCls:`${Q}-input`,size:Pe},at))))},it=t(54476),ot={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"},_t=ot,Kt=t(7657),wt=function(N,Te){return g.createElement(Kt.Z,(0,it.Z)({},N,{ref:Te,icon:_t}))},O=g.forwardRef(wt),ze=O,we=ie=>{const{prefixCls:N,className:Te,rootClassName:st,style:V,active:H,children:Pe}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=p()(Q,`${Q}-element`,{[`${Q}-active`]:H},ht,Te,st),Et=Pe!=null?Pe:g.createElement(ze,null);return Le(g.createElement("div",{className:at},g.createElement("div",{className:p()(`${Q}-image`,Te),style:V},Et)))},ct=t(94480),tn=ie=>{const N=he=>{const{width:Q,rows:Le=2}=ie;if(Array.isArray(Q))return Q[he];if(Le-1===he)return Q},{prefixCls:Te,className:st,style:V,rows:H}=ie,Pe=(0,ct.Z)(Array(H)).map((he,Q)=>g.createElement("li",{key:Q,style:{width:N(Q)}}));return g.createElement("ul",{className:p()(Te,st),style:V},Pe)},un=ie=>{let{prefixCls:N,className:Te,width:st,style:V}=ie;return g.createElement("h3",{className:p()(N,Te),style:Object.assign({width:st},V)})};function dn(ie){return ie&&typeof ie=="object"?ie:{}}function At(ie,N){return ie&&!N?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function xt(ie,N){return!ie&&N?{width:"38%"}:ie&&N?{width:"50%"}:{}}function Xt(ie,N){const Te={};return(!ie||!N)&&(Te.width="61%"),!ie&&N?Te.rows=3:Te.rows=2,Te}const jt=ie=>{const{prefixCls:N,loading:Te,className:st,rootClassName:V,style:H,children:Pe,avatar:he=!1,title:Q=!0,paragraph:Le=!0,active:ht,round:at}=ie,{getPrefixCls:Et,direction:dt,skeleton:mt}=g.useContext(h.E_),ee=Et("skeleton",N),[Ge,Je]=le(ee);if(Te||!("loading"in ie)){const qe=!!he,_=!!Q,Ot=!!Le;let tt;if(qe){const cn=Object.assign(Object.assign({prefixCls:`${ee}-avatar`},At(_,Ot)),dn(he));tt=g.createElement("div",{className:`${ee}-header`},g.createElement(f,Object.assign({},cn)))}let Re;if(_||Ot){let cn;if(_){const Ze=Object.assign(Object.assign({prefixCls:`${ee}-title`},xt(qe,Ot)),dn(Q));cn=g.createElement(un,Object.assign({},Ze))}let sn;if(Ot){const Ze=Object.assign(Object.assign({prefixCls:`${ee}-paragraph`},Xt(qe,_)),dn(Le));sn=g.createElement(tn,Object.assign({},Ze))}Re=g.createElement("div",{className:`${ee}-content`},cn,sn)}const Jt=p()(ee,{[`${ee}-with-avatar`]:qe,[`${ee}-active`]:ht,[`${ee}-rtl`]:dt==="rtl",[`${ee}-round`]:at},mt==null?void 0:mt.className,st,V,Je);return Ge(g.createElement("div",{className:Jt,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),H)},tt,Re))}return typeof Pe!="undefined"?Pe:null};jt.Button=fe,jt.Avatar=X,jt.Input=$e,jt.Image=rt,jt.Node=we;var ke=jt,_e=ke},31797:function(S,s,t){"use strict";t.d(s,{default:function(){return le}});var i=t(59301),p=t(56762),g=t(92343),h=t(92310),C=t.n(h),y=t(36355),f=t(61621),U=J=>{const{value:X,formatter:ye,precision:fe,decimalSeparator:D,groupSeparator:He="",prefixCls:rt}=J;let Lt;if(typeof ye=="function")Lt=ye(X);else{const $e=String(X),it=$e.match(/^(-?)(\d*)(\.(\d+))?$/);if(!it||$e==="-")Lt=$e;else{const ot=it[1];let _t=it[2]||"0",Kt=it[4]||"";_t=_t.replace(/\B(?=(\d{3})+(?!\d))/g,He),typeof fe=="number"&&(Kt=Kt.padEnd(fe,"0").slice(0,fe>0?fe:0)),Kt&&(Kt=`${D}${Kt}`),Lt=[i.createElement("span",{key:"int",className:`${rt}-content-value-int`},ot,_t),Kt&&i.createElement("span",{key:"decimal",className:`${rt}-content-value-decimal`},Kt)]}}return i.createElement("span",{className:`${rt}-content-value`},Lt)},te=t(17313),ne=t(83116),pe=t(37613);const Ee=J=>{const{componentCls:X,marginXXS:ye,padding:fe,colorTextDescription:D,titleFontSize:He,colorTextHeading:rt,contentFontSize:Lt,fontFamily:$e}=J;return{[`${X}`]:Object.assign(Object.assign({},(0,te.Wf)(J)),{[`${X}-title`]:{marginBottom:ye,color:D,fontSize:He},[`${X}-skeleton`]:{paddingTop:fe},[`${X}-content`]:{color:rt,fontSize:Lt,fontFamily:$e,[`${X}-content-value`]:{display:"inline-block",direction:"ltr"},[`${X}-content-prefix, ${X}-content-suffix`]:{display:"inline-block"},[`${X}-content-prefix`]:{marginInlineEnd:ye},[`${X}-content-suffix`]:{marginInlineStart:ye}}})}};var se=(0,ne.Z)("Statistic",J=>{const X=(0,pe.TS)(J,{});return[Ee(X)]},J=>{const{fontSizeHeading3:X,fontSize:ye}=J;return{titleFontSize:ye,contentFontSize:X}}),be=J=>{const{prefixCls:X,className:ye,rootClassName:fe,style:D,valueStyle:He,value:rt=0,title:Lt,valueRender:$e,prefix:it,suffix:ot,loading:_t=!1,onMouseEnter:Kt,onMouseLeave:wt,decimalSeparator:O=".",groupSeparator:ze=","}=J,{getPrefixCls:nt,direction:we,statistic:ct}=i.useContext(y.E_),Xe=nt("statistic",X),[tn,zt]=se(Xe),un=i.createElement(U,Object.assign({decimalSeparator:O,groupSeparator:ze,prefixCls:Xe},J,{value:rt})),dn=C()(Xe,{[`${Xe}-rtl`]:we==="rtl"},ct==null?void 0:ct.className,ye,fe,zt);return tn(i.createElement("div",{className:dn,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),D),onMouseEnter:Kt,onMouseLeave:wt},Lt&&i.createElement("div",{className:`${Xe}-title`},Lt),i.createElement(f.Z,{paragraph:!1,loading:_t,className:`${Xe}-skeleton`},i.createElement("div",{style:He,className:`${Xe}-content`},it&&i.createElement("span",{className:`${Xe}-content-prefix`},it),$e?$e(un):un,ot&&i.createElement("span",{className:`${Xe}-content-suffix`},ot)))))};const Ce=[["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 j(J,X){let ye=J;const fe=/\[[^\]]*]/g,D=(X.match(fe)||[]).map($e=>$e.slice(1,-1)),He=X.replace(fe,"[]"),rt=Ce.reduce(($e,it)=>{let[ot,_t]=it;if($e.includes(ot)){const Kt=Math.floor(ye/_t);return ye-=Kt*_t,$e.replace(new RegExp(`${ot}+`,"g"),wt=>{const O=wt.length;return Kt.toString().padStart(O,"0")})}return $e},He);let Lt=0;return rt.replace(fe,()=>{const $e=D[Lt];return Lt+=1,$e})}function G(J,X){const{format:ye=""}=X,fe=new Date(J).getTime(),D=Date.now(),He=Math.max(fe-D,0);return j(He,ye)}const Z=1e3/30;function B(J){return new Date(J).getTime()}const Y=J=>{const{value:X,format:ye="HH:mm:ss",onChange:fe,onFinish:D}=J,He=(0,p.Z)(),rt=i.useRef(null),Lt=()=>{D==null||D(),rt.current&&(clearInterval(rt.current),rt.current=null)},$e=()=>{const _t=B(X);_t>=Date.now()&&(rt.current=setInterval(()=>{He(),fe==null||fe(_t-Date.now()),_t($e(),()=>{rt.current&&(clearInterval(rt.current),rt.current=null)}),[X]);const it=(_t,Kt)=>G(_t,Object.assign(Object.assign({},Kt),{format:ye})),ot=_t=>(0,g.Tm)(_t,{title:void 0});return i.createElement(be,Object.assign({},J,{valueRender:ot,formatter:it}))};var W=i.memo(Y);be.Countdown=W;var le=be},15969:function(S,s,t){"use strict";t.d(s,{N:function(){return i}});const i=p=>({color:p.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${p.motionDurationSlow}`,"&:focus, &:hover":{color:p.colorLinkHover},"&:active":{color:p.colorLinkActive}})},1710:function(S,s,t){"use strict";t.d(s,{default:function(){return xi}});var i={},p="rc-table-internal-hook",g=t(42978),h=t(6089),C=t(34280),y=t(13697),f=t(59301),F=t(4676);function U(R){var L=f.createContext(void 0),ae=function(xe){var Ne=xe.value,w=xe.children,et=f.useRef(Ne);et.current=Ne;var Ye=f.useState(function(){return{getValue:function(){return et.current},listeners:new Set}}),ft=(0,g.Z)(Ye,1),Ct=ft[0];return(0,C.Z)(function(){(0,F.unstable_batchedUpdates)(function(){Ct.listeners.forEach(function(bt){bt(Ne)})})},[Ne]),f.createElement(L.Provider,{value:Ct},w)};return{Context:L,Provider:ae,defaultValue:R}}function te(R,L){var ae=(0,h.Z)(typeof L=="function"?L:function(bt){if(L===void 0)return bt;if(!Array.isArray(L))return bt[L];var $t={};return L.forEach(function(Ut){$t[Ut]=bt[Ut]}),$t}),me=f.useContext(R==null?void 0:R.Context),xe=me||{},Ne=xe.listeners,w=xe.getValue,et=f.useRef();et.current=ae(me?w():R==null?void 0:R.defaultValue);var Ye=f.useState({}),ft=(0,g.Z)(Ye,2),Ct=ft[1];return(0,C.Z)(function(){if(!me)return;function bt($t){var Ut=ae($t);(0,y.Z)(et.current,Ut,!0)||Ct({})}return Ne.add(bt),function(){Ne.delete(bt)}},[me]),et.current}var ne=t(54476),pe=t(8654);function Ee(){var R=f.createContext(null);function L(){return f.useContext(R)}function ae(xe,Ne){var w=(0,pe.Yr)(xe),et=function(ft,Ct){var bt=w?{ref:Ct}:{},$t=f.useRef(0),Ut=f.useRef(ft),Ft=L();return Ft!==null?f.createElement(xe,(0,ne.Z)({},ft,bt)):((!Ne||Ne(Ut.current,ft))&&($t.current+=1),Ut.current=ft,f.createElement(R.Provider,{value:$t.current},f.createElement(xe,(0,ne.Z)({},ft,bt))))};return w?f.forwardRef(et):et}function me(xe,Ne){var w=(0,pe.Yr)(xe),et=function(ft,Ct){var bt=w?{ref:Ct}:{};return L(),f.createElement(xe,(0,ne.Z)({},ft,bt))};return w?f.memo(f.forwardRef(et),Ne):f.memo(et,Ne)}return{makeImmutable:ae,responseImmutable:me,useImmutableMark:L}}var se=Ee(),Se=se.makeImmutable,be=se.responseImmutable,Ce=se.useImmutableMark,j=Ee(),G=j.makeImmutable,Z=j.responseImmutable,B=j.useImmutableMark,Y=U(),W=Y;function le(R,L){var ae=f.useRef(0);ae.current+=1;var me=f.useRef(R),xe=[];Object.keys(R||{}).map(function(w){var et;(R==null?void 0:R[w])!==((et=me.current)===null||et===void 0?void 0:et[w])&&xe.push(w)}),me.current=R;var Ne=f.useRef([]);return xe.length&&(Ne.current=xe),f.useDebugValue(ae.current),f.useDebugValue(Ne.current.join(", ")),L&&console.log("".concat(L,":"),ae.current,Ne.current),ae.current}var J=null,X=f.memo(function(){var R=le();return f.createElement("h1",null,"Render Times: ",R)});X.displayName="RenderBlock";var ye=t(76190),fe=t(33885),D=t(20068),He=t(92310),rt=t.n(He),Lt=t(80547),$e=t(97938),it=t(48736),ot=f.createContext({renderWithProps:!1}),_t=ot,Kt="RC_TABLE_KEY";function wt(R){return R==null?[]:Array.isArray(R)?R:[R]}function O(R){var L=[],ae={};return R.forEach(function(me){for(var xe=me||{},Ne=xe.key,w=xe.dataIndex,et=Ne||wt(w).join("-")||Kt;ae[et];)et="".concat(et,"_next");ae[et]=!0,L.push(et)}),L}function ze(R){return R!=null}function nt(R){return R&&(0,ye.Z)(R)==="object"&&!Array.isArray(R)&&!f.isValidElement(R)}function we(R,L,ae,me,xe,Ne){var w=f.useContext(_t),et=B(),Ye=(0,Lt.Z)(function(){if(ze(me))return[me];var ft=L==null||L===""?[]:Array.isArray(L)?L:[L],Ct=(0,$e.Z)(R,ft),bt=Ct,$t=void 0;if(xe){var Ut=xe(Ct,R,ae);nt(Ut)?(bt=Ut.children,$t=Ut.props,w.renderWithProps=!0):bt=Ut}return[bt,$t]},[et,R,me,L,xe,ae],function(ft,Ct){if(Ne){var bt=(0,g.Z)(ft,2),$t=bt[1],Ut=(0,g.Z)(Ct,2),Ft=Ut[1];return Ne(Ft,$t)}return w.renderWithProps?!0:!(0,y.Z)(ft,Ct,!0)});return Ye}function ct(R,L,ae,me){var xe=R+L-1;return R<=me&&xe>=ae}function Xe(R,L){return te(W,function(ae){var me=ct(R,L||1,ae.hoverStartRow,ae.hoverEndRow);return[me,ae.onHover]})}var tn=function(L){var ae=L.ellipsis,me=L.rowType,xe=L.children,Ne,w=ae===!0?{showTitle:!0}:ae;return w&&(w.showTitle||me==="header")&&(typeof xe=="string"||typeof xe=="number"?Ne=xe.toString():f.isValidElement(xe)&&typeof xe.props.children=="string"&&(Ne=xe.props.children)),Ne};function zt(R){var L,ae,me,xe,Ne,w,et,Ye,ft=R.component,Ct=R.children,bt=R.ellipsis,$t=R.scope,Ut=R.prefixCls,Ft=R.className,o=R.align,d=R.record,m=R.render,E=R.dataIndex,I=R.renderIndex,k=R.shouldCellUpdate,M=R.index,q=R.rowType,Be=R.colSpan,Me=R.rowSpan,de=R.fixLeft,Ue=R.fixRight,De=R.firstFixLeft,ge=R.lastFixLeft,Bt=R.firstFixRight,en=R.lastFixRight,bn=R.appendNode,Gt=R.additionalProps,rn=Gt===void 0?{}:Gt,on=R.isSticky,Dn="".concat(Ut,"-cell"),Xn=te(W,["supportSticky","allColumnsFixedLeft"]),Ht=Xn.supportSticky,Qn=Xn.allColumnsFixedLeft,fr=we(d,E,I,Ct,m,k),Sn=(0,g.Z)(fr,2),cr=Sn[0],er=Sn[1],qn={},Tn=typeof de=="number"&&Ht,jn=typeof Ue=="number"&&Ht;Tn&&(qn.position="sticky",qn.left=de),jn&&(qn.position="sticky",qn.right=Ue);var an=(L=(ae=(me=er==null?void 0:er.colSpan)!==null&&me!==void 0?me:rn.colSpan)!==null&&ae!==void 0?ae:Be)!==null&&L!==void 0?L:1,fn=(xe=(Ne=(w=er==null?void 0:er.rowSpan)!==null&&w!==void 0?w:rn.rowSpan)!==null&&Ne!==void 0?Ne:Me)!==null&&xe!==void 0?xe:1,En=Xe(M,fn),yn=(0,g.Z)(En,2),rr=yn[0],Ae=yn[1],Pn=function(zr){var Sa;d&&Ae(M,M+fn-1),rn==null||(Sa=rn.onMouseEnter)===null||Sa===void 0||Sa.call(rn,zr)},sr=function(zr){var Sa;d&&Ae(-1,-1),rn==null||(Sa=rn.onMouseLeave)===null||Sa===void 0||Sa.call(rn,zr)};if(an===0||fn===0)return null;var je=(et=rn.title)!==null&&et!==void 0?et:tn({rowType:q,ellipsis:bt,children:cr}),Jr=rt()(Dn,Ft,(Ye={},(0,D.Z)(Ye,"".concat(Dn,"-fix-left"),Tn&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-left-first"),De&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-left-last"),ge&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-left-all"),ge&&Qn&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-right"),jn&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-right-first"),Bt&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-right-last"),en&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-ellipsis"),bt),(0,D.Z)(Ye,"".concat(Dn,"-with-append"),bn),(0,D.Z)(Ye,"".concat(Dn,"-fix-sticky"),(Tn||jn)&&on&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-row-hover"),!er&&rr),Ye),rn.className,er==null?void 0:er.className),ma={};o&&(ma.textAlign=o);var Ma=(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},qn),rn.style),ma),er==null?void 0:er.style),ca=cr;return(0,ye.Z)(ca)==="object"&&!Array.isArray(ca)&&!f.isValidElement(ca)&&(ca=null),bt&&(ge||Bt)&&(ca=f.createElement("span",{className:"".concat(Dn,"-content")},ca)),f.createElement(ft,(0,ne.Z)({},er,rn,{className:Jr,style:Ma,title:je,scope:$t,onMouseEnter:Pn,onMouseLeave:sr,colSpan:an!==1?an:null,rowSpan:fn!==1?fn:null}),bn,ca)}var un=f.memo(zt);function dn(R,L,ae,me,xe,Ne){var w=ae[R]||{},et=ae[L]||{},Ye,ft;w.fixed==="left"?Ye=me.left[xe==="rtl"?L:R]:et.fixed==="right"&&(ft=me.right[xe==="rtl"?R:L]);var Ct=!1,bt=!1,$t=!1,Ut=!1,Ft=ae[L+1],o=ae[R-1],d=!(Ne!=null&&Ne.children);if(xe==="rtl"){if(Ye!==void 0){var m=o&&o.fixed==="left";Ut=!m&&d}else if(ft!==void 0){var E=Ft&&Ft.fixed==="right";$t=!E&&d}}else if(Ye!==void 0){var I=Ft&&Ft.fixed==="left";Ct=!I&&d}else if(ft!==void 0){var k=o&&o.fixed==="right";bt=!k&&d}return{fixLeft:Ye,fixRight:ft,lastFixLeft:Ct,firstFixRight:bt,lastFixRight:$t,firstFixLeft:Ut,isSticky:me.isSticky}}var At=f.createContext({}),xt=At;function Xt(R){var L=R.className,ae=R.index,me=R.children,xe=R.colSpan,Ne=xe===void 0?1:xe,w=R.rowSpan,et=R.align,Ye=te(W,["prefixCls","direction"]),ft=Ye.prefixCls,Ct=Ye.direction,bt=f.useContext(xt),$t=bt.scrollColumnIndex,Ut=bt.stickyOffsets,Ft=bt.flattenColumns,o=bt.columns,d=ae+Ne-1,m=d+1===$t?Ne+1:Ne,E=dn(ae,ae+m-1,Ft,Ut,Ct,o==null?void 0:o[ae]);return f.createElement(un,(0,ne.Z)({className:L,index:ae,component:"td",prefixCls:ft,record:null,dataIndex:null,align:et,colSpan:m,rowSpan:w,render:function(){return me}},E))}var jt=t(75931),ke=["children"];function _e(R){var L=R.children,ae=(0,jt.Z)(R,ke);return f.createElement("tr",ae,L)}function ie(R){var L=R.children;return L}ie.Row=_e,ie.Cell=Xt;var N=ie;function Te(R){var L=R.children,ae=R.stickyOffsets,me=R.flattenColumns,xe=R.columns,Ne=te(W,"prefixCls"),w=me.length-1,et=me[w],Ye=f.useMemo(function(){return{stickyOffsets:ae,flattenColumns:me,scrollColumnIndex:et!=null&&et.scrollbar?w:null,columns:xe}},[et,me,w,ae,xe]);return f.createElement(xt.Provider,{value:Ye},f.createElement("tfoot",{className:"".concat(Ne,"-summary")},L))}var st=Z(Te),V=N,H=t(70425),Pe=t(29301),he=t(29194),Q=t(24514),Le=t(75152),ht=t(26112);function at(R,L,ae,me,xe,Ne,w){R.push({record:L,indent:ae,index:w});var et=Ne(L),Ye=xe==null?void 0:xe.has(et);if(L&&Array.isArray(L[me])&&Ye)for(var ft=0;ft1?De-1:0),Bt=1;Bt=0;et-=1){var Ye=L[et],ft=ae&&ae[et],Ct=ft&&ft[cn];if(Ye||Ct||w){var bt=Ct||{},$t=bt.columnType,Ut=(0,jt.Z)(bt,Ze);xe.unshift(f.createElement("col",(0,ne.Z)({key:et,style:{width:Ye}},Ut))),w=!0}}return f.createElement("colgroup",null,xe)}var Cn=Rn,Mt=t(94480),Hn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function On(R,L){return(0,f.useMemo)(function(){for(var ae=[],me=0;me1?"colgroup":"col":null,ellipsis:d.ellipsis,align:d.align,component:d.title?Ne:w,prefixCls:Ct,key:Ut[o]},m,{additionalProps:E,rowType:"header"}))}))}dr.displayName="HeaderRow";var Jn=dr;function Cr(R){var L=[];function ae(w,et){var Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;L[Ye]=L[Ye]||[];var ft=et,Ct=w.filter(Boolean).map(function(bt){var $t={key:bt.key,className:bt.className||"",children:bt.title,column:bt,colStart:ft},Ut=1,Ft=bt.children;return Ft&&Ft.length>0&&(Ut=ae(Ft,ft,Ye+1).reduce(function(o,d){return o+d},0),$t.hasSubColumns=!0),"colSpan"in bt&&(Ut=bt.colSpan),"rowSpan"in bt&&($t.rowSpan=bt.rowSpan),$t.colSpan=Ut,$t.colEnd=$t.colStart+Ut-1,L[Ye].push($t),ft+=Ut,Ut});return Ct}ae(R,0);for(var me=L.length,xe=function(et){L[et].forEach(function(Ye){!("rowSpan"in Ye)&&!Ye.hasSubColumns&&(Ye.rowSpan=me-et)})},Ne=0;Ne1&&arguments[1]!==void 0?arguments[1]:"";return typeof L=="number"?L:L.endsWith("%")?R*parseFloat(L)/100:null}function Ar(R,L){return f.useMemo(function(){if(L&&L>0){var ae=0,me=0;R.forEach(function(ft){var Ct=Gn(L,ft.width);Ct?ae+=Ct:me+=1});var xe=L-ae,Ne=me,w=xe/me,et=0,Ye=R.map(function(ft){var Ct=(0,fe.Z)({},ft),bt=Gn(L,Ct.width);if(bt)Ct.width=bt;else{var $t=Math.floor(w);Ct.width=Ne===1?xe:$t,xe-=$t,Ne-=1}return et+=Ct.width,Ct});return[Ye,et]}return[R,L]},[R,L])}var Yr=["children"],Kr=["fixed"];function Nr(R){return(0,ar.Z)(R).filter(function(L){return f.isValidElement(L)}).map(function(L){var ae=L.key,me=L.props,xe=me.children,Ne=(0,jt.Z)(me,Yr),w=(0,fe.Z)({key:ae},Ne);return xe&&(w.children=Nr(xe)),w})}function ir(R){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return R.filter(function(ae){return ae&&(0,ye.Z)(ae)==="object"}).reduce(function(ae,me,xe){var Ne=me.fixed,w=Ne===!0?"left":Ne,et="".concat(L,"-").concat(xe),Ye=me.children;return Ye&&Ye.length>0?[].concat((0,Mt.Z)(ae),(0,Mt.Z)(ir(Ye,et).map(function(ft){return(0,fe.Z)({fixed:w},ft)}))):[].concat((0,Mt.Z)(ae),[(0,fe.Z)((0,fe.Z)({key:et},me),{},{fixed:w})])},[])}function Wn(R){for(var L=!0,ae=0;ae=0;Ne-=1){var w=R[Ne];if(xe&&w.fixed!=="right")xe=!1;else if(!xe&&w.fixed==="right"){warning(!1,"Index ".concat(Ne+1," of `columns` missing `fixed='right'` prop."));break}}}function Vn(R){return R.map(function(L){var ae=L.fixed,me=(0,jt.Z)(L,Kr),xe=ae;return ae==="left"?xe="right":ae==="right"&&(xe="left"),(0,fe.Z)({fixed:xe},me)})}function sa(R,L){var ae=R.prefixCls,me=R.columns,xe=R.children,Ne=R.expandable,w=R.expandedKeys,et=R.columnTitle,Ye=R.getRowKey,ft=R.onTriggerExpand,Ct=R.expandIcon,bt=R.rowExpandable,$t=R.expandIconColumnIndex,Ut=R.direction,Ft=R.expandRowByClick,o=R.columnWidth,d=R.fixed,m=R.scrollWidth,E=f.useMemo(function(){return me||Nr(xe)},[me,xe]),I=f.useMemo(function(){if(Ne){var Ue,De=E.slice();if(!De.includes(i)){var ge=$t||0;ge>=0&&De.splice(ge,0,i)}var Bt=De.indexOf(i);De=De.filter(function(rn,on){return rn!==i||on===Bt});var en=E[Bt],bn;(d==="left"||d)&&!$t?bn="left":(d==="right"||d)&&$t===E.length?bn="right":bn=en?en.fixed:null;var Gt=(Ue={},(0,D.Z)(Ue,cn,{className:"".concat(ae,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,D.Z)(Ue,"title",et),(0,D.Z)(Ue,"fixed",bn),(0,D.Z)(Ue,"className","".concat(ae,"-row-expand-icon-cell")),(0,D.Z)(Ue,"width",o),(0,D.Z)(Ue,"render",function(on,Dn,Xn){var Ht=Ye(Dn,Xn),Qn=w.has(Ht),fr=bt?bt(Dn):!0,Sn=Ct({prefixCls:ae,expanded:Qn,expandable:fr,record:Dn,onExpand:ft});return Ft?f.createElement("span",{onClick:function(er){return er.stopPropagation()}},Sn):Sn}),Ue);return De.map(function(rn){return rn===i?Gt:rn})}return E.filter(function(rn){return rn!==i})},[Ne,E,Ye,w,Ct,Ut]),k=f.useMemo(function(){var Ue=I;return L&&(Ue=L(Ue)),Ue.length||(Ue=[{render:function(){return null}}]),Ue},[L,I,Ut]),M=f.useMemo(function(){return Ut==="rtl"?Vn(ir(k)):ir(k)},[k,Ut,m]),q=Ar(M,m),Be=(0,g.Z)(q,2),Me=Be[0],de=Be[1];return[k,Me,de]}var hr=sa;function It(R){var L,ae=R.prefixCls,me=R.record,xe=R.onExpand,Ne=R.expanded,w=R.expandable,et="".concat(ae,"-row-expand-icon");if(!w)return f.createElement("span",{className:rt()(et,"".concat(ae,"-row-spaced"))});var Ye=function(Ct){xe(me,Ct),Ct.stopPropagation()};return f.createElement("span",{className:rt()(et,(L={},(0,D.Z)(L,"".concat(ae,"-row-expanded"),Ne),(0,D.Z)(L,"".concat(ae,"-row-collapsed"),!Ne),L)),onClick:Ye})}function ut(R,L,ae){var me=[];function xe(Ne){(Ne||[]).forEach(function(w,et){me.push(L(w,et)),xe(w[ae])})}return xe(R),me}function Qt(R,L,ae){var me=sn(R),xe=me.expandIcon,Ne=me.expandedRowKeys,w=me.defaultExpandedRowKeys,et=me.defaultExpandAllRows,Ye=me.expandedRowRender,ft=me.onExpand,Ct=me.onExpandedRowsChange,bt=me.childrenColumnName,$t=xe||It,Ut=bt||"children",Ft=f.useMemo(function(){return Ye?"row":R.expandable&&R.internalHooks===p&&R.expandable.__PARENT_RENDER_ICON__||L.some(function(M){return M&&(0,ye.Z)(M)==="object"&&M[Ut]})?"nest":!1},[!!Ye,L]),o=f.useState(function(){return w||(et?ut(L,ae,Ut):[])}),d=(0,g.Z)(o,2),m=d[0],E=d[1],I=f.useMemo(function(){return new Set(Ne||m||[])},[Ne,m]),k=f.useCallback(function(M){var q=ae(M,L.indexOf(M)),Be,Me=I.has(q);Me?(I.delete(q),Be=(0,Mt.Z)(I)):Be=[].concat((0,Mt.Z)(I),[q]),E(Be),ft&&ft(!Me,M),Ct&&Ct(Be)},[ae,I,L,ft,Ct]);return[me,Ft,I,$t,Ut,k]}function qt(R,L,ae,me){var xe=R.map(function(Ne,w){return dn(w,w,R,L,ae,me==null?void 0:me[w])});return(0,Lt.Z)(function(){return xe},[xe],function(Ne,w){return!(0,y.Z)(Ne,w)})}function Tt(R){var L=(0,f.useRef)(R),ae=(0,f.useState)({}),me=(0,g.Z)(ae,2),xe=me[1],Ne=(0,f.useRef)(null),w=(0,f.useRef)([]);function et(Ye){w.current.push(Ye);var ft=Promise.resolve();Ne.current=ft,ft.then(function(){if(Ne.current===ft){var Ct=w.current,bt=L.current;w.current=[],Ct.forEach(function($t){L.current=$t(L.current)}),Ne.current=null,bt!==L.current&&xe({})}})}return(0,f.useEffect)(function(){return function(){Ne.current=null}},[]),[L.current,et]}function mn(R){var L=(0,f.useRef)(R||null),ae=(0,f.useRef)();function me(){window.clearTimeout(ae.current)}function xe(w){L.current=w,me(),ae.current=window.setTimeout(function(){L.current=null,ae.current=void 0},100)}function Ne(){return L.current}return(0,f.useEffect)(function(){return me},[]),[xe,Ne]}function gt(){var R=f.useState(-1),L=(0,g.Z)(R,2),ae=L[0],me=L[1],xe=f.useState(-1),Ne=(0,g.Z)(xe,2),w=Ne[0],et=Ne[1],Ye=f.useCallback(function(ft,Ct){me(ft),et(Ct)},[]);return[ae,w,Ye]}var hn=t(47273),Oe=(0,hn.Z)()?window:null;function oe(R,L){var ae=(0,ye.Z)(R)==="object"?R:{},me=ae.offsetHeader,xe=me===void 0?0:me,Ne=ae.offsetSummary,w=Ne===void 0?0:Ne,et=ae.offsetScroll,Ye=et===void 0?0:et,ft=ae.getContainer,Ct=ft===void 0?function(){return Oe}:ft,bt=Ct()||Oe;return f.useMemo(function(){var $t=!!R;return{isSticky:$t,stickyClassName:$t?"".concat(L,"-sticky-holder"):"",offsetHeader:xe,offsetSummary:w,offsetScroll:Ye,container:bt}},[Ye,xe,w,L,bt])}function c(R,L,ae){var me=(0,f.useMemo)(function(){for(var xe=[],Ne=[],w=0,et=0,Ye=0;Ye=bt&&(rn=bt-$t),w({scrollLeft:rn/bt*(Ct+2)}),E.current.x=Bt.pageX},Ue=function(){if(Ne.current){var Bt=(0,Rt.os)(Ne.current).top,en=Bt+Ne.current.offsetHeight,bn=Ye===window?document.documentElement.scrollTop+window.innerHeight:(0,Rt.os)(Ye).top+Ye.clientHeight;en-(0,Le.Z)()<=bn||Bt>=bn-et?m(function(Gt){return(0,fe.Z)((0,fe.Z)({},Gt),{},{isHiddenScrollBar:!0})}):m(function(Gt){return(0,fe.Z)((0,fe.Z)({},Gt),{},{isHiddenScrollBar:!1})})}},De=function(Bt){m(function(en){return(0,fe.Z)((0,fe.Z)({},en),{},{scrollLeft:Bt/Ct*bt||0})})};return f.useImperativeHandle(ae,function(){return{setScrollLeft:De}}),f.useEffect(function(){var ge=(0,kt.Z)(document.body,"mouseup",Be,!1),Bt=(0,kt.Z)(document.body,"mousemove",de,!1);return Ue(),function(){ge.remove(),Bt.remove()}},[$t,M]),f.useEffect(function(){var ge=(0,kt.Z)(Ye,"scroll",Ue,!1),Bt=(0,kt.Z)(window,"resize",Ue,!1);return function(){ge.remove(),Bt.remove()}},[Ye]),f.useEffect(function(){d.isHiddenScrollBar||m(function(ge){var Bt=Ne.current;return Bt?(0,fe.Z)((0,fe.Z)({},ge),{},{scrollLeft:Bt.scrollLeft/Bt.scrollWidth*Bt.clientWidth}):ge})},[d.isHiddenScrollBar]),Ct<=bt||!$t||d.isHiddenScrollBar?null:f.createElement("div",{style:{height:(0,Le.Z)(),width:bt,bottom:et},className:"".concat(ft,"-sticky-scroll")},f.createElement("div",{onMouseDown:Me,ref:Ut,className:rt()("".concat(ft,"-sticky-scroll-bar"),(0,D.Z)({},"".concat(ft,"-sticky-scroll-bar-active"),M)),style:{width:"".concat($t,"px"),transform:"translate3d(".concat(d.scrollLeft,"px, 0, 0)")}}))},vn=f.forwardRef(gn);function ce(R){return null}var Ln=ce;function nr(R){return null}var or=nr,Zn="rc-table",T=[],A={};function Pt(){return"No Data"}function z(R){var L,ae=(0,fe.Z)({rowKey:"key",prefixCls:Zn,emptyText:Pt},R),me=ae.prefixCls,xe=ae.className,Ne=ae.rowClassName,w=ae.style,et=ae.data,Ye=ae.rowKey,ft=ae.scroll,Ct=ae.tableLayout,bt=ae.direction,$t=ae.title,Ut=ae.footer,Ft=ae.summary,o=ae.caption,d=ae.id,m=ae.showHeader,E=ae.components,I=ae.emptyText,k=ae.onRow,M=ae.onHeaderRow,q=ae.internalHooks,Be=ae.transformColumns,Me=ae.internalRefs,de=ae.tailor,Ue=ae.sticky,De=et||T,ge=!!De.length,Bt=q===p,en=f.useCallback(function(jr,ea){return(0,$e.Z)(E,jr)||ea},[E]),bn=f.useMemo(function(){return typeof Ye=="function"?Ye:function(jr){var ea=jr&&jr[Ye];return ea}},[Ye]),Gt=en(["body"]),rn=gt(),on=(0,g.Z)(rn,3),Dn=on[0],Xn=on[1],Ht=on[2],Qn=Qt(ae,De,bn),fr=(0,g.Z)(Qn,6),Sn=fr[0],cr=fr[1],er=fr[2],qn=fr[3],Tn=fr[4],jn=fr[5],an=ft==null?void 0:ft.x,fn=f.useState(0),En=(0,g.Z)(fn,2),yn=En[0],rr=En[1],Ae=hr((0,fe.Z)((0,fe.Z)((0,fe.Z)({},ae),Sn),{},{expandable:!!Sn.expandedRowRender,columnTitle:Sn.columnTitle,expandedKeys:er,getRowKey:bn,onTriggerExpand:jn,expandIcon:qn,expandIconColumnIndex:Sn.expandIconColumnIndex,direction:bt,scrollWidth:Bt&&de&&typeof an=="number"?an:null}),Bt?Be:null),Pn=(0,g.Z)(Ae,3),sr=Pn[0],je=Pn[1],Jr=Pn[2],ma=Jr!=null?Jr:an,Ma=f.useMemo(function(){return{columns:sr,flattenColumns:je}},[sr,je]),ca=f.useRef(),aa=f.useRef(),zr=f.useRef(),Sa=f.useRef(),Ga=f.useRef(),xr=f.useState(!1),Or=(0,g.Z)(xr,2),Wr=Or[0],ha=Or[1],Ta=f.useState(!1),e=(0,g.Z)(Ta,2),r=e[0],b=e[1],K=Tt(new Map),We=(0,g.Z)(K,2),yt=We[0],Yt=We[1],An=O(je),Bn=An.map(function(jr){return yt.get(jr)}),Nt=f.useMemo(function(){return Bn},[Bn.join("_")]),nn=pt(Nt,je.length,bt),Mn=ft&&ze(ft.y),Kn=ft&&ze(ma)||!!Sn.fixed,Br=Kn&&je.some(function(jr){var ea=jr.fixed;return ea}),Ba=f.useRef(),Ya=oe(Ue,me),_a=Ya.isSticky,Ci=Ya.offsetHeader,Li=Ya.offsetSummary,tr=Ya.offsetScroll,Gr=Ya.stickyClassName,xa=Ya.container,l=f.useMemo(function(){return Ft==null?void 0:Ft(De)},[Ft,De]),n=(Mn||_a)&&f.isValidElement(l)&&l.type===N&&l.props.fixed,a,u,v;Mn&&(u={overflowY:"scroll",maxHeight:ft.y}),Kn&&(a={overflowX:"auto"},Mn||(u={overflowY:"hidden"}),v={width:ma===!0?"auto":ma,minWidth:"100%"});var x=f.useCallback(function(jr,ea){(0,he.Z)(ca.current)&&Yt(function(ui){if(ui.get(jr)!==ea){var ci=new Map(ui);return ci.set(jr,ea),ci}return ui})},[]),P=mn(null),re=(0,g.Z)(P,2),ue=re[0],Ve=re[1];function lt(jr,ea){ea&&(typeof ea=="function"?ea(jr):ea.scrollLeft!==jr&&(ea.scrollLeft=jr,ea.scrollLeft!==jr&&setTimeout(function(){ea.scrollLeft=jr},0)))}var St=(0,h.Z)(function(jr){var ea=jr.currentTarget,ui=jr.scrollLeft,ci=bt==="rtl",di=typeof ui=="number"?ui:ea.scrollLeft,es=ea||A;if(!Ve()||Ve()===es){var Ho;ue(es),lt(di,aa.current),lt(di,zr.current),lt(di,Ga.current),lt(di,(Ho=Ba.current)===null||Ho===void 0?void 0:Ho.setScrollLeft)}var is=ea||aa.current;if(is){var os=is.scrollWidth,ss=is.clientWidth;if(os===ss){ha(!1),b(!1);return}ci?(ha(-di0)):(ha(di>0),b(di1?o-Bt:0,bn=(0,fe.Z)((0,fe.Z)((0,fe.Z)({},Be),Ye),{},{flex:"0 0 ".concat(Bt,"px"),width:"".concat(Bt,"px"),marginRight:en,pointerEvents:"auto"}),Gt=f.useMemo(function(){return Ct?De<=1:de===0||De===0||De>1},[De,de,Ct]);Gt?bn.visibility="hidden":Ct&&(bn.height=bt==null?void 0:bt(De));var rn=Gt?function(){return null}:$t,on={};return(De===0||de===0)&&(on.rowSpan=1,on.colSpan=1),f.createElement(un,(0,ne.Z)({className:rt()(Ft,ft),ellipsis:ae.ellipsis,align:ae.align,scope:ae.rowScope,component:"div",prefixCls:L.prefixCls,key:I,record:et,index:Ne,renderIndex:w,dataIndex:Ut,render:rn,shouldCellUpdate:ae.shouldCellUpdate},k,{appendNode:M,additionalProps:(0,fe.Z)((0,fe.Z)({},q),{},{style:bn},on)}))}var ba=yr,Fe=["data","index","className","rowKey","style","extra","getHeight"],Xr=f.forwardRef(function(R,L){var ae=R.data,me=R.index,xe=R.className,Ne=R.rowKey,w=R.style,et=R.extra,Ye=R.getHeight,ft=(0,jt.Z)(R,Fe),Ct=ae.record,bt=ae.indent,$t=ae.index,Ut=te(W,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ft=Ut.scrollX,o=Ut.flattenColumns,d=Ut.prefixCls,m=Ut.fixColumn,E=Ut.componentWidth,I=ee(Ct,Ne,me,bt),k=I.rowSupportExpand,M=I.expanded,q=I.rowProps,Be=I.expandedRowRender,Me=I.expandedRowClassName,de;if(k&&M){var Ue=Be(Ct,me,bt+1,M),De=Me==null?void 0:Me(Ct,me,bt),ge={};m&&(ge={style:(0,D.Z)({},"--virtual-width","".concat(E,"px"))});var Bt="".concat(d,"-expanded-row-cell");de=f.createElement("div",{className:rt()("".concat(d,"-expanded-row"),"".concat(d,"-expanded-row-level-").concat(bt+1),De)},f.createElement(un,{component:"div",prefixCls:d,className:rt()(Bt,(0,D.Z)({},"".concat(Bt,"-fixed"),m)),additionalProps:ge},Ue))}var en=(0,fe.Z)((0,fe.Z)({},w),{},{width:Ft});et&&(en.position="absolute",en.pointerEvents="none");var bn=f.createElement("div",(0,ne.Z)({},q,ft,{ref:k?null:L,className:rt()(xe,"".concat(d,"-row"),q==null?void 0:q.className,(0,D.Z)({},"".concat(d,"-row-extra"),et)),style:(0,fe.Z)((0,fe.Z)({},en),q==null?void 0:q.style)}),o.map(function(Gt,rn){return f.createElement(ba,{key:rn,rowInfo:I,column:Gt,colIndex:rn,indent:bt,index:me,renderIndex:$t,record:Ct,inverse:et,getHeight:Ye})}));return k?f.createElement("div",{ref:L},bn,de):bn}),Qe=Z(Xr),ta=Qe,gr=f.forwardRef(function(R,L){var ae=R.data,me=R.onScroll,xe=te(W,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ne=xe.flattenColumns,w=xe.onColumnResize,et=xe.getRowKey,Ye=xe.expandedKeys,ft=xe.prefixCls,Ct=xe.childrenColumnName,bt=xe.emptyNode,$t=xe.scrollX,Ut=te(wr),Ft=Ut.scrollY,o=Ut.listItemHeight,d=f.useRef(),m=Et(ae,Ct,Ye,et),E=f.useMemo(function(){var de=0;return Ne.map(function(Ue){var De=Ue.width,ge=Ue.key;return de+=De,[ge,De,de]})},[Ne]),I=f.useMemo(function(){return E.map(function(de){return de[2]})},[E]);f.useEffect(function(){E.forEach(function(de){var Ue=(0,g.Z)(de,2),De=Ue[0],ge=Ue[1];w(De,ge)})},[E]),f.useImperativeHandle(L,function(){var de={};return Object.defineProperty(de,"scrollLeft",{get:function(){var De;return((De=d.current)===null||De===void 0?void 0:De.getScrollInfo().x)||0},set:function(De){var ge;(ge=d.current)===null||ge===void 0||ge.scrollTo({left:De})}}),de});var k=function(Ue,De){var ge,Bt=(ge=m[De])===null||ge===void 0?void 0:ge.record,en=Ue.onCell;if(en){var bn,Gt=en(Bt,De);return(bn=Gt==null?void 0:Gt.rowSpan)!==null&&bn!==void 0?bn:1}return 1},M=function(Ue){var De=Ue.start,ge=Ue.end,Bt=Ue.getSize,en=Ue.offsetY;if(ge<0)return null;for(var bn=Ne.filter(function(an){return k(an,De)===0}),Gt=De,rn=function(fn){if(bn=bn.filter(function(En){return k(En,fn)===0}),!bn.length)return Gt=fn,"break"},on=De;on>=0;on-=1){var Dn=rn(on);if(Dn==="break")break}for(var Xn=Ne.filter(function(an){return k(an,ge)!==1}),Ht=ge,Qn=function(fn){if(Xn=Xn.filter(function(En){return k(En,fn)!==1}),!Xn.length)return Ht=Math.max(fn-1,ge),"break"},fr=ge;fr1})&&cr.push(fn)},qn=Gt;qn<=Ht;qn+=1)var Tn=er(qn);var jn=cr.map(function(an){var fn=m[an],En=et(fn.record,an),yn=function(Pn){var sr=an+Pn-1,je=et(m[sr].record,sr),Jr=Bt(En,je);return Jr.bottom-Jr.top},rr=Bt(En);return f.createElement(ta,{key:an,data:fn,rowKey:En,index:an,style:{top:-en+rr.top},extra:!0,getHeight:yn})});return jn},q=f.useMemo(function(){return{columnsOffset:I}},[I]),Be="".concat(ft,"-tbody"),Me;return m.length?Me=f.createElement(pr.Z,{fullHeight:!1,ref:d,className:rt()(Be,"".concat(Be,"-virtual")),height:Ft,itemHeight:o||24,data:m,itemKey:function(Ue){return et(Ue.record)},scrollWidth:$t,onVirtualScroll:function(Ue){var De=Ue.x;me({scrollLeft:De})},extraRender:M},function(de,Ue,De){var ge=et(de.record,Ue);return f.createElement(ta,(0,ne.Z)({data:de,rowKey:ge,index:Ue},De))}):Me=f.createElement("div",{className:rt()("".concat(ft,"-placeholder"))},f.createElement(un,{component:"div",prefixCls:ft},bt)),f.createElement(xn.Provider,{value:q},Me)}),Ca=Z(gr),Fr=Ca,Mr=function(L,ae){var me=ae.ref,xe=ae.onScroll;return f.createElement(Fr,{ref:me,data:L,onScroll:xe})},na=100;function ra(R){var L=R.columns,ae=R.scroll,me=R.prefixCls,xe=me===void 0?Zn:me,Ne=R.className,w=R.listItemHeight,et=ae||{},Ye=et.x,ft=et.y;typeof Ye!="number"&&(Ye=((L||[]).length+1)*na),typeof ft!="number"&&(ft=500);var Ct=f.useMemo(function(){return{scrollY:ft,listItemHeight:w}},[ft,w]);return f.createElement(wr.Provider,{value:Ct},f.createElement(Vt,(0,ne.Z)({},R,{className:rt()(Ne,"".concat(xe,"-virtual")),scroll:(0,fe.Z)((0,fe.Z)({},ae),{},{x:Ye}),components:{body:Mr},columns:L,internalHooks:p,tailor:!0})))}function lr(R){return G(ra,R)}var Yn=lr(),Sr=null;function Nn(R){return null}var Lr=Nn;function Rr(R){return null}var la=Rr,pa=t(2738),va=t(68031),br=t(36355),_r=t(93891),Ea=t(19716),Xa=t(8628),pi=t(31724),Ha=t(58421),Ra=t(71418),ti=t(88088);function vi(R){return function(ae){let{prefixCls:me,onExpand:xe,record:Ne,expanded:w,expandable:et}=ae;const Ye=`${me}-row-expand-icon`;return f.createElement("button",{type:"button",onClick:ft=>{xe(Ne,ft),ft.stopPropagation()},className:rt()(Ye,{[`${Ye}-spaced`]:!et,[`${Ye}-expanded`]:et&&w,[`${Ye}-collapsed`]:et&&!w}),"aria-label":w?R.collapse:R.expand,"aria-expanded":w})}}var Ka=vi;function Na(R,L){return"key"in R&&R.key!==void 0&&R.key!==null?R.key:R.dataIndex?Array.isArray(R.dataIndex)?R.dataIndex.join("."):R.dataIndex:L}function Fa(R,L){return L?`${L}-${R}`:`${R}`}function ka(R,L){return typeof R=="function"?R(L):R}function ua(R,L){const ae=ka(R,L);return Object.prototype.toString.call(ae)==="[object Object]"?"":ae}var Ai={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"},Ii=Ai,Ki=t(7657),Ei=function(L,ae){return f.createElement(Ki.Z,(0,ne.Z)({},L,{ref:ae,icon:Ii}))},vr=f.forwardRef(Ei),$r=vr,Er=t(56762);function ve(R){const L=f.useRef(R),ae=(0,Er.Z)();return[()=>L.current,me=>{L.current=me,ae()}]}var Dr=t(3113),qr=t(24905),ya=t(38854),La=t(64165),vt=t(20834),Vr=t(40875),Ja=t(5112),qa=t(17574),Wi=t(47472),Vi=t(92832);function Zi(R){let{value:L,onChange:ae,filterSearch:me,tablePrefixCls:xe,locale:Ne}=R;return me?f.createElement("div",{className:`${xe}-filter-dropdown-search`},f.createElement(Vi.default,{prefix:f.createElement(Wi.Z,null),placeholder:Ne.filterSearchPlaceholder,onChange:ae,value:L,htmlSize:1,className:`${xe}-filter-dropdown-search-input`})):null}var yi=Zi,Mi=t(10228);const wn=R=>{const{keyCode:L}=R;L===Mi.Z.ENTER&&R.stopPropagation()};var Yi=f.forwardRef((R,L)=>f.createElement("div",{className:R.className,onClick:ae=>ae.stopPropagation(),onKeyDown:wn,ref:L},R.children));function Zr(R){let L=[];return(R||[]).forEach(ae=>{let{value:me,children:xe}=ae;L.push(me),xe&&(L=[].concat((0,Mt.Z)(L),(0,Mt.Z)(Zr(xe))))}),L}function ri(R){return R.some(L=>{let{children:ae}=L;return ae})}function No(R,L){return typeof L=="string"||typeof L=="number"?L==null?void 0:L.toString().toLowerCase().includes(R.trim().toLowerCase()):!1}function Ni(R){let{filters:L,prefixCls:ae,filteredKeys:me,filterMultiple:xe,searchValue:Ne,filterSearch:w}=R;return L.map((et,Ye)=>{const ft=String(et.value);if(et.children)return{key:ft||Ye,label:et.text,popupClassName:`${ae}-dropdown-submenu`,children:Ni({filters:et.children,prefixCls:ae,filteredKeys:me,filterMultiple:xe,searchValue:Ne,filterSearch:w})};const Ct=xe?qr.default:Ja.ZP,bt={key:et.value!==void 0?ft:Ye,label:f.createElement(f.Fragment,null,f.createElement(Ct,{checked:me.includes(ft)}),f.createElement("span",null,et.text))};return Ne.trim()?typeof w=="function"?w(Ne,et)?bt:null:No(Ne,et.text)?bt:null:bt})}function wo(R){var L,ae;const{tablePrefixCls:me,prefixCls:xe,column:Ne,dropdownPrefixCls:w,columnKey:et,filterMultiple:Ye,filterMode:ft="menu",filterSearch:Ct=!1,filterState:bt,triggerFilter:$t,locale:Ut,children:Ft,getPopupContainer:o}=R,{filterDropdownOpen:d,onFilterDropdownOpenChange:m,filterResetToDefaultFilteredValue:E,defaultFilteredValue:I,filterDropdownVisible:k,onFilterDropdownVisibleChange:M}=Ne,[q,Be]=f.useState(!1),Me=!!(bt&&(!((L=bt.filteredKeys)===null||L===void 0)&&L.length||bt.forceFiltered)),de=Ae=>{Be(Ae),m==null||m(Ae),M==null||M(Ae)},Ue=(ae=d!=null?d:k)!==null&&ae!==void 0?ae:q,De=bt==null?void 0:bt.filteredKeys,[ge,Bt]=ve(De||[]),en=Ae=>{let{selectedKeys:Pn}=Ae;Bt(Pn)},bn=(Ae,Pn)=>{let{node:sr,checked:je}=Pn;en(Ye?{selectedKeys:Ae}:{selectedKeys:je&&sr.key?[sr.key]:[]})};f.useEffect(()=>{q&&en({selectedKeys:De||[]})},[De]);const[Gt,rn]=f.useState([]),on=Ae=>{rn(Ae)},[Dn,Xn]=f.useState(""),Ht=Ae=>{const{value:Pn}=Ae.target;Xn(Pn)};f.useEffect(()=>{q||Xn("")},[q]);const Qn=Ae=>{const Pn=Ae&&Ae.length?Ae:null;if(Pn===null&&(!bt||!bt.filteredKeys)||(0,y.Z)(Pn,bt==null?void 0:bt.filteredKeys,!0))return null;$t({column:Ne,key:et,filteredKeys:Pn})},fr=()=>{de(!1),Qn(ge())},Sn=function(){let{confirm:Ae,closeDropdown:Pn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ae&&Qn([]),Pn&&de(!1),Xn(""),Bt(E?(I||[]).map(sr=>String(sr)):[])},cr=function(){let{closeDropdown:Ae}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ae&&de(!1),Qn(ge())},er=Ae=>{Ae&&De!==void 0&&Bt(De||[]),de(Ae),!Ae&&!Ne.filterDropdown&&fr()},qn=rt()({[`${w}-menu-without-submenu`]:!ri(Ne.filters||[])}),Tn=Ae=>{if(Ae.target.checked){const Pn=Zr(Ne==null?void 0:Ne.filters).map(sr=>String(sr));Bt(Pn)}else Bt([])},jn=Ae=>{let{filters:Pn}=Ae;return(Pn||[]).map((sr,je)=>{const Jr=String(sr.value),ma={title:sr.text,key:sr.value!==void 0?Jr:je};return sr.children&&(ma.children=jn({filters:sr.children})),ma})},an=Ae=>{var Pn;return Object.assign(Object.assign({},Ae),{text:Ae.title,value:Ae.key,children:((Pn=Ae.children)===null||Pn===void 0?void 0:Pn.map(sr=>an(sr)))||[]})};let fn;if(typeof Ne.filterDropdown=="function")fn=Ne.filterDropdown({prefixCls:`${w}-custom`,setSelectedKeys:Ae=>en({selectedKeys:Ae}),selectedKeys:ge(),confirm:cr,clearFilters:Sn,filters:Ne.filters,visible:Ue,close:()=>{de(!1)}});else if(Ne.filterDropdown)fn=Ne.filterDropdown;else{const Ae=ge()||[],Pn=()=>(Ne.filters||[]).length===0?f.createElement(La.Z,{image:La.Z.PRESENTED_IMAGE_SIMPLE,description:Ut.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ft==="tree"?f.createElement(f.Fragment,null,f.createElement(yi,{filterSearch:Ct,value:Dn,onChange:Ht,tablePrefixCls:me,locale:Ut}),f.createElement("div",{className:`${me}-filter-dropdown-tree`},Ye?f.createElement(qr.default,{checked:Ae.length===Zr(Ne.filters).length,indeterminate:Ae.length>0&&Ae.lengthtypeof Ct=="function"?Ct(Dn,an(je)):No(Dn,je.title):void 0}))):f.createElement(f.Fragment,null,f.createElement(yi,{filterSearch:Ct,value:Dn,onChange:Ht,tablePrefixCls:me,locale:Ut}),f.createElement(vt.default,{selectable:!0,multiple:Ye,prefixCls:`${w}-menu`,className:qn,onSelect:en,onDeselect:en,selectedKeys:Ae,getPopupContainer:o,openKeys:Gt,onOpenChange:on,items:Ni({filters:Ne.filters||[],filterSearch:Ct,prefixCls:xe,filteredKeys:ge(),filterMultiple:Ye,searchValue:Dn})})),sr=()=>E?(0,y.Z)((I||[]).map(je=>String(je)),Ae,!0):Ae.length===0;fn=f.createElement(f.Fragment,null,Pn(),f.createElement("div",{className:`${xe}-dropdown-btns`},f.createElement(Dr.ZP,{type:"link",size:"small",disabled:sr(),onClick:()=>Sn()},Ut.filterReset),f.createElement(Dr.ZP,{type:"primary",size:"small",onClick:fr},Ut.filterConfirm)))}Ne.filterDropdown&&(fn=f.createElement(Vr.J,{selectable:void 0},fn));const En=()=>f.createElement(Yi,{className:`${xe}-dropdown`},fn);let yn;typeof Ne.filterIcon=="function"?yn=Ne.filterIcon(Me):Ne.filterIcon?yn=Ne.filterIcon:yn=f.createElement($r,null);const{direction:rr}=f.useContext(br.E_);return f.createElement("div",{className:`${xe}-column`},f.createElement("span",{className:`${me}-column-title`},Ft),f.createElement(ya.Z,{dropdownRender:En,trigger:["click"],open:Ue,onOpenChange:er,getPopupContainer:o,placement:rr==="rtl"?"bottomLeft":"bottomRight"},f.createElement("span",{role:"button",tabIndex:-1,className:rt()(`${xe}-trigger`,{active:Me}),onClick:Ae=>{Ae.stopPropagation()}},yn)))}var zo=wo;function fa(R,L,ae){let me=[];return(R||[]).forEach((xe,Ne)=>{var w;const et=Fa(Ne,ae);if(xe.filters||"filterDropdown"in xe||"onFilter"in xe)if("filteredValue"in xe){let Ye=xe.filteredValue;"filterDropdown"in xe||(Ye=(w=Ye==null?void 0:Ye.map(String))!==null&&w!==void 0?w:Ye),me.push({column:xe,key:Na(xe,et),filteredKeys:Ye,forceFiltered:xe.filtered})}else me.push({column:xe,key:Na(xe,et),filteredKeys:L&&xe.defaultFilteredValue?xe.defaultFilteredValue:void 0,forceFiltered:xe.filtered});"children"in xe&&(me=[].concat((0,Mt.Z)(me),(0,Mt.Z)(fa(xe.children,L,et))))}),me}function Aa(R,L,ae,me,xe,Ne,w,et){return ae.map((Ye,ft)=>{const Ct=Fa(ft,et),{filterMultiple:bt=!0,filterMode:$t,filterSearch:Ut}=Ye;let Ft=Ye;if(Ft.filters||Ft.filterDropdown){const o=Na(Ft,Ct),d=me.find(m=>{let{key:E}=m;return o===E});Ft=Object.assign(Object.assign({},Ft),{title:m=>f.createElement(zo,{tablePrefixCls:R,prefixCls:`${R}-filter`,dropdownPrefixCls:L,column:Ft,columnKey:o,filterState:d,filterMultiple:bt,filterMode:$t,filterSearch:Ut,triggerFilter:Ne,locale:xe,getPopupContainer:w},ka(Ye.title,m))})}return"children"in Ft&&(Ft=Object.assign(Object.assign({},Ft),{children:Aa(R,L,Ft.children,me,xe,Ne,w,Ct)})),Ft})}function Xi(R){const L={};return R.forEach(ae=>{let{key:me,filteredKeys:xe,column:Ne}=ae;const{filters:w,filterDropdown:et}=Ne;if(et)L[me]=xe||null;else if(Array.isArray(xe)){const Ye=Zr(w);L[me]=Ye.filter(ft=>xe.includes(String(ft)))}else L[me]=null}),L}function fi(R,L){return L.reduce((ae,me)=>{const{column:{onFilter:xe,filters:Ne},filteredKeys:w}=me;return xe&&w&&w.length?ae.filter(et=>w.some(Ye=>{const ft=Zr(Ne),Ct=ft.findIndex($t=>String($t)===String(Ye)),bt=Ct!==-1?ft[Ct]:Ye;return xe(bt,et)})):ae},R)}const ai=R=>R.flatMap(L=>"children"in L?[L].concat((0,Mt.Z)(ai(L.children||[]))):[L]);function _i(R){let{prefixCls:L,dropdownPrefixCls:ae,mergedColumns:me,onFilterChange:xe,getPopupContainer:Ne,locale:w}=R;const et=f.useMemo(()=>ai(me||[]),[me]),[Ye,ft]=f.useState(()=>fa(et,!0)),Ct=f.useMemo(()=>{const Ft=fa(et,!1);if(Ft.length===0)return Ft;let o=!0,d=!0;if(Ft.forEach(m=>{let{filteredKeys:E}=m;E!==void 0?o=!1:d=!1}),o){const m=(et||[]).map((E,I)=>Na(E,Fa(I)));return Ye.filter(E=>{let{key:I}=E;return m.includes(I)}).map(E=>{const I=et[m.findIndex(k=>k===E.key)];return Object.assign(Object.assign({},E),{column:Object.assign(Object.assign({},E.column),I),forceFiltered:I.filtered})})}return Ft},[et,Ye]),bt=f.useMemo(()=>Xi(Ct),[Ct]),$t=Ft=>{const o=Ct.filter(d=>{let{key:m}=d;return m!==Ft.key});o.push(Ft),ft(o),xe(Xi(o),o)};return[Ft=>Aa(L,ae,Ft,Ct,w,$t,Ne),Ct,bt]}var Pr=_i;function Si(R,L,ae){const me=f.useRef({});function xe(Ne){if(!me.current||me.current.data!==R||me.current.childrenColumnName!==L||me.current.getRowKey!==ae){let et=function(Ye){Ye.forEach((ft,Ct)=>{const bt=ae(ft,Ct);w.set(bt,ft),ft&&typeof ft=="object"&&L in ft&&et(ft[L]||[])})};const w=new Map;et(R),me.current={data:R,childrenColumnName:L,kvMap:w,getRowKey:ae}}return me.current.kvMap.get(Ne)}return[xe]}var ii=t(50371),Ro=function(R,L){var ae={};for(var me in R)Object.prototype.hasOwnProperty.call(R,me)&&L.indexOf(me)<0&&(ae[me]=R[me]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,me=Object.getOwnPropertySymbols(R);xe{const Ne=R[xe];typeof Ne!="function"&&(ae[xe]=Ne)}),ae}function mo(R,L,ae){const me=ae&&typeof ae=="object"?ae:{},{total:xe=0}=me,Ne=Ro(me,["total"]),[w,et]=(0,f.useState)(()=>({current:"defaultCurrent"in Ne?Ne.defaultCurrent:1,pageSize:"defaultPageSize"in Ne?Ne.defaultPageSize:Oa})),Ye=(0,ii.Z)(w,Ne,{total:xe>0?xe:R}),ft=Math.ceil((xe||R)/Ye.pageSize);Ye.current>ft&&(Ye.current=ft||1);const Ct=($t,Ut)=>{et({current:$t!=null?$t:1,pageSize:Ut||Ye.pageSize})},bt=($t,Ut)=>{var Ft;ae&&((Ft=ae.onChange)===null||Ft===void 0||Ft.call(ae,$t,Ut)),Ct($t,Ut),L($t,Ut||(Ye==null?void 0:Ye.pageSize))};return ae===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ye),{onChange:bt}),Ct]}var ln=mo,Wa=t(84105),qi=t(35654),Pi=t(90782),ho=t(71430),$a=t(18929);const Pa={},Qr="SELECT_ALL",Bi="SELECT_INVERT",Qi="SELECT_NONE",go=[],Oo=(R,L)=>{let ae=[];return(L||[]).forEach(me=>{ae.push(me),me&&typeof me=="object"&&R in me&&(ae=[].concat((0,Mt.Z)(ae),(0,Mt.Z)(Oo(R,me[R]))))}),ae};var Go=(R,L)=>{const{preserveSelectedRowKeys:ae,selectedRowKeys:me,defaultSelectedRowKeys:xe,getCheckboxProps:Ne,onChange:w,onSelect:et,onSelectAll:Ye,onSelectInvert:ft,onSelectNone:Ct,onSelectMultiple:bt,columnWidth:$t,type:Ut,selections:Ft,fixed:o,renderCell:d,hideSelectAll:m,checkStrictly:E=!0}=L||{},{prefixCls:I,data:k,pageData:M,getRecordByKey:q,getRowKey:Be,expandType:Me,childrenColumnName:de,locale:Ue,getPopupContainer:De}=R,[ge,Bt]=(0,$a.Z)(me||xe||go,{value:me}),en=f.useRef(new Map),bn=(0,f.useCallback)(an=>{if(ae){const fn=new Map;an.forEach(En=>{let yn=q(En);!yn&&en.current.has(En)&&(yn=en.current.get(En)),fn.set(En,yn)}),en.current=fn}},[q,ae]);f.useEffect(()=>{bn(ge)},[ge]);const{keyEntities:Gt}=(0,f.useMemo)(()=>{if(E)return{keyEntities:null};let an=k;if(ae){const fn=new Set(k.map((yn,rr)=>Be(yn,rr))),En=Array.from(en.current).reduce((yn,rr)=>{let[Ae,Pn]=rr;return fn.has(Ae)?yn:yn.concat(Pn)},[]);an=[].concat((0,Mt.Z)(an),(0,Mt.Z)(En))}return(0,ho.I8)(an,{externalGetKey:Be,childrenPropName:de})},[k,Be,E,de,ae]),rn=(0,f.useMemo)(()=>Oo(de,M),[de,M]),on=(0,f.useMemo)(()=>{const an=new Map;return rn.forEach((fn,En)=>{const yn=Be(fn,En),rr=(Ne?Ne(fn):null)||{};an.set(yn,rr)}),an},[rn,Be,Ne]),Dn=(0,f.useCallback)(an=>{var fn;return!!(!((fn=on.get(Be(an)))===null||fn===void 0)&&fn.disabled)},[on,Be]),[Xn,Ht]=(0,f.useMemo)(()=>{if(E)return[ge||[],[]];const{checkedKeys:an,halfCheckedKeys:fn}=(0,Pi.S)(ge,!0,Gt,Dn);return[an||[],fn]},[ge,E,Gt,Dn]),Qn=(0,f.useMemo)(()=>{const an=Ut==="radio"?Xn.slice(0,1):Xn;return new Set(an)},[Xn,Ut]),fr=(0,f.useMemo)(()=>Ut==="radio"?new Set:new Set(Ht),[Ht,Ut]),[Sn,cr]=(0,f.useState)(null);f.useEffect(()=>{L||Bt(go)},[!!L]);const er=(0,f.useCallback)((an,fn)=>{let En,yn;bn(an),ae?(En=an,yn=an.map(rr=>en.current.get(rr))):(En=[],yn=[],an.forEach(rr=>{const Ae=q(rr);Ae!==void 0&&(En.push(rr),yn.push(Ae))})),Bt(En),w==null||w(En,yn,{type:fn})},[Bt,q,w,ae]),qn=(0,f.useCallback)((an,fn,En,yn)=>{if(et){const rr=En.map(Ae=>q(Ae));et(q(an),fn,rr,yn)}er(En,"single")},[et,q,er]),Tn=(0,f.useMemo)(()=>!Ft||m?null:(Ft===!0?[Qr,Bi,Qi]:Ft).map(fn=>fn===Qr?{key:"all",text:Ue.selectionAll,onSelect(){er(k.map((En,yn)=>Be(En,yn)).filter(En=>{const yn=on.get(En);return!(yn!=null&&yn.disabled)||Qn.has(En)}),"all")}}:fn===Bi?{key:"invert",text:Ue.selectInvert,onSelect(){const En=new Set(Qn);M.forEach((rr,Ae)=>{const Pn=Be(rr,Ae),sr=on.get(Pn);sr!=null&&sr.disabled||(En.has(Pn)?En.delete(Pn):En.add(Pn))});const yn=Array.from(En);ft&&ft(yn),er(yn,"invert")}}:fn===Qi?{key:"none",text:Ue.selectNone,onSelect(){Ct==null||Ct(),er(Array.from(Qn).filter(En=>{const yn=on.get(En);return yn==null?void 0:yn.disabled}),"none")}}:fn).map(fn=>Object.assign(Object.assign({},fn),{onSelect:function(){for(var En,yn,rr=arguments.length,Ae=new Array(rr),Pn=0;Pn{var fn;if(!L)return an.filter(xr=>xr!==Pa);let En=(0,Mt.Z)(an);const yn=new Set(Qn),rr=rn.map(Be).filter(xr=>!on.get(xr).disabled),Ae=rr.every(xr=>yn.has(xr)),Pn=rr.some(xr=>yn.has(xr)),sr=()=>{const xr=[];Ae?rr.forEach(Wr=>{yn.delete(Wr),xr.push(Wr)}):rr.forEach(Wr=>{yn.has(Wr)||(yn.add(Wr),xr.push(Wr))});const Or=Array.from(yn);Ye==null||Ye(!Ae,Or.map(Wr=>q(Wr)),xr.map(Wr=>q(Wr))),er(Or,"all"),cr(null)};let je;if(Ut!=="radio"){let xr;if(Tn){const e={getPopupContainer:De,items:Tn.map((r,b)=>{const{key:K,text:We,onSelect:yt}=r;return{key:K!=null?K:b,onClick:()=>{yt==null||yt(rr)},label:We}})};xr=f.createElement("div",{className:`${I}-selection-extra`},f.createElement(ya.Z,{menu:e,getPopupContainer:De},f.createElement("span",null,f.createElement(Wa.Z,null))))}const Or=rn.map((e,r)=>{const b=Be(e,r),K=on.get(b)||{};return Object.assign({checked:yn.has(b)},K)}).filter(e=>{let{disabled:r}=e;return r}),Wr=!!Or.length&&Or.length===rn.length,ha=Wr&&Or.every(e=>{let{checked:r}=e;return r}),Ta=Wr&&Or.some(e=>{let{checked:r}=e;return r});je=!m&&f.createElement("div",{className:`${I}-selection`},f.createElement(qr.default,{checked:Wr?ha:!!rn.length&&Ae,indeterminate:Wr?!ha&&Ta:!Ae&&Pn,onChange:sr,disabled:rn.length===0||Wr,"aria-label":xr?"Custom selection":"Select all",skipGroup:!0}),xr)}let Jr;Ut==="radio"?Jr=(xr,Or,Wr)=>{const ha=Be(Or,Wr),Ta=yn.has(ha);return{node:f.createElement(Ja.ZP,Object.assign({},on.get(ha),{checked:Ta,onClick:e=>e.stopPropagation(),onChange:e=>{yn.has(ha)||qn(ha,!0,[ha],e.nativeEvent)}})),checked:Ta}}:Jr=(xr,Or,Wr)=>{var ha;const Ta=Be(Or,Wr),e=yn.has(Ta),r=fr.has(Ta),b=on.get(Ta);let K;return Me==="nest"?K=r:K=(ha=b==null?void 0:b.indeterminate)!==null&&ha!==void 0?ha:r,{node:f.createElement(qr.default,Object.assign({},b,{indeterminate:K,checked:e,skipGroup:!0,onClick:We=>We.stopPropagation(),onChange:We=>{let{nativeEvent:yt}=We;const{shiftKey:Yt}=yt;let An=-1,Bn=-1;if(Yt&&E){const Nt=new Set([Sn,Ta]);rr.some((nn,Mn)=>{if(Nt.has(nn))if(An===-1)An=Mn;else return Bn=Mn,!0;return!1})}if(Bn!==-1&&An!==Bn&&E){const Nt=rr.slice(An,Bn+1),nn=[];e?Nt.forEach(Kn=>{yn.has(Kn)&&(nn.push(Kn),yn.delete(Kn))}):Nt.forEach(Kn=>{yn.has(Kn)||(nn.push(Kn),yn.add(Kn))});const Mn=Array.from(yn);bt==null||bt(!e,Mn.map(Kn=>q(Kn)),nn.map(Kn=>q(Kn))),er(Mn,"multiple")}else{const Nt=Xn;if(E){const nn=e?(0,qi._5)(Nt,Ta):(0,qi.L0)(Nt,Ta);qn(Ta,!e,nn,yt)}else{const nn=(0,Pi.S)([].concat((0,Mt.Z)(Nt),[Ta]),!0,Gt,Dn),{checkedKeys:Mn,halfCheckedKeys:Kn}=nn;let Br=Mn;if(e){const Ba=new Set(Mn);Ba.delete(Ta),Br=(0,Pi.S)(Array.from(Ba),{checked:!1,halfCheckedKeys:Kn},Gt,Dn).checkedKeys}qn(Ta,!e,Br,yt)}}cr(e?null:Ta)}})),checked:e}};const ma=(xr,Or,Wr)=>{const{node:ha,checked:Ta}=Jr(xr,Or,Wr);return d?d(Ta,Or,Wr,ha):ha};if(!En.includes(Pa))if(En.findIndex(xr=>{var Or;return((Or=xr[cn])===null||Or===void 0?void 0:Or.columnType)==="EXPAND_COLUMN"})===0){const[xr,...Or]=En;En=[xr,Pa].concat((0,Mt.Z)(Or))}else En=[Pa].concat((0,Mt.Z)(En));const Ma=En.indexOf(Pa);En=En.filter((xr,Or)=>xr!==Pa||Or===Ma);const ca=En[Ma-1],aa=En[Ma+1];let zr=o;zr===void 0&&((aa==null?void 0:aa.fixed)!==void 0?zr=aa.fixed:(ca==null?void 0:ca.fixed)!==void 0&&(zr=ca.fixed)),zr&&ca&&((fn=ca[cn])===null||fn===void 0?void 0:fn.columnType)==="EXPAND_COLUMN"&&ca.fixed===void 0&&(ca.fixed=zr);const Sa=rt()(`${I}-selection-col`,{[`${I}-selection-col-with-dropdown`]:Ft&&Ut==="checkbox"}),Ga={fixed:zr,width:$t,className:`${I}-selection-column`,title:L.columnTitle||je,render:ma,onCell:L.onCell,[cn]:{className:Sa}};return En.map(xr=>xr===Pa?Ga:xr)},[Be,rn,L,Xn,Qn,fr,$t,Tn,Me,Sn,on,bt,qn,Dn]),Qn]},jo=t(89489),Ko=t(59477),bo=t(6848);const Fi="ascend",vo="descend";function Va(R){return typeof R.sorter=="object"&&typeof R.sorter.multiple=="number"?R.sorter.multiple:!1}function Tr(R){return typeof R=="function"?R:R&&typeof R=="object"&&R.compare?R.compare:!1}function Eo(R,L){return L?R[R.indexOf(L)+1]:R[0]}function wi(R,L,ae){let me=[];function xe(Ne,w){me.push({column:Ne,key:Na(Ne,w),multiplePriority:Va(Ne),sortOrder:Ne.sortOrder})}return(R||[]).forEach((Ne,w)=>{const et=Fa(w,ae);Ne.children?("sortOrder"in Ne&&xe(Ne,et),me=[].concat((0,Mt.Z)(me),(0,Mt.Z)(wi(Ne.children,L,et)))):Ne.sorter&&("sortOrder"in Ne?xe(Ne,et):L&&Ne.defaultSortOrder&&me.push({column:Ne,key:Na(Ne,et),multiplePriority:Va(Ne),sortOrder:Ne.defaultSortOrder}))}),me}function Ji(R,L,ae,me,xe,Ne,w,et){return(L||[]).map((Ye,ft)=>{const Ct=Fa(ft,et);let bt=Ye;if(bt.sorter){const $t=bt.sortDirections||xe,Ut=bt.showSorterTooltip===void 0?w:bt.showSorterTooltip,Ft=Na(bt,Ct),o=ae.find(Me=>{let{key:de}=Me;return de===Ft}),d=o?o.sortOrder:null,m=Eo($t,d);let E;if(Ye.sortIcon)E=Ye.sortIcon({sortOrder:d});else{const Me=$t.includes(Fi)&&f.createElement(Ko.Z,{className:rt()(`${R}-column-sorter-up`,{active:d===Fi})}),de=$t.includes(vo)&&f.createElement(jo.Z,{className:rt()(`${R}-column-sorter-down`,{active:d===vo})});E=f.createElement("span",{className:rt()(`${R}-column-sorter`,{[`${R}-column-sorter-full`]:!!(Me&&de)})},f.createElement("span",{className:`${R}-column-sorter-inner`,"aria-hidden":"true"},Me,de))}const{cancelSort:I,triggerAsc:k,triggerDesc:M}=Ne||{};let q=I;m===vo?q=M:m===Fi&&(q=k);const Be=typeof Ut=="object"?Ut:{title:q};bt=Object.assign(Object.assign({},bt),{className:rt()(bt.className,{[`${R}-column-sort`]:d}),title:Me=>{const de=f.createElement("div",{className:`${R}-column-sorters`},f.createElement("span",{className:`${R}-column-title`},ka(Ye.title,Me)),E);return Ut?f.createElement(bo.Z,Object.assign({},Be),de):de},onHeaderCell:Me=>{const de=Ye.onHeaderCell&&Ye.onHeaderCell(Me)||{},Ue=de.onClick,De=de.onKeyDown;de.onClick=en=>{me({column:Ye,key:Ft,sortOrder:m,multiplePriority:Va(Ye)}),Ue==null||Ue(en)},de.onKeyDown=en=>{en.keyCode===Mi.Z.ENTER&&(me({column:Ye,key:Ft,sortOrder:m,multiplePriority:Va(Ye)}),De==null||De(en))};const ge=ua(Ye.title,{}),Bt=ge==null?void 0:ge.toString();return d?de["aria-sort"]=d==="ascend"?"ascending":"descending":de["aria-label"]=Bt||"",de.className=rt()(de.className,`${R}-column-has-sorters`),de.tabIndex=0,Ye.ellipsis&&(de.title=(ge!=null?ge:"").toString()),de}})}return"children"in bt&&(bt=Object.assign(Object.assign({},bt),{children:Ji(R,bt.children,ae,me,xe,Ne,w,Ct)})),bt})}function eo(R){const{column:L,sortOrder:ae}=R;return{column:L,order:ae,field:L.dataIndex,columnKey:L.key}}function to(R){const L=R.filter(ae=>{let{sortOrder:me}=ae;return me}).map(eo);return L.length===0&&R.length?Object.assign(Object.assign({},eo(R[R.length-1])),{column:void 0}):L.length<=1?L[0]||{}:L}function Ri(R,L,ae){const me=L.slice().sort((w,et)=>et.multiplePriority-w.multiplePriority),xe=R.slice(),Ne=me.filter(w=>{let{column:{sorter:et},sortOrder:Ye}=w;return Tr(et)&&Ye});return Ne.length?xe.sort((w,et)=>{for(let Ye=0;Ye{const et=w[ae];return et?Object.assign(Object.assign({},w),{[ae]:Ri(et,L,ae)}):w}):xe}function ko(R){let{prefixCls:L,mergedColumns:ae,onSorterChange:me,sortDirections:xe,tableLocale:Ne,showSorterTooltip:w}=R;const[et,Ye]=f.useState(wi(ae,!0)),ft=f.useMemo(()=>{let Ft=!0;const o=wi(ae,!1);if(!o.length)return et;const d=[];function m(I){Ft?d.push(I):d.push(Object.assign(Object.assign({},I),{sortOrder:null}))}let E=null;return o.forEach(I=>{E===null?(m(I),I.sortOrder&&(I.multiplePriority===!1?Ft=!1:E=!0)):(E&&I.multiplePriority!==!1||(Ft=!1),m(I))}),d},[ae,et]),Ct=f.useMemo(()=>{const Ft=ft.map(o=>{let{column:d,sortOrder:m}=o;return{column:d,order:m}});return{sortColumns:Ft,sortColumn:Ft[0]&&Ft[0].column,sortOrder:Ft[0]&&Ft[0].order}},[ft]);function bt(Ft){let o;Ft.multiplePriority===!1||!ft.length||ft[0].multiplePriority===!1?o=[Ft]:o=[].concat((0,Mt.Z)(ft.filter(d=>{let{key:m}=d;return m!==Ft.key})),[Ft]),Ye(o),me(to(o),o)}return[Ft=>Ji(L,Ft,ft,bt,xe,Ne,w),ft,Ct,()=>to(ft)]}function yo(R,L){return R.map(ae=>{const me=Object.assign({},ae);return me.title=ka(ae.title,L),"children"in me&&(me.children=yo(me.children,L)),me})}function Lo(R){return[f.useCallback(ae=>yo(ae,R),[R])]}var no=Ie((R,L)=>{const{_renderTimes:ae}=R,{_renderTimes:me}=L;return ae!==me}),ro=lr((R,L)=>{const{_renderTimes:ae}=R,{_renderTimes:me}=L;return ae!==me}),oi=t(64993),Ia=t(17313),Wo=t(83116),Vo=t(37613),Do=R=>{const{componentCls:L}=R,ae=`${R.lineWidth}px ${R.lineType} ${R.tableBorderColor}`,me=(xe,Ne,w)=>({[`&${L}-${xe}`]:{[`> ${L}-container`]:{[`> ${L}-content, > ${L}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${L}-expanded-row-fixed`]:{margin:`-${Ne}px -${w+R.lineWidth}px`}}}}}});return{[`${L}-wrapper`]:{[`${L}${L}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${L}-title`]:{border:ae,borderBottom:0},[`> ${L}-container`]:{borderInlineStart:ae,borderTop:ae,[` + `]:Object.assign({},se(ie))}}};var le=(0,U.Z)("Skeleton",ie=>{const{componentCls:N}=ie,Te=(0,te.TS)(ie,{skeletonAvatarCls:`${N}-avatar`,skeletonTitleCls:`${N}-title`,skeletonParagraphCls:`${N}-paragraph`,skeletonButtonCls:`${N}-button`,skeletonInputCls:`${N}-input`,skeletonImageCls:`${N}-image`,imageSizeBase:ie.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ie.gradientFromColor} 25%, ${ie.gradientToColor} 37%, ${ie.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[W(Te)]},ie=>{const{colorFillContent:N,colorFill:Te}=ie,st=N,V=Te;return{color:st,colorGradientEnd:V,gradientFromColor:st,gradientToColor:V,titleHeight:ie.controlHeight/2,blockRadius:ie.borderRadiusSM,paragraphMarginTop:ie.marginLG+ie.marginXXS,paragraphLiHeight:ie.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),X=ie=>{const{prefixCls:N,className:Te,rootClassName:st,active:V,shape:H="circle",size:Pe="default"}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=(0,C.Z)(ie,["prefixCls","className"]),Et=p()(Q,`${Q}-element`,{[`${Q}-active`]:V},Te,st,ht);return Le(g.createElement("div",{className:Et},g.createElement(f,Object.assign({prefixCls:`${Q}-avatar`,shape:H,size:Pe},at))))},fe=ie=>{const{prefixCls:N,className:Te,rootClassName:st,active:V,block:H=!1,size:Pe="default"}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=(0,C.Z)(ie,["prefixCls"]),Et=p()(Q,`${Q}-element`,{[`${Q}-active`]:V,[`${Q}-block`]:H},Te,st,ht);return Le(g.createElement("div",{className:Et},g.createElement(f,Object.assign({prefixCls:`${Q}-button`,size:Pe},at))))};const D="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 rt=ie=>{const{prefixCls:N,className:Te,rootClassName:st,style:V,active:H}=ie,{getPrefixCls:Pe}=g.useContext(h.E_),he=Pe("skeleton",N),[Q,Le]=le(he),ht=p()(he,`${he}-element`,{[`${he}-active`]:H},Te,st,Le);return Q(g.createElement("div",{className:ht},g.createElement("div",{className:p()(`${he}-image`,Te),style:V},g.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${he}-image-svg`},g.createElement("path",{d:D,className:`${he}-image-path`})))))},$e=ie=>{const{prefixCls:N,className:Te,rootClassName:st,active:V,block:H,size:Pe="default"}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=(0,C.Z)(ie,["prefixCls"]),Et=p()(Q,`${Q}-element`,{[`${Q}-active`]:V,[`${Q}-block`]:H},Te,st,ht);return Le(g.createElement("div",{className:Et},g.createElement(f,Object.assign({prefixCls:`${Q}-input`,size:Pe},at))))},it=t(54476),ot={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"},_t=ot,Kt=t(7657),wt=function(N,Te){return g.createElement(Kt.Z,(0,it.Z)({},N,{ref:Te,icon:_t}))},O=g.forwardRef(wt),ze=O,Ne=ie=>{const{prefixCls:N,className:Te,rootClassName:st,style:V,active:H,children:Pe}=ie,{getPrefixCls:he}=g.useContext(h.E_),Q=he("skeleton",N),[Le,ht]=le(Q),at=p()(Q,`${Q}-element`,{[`${Q}-active`]:H},ht,Te,st),Et=Pe!=null?Pe:g.createElement(ze,null);return Le(g.createElement("div",{className:at},g.createElement("div",{className:p()(`${Q}-image`,Te),style:V},Et)))},ct=t(94480),tn=ie=>{const N=he=>{const{width:Q,rows:Le=2}=ie;if(Array.isArray(Q))return Q[he];if(Le-1===he)return Q},{prefixCls:Te,className:st,style:V,rows:H}=ie,Pe=(0,ct.Z)(Array(H)).map((he,Q)=>g.createElement("li",{key:Q,style:{width:N(Q)}}));return g.createElement("ul",{className:p()(Te,st),style:V},Pe)},un=ie=>{let{prefixCls:N,className:Te,width:st,style:V}=ie;return g.createElement("h3",{className:p()(N,Te),style:Object.assign({width:st},V)})};function dn(ie){return ie&&typeof ie=="object"?ie:{}}function At(ie,N){return ie&&!N?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function xt(ie,N){return!ie&&N?{width:"38%"}:ie&&N?{width:"50%"}:{}}function Xt(ie,N){const Te={};return(!ie||!N)&&(Te.width="61%"),!ie&&N?Te.rows=3:Te.rows=2,Te}const jt=ie=>{const{prefixCls:N,loading:Te,className:st,rootClassName:V,style:H,children:Pe,avatar:he=!1,title:Q=!0,paragraph:Le=!0,active:ht,round:at}=ie,{getPrefixCls:Et,direction:dt,skeleton:mt}=g.useContext(h.E_),ee=Et("skeleton",N),[Ge,Je]=le(ee);if(Te||!("loading"in ie)){const qe=!!he,_=!!Q,Ot=!!Le;let tt;if(qe){const cn=Object.assign(Object.assign({prefixCls:`${ee}-avatar`},At(_,Ot)),dn(he));tt=g.createElement("div",{className:`${ee}-header`},g.createElement(f,Object.assign({},cn)))}let Re;if(_||Ot){let cn;if(_){const Ze=Object.assign(Object.assign({prefixCls:`${ee}-title`},xt(qe,Ot)),dn(Q));cn=g.createElement(un,Object.assign({},Ze))}let sn;if(Ot){const Ze=Object.assign(Object.assign({prefixCls:`${ee}-paragraph`},Xt(qe,_)),dn(Le));sn=g.createElement(tn,Object.assign({},Ze))}Re=g.createElement("div",{className:`${ee}-content`},cn,sn)}const Jt=p()(ee,{[`${ee}-with-avatar`]:qe,[`${ee}-active`]:ht,[`${ee}-rtl`]:dt==="rtl",[`${ee}-round`]:at},mt==null?void 0:mt.className,st,V,Je);return Ge(g.createElement("div",{className:Jt,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),H)},tt,Re))}return typeof Pe!="undefined"?Pe:null};jt.Button=fe,jt.Avatar=X,jt.Input=$e,jt.Image=rt,jt.Node=Ne;var ke=jt,_e=ke},31797:function(S,s,t){"use strict";t.d(s,{default:function(){return le}});var i=t(59301),p=t(56762),g=t(92343),h=t(92310),C=t.n(h),y=t(36355),f=t(61621),U=J=>{const{value:X,formatter:ye,precision:fe,decimalSeparator:D,groupSeparator:He="",prefixCls:rt}=J;let Lt;if(typeof ye=="function")Lt=ye(X);else{const $e=String(X),it=$e.match(/^(-?)(\d*)(\.(\d+))?$/);if(!it||$e==="-")Lt=$e;else{const ot=it[1];let _t=it[2]||"0",Kt=it[4]||"";_t=_t.replace(/\B(?=(\d{3})+(?!\d))/g,He),typeof fe=="number"&&(Kt=Kt.padEnd(fe,"0").slice(0,fe>0?fe:0)),Kt&&(Kt=`${D}${Kt}`),Lt=[i.createElement("span",{key:"int",className:`${rt}-content-value-int`},ot,_t),Kt&&i.createElement("span",{key:"decimal",className:`${rt}-content-value-decimal`},Kt)]}}return i.createElement("span",{className:`${rt}-content-value`},Lt)},te=t(17313),ne=t(83116),pe=t(37613);const Ee=J=>{const{componentCls:X,marginXXS:ye,padding:fe,colorTextDescription:D,titleFontSize:He,colorTextHeading:rt,contentFontSize:Lt,fontFamily:$e}=J;return{[`${X}`]:Object.assign(Object.assign({},(0,te.Wf)(J)),{[`${X}-title`]:{marginBottom:ye,color:D,fontSize:He},[`${X}-skeleton`]:{paddingTop:fe},[`${X}-content`]:{color:rt,fontSize:Lt,fontFamily:$e,[`${X}-content-value`]:{display:"inline-block",direction:"ltr"},[`${X}-content-prefix, ${X}-content-suffix`]:{display:"inline-block"},[`${X}-content-prefix`]:{marginInlineEnd:ye},[`${X}-content-suffix`]:{marginInlineStart:ye}}})}};var se=(0,ne.Z)("Statistic",J=>{const X=(0,pe.TS)(J,{});return[Ee(X)]},J=>{const{fontSizeHeading3:X,fontSize:ye}=J;return{titleFontSize:ye,contentFontSize:X}}),be=J=>{const{prefixCls:X,className:ye,rootClassName:fe,style:D,valueStyle:He,value:rt=0,title:Lt,valueRender:$e,prefix:it,suffix:ot,loading:_t=!1,onMouseEnter:Kt,onMouseLeave:wt,decimalSeparator:O=".",groupSeparator:ze=","}=J,{getPrefixCls:nt,direction:Ne,statistic:ct}=i.useContext(y.E_),Xe=nt("statistic",X),[tn,zt]=se(Xe),un=i.createElement(U,Object.assign({decimalSeparator:O,groupSeparator:ze,prefixCls:Xe},J,{value:rt})),dn=C()(Xe,{[`${Xe}-rtl`]:Ne==="rtl"},ct==null?void 0:ct.className,ye,fe,zt);return tn(i.createElement("div",{className:dn,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),D),onMouseEnter:Kt,onMouseLeave:wt},Lt&&i.createElement("div",{className:`${Xe}-title`},Lt),i.createElement(f.Z,{paragraph:!1,loading:_t,className:`${Xe}-skeleton`},i.createElement("div",{style:He,className:`${Xe}-content`},it&&i.createElement("span",{className:`${Xe}-content-prefix`},it),$e?$e(un):un,ot&&i.createElement("span",{className:`${Xe}-content-suffix`},ot)))))};const Ce=[["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 j(J,X){let ye=J;const fe=/\[[^\]]*]/g,D=(X.match(fe)||[]).map($e=>$e.slice(1,-1)),He=X.replace(fe,"[]"),rt=Ce.reduce(($e,it)=>{let[ot,_t]=it;if($e.includes(ot)){const Kt=Math.floor(ye/_t);return ye-=Kt*_t,$e.replace(new RegExp(`${ot}+`,"g"),wt=>{const O=wt.length;return Kt.toString().padStart(O,"0")})}return $e},He);let Lt=0;return rt.replace(fe,()=>{const $e=D[Lt];return Lt+=1,$e})}function G(J,X){const{format:ye=""}=X,fe=new Date(J).getTime(),D=Date.now(),He=Math.max(fe-D,0);return j(He,ye)}const Z=1e3/30;function B(J){return new Date(J).getTime()}const Y=J=>{const{value:X,format:ye="HH:mm:ss",onChange:fe,onFinish:D}=J,He=(0,p.Z)(),rt=i.useRef(null),Lt=()=>{D==null||D(),rt.current&&(clearInterval(rt.current),rt.current=null)},$e=()=>{const _t=B(X);_t>=Date.now()&&(rt.current=setInterval(()=>{He(),fe==null||fe(_t-Date.now()),_t($e(),()=>{rt.current&&(clearInterval(rt.current),rt.current=null)}),[X]);const it=(_t,Kt)=>G(_t,Object.assign(Object.assign({},Kt),{format:ye})),ot=_t=>(0,g.Tm)(_t,{title:void 0});return i.createElement(be,Object.assign({},J,{valueRender:ot,formatter:it}))};var W=i.memo(Y);be.Countdown=W;var le=be},15969:function(S,s,t){"use strict";t.d(s,{N:function(){return i}});const i=p=>({color:p.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${p.motionDurationSlow}`,"&:focus, &:hover":{color:p.colorLinkHover},"&:active":{color:p.colorLinkActive}})},1710:function(S,s,t){"use strict";t.d(s,{default:function(){return xi}});var i={},p="rc-table-internal-hook",g=t(42978),h=t(6089),C=t(34280),y=t(13697),f=t(59301),F=t(4676);function U(R){var L=f.createContext(void 0),ae=function(xe){var we=xe.value,w=xe.children,et=f.useRef(we);et.current=we;var Ye=f.useState(function(){return{getValue:function(){return et.current},listeners:new Set}}),ft=(0,g.Z)(Ye,1),Ct=ft[0];return(0,C.Z)(function(){(0,F.unstable_batchedUpdates)(function(){Ct.listeners.forEach(function(bt){bt(we)})})},[we]),f.createElement(L.Provider,{value:Ct},w)};return{Context:L,Provider:ae,defaultValue:R}}function te(R,L){var ae=(0,h.Z)(typeof L=="function"?L:function(bt){if(L===void 0)return bt;if(!Array.isArray(L))return bt[L];var $t={};return L.forEach(function(Ut){$t[Ut]=bt[Ut]}),$t}),me=f.useContext(R==null?void 0:R.Context),xe=me||{},we=xe.listeners,w=xe.getValue,et=f.useRef();et.current=ae(me?w():R==null?void 0:R.defaultValue);var Ye=f.useState({}),ft=(0,g.Z)(Ye,2),Ct=ft[1];return(0,C.Z)(function(){if(!me)return;function bt($t){var Ut=ae($t);(0,y.Z)(et.current,Ut,!0)||Ct({})}return we.add(bt),function(){we.delete(bt)}},[me]),et.current}var ne=t(54476),pe=t(8654);function Ee(){var R=f.createContext(null);function L(){return f.useContext(R)}function ae(xe,we){var w=(0,pe.Yr)(xe),et=function(ft,Ct){var bt=w?{ref:Ct}:{},$t=f.useRef(0),Ut=f.useRef(ft),Ft=L();return Ft!==null?f.createElement(xe,(0,ne.Z)({},ft,bt)):((!we||we(Ut.current,ft))&&($t.current+=1),Ut.current=ft,f.createElement(R.Provider,{value:$t.current},f.createElement(xe,(0,ne.Z)({},ft,bt))))};return w?f.forwardRef(et):et}function me(xe,we){var w=(0,pe.Yr)(xe),et=function(ft,Ct){var bt=w?{ref:Ct}:{};return L(),f.createElement(xe,(0,ne.Z)({},ft,bt))};return w?f.memo(f.forwardRef(et),we):f.memo(et,we)}return{makeImmutable:ae,responseImmutable:me,useImmutableMark:L}}var se=Ee(),Se=se.makeImmutable,be=se.responseImmutable,Ce=se.useImmutableMark,j=Ee(),G=j.makeImmutable,Z=j.responseImmutable,B=j.useImmutableMark,Y=U(),W=Y;function le(R,L){var ae=f.useRef(0);ae.current+=1;var me=f.useRef(R),xe=[];Object.keys(R||{}).map(function(w){var et;(R==null?void 0:R[w])!==((et=me.current)===null||et===void 0?void 0:et[w])&&xe.push(w)}),me.current=R;var we=f.useRef([]);return xe.length&&(we.current=xe),f.useDebugValue(ae.current),f.useDebugValue(we.current.join(", ")),L&&console.log("".concat(L,":"),ae.current,we.current),ae.current}var J=null,X=f.memo(function(){var R=le();return f.createElement("h1",null,"Render Times: ",R)});X.displayName="RenderBlock";var ye=t(76190),fe=t(33885),D=t(20068),He=t(92310),rt=t.n(He),Lt=t(80547),$e=t(97938),it=t(48736),ot=f.createContext({renderWithProps:!1}),_t=ot,Kt="RC_TABLE_KEY";function wt(R){return R==null?[]:Array.isArray(R)?R:[R]}function O(R){var L=[],ae={};return R.forEach(function(me){for(var xe=me||{},we=xe.key,w=xe.dataIndex,et=we||wt(w).join("-")||Kt;ae[et];)et="".concat(et,"_next");ae[et]=!0,L.push(et)}),L}function ze(R){return R!=null}function nt(R){return R&&(0,ye.Z)(R)==="object"&&!Array.isArray(R)&&!f.isValidElement(R)}function Ne(R,L,ae,me,xe,we){var w=f.useContext(_t),et=B(),Ye=(0,Lt.Z)(function(){if(ze(me))return[me];var ft=L==null||L===""?[]:Array.isArray(L)?L:[L],Ct=(0,$e.Z)(R,ft),bt=Ct,$t=void 0;if(xe){var Ut=xe(Ct,R,ae);nt(Ut)?(bt=Ut.children,$t=Ut.props,w.renderWithProps=!0):bt=Ut}return[bt,$t]},[et,R,me,L,xe,ae],function(ft,Ct){if(we){var bt=(0,g.Z)(ft,2),$t=bt[1],Ut=(0,g.Z)(Ct,2),Ft=Ut[1];return we(Ft,$t)}return w.renderWithProps?!0:!(0,y.Z)(ft,Ct,!0)});return Ye}function ct(R,L,ae,me){var xe=R+L-1;return R<=me&&xe>=ae}function Xe(R,L){return te(W,function(ae){var me=ct(R,L||1,ae.hoverStartRow,ae.hoverEndRow);return[me,ae.onHover]})}var tn=function(L){var ae=L.ellipsis,me=L.rowType,xe=L.children,we,w=ae===!0?{showTitle:!0}:ae;return w&&(w.showTitle||me==="header")&&(typeof xe=="string"||typeof xe=="number"?we=xe.toString():f.isValidElement(xe)&&typeof xe.props.children=="string"&&(we=xe.props.children)),we};function zt(R){var L,ae,me,xe,we,w,et,Ye,ft=R.component,Ct=R.children,bt=R.ellipsis,$t=R.scope,Ut=R.prefixCls,Ft=R.className,o=R.align,d=R.record,m=R.render,E=R.dataIndex,I=R.renderIndex,k=R.shouldCellUpdate,M=R.index,q=R.rowType,Be=R.colSpan,Me=R.rowSpan,de=R.fixLeft,Ue=R.fixRight,De=R.firstFixLeft,ge=R.lastFixLeft,Bt=R.firstFixRight,en=R.lastFixRight,bn=R.appendNode,Gt=R.additionalProps,rn=Gt===void 0?{}:Gt,on=R.isSticky,Dn="".concat(Ut,"-cell"),Xn=te(W,["supportSticky","allColumnsFixedLeft"]),Ht=Xn.supportSticky,Qn=Xn.allColumnsFixedLeft,fr=Ne(d,E,I,Ct,m,k),Sn=(0,g.Z)(fr,2),cr=Sn[0],er=Sn[1],qn={},Tn=typeof de=="number"&&Ht,jn=typeof Ue=="number"&&Ht;Tn&&(qn.position="sticky",qn.left=de),jn&&(qn.position="sticky",qn.right=Ue);var an=(L=(ae=(me=er==null?void 0:er.colSpan)!==null&&me!==void 0?me:rn.colSpan)!==null&&ae!==void 0?ae:Be)!==null&&L!==void 0?L:1,fn=(xe=(we=(w=er==null?void 0:er.rowSpan)!==null&&w!==void 0?w:rn.rowSpan)!==null&&we!==void 0?we:Me)!==null&&xe!==void 0?xe:1,En=Xe(M,fn),yn=(0,g.Z)(En,2),rr=yn[0],Ae=yn[1],Pn=function(zr){var Sa;d&&Ae(M,M+fn-1),rn==null||(Sa=rn.onMouseEnter)===null||Sa===void 0||Sa.call(rn,zr)},sr=function(zr){var Sa;d&&Ae(-1,-1),rn==null||(Sa=rn.onMouseLeave)===null||Sa===void 0||Sa.call(rn,zr)};if(an===0||fn===0)return null;var je=(et=rn.title)!==null&&et!==void 0?et:tn({rowType:q,ellipsis:bt,children:cr}),Jr=rt()(Dn,Ft,(Ye={},(0,D.Z)(Ye,"".concat(Dn,"-fix-left"),Tn&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-left-first"),De&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-left-last"),ge&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-left-all"),ge&&Qn&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-right"),jn&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-right-first"),Bt&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-fix-right-last"),en&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-ellipsis"),bt),(0,D.Z)(Ye,"".concat(Dn,"-with-append"),bn),(0,D.Z)(Ye,"".concat(Dn,"-fix-sticky"),(Tn||jn)&&on&&Ht),(0,D.Z)(Ye,"".concat(Dn,"-row-hover"),!er&&rr),Ye),rn.className,er==null?void 0:er.className),ma={};o&&(ma.textAlign=o);var Ma=(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},qn),rn.style),ma),er==null?void 0:er.style),ca=cr;return(0,ye.Z)(ca)==="object"&&!Array.isArray(ca)&&!f.isValidElement(ca)&&(ca=null),bt&&(ge||Bt)&&(ca=f.createElement("span",{className:"".concat(Dn,"-content")},ca)),f.createElement(ft,(0,ne.Z)({},er,rn,{className:Jr,style:Ma,title:je,scope:$t,onMouseEnter:Pn,onMouseLeave:sr,colSpan:an!==1?an:null,rowSpan:fn!==1?fn:null}),bn,ca)}var un=f.memo(zt);function dn(R,L,ae,me,xe,we){var w=ae[R]||{},et=ae[L]||{},Ye,ft;w.fixed==="left"?Ye=me.left[xe==="rtl"?L:R]:et.fixed==="right"&&(ft=me.right[xe==="rtl"?R:L]);var Ct=!1,bt=!1,$t=!1,Ut=!1,Ft=ae[L+1],o=ae[R-1],d=!(we!=null&&we.children);if(xe==="rtl"){if(Ye!==void 0){var m=o&&o.fixed==="left";Ut=!m&&d}else if(ft!==void 0){var E=Ft&&Ft.fixed==="right";$t=!E&&d}}else if(Ye!==void 0){var I=Ft&&Ft.fixed==="left";Ct=!I&&d}else if(ft!==void 0){var k=o&&o.fixed==="right";bt=!k&&d}return{fixLeft:Ye,fixRight:ft,lastFixLeft:Ct,firstFixRight:bt,lastFixRight:$t,firstFixLeft:Ut,isSticky:me.isSticky}}var At=f.createContext({}),xt=At;function Xt(R){var L=R.className,ae=R.index,me=R.children,xe=R.colSpan,we=xe===void 0?1:xe,w=R.rowSpan,et=R.align,Ye=te(W,["prefixCls","direction"]),ft=Ye.prefixCls,Ct=Ye.direction,bt=f.useContext(xt),$t=bt.scrollColumnIndex,Ut=bt.stickyOffsets,Ft=bt.flattenColumns,o=bt.columns,d=ae+we-1,m=d+1===$t?we+1:we,E=dn(ae,ae+m-1,Ft,Ut,Ct,o==null?void 0:o[ae]);return f.createElement(un,(0,ne.Z)({className:L,index:ae,component:"td",prefixCls:ft,record:null,dataIndex:null,align:et,colSpan:m,rowSpan:w,render:function(){return me}},E))}var jt=t(75931),ke=["children"];function _e(R){var L=R.children,ae=(0,jt.Z)(R,ke);return f.createElement("tr",ae,L)}function ie(R){var L=R.children;return L}ie.Row=_e,ie.Cell=Xt;var N=ie;function Te(R){var L=R.children,ae=R.stickyOffsets,me=R.flattenColumns,xe=R.columns,we=te(W,"prefixCls"),w=me.length-1,et=me[w],Ye=f.useMemo(function(){return{stickyOffsets:ae,flattenColumns:me,scrollColumnIndex:et!=null&&et.scrollbar?w:null,columns:xe}},[et,me,w,ae,xe]);return f.createElement(xt.Provider,{value:Ye},f.createElement("tfoot",{className:"".concat(we,"-summary")},L))}var st=Z(Te),V=N,H=t(70425),Pe=t(29301),he=t(29194),Q=t(24514),Le=t(75152),ht=t(26112);function at(R,L,ae,me,xe,we,w){R.push({record:L,indent:ae,index:w});var et=we(L),Ye=xe==null?void 0:xe.has(et);if(L&&Array.isArray(L[me])&&Ye)for(var ft=0;ft1?De-1:0),Bt=1;Bt=0;et-=1){var Ye=L[et],ft=ae&&ae[et],Ct=ft&&ft[cn];if(Ye||Ct||w){var bt=Ct||{},$t=bt.columnType,Ut=(0,jt.Z)(bt,Ze);xe.unshift(f.createElement("col",(0,ne.Z)({key:et,style:{width:Ye}},Ut))),w=!0}}return f.createElement("colgroup",null,xe)}var Cn=Rn,Mt=t(94480),Hn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function On(R,L){return(0,f.useMemo)(function(){for(var ae=[],me=0;me1?"colgroup":"col":null,ellipsis:d.ellipsis,align:d.align,component:d.title?we:w,prefixCls:Ct,key:Ut[o]},m,{additionalProps:E,rowType:"header"}))}))}dr.displayName="HeaderRow";var Jn=dr;function Cr(R){var L=[];function ae(w,et){var Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;L[Ye]=L[Ye]||[];var ft=et,Ct=w.filter(Boolean).map(function(bt){var $t={key:bt.key,className:bt.className||"",children:bt.title,column:bt,colStart:ft},Ut=1,Ft=bt.children;return Ft&&Ft.length>0&&(Ut=ae(Ft,ft,Ye+1).reduce(function(o,d){return o+d},0),$t.hasSubColumns=!0),"colSpan"in bt&&(Ut=bt.colSpan),"rowSpan"in bt&&($t.rowSpan=bt.rowSpan),$t.colSpan=Ut,$t.colEnd=$t.colStart+Ut-1,L[Ye].push($t),ft+=Ut,Ut});return Ct}ae(R,0);for(var me=L.length,xe=function(et){L[et].forEach(function(Ye){!("rowSpan"in Ye)&&!Ye.hasSubColumns&&(Ye.rowSpan=me-et)})},we=0;we1&&arguments[1]!==void 0?arguments[1]:"";return typeof L=="number"?L:L.endsWith("%")?R*parseFloat(L)/100:null}function Ar(R,L){return f.useMemo(function(){if(L&&L>0){var ae=0,me=0;R.forEach(function(ft){var Ct=Gn(L,ft.width);Ct?ae+=Ct:me+=1});var xe=L-ae,we=me,w=xe/me,et=0,Ye=R.map(function(ft){var Ct=(0,fe.Z)({},ft),bt=Gn(L,Ct.width);if(bt)Ct.width=bt;else{var $t=Math.floor(w);Ct.width=we===1?xe:$t,xe-=$t,we-=1}return et+=Ct.width,Ct});return[Ye,et]}return[R,L]},[R,L])}var Yr=["children"],Kr=["fixed"];function Nr(R){return(0,ar.Z)(R).filter(function(L){return f.isValidElement(L)}).map(function(L){var ae=L.key,me=L.props,xe=me.children,we=(0,jt.Z)(me,Yr),w=(0,fe.Z)({key:ae},we);return xe&&(w.children=Nr(xe)),w})}function ir(R){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return R.filter(function(ae){return ae&&(0,ye.Z)(ae)==="object"}).reduce(function(ae,me,xe){var we=me.fixed,w=we===!0?"left":we,et="".concat(L,"-").concat(xe),Ye=me.children;return Ye&&Ye.length>0?[].concat((0,Mt.Z)(ae),(0,Mt.Z)(ir(Ye,et).map(function(ft){return(0,fe.Z)({fixed:w},ft)}))):[].concat((0,Mt.Z)(ae),[(0,fe.Z)((0,fe.Z)({key:et},me),{},{fixed:w})])},[])}function Wn(R){for(var L=!0,ae=0;ae=0;we-=1){var w=R[we];if(xe&&w.fixed!=="right")xe=!1;else if(!xe&&w.fixed==="right"){warning(!1,"Index ".concat(we+1," of `columns` missing `fixed='right'` prop."));break}}}function Vn(R){return R.map(function(L){var ae=L.fixed,me=(0,jt.Z)(L,Kr),xe=ae;return ae==="left"?xe="right":ae==="right"&&(xe="left"),(0,fe.Z)({fixed:xe},me)})}function sa(R,L){var ae=R.prefixCls,me=R.columns,xe=R.children,we=R.expandable,w=R.expandedKeys,et=R.columnTitle,Ye=R.getRowKey,ft=R.onTriggerExpand,Ct=R.expandIcon,bt=R.rowExpandable,$t=R.expandIconColumnIndex,Ut=R.direction,Ft=R.expandRowByClick,o=R.columnWidth,d=R.fixed,m=R.scrollWidth,E=f.useMemo(function(){return me||Nr(xe)},[me,xe]),I=f.useMemo(function(){if(we){var Ue,De=E.slice();if(!De.includes(i)){var ge=$t||0;ge>=0&&De.splice(ge,0,i)}var Bt=De.indexOf(i);De=De.filter(function(rn,on){return rn!==i||on===Bt});var en=E[Bt],bn;(d==="left"||d)&&!$t?bn="left":(d==="right"||d)&&$t===E.length?bn="right":bn=en?en.fixed:null;var Gt=(Ue={},(0,D.Z)(Ue,cn,{className:"".concat(ae,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,D.Z)(Ue,"title",et),(0,D.Z)(Ue,"fixed",bn),(0,D.Z)(Ue,"className","".concat(ae,"-row-expand-icon-cell")),(0,D.Z)(Ue,"width",o),(0,D.Z)(Ue,"render",function(on,Dn,Xn){var Ht=Ye(Dn,Xn),Qn=w.has(Ht),fr=bt?bt(Dn):!0,Sn=Ct({prefixCls:ae,expanded:Qn,expandable:fr,record:Dn,onExpand:ft});return Ft?f.createElement("span",{onClick:function(er){return er.stopPropagation()}},Sn):Sn}),Ue);return De.map(function(rn){return rn===i?Gt:rn})}return E.filter(function(rn){return rn!==i})},[we,E,Ye,w,Ct,Ut]),k=f.useMemo(function(){var Ue=I;return L&&(Ue=L(Ue)),Ue.length||(Ue=[{render:function(){return null}}]),Ue},[L,I,Ut]),M=f.useMemo(function(){return Ut==="rtl"?Vn(ir(k)):ir(k)},[k,Ut,m]),q=Ar(M,m),Be=(0,g.Z)(q,2),Me=Be[0],de=Be[1];return[k,Me,de]}var hr=sa;function It(R){var L,ae=R.prefixCls,me=R.record,xe=R.onExpand,we=R.expanded,w=R.expandable,et="".concat(ae,"-row-expand-icon");if(!w)return f.createElement("span",{className:rt()(et,"".concat(ae,"-row-spaced"))});var Ye=function(Ct){xe(me,Ct),Ct.stopPropagation()};return f.createElement("span",{className:rt()(et,(L={},(0,D.Z)(L,"".concat(ae,"-row-expanded"),we),(0,D.Z)(L,"".concat(ae,"-row-collapsed"),!we),L)),onClick:Ye})}function ut(R,L,ae){var me=[];function xe(we){(we||[]).forEach(function(w,et){me.push(L(w,et)),xe(w[ae])})}return xe(R),me}function Qt(R,L,ae){var me=sn(R),xe=me.expandIcon,we=me.expandedRowKeys,w=me.defaultExpandedRowKeys,et=me.defaultExpandAllRows,Ye=me.expandedRowRender,ft=me.onExpand,Ct=me.onExpandedRowsChange,bt=me.childrenColumnName,$t=xe||It,Ut=bt||"children",Ft=f.useMemo(function(){return Ye?"row":R.expandable&&R.internalHooks===p&&R.expandable.__PARENT_RENDER_ICON__||L.some(function(M){return M&&(0,ye.Z)(M)==="object"&&M[Ut]})?"nest":!1},[!!Ye,L]),o=f.useState(function(){return w||(et?ut(L,ae,Ut):[])}),d=(0,g.Z)(o,2),m=d[0],E=d[1],I=f.useMemo(function(){return new Set(we||m||[])},[we,m]),k=f.useCallback(function(M){var q=ae(M,L.indexOf(M)),Be,Me=I.has(q);Me?(I.delete(q),Be=(0,Mt.Z)(I)):Be=[].concat((0,Mt.Z)(I),[q]),E(Be),ft&&ft(!Me,M),Ct&&Ct(Be)},[ae,I,L,ft,Ct]);return[me,Ft,I,$t,Ut,k]}function qt(R,L,ae,me){var xe=R.map(function(we,w){return dn(w,w,R,L,ae,me==null?void 0:me[w])});return(0,Lt.Z)(function(){return xe},[xe],function(we,w){return!(0,y.Z)(we,w)})}function Tt(R){var L=(0,f.useRef)(R),ae=(0,f.useState)({}),me=(0,g.Z)(ae,2),xe=me[1],we=(0,f.useRef)(null),w=(0,f.useRef)([]);function et(Ye){w.current.push(Ye);var ft=Promise.resolve();we.current=ft,ft.then(function(){if(we.current===ft){var Ct=w.current,bt=L.current;w.current=[],Ct.forEach(function($t){L.current=$t(L.current)}),we.current=null,bt!==L.current&&xe({})}})}return(0,f.useEffect)(function(){return function(){we.current=null}},[]),[L.current,et]}function mn(R){var L=(0,f.useRef)(R||null),ae=(0,f.useRef)();function me(){window.clearTimeout(ae.current)}function xe(w){L.current=w,me(),ae.current=window.setTimeout(function(){L.current=null,ae.current=void 0},100)}function we(){return L.current}return(0,f.useEffect)(function(){return me},[]),[xe,we]}function gt(){var R=f.useState(-1),L=(0,g.Z)(R,2),ae=L[0],me=L[1],xe=f.useState(-1),we=(0,g.Z)(xe,2),w=we[0],et=we[1],Ye=f.useCallback(function(ft,Ct){me(ft),et(Ct)},[]);return[ae,w,Ye]}var hn=t(47273),Oe=(0,hn.Z)()?window:null;function oe(R,L){var ae=(0,ye.Z)(R)==="object"?R:{},me=ae.offsetHeader,xe=me===void 0?0:me,we=ae.offsetSummary,w=we===void 0?0:we,et=ae.offsetScroll,Ye=et===void 0?0:et,ft=ae.getContainer,Ct=ft===void 0?function(){return Oe}:ft,bt=Ct()||Oe;return f.useMemo(function(){var $t=!!R;return{isSticky:$t,stickyClassName:$t?"".concat(L,"-sticky-holder"):"",offsetHeader:xe,offsetSummary:w,offsetScroll:Ye,container:bt}},[Ye,xe,w,L,bt])}function c(R,L,ae){var me=(0,f.useMemo)(function(){for(var xe=[],we=[],w=0,et=0,Ye=0;Ye=bt&&(rn=bt-$t),w({scrollLeft:rn/bt*(Ct+2)}),E.current.x=Bt.pageX},Ue=function(){if(we.current){var Bt=(0,Rt.os)(we.current).top,en=Bt+we.current.offsetHeight,bn=Ye===window?document.documentElement.scrollTop+window.innerHeight:(0,Rt.os)(Ye).top+Ye.clientHeight;en-(0,Le.Z)()<=bn||Bt>=bn-et?m(function(Gt){return(0,fe.Z)((0,fe.Z)({},Gt),{},{isHiddenScrollBar:!0})}):m(function(Gt){return(0,fe.Z)((0,fe.Z)({},Gt),{},{isHiddenScrollBar:!1})})}},De=function(Bt){m(function(en){return(0,fe.Z)((0,fe.Z)({},en),{},{scrollLeft:Bt/Ct*bt||0})})};return f.useImperativeHandle(ae,function(){return{setScrollLeft:De}}),f.useEffect(function(){var ge=(0,kt.Z)(document.body,"mouseup",Be,!1),Bt=(0,kt.Z)(document.body,"mousemove",de,!1);return Ue(),function(){ge.remove(),Bt.remove()}},[$t,M]),f.useEffect(function(){var ge=(0,kt.Z)(Ye,"scroll",Ue,!1),Bt=(0,kt.Z)(window,"resize",Ue,!1);return function(){ge.remove(),Bt.remove()}},[Ye]),f.useEffect(function(){d.isHiddenScrollBar||m(function(ge){var Bt=we.current;return Bt?(0,fe.Z)((0,fe.Z)({},ge),{},{scrollLeft:Bt.scrollLeft/Bt.scrollWidth*Bt.clientWidth}):ge})},[d.isHiddenScrollBar]),Ct<=bt||!$t||d.isHiddenScrollBar?null:f.createElement("div",{style:{height:(0,Le.Z)(),width:bt,bottom:et},className:"".concat(ft,"-sticky-scroll")},f.createElement("div",{onMouseDown:Me,ref:Ut,className:rt()("".concat(ft,"-sticky-scroll-bar"),(0,D.Z)({},"".concat(ft,"-sticky-scroll-bar-active"),M)),style:{width:"".concat($t,"px"),transform:"translate3d(".concat(d.scrollLeft,"px, 0, 0)")}}))},vn=f.forwardRef(gn);function ce(R){return null}var Ln=ce;function nr(R){return null}var or=nr,Zn="rc-table",T=[],A={};function Pt(){return"No Data"}function z(R){var L,ae=(0,fe.Z)({rowKey:"key",prefixCls:Zn,emptyText:Pt},R),me=ae.prefixCls,xe=ae.className,we=ae.rowClassName,w=ae.style,et=ae.data,Ye=ae.rowKey,ft=ae.scroll,Ct=ae.tableLayout,bt=ae.direction,$t=ae.title,Ut=ae.footer,Ft=ae.summary,o=ae.caption,d=ae.id,m=ae.showHeader,E=ae.components,I=ae.emptyText,k=ae.onRow,M=ae.onHeaderRow,q=ae.internalHooks,Be=ae.transformColumns,Me=ae.internalRefs,de=ae.tailor,Ue=ae.sticky,De=et||T,ge=!!De.length,Bt=q===p,en=f.useCallback(function(jr,ea){return(0,$e.Z)(E,jr)||ea},[E]),bn=f.useMemo(function(){return typeof Ye=="function"?Ye:function(jr){var ea=jr&&jr[Ye];return ea}},[Ye]),Gt=en(["body"]),rn=gt(),on=(0,g.Z)(rn,3),Dn=on[0],Xn=on[1],Ht=on[2],Qn=Qt(ae,De,bn),fr=(0,g.Z)(Qn,6),Sn=fr[0],cr=fr[1],er=fr[2],qn=fr[3],Tn=fr[4],jn=fr[5],an=ft==null?void 0:ft.x,fn=f.useState(0),En=(0,g.Z)(fn,2),yn=En[0],rr=En[1],Ae=hr((0,fe.Z)((0,fe.Z)((0,fe.Z)({},ae),Sn),{},{expandable:!!Sn.expandedRowRender,columnTitle:Sn.columnTitle,expandedKeys:er,getRowKey:bn,onTriggerExpand:jn,expandIcon:qn,expandIconColumnIndex:Sn.expandIconColumnIndex,direction:bt,scrollWidth:Bt&&de&&typeof an=="number"?an:null}),Bt?Be:null),Pn=(0,g.Z)(Ae,3),sr=Pn[0],je=Pn[1],Jr=Pn[2],ma=Jr!=null?Jr:an,Ma=f.useMemo(function(){return{columns:sr,flattenColumns:je}},[sr,je]),ca=f.useRef(),aa=f.useRef(),zr=f.useRef(),Sa=f.useRef(),Ga=f.useRef(),xr=f.useState(!1),Or=(0,g.Z)(xr,2),Wr=Or[0],ha=Or[1],Ta=f.useState(!1),e=(0,g.Z)(Ta,2),r=e[0],b=e[1],K=Tt(new Map),We=(0,g.Z)(K,2),yt=We[0],Yt=We[1],An=O(je),Bn=An.map(function(jr){return yt.get(jr)}),Nt=f.useMemo(function(){return Bn},[Bn.join("_")]),nn=pt(Nt,je.length,bt),Mn=ft&&ze(ft.y),Kn=ft&&ze(ma)||!!Sn.fixed,Br=Kn&&je.some(function(jr){var ea=jr.fixed;return ea}),Ba=f.useRef(),Ya=oe(Ue,me),_a=Ya.isSticky,Ci=Ya.offsetHeader,Li=Ya.offsetSummary,tr=Ya.offsetScroll,Gr=Ya.stickyClassName,xa=Ya.container,l=f.useMemo(function(){return Ft==null?void 0:Ft(De)},[Ft,De]),n=(Mn||_a)&&f.isValidElement(l)&&l.type===N&&l.props.fixed,a,u,v;Mn&&(u={overflowY:"scroll",maxHeight:ft.y}),Kn&&(a={overflowX:"auto"},Mn||(u={overflowY:"hidden"}),v={width:ma===!0?"auto":ma,minWidth:"100%"});var x=f.useCallback(function(jr,ea){(0,he.Z)(ca.current)&&Yt(function(ui){if(ui.get(jr)!==ea){var ci=new Map(ui);return ci.set(jr,ea),ci}return ui})},[]),P=mn(null),re=(0,g.Z)(P,2),ue=re[0],Ve=re[1];function lt(jr,ea){ea&&(typeof ea=="function"?ea(jr):ea.scrollLeft!==jr&&(ea.scrollLeft=jr,ea.scrollLeft!==jr&&setTimeout(function(){ea.scrollLeft=jr},0)))}var St=(0,h.Z)(function(jr){var ea=jr.currentTarget,ui=jr.scrollLeft,ci=bt==="rtl",di=typeof ui=="number"?ui:ea.scrollLeft,es=ea||A;if(!Ve()||Ve()===es){var Ho;ue(es),lt(di,aa.current),lt(di,zr.current),lt(di,Ga.current),lt(di,(Ho=Ba.current)===null||Ho===void 0?void 0:Ho.setScrollLeft)}var is=ea||aa.current;if(is){var os=is.scrollWidth,ss=is.clientWidth;if(os===ss){ha(!1),b(!1);return}ci?(ha(-di0)):(ha(di>0),b(di1?o-Bt:0,bn=(0,fe.Z)((0,fe.Z)((0,fe.Z)({},Be),Ye),{},{flex:"0 0 ".concat(Bt,"px"),width:"".concat(Bt,"px"),marginRight:en,pointerEvents:"auto"}),Gt=f.useMemo(function(){return Ct?De<=1:de===0||De===0||De>1},[De,de,Ct]);Gt?bn.visibility="hidden":Ct&&(bn.height=bt==null?void 0:bt(De));var rn=Gt?function(){return null}:$t,on={};return(De===0||de===0)&&(on.rowSpan=1,on.colSpan=1),f.createElement(un,(0,ne.Z)({className:rt()(Ft,ft),ellipsis:ae.ellipsis,align:ae.align,scope:ae.rowScope,component:"div",prefixCls:L.prefixCls,key:I,record:et,index:we,renderIndex:w,dataIndex:Ut,render:rn,shouldCellUpdate:ae.shouldCellUpdate},k,{appendNode:M,additionalProps:(0,fe.Z)((0,fe.Z)({},q),{},{style:bn},on)}))}var ba=yr,Fe=["data","index","className","rowKey","style","extra","getHeight"],Xr=f.forwardRef(function(R,L){var ae=R.data,me=R.index,xe=R.className,we=R.rowKey,w=R.style,et=R.extra,Ye=R.getHeight,ft=(0,jt.Z)(R,Fe),Ct=ae.record,bt=ae.indent,$t=ae.index,Ut=te(W,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ft=Ut.scrollX,o=Ut.flattenColumns,d=Ut.prefixCls,m=Ut.fixColumn,E=Ut.componentWidth,I=ee(Ct,we,me,bt),k=I.rowSupportExpand,M=I.expanded,q=I.rowProps,Be=I.expandedRowRender,Me=I.expandedRowClassName,de;if(k&&M){var Ue=Be(Ct,me,bt+1,M),De=Me==null?void 0:Me(Ct,me,bt),ge={};m&&(ge={style:(0,D.Z)({},"--virtual-width","".concat(E,"px"))});var Bt="".concat(d,"-expanded-row-cell");de=f.createElement("div",{className:rt()("".concat(d,"-expanded-row"),"".concat(d,"-expanded-row-level-").concat(bt+1),De)},f.createElement(un,{component:"div",prefixCls:d,className:rt()(Bt,(0,D.Z)({},"".concat(Bt,"-fixed"),m)),additionalProps:ge},Ue))}var en=(0,fe.Z)((0,fe.Z)({},w),{},{width:Ft});et&&(en.position="absolute",en.pointerEvents="none");var bn=f.createElement("div",(0,ne.Z)({},q,ft,{ref:k?null:L,className:rt()(xe,"".concat(d,"-row"),q==null?void 0:q.className,(0,D.Z)({},"".concat(d,"-row-extra"),et)),style:(0,fe.Z)((0,fe.Z)({},en),q==null?void 0:q.style)}),o.map(function(Gt,rn){return f.createElement(ba,{key:rn,rowInfo:I,column:Gt,colIndex:rn,indent:bt,index:me,renderIndex:$t,record:Ct,inverse:et,getHeight:Ye})}));return k?f.createElement("div",{ref:L},bn,de):bn}),Qe=Z(Xr),ta=Qe,gr=f.forwardRef(function(R,L){var ae=R.data,me=R.onScroll,xe=te(W,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),we=xe.flattenColumns,w=xe.onColumnResize,et=xe.getRowKey,Ye=xe.expandedKeys,ft=xe.prefixCls,Ct=xe.childrenColumnName,bt=xe.emptyNode,$t=xe.scrollX,Ut=te(wr),Ft=Ut.scrollY,o=Ut.listItemHeight,d=f.useRef(),m=Et(ae,Ct,Ye,et),E=f.useMemo(function(){var de=0;return we.map(function(Ue){var De=Ue.width,ge=Ue.key;return de+=De,[ge,De,de]})},[we]),I=f.useMemo(function(){return E.map(function(de){return de[2]})},[E]);f.useEffect(function(){E.forEach(function(de){var Ue=(0,g.Z)(de,2),De=Ue[0],ge=Ue[1];w(De,ge)})},[E]),f.useImperativeHandle(L,function(){var de={};return Object.defineProperty(de,"scrollLeft",{get:function(){var De;return((De=d.current)===null||De===void 0?void 0:De.getScrollInfo().x)||0},set:function(De){var ge;(ge=d.current)===null||ge===void 0||ge.scrollTo({left:De})}}),de});var k=function(Ue,De){var ge,Bt=(ge=m[De])===null||ge===void 0?void 0:ge.record,en=Ue.onCell;if(en){var bn,Gt=en(Bt,De);return(bn=Gt==null?void 0:Gt.rowSpan)!==null&&bn!==void 0?bn:1}return 1},M=function(Ue){var De=Ue.start,ge=Ue.end,Bt=Ue.getSize,en=Ue.offsetY;if(ge<0)return null;for(var bn=we.filter(function(an){return k(an,De)===0}),Gt=De,rn=function(fn){if(bn=bn.filter(function(En){return k(En,fn)===0}),!bn.length)return Gt=fn,"break"},on=De;on>=0;on-=1){var Dn=rn(on);if(Dn==="break")break}for(var Xn=we.filter(function(an){return k(an,ge)!==1}),Ht=ge,Qn=function(fn){if(Xn=Xn.filter(function(En){return k(En,fn)!==1}),!Xn.length)return Ht=Math.max(fn-1,ge),"break"},fr=ge;fr1})&&cr.push(fn)},qn=Gt;qn<=Ht;qn+=1)var Tn=er(qn);var jn=cr.map(function(an){var fn=m[an],En=et(fn.record,an),yn=function(Pn){var sr=an+Pn-1,je=et(m[sr].record,sr),Jr=Bt(En,je);return Jr.bottom-Jr.top},rr=Bt(En);return f.createElement(ta,{key:an,data:fn,rowKey:En,index:an,style:{top:-en+rr.top},extra:!0,getHeight:yn})});return jn},q=f.useMemo(function(){return{columnsOffset:I}},[I]),Be="".concat(ft,"-tbody"),Me;return m.length?Me=f.createElement(pr.Z,{fullHeight:!1,ref:d,className:rt()(Be,"".concat(Be,"-virtual")),height:Ft,itemHeight:o||24,data:m,itemKey:function(Ue){return et(Ue.record)},scrollWidth:$t,onVirtualScroll:function(Ue){var De=Ue.x;me({scrollLeft:De})},extraRender:M},function(de,Ue,De){var ge=et(de.record,Ue);return f.createElement(ta,(0,ne.Z)({data:de,rowKey:ge,index:Ue},De))}):Me=f.createElement("div",{className:rt()("".concat(ft,"-placeholder"))},f.createElement(un,{component:"div",prefixCls:ft},bt)),f.createElement(xn.Provider,{value:q},Me)}),Ca=Z(gr),Fr=Ca,Mr=function(L,ae){var me=ae.ref,xe=ae.onScroll;return f.createElement(Fr,{ref:me,data:L,onScroll:xe})},na=100;function ra(R){var L=R.columns,ae=R.scroll,me=R.prefixCls,xe=me===void 0?Zn:me,we=R.className,w=R.listItemHeight,et=ae||{},Ye=et.x,ft=et.y;typeof Ye!="number"&&(Ye=((L||[]).length+1)*na),typeof ft!="number"&&(ft=500);var Ct=f.useMemo(function(){return{scrollY:ft,listItemHeight:w}},[ft,w]);return f.createElement(wr.Provider,{value:Ct},f.createElement(Vt,(0,ne.Z)({},R,{className:rt()(we,"".concat(xe,"-virtual")),scroll:(0,fe.Z)((0,fe.Z)({},ae),{},{x:Ye}),components:{body:Mr},columns:L,internalHooks:p,tailor:!0})))}function lr(R){return G(ra,R)}var Yn=lr(),Sr=null;function Nn(R){return null}var Lr=Nn;function Rr(R){return null}var la=Rr,pa=t(2738),va=t(68031),br=t(36355),_r=t(93891),Ea=t(19716),Xa=t(8628),pi=t(31724),Ha=t(58421),Ra=t(71418),ti=t(88088);function vi(R){return function(ae){let{prefixCls:me,onExpand:xe,record:we,expanded:w,expandable:et}=ae;const Ye=`${me}-row-expand-icon`;return f.createElement("button",{type:"button",onClick:ft=>{xe(we,ft),ft.stopPropagation()},className:rt()(Ye,{[`${Ye}-spaced`]:!et,[`${Ye}-expanded`]:et&&w,[`${Ye}-collapsed`]:et&&!w}),"aria-label":w?R.collapse:R.expand,"aria-expanded":w})}}var Ka=vi;function Na(R,L){return"key"in R&&R.key!==void 0&&R.key!==null?R.key:R.dataIndex?Array.isArray(R.dataIndex)?R.dataIndex.join("."):R.dataIndex:L}function Fa(R,L){return L?`${L}-${R}`:`${R}`}function ka(R,L){return typeof R=="function"?R(L):R}function ua(R,L){const ae=ka(R,L);return Object.prototype.toString.call(ae)==="[object Object]"?"":ae}var Ai={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"},Ii=Ai,Ki=t(7657),Ei=function(L,ae){return f.createElement(Ki.Z,(0,ne.Z)({},L,{ref:ae,icon:Ii}))},vr=f.forwardRef(Ei),$r=vr,Er=t(56762);function ve(R){const L=f.useRef(R),ae=(0,Er.Z)();return[()=>L.current,me=>{L.current=me,ae()}]}var Dr=t(3113),qr=t(24905),ya=t(38854),La=t(64165),vt=t(20834),Vr=t(40875),Ja=t(5112),qa=t(17574),Wi=t(47472),Vi=t(92832);function Zi(R){let{value:L,onChange:ae,filterSearch:me,tablePrefixCls:xe,locale:we}=R;return me?f.createElement("div",{className:`${xe}-filter-dropdown-search`},f.createElement(Vi.default,{prefix:f.createElement(Wi.Z,null),placeholder:we.filterSearchPlaceholder,onChange:ae,value:L,htmlSize:1,className:`${xe}-filter-dropdown-search-input`})):null}var yi=Zi,Mi=t(10228);const wn=R=>{const{keyCode:L}=R;L===Mi.Z.ENTER&&R.stopPropagation()};var Yi=f.forwardRef((R,L)=>f.createElement("div",{className:R.className,onClick:ae=>ae.stopPropagation(),onKeyDown:wn,ref:L},R.children));function Zr(R){let L=[];return(R||[]).forEach(ae=>{let{value:me,children:xe}=ae;L.push(me),xe&&(L=[].concat((0,Mt.Z)(L),(0,Mt.Z)(Zr(xe))))}),L}function ri(R){return R.some(L=>{let{children:ae}=L;return ae})}function No(R,L){return typeof L=="string"||typeof L=="number"?L==null?void 0:L.toString().toLowerCase().includes(R.trim().toLowerCase()):!1}function Ni(R){let{filters:L,prefixCls:ae,filteredKeys:me,filterMultiple:xe,searchValue:we,filterSearch:w}=R;return L.map((et,Ye)=>{const ft=String(et.value);if(et.children)return{key:ft||Ye,label:et.text,popupClassName:`${ae}-dropdown-submenu`,children:Ni({filters:et.children,prefixCls:ae,filteredKeys:me,filterMultiple:xe,searchValue:we,filterSearch:w})};const Ct=xe?qr.default:Ja.ZP,bt={key:et.value!==void 0?ft:Ye,label:f.createElement(f.Fragment,null,f.createElement(Ct,{checked:me.includes(ft)}),f.createElement("span",null,et.text))};return we.trim()?typeof w=="function"?w(we,et)?bt:null:No(we,et.text)?bt:null:bt})}function wo(R){var L,ae;const{tablePrefixCls:me,prefixCls:xe,column:we,dropdownPrefixCls:w,columnKey:et,filterMultiple:Ye,filterMode:ft="menu",filterSearch:Ct=!1,filterState:bt,triggerFilter:$t,locale:Ut,children:Ft,getPopupContainer:o}=R,{filterDropdownOpen:d,onFilterDropdownOpenChange:m,filterResetToDefaultFilteredValue:E,defaultFilteredValue:I,filterDropdownVisible:k,onFilterDropdownVisibleChange:M}=we,[q,Be]=f.useState(!1),Me=!!(bt&&(!((L=bt.filteredKeys)===null||L===void 0)&&L.length||bt.forceFiltered)),de=Ae=>{Be(Ae),m==null||m(Ae),M==null||M(Ae)},Ue=(ae=d!=null?d:k)!==null&&ae!==void 0?ae:q,De=bt==null?void 0:bt.filteredKeys,[ge,Bt]=ve(De||[]),en=Ae=>{let{selectedKeys:Pn}=Ae;Bt(Pn)},bn=(Ae,Pn)=>{let{node:sr,checked:je}=Pn;en(Ye?{selectedKeys:Ae}:{selectedKeys:je&&sr.key?[sr.key]:[]})};f.useEffect(()=>{q&&en({selectedKeys:De||[]})},[De]);const[Gt,rn]=f.useState([]),on=Ae=>{rn(Ae)},[Dn,Xn]=f.useState(""),Ht=Ae=>{const{value:Pn}=Ae.target;Xn(Pn)};f.useEffect(()=>{q||Xn("")},[q]);const Qn=Ae=>{const Pn=Ae&&Ae.length?Ae:null;if(Pn===null&&(!bt||!bt.filteredKeys)||(0,y.Z)(Pn,bt==null?void 0:bt.filteredKeys,!0))return null;$t({column:we,key:et,filteredKeys:Pn})},fr=()=>{de(!1),Qn(ge())},Sn=function(){let{confirm:Ae,closeDropdown:Pn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ae&&Qn([]),Pn&&de(!1),Xn(""),Bt(E?(I||[]).map(sr=>String(sr)):[])},cr=function(){let{closeDropdown:Ae}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ae&&de(!1),Qn(ge())},er=Ae=>{Ae&&De!==void 0&&Bt(De||[]),de(Ae),!Ae&&!we.filterDropdown&&fr()},qn=rt()({[`${w}-menu-without-submenu`]:!ri(we.filters||[])}),Tn=Ae=>{if(Ae.target.checked){const Pn=Zr(we==null?void 0:we.filters).map(sr=>String(sr));Bt(Pn)}else Bt([])},jn=Ae=>{let{filters:Pn}=Ae;return(Pn||[]).map((sr,je)=>{const Jr=String(sr.value),ma={title:sr.text,key:sr.value!==void 0?Jr:je};return sr.children&&(ma.children=jn({filters:sr.children})),ma})},an=Ae=>{var Pn;return Object.assign(Object.assign({},Ae),{text:Ae.title,value:Ae.key,children:((Pn=Ae.children)===null||Pn===void 0?void 0:Pn.map(sr=>an(sr)))||[]})};let fn;if(typeof we.filterDropdown=="function")fn=we.filterDropdown({prefixCls:`${w}-custom`,setSelectedKeys:Ae=>en({selectedKeys:Ae}),selectedKeys:ge(),confirm:cr,clearFilters:Sn,filters:we.filters,visible:Ue,close:()=>{de(!1)}});else if(we.filterDropdown)fn=we.filterDropdown;else{const Ae=ge()||[],Pn=()=>(we.filters||[]).length===0?f.createElement(La.Z,{image:La.Z.PRESENTED_IMAGE_SIMPLE,description:Ut.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ft==="tree"?f.createElement(f.Fragment,null,f.createElement(yi,{filterSearch:Ct,value:Dn,onChange:Ht,tablePrefixCls:me,locale:Ut}),f.createElement("div",{className:`${me}-filter-dropdown-tree`},Ye?f.createElement(qr.default,{checked:Ae.length===Zr(we.filters).length,indeterminate:Ae.length>0&&Ae.lengthtypeof Ct=="function"?Ct(Dn,an(je)):No(Dn,je.title):void 0}))):f.createElement(f.Fragment,null,f.createElement(yi,{filterSearch:Ct,value:Dn,onChange:Ht,tablePrefixCls:me,locale:Ut}),f.createElement(vt.default,{selectable:!0,multiple:Ye,prefixCls:`${w}-menu`,className:qn,onSelect:en,onDeselect:en,selectedKeys:Ae,getPopupContainer:o,openKeys:Gt,onOpenChange:on,items:Ni({filters:we.filters||[],filterSearch:Ct,prefixCls:xe,filteredKeys:ge(),filterMultiple:Ye,searchValue:Dn})})),sr=()=>E?(0,y.Z)((I||[]).map(je=>String(je)),Ae,!0):Ae.length===0;fn=f.createElement(f.Fragment,null,Pn(),f.createElement("div",{className:`${xe}-dropdown-btns`},f.createElement(Dr.ZP,{type:"link",size:"small",disabled:sr(),onClick:()=>Sn()},Ut.filterReset),f.createElement(Dr.ZP,{type:"primary",size:"small",onClick:fr},Ut.filterConfirm)))}we.filterDropdown&&(fn=f.createElement(Vr.J,{selectable:void 0},fn));const En=()=>f.createElement(Yi,{className:`${xe}-dropdown`},fn);let yn;typeof we.filterIcon=="function"?yn=we.filterIcon(Me):we.filterIcon?yn=we.filterIcon:yn=f.createElement($r,null);const{direction:rr}=f.useContext(br.E_);return f.createElement("div",{className:`${xe}-column`},f.createElement("span",{className:`${me}-column-title`},Ft),f.createElement(ya.Z,{dropdownRender:En,trigger:["click"],open:Ue,onOpenChange:er,getPopupContainer:o,placement:rr==="rtl"?"bottomLeft":"bottomRight"},f.createElement("span",{role:"button",tabIndex:-1,className:rt()(`${xe}-trigger`,{active:Me}),onClick:Ae=>{Ae.stopPropagation()}},yn)))}var zo=wo;function fa(R,L,ae){let me=[];return(R||[]).forEach((xe,we)=>{var w;const et=Fa(we,ae);if(xe.filters||"filterDropdown"in xe||"onFilter"in xe)if("filteredValue"in xe){let Ye=xe.filteredValue;"filterDropdown"in xe||(Ye=(w=Ye==null?void 0:Ye.map(String))!==null&&w!==void 0?w:Ye),me.push({column:xe,key:Na(xe,et),filteredKeys:Ye,forceFiltered:xe.filtered})}else me.push({column:xe,key:Na(xe,et),filteredKeys:L&&xe.defaultFilteredValue?xe.defaultFilteredValue:void 0,forceFiltered:xe.filtered});"children"in xe&&(me=[].concat((0,Mt.Z)(me),(0,Mt.Z)(fa(xe.children,L,et))))}),me}function Aa(R,L,ae,me,xe,we,w,et){return ae.map((Ye,ft)=>{const Ct=Fa(ft,et),{filterMultiple:bt=!0,filterMode:$t,filterSearch:Ut}=Ye;let Ft=Ye;if(Ft.filters||Ft.filterDropdown){const o=Na(Ft,Ct),d=me.find(m=>{let{key:E}=m;return o===E});Ft=Object.assign(Object.assign({},Ft),{title:m=>f.createElement(zo,{tablePrefixCls:R,prefixCls:`${R}-filter`,dropdownPrefixCls:L,column:Ft,columnKey:o,filterState:d,filterMultiple:bt,filterMode:$t,filterSearch:Ut,triggerFilter:we,locale:xe,getPopupContainer:w},ka(Ye.title,m))})}return"children"in Ft&&(Ft=Object.assign(Object.assign({},Ft),{children:Aa(R,L,Ft.children,me,xe,we,w,Ct)})),Ft})}function Xi(R){const L={};return R.forEach(ae=>{let{key:me,filteredKeys:xe,column:we}=ae;const{filters:w,filterDropdown:et}=we;if(et)L[me]=xe||null;else if(Array.isArray(xe)){const Ye=Zr(w);L[me]=Ye.filter(ft=>xe.includes(String(ft)))}else L[me]=null}),L}function fi(R,L){return L.reduce((ae,me)=>{const{column:{onFilter:xe,filters:we},filteredKeys:w}=me;return xe&&w&&w.length?ae.filter(et=>w.some(Ye=>{const ft=Zr(we),Ct=ft.findIndex($t=>String($t)===String(Ye)),bt=Ct!==-1?ft[Ct]:Ye;return xe(bt,et)})):ae},R)}const ai=R=>R.flatMap(L=>"children"in L?[L].concat((0,Mt.Z)(ai(L.children||[]))):[L]);function _i(R){let{prefixCls:L,dropdownPrefixCls:ae,mergedColumns:me,onFilterChange:xe,getPopupContainer:we,locale:w}=R;const et=f.useMemo(()=>ai(me||[]),[me]),[Ye,ft]=f.useState(()=>fa(et,!0)),Ct=f.useMemo(()=>{const Ft=fa(et,!1);if(Ft.length===0)return Ft;let o=!0,d=!0;if(Ft.forEach(m=>{let{filteredKeys:E}=m;E!==void 0?o=!1:d=!1}),o){const m=(et||[]).map((E,I)=>Na(E,Fa(I)));return Ye.filter(E=>{let{key:I}=E;return m.includes(I)}).map(E=>{const I=et[m.findIndex(k=>k===E.key)];return Object.assign(Object.assign({},E),{column:Object.assign(Object.assign({},E.column),I),forceFiltered:I.filtered})})}return Ft},[et,Ye]),bt=f.useMemo(()=>Xi(Ct),[Ct]),$t=Ft=>{const o=Ct.filter(d=>{let{key:m}=d;return m!==Ft.key});o.push(Ft),ft(o),xe(Xi(o),o)};return[Ft=>Aa(L,ae,Ft,Ct,w,$t,we),Ct,bt]}var Pr=_i;function Si(R,L,ae){const me=f.useRef({});function xe(we){if(!me.current||me.current.data!==R||me.current.childrenColumnName!==L||me.current.getRowKey!==ae){let et=function(Ye){Ye.forEach((ft,Ct)=>{const bt=ae(ft,Ct);w.set(bt,ft),ft&&typeof ft=="object"&&L in ft&&et(ft[L]||[])})};const w=new Map;et(R),me.current={data:R,childrenColumnName:L,kvMap:w,getRowKey:ae}}return me.current.kvMap.get(we)}return[xe]}var ii=t(50371),Ro=function(R,L){var ae={};for(var me in R)Object.prototype.hasOwnProperty.call(R,me)&&L.indexOf(me)<0&&(ae[me]=R[me]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,me=Object.getOwnPropertySymbols(R);xe{const we=R[xe];typeof we!="function"&&(ae[xe]=we)}),ae}function mo(R,L,ae){const me=ae&&typeof ae=="object"?ae:{},{total:xe=0}=me,we=Ro(me,["total"]),[w,et]=(0,f.useState)(()=>({current:"defaultCurrent"in we?we.defaultCurrent:1,pageSize:"defaultPageSize"in we?we.defaultPageSize:Oa})),Ye=(0,ii.Z)(w,we,{total:xe>0?xe:R}),ft=Math.ceil((xe||R)/Ye.pageSize);Ye.current>ft&&(Ye.current=ft||1);const Ct=($t,Ut)=>{et({current:$t!=null?$t:1,pageSize:Ut||Ye.pageSize})},bt=($t,Ut)=>{var Ft;ae&&((Ft=ae.onChange)===null||Ft===void 0||Ft.call(ae,$t,Ut)),Ct($t,Ut),L($t,Ut||(Ye==null?void 0:Ye.pageSize))};return ae===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ye),{onChange:bt}),Ct]}var ln=mo,Wa=t(84105),qi=t(35654),Pi=t(90782),ho=t(71430),$a=t(18929);const Pa={},Qr="SELECT_ALL",Bi="SELECT_INVERT",Qi="SELECT_NONE",go=[],Oo=(R,L)=>{let ae=[];return(L||[]).forEach(me=>{ae.push(me),me&&typeof me=="object"&&R in me&&(ae=[].concat((0,Mt.Z)(ae),(0,Mt.Z)(Oo(R,me[R]))))}),ae};var Go=(R,L)=>{const{preserveSelectedRowKeys:ae,selectedRowKeys:me,defaultSelectedRowKeys:xe,getCheckboxProps:we,onChange:w,onSelect:et,onSelectAll:Ye,onSelectInvert:ft,onSelectNone:Ct,onSelectMultiple:bt,columnWidth:$t,type:Ut,selections:Ft,fixed:o,renderCell:d,hideSelectAll:m,checkStrictly:E=!0}=L||{},{prefixCls:I,data:k,pageData:M,getRecordByKey:q,getRowKey:Be,expandType:Me,childrenColumnName:de,locale:Ue,getPopupContainer:De}=R,[ge,Bt]=(0,$a.Z)(me||xe||go,{value:me}),en=f.useRef(new Map),bn=(0,f.useCallback)(an=>{if(ae){const fn=new Map;an.forEach(En=>{let yn=q(En);!yn&&en.current.has(En)&&(yn=en.current.get(En)),fn.set(En,yn)}),en.current=fn}},[q,ae]);f.useEffect(()=>{bn(ge)},[ge]);const{keyEntities:Gt}=(0,f.useMemo)(()=>{if(E)return{keyEntities:null};let an=k;if(ae){const fn=new Set(k.map((yn,rr)=>Be(yn,rr))),En=Array.from(en.current).reduce((yn,rr)=>{let[Ae,Pn]=rr;return fn.has(Ae)?yn:yn.concat(Pn)},[]);an=[].concat((0,Mt.Z)(an),(0,Mt.Z)(En))}return(0,ho.I8)(an,{externalGetKey:Be,childrenPropName:de})},[k,Be,E,de,ae]),rn=(0,f.useMemo)(()=>Oo(de,M),[de,M]),on=(0,f.useMemo)(()=>{const an=new Map;return rn.forEach((fn,En)=>{const yn=Be(fn,En),rr=(we?we(fn):null)||{};an.set(yn,rr)}),an},[rn,Be,we]),Dn=(0,f.useCallback)(an=>{var fn;return!!(!((fn=on.get(Be(an)))===null||fn===void 0)&&fn.disabled)},[on,Be]),[Xn,Ht]=(0,f.useMemo)(()=>{if(E)return[ge||[],[]];const{checkedKeys:an,halfCheckedKeys:fn}=(0,Pi.S)(ge,!0,Gt,Dn);return[an||[],fn]},[ge,E,Gt,Dn]),Qn=(0,f.useMemo)(()=>{const an=Ut==="radio"?Xn.slice(0,1):Xn;return new Set(an)},[Xn,Ut]),fr=(0,f.useMemo)(()=>Ut==="radio"?new Set:new Set(Ht),[Ht,Ut]),[Sn,cr]=(0,f.useState)(null);f.useEffect(()=>{L||Bt(go)},[!!L]);const er=(0,f.useCallback)((an,fn)=>{let En,yn;bn(an),ae?(En=an,yn=an.map(rr=>en.current.get(rr))):(En=[],yn=[],an.forEach(rr=>{const Ae=q(rr);Ae!==void 0&&(En.push(rr),yn.push(Ae))})),Bt(En),w==null||w(En,yn,{type:fn})},[Bt,q,w,ae]),qn=(0,f.useCallback)((an,fn,En,yn)=>{if(et){const rr=En.map(Ae=>q(Ae));et(q(an),fn,rr,yn)}er(En,"single")},[et,q,er]),Tn=(0,f.useMemo)(()=>!Ft||m?null:(Ft===!0?[Qr,Bi,Qi]:Ft).map(fn=>fn===Qr?{key:"all",text:Ue.selectionAll,onSelect(){er(k.map((En,yn)=>Be(En,yn)).filter(En=>{const yn=on.get(En);return!(yn!=null&&yn.disabled)||Qn.has(En)}),"all")}}:fn===Bi?{key:"invert",text:Ue.selectInvert,onSelect(){const En=new Set(Qn);M.forEach((rr,Ae)=>{const Pn=Be(rr,Ae),sr=on.get(Pn);sr!=null&&sr.disabled||(En.has(Pn)?En.delete(Pn):En.add(Pn))});const yn=Array.from(En);ft&&ft(yn),er(yn,"invert")}}:fn===Qi?{key:"none",text:Ue.selectNone,onSelect(){Ct==null||Ct(),er(Array.from(Qn).filter(En=>{const yn=on.get(En);return yn==null?void 0:yn.disabled}),"none")}}:fn).map(fn=>Object.assign(Object.assign({},fn),{onSelect:function(){for(var En,yn,rr=arguments.length,Ae=new Array(rr),Pn=0;Pn{var fn;if(!L)return an.filter(xr=>xr!==Pa);let En=(0,Mt.Z)(an);const yn=new Set(Qn),rr=rn.map(Be).filter(xr=>!on.get(xr).disabled),Ae=rr.every(xr=>yn.has(xr)),Pn=rr.some(xr=>yn.has(xr)),sr=()=>{const xr=[];Ae?rr.forEach(Wr=>{yn.delete(Wr),xr.push(Wr)}):rr.forEach(Wr=>{yn.has(Wr)||(yn.add(Wr),xr.push(Wr))});const Or=Array.from(yn);Ye==null||Ye(!Ae,Or.map(Wr=>q(Wr)),xr.map(Wr=>q(Wr))),er(Or,"all"),cr(null)};let je;if(Ut!=="radio"){let xr;if(Tn){const e={getPopupContainer:De,items:Tn.map((r,b)=>{const{key:K,text:We,onSelect:yt}=r;return{key:K!=null?K:b,onClick:()=>{yt==null||yt(rr)},label:We}})};xr=f.createElement("div",{className:`${I}-selection-extra`},f.createElement(ya.Z,{menu:e,getPopupContainer:De},f.createElement("span",null,f.createElement(Wa.Z,null))))}const Or=rn.map((e,r)=>{const b=Be(e,r),K=on.get(b)||{};return Object.assign({checked:yn.has(b)},K)}).filter(e=>{let{disabled:r}=e;return r}),Wr=!!Or.length&&Or.length===rn.length,ha=Wr&&Or.every(e=>{let{checked:r}=e;return r}),Ta=Wr&&Or.some(e=>{let{checked:r}=e;return r});je=!m&&f.createElement("div",{className:`${I}-selection`},f.createElement(qr.default,{checked:Wr?ha:!!rn.length&&Ae,indeterminate:Wr?!ha&&Ta:!Ae&&Pn,onChange:sr,disabled:rn.length===0||Wr,"aria-label":xr?"Custom selection":"Select all",skipGroup:!0}),xr)}let Jr;Ut==="radio"?Jr=(xr,Or,Wr)=>{const ha=Be(Or,Wr),Ta=yn.has(ha);return{node:f.createElement(Ja.ZP,Object.assign({},on.get(ha),{checked:Ta,onClick:e=>e.stopPropagation(),onChange:e=>{yn.has(ha)||qn(ha,!0,[ha],e.nativeEvent)}})),checked:Ta}}:Jr=(xr,Or,Wr)=>{var ha;const Ta=Be(Or,Wr),e=yn.has(Ta),r=fr.has(Ta),b=on.get(Ta);let K;return Me==="nest"?K=r:K=(ha=b==null?void 0:b.indeterminate)!==null&&ha!==void 0?ha:r,{node:f.createElement(qr.default,Object.assign({},b,{indeterminate:K,checked:e,skipGroup:!0,onClick:We=>We.stopPropagation(),onChange:We=>{let{nativeEvent:yt}=We;const{shiftKey:Yt}=yt;let An=-1,Bn=-1;if(Yt&&E){const Nt=new Set([Sn,Ta]);rr.some((nn,Mn)=>{if(Nt.has(nn))if(An===-1)An=Mn;else return Bn=Mn,!0;return!1})}if(Bn!==-1&&An!==Bn&&E){const Nt=rr.slice(An,Bn+1),nn=[];e?Nt.forEach(Kn=>{yn.has(Kn)&&(nn.push(Kn),yn.delete(Kn))}):Nt.forEach(Kn=>{yn.has(Kn)||(nn.push(Kn),yn.add(Kn))});const Mn=Array.from(yn);bt==null||bt(!e,Mn.map(Kn=>q(Kn)),nn.map(Kn=>q(Kn))),er(Mn,"multiple")}else{const Nt=Xn;if(E){const nn=e?(0,qi._5)(Nt,Ta):(0,qi.L0)(Nt,Ta);qn(Ta,!e,nn,yt)}else{const nn=(0,Pi.S)([].concat((0,Mt.Z)(Nt),[Ta]),!0,Gt,Dn),{checkedKeys:Mn,halfCheckedKeys:Kn}=nn;let Br=Mn;if(e){const Ba=new Set(Mn);Ba.delete(Ta),Br=(0,Pi.S)(Array.from(Ba),{checked:!1,halfCheckedKeys:Kn},Gt,Dn).checkedKeys}qn(Ta,!e,Br,yt)}}cr(e?null:Ta)}})),checked:e}};const ma=(xr,Or,Wr)=>{const{node:ha,checked:Ta}=Jr(xr,Or,Wr);return d?d(Ta,Or,Wr,ha):ha};if(!En.includes(Pa))if(En.findIndex(xr=>{var Or;return((Or=xr[cn])===null||Or===void 0?void 0:Or.columnType)==="EXPAND_COLUMN"})===0){const[xr,...Or]=En;En=[xr,Pa].concat((0,Mt.Z)(Or))}else En=[Pa].concat((0,Mt.Z)(En));const Ma=En.indexOf(Pa);En=En.filter((xr,Or)=>xr!==Pa||Or===Ma);const ca=En[Ma-1],aa=En[Ma+1];let zr=o;zr===void 0&&((aa==null?void 0:aa.fixed)!==void 0?zr=aa.fixed:(ca==null?void 0:ca.fixed)!==void 0&&(zr=ca.fixed)),zr&&ca&&((fn=ca[cn])===null||fn===void 0?void 0:fn.columnType)==="EXPAND_COLUMN"&&ca.fixed===void 0&&(ca.fixed=zr);const Sa=rt()(`${I}-selection-col`,{[`${I}-selection-col-with-dropdown`]:Ft&&Ut==="checkbox"}),Ga={fixed:zr,width:$t,className:`${I}-selection-column`,title:L.columnTitle||je,render:ma,onCell:L.onCell,[cn]:{className:Sa}};return En.map(xr=>xr===Pa?Ga:xr)},[Be,rn,L,Xn,Qn,fr,$t,Tn,Me,Sn,on,bt,qn,Dn]),Qn]},jo=t(89489),Ko=t(59477),bo=t(6848);const Fi="ascend",vo="descend";function Va(R){return typeof R.sorter=="object"&&typeof R.sorter.multiple=="number"?R.sorter.multiple:!1}function Tr(R){return typeof R=="function"?R:R&&typeof R=="object"&&R.compare?R.compare:!1}function Eo(R,L){return L?R[R.indexOf(L)+1]:R[0]}function wi(R,L,ae){let me=[];function xe(we,w){me.push({column:we,key:Na(we,w),multiplePriority:Va(we),sortOrder:we.sortOrder})}return(R||[]).forEach((we,w)=>{const et=Fa(w,ae);we.children?("sortOrder"in we&&xe(we,et),me=[].concat((0,Mt.Z)(me),(0,Mt.Z)(wi(we.children,L,et)))):we.sorter&&("sortOrder"in we?xe(we,et):L&&we.defaultSortOrder&&me.push({column:we,key:Na(we,et),multiplePriority:Va(we),sortOrder:we.defaultSortOrder}))}),me}function Ji(R,L,ae,me,xe,we,w,et){return(L||[]).map((Ye,ft)=>{const Ct=Fa(ft,et);let bt=Ye;if(bt.sorter){const $t=bt.sortDirections||xe,Ut=bt.showSorterTooltip===void 0?w:bt.showSorterTooltip,Ft=Na(bt,Ct),o=ae.find(Me=>{let{key:de}=Me;return de===Ft}),d=o?o.sortOrder:null,m=Eo($t,d);let E;if(Ye.sortIcon)E=Ye.sortIcon({sortOrder:d});else{const Me=$t.includes(Fi)&&f.createElement(Ko.Z,{className:rt()(`${R}-column-sorter-up`,{active:d===Fi})}),de=$t.includes(vo)&&f.createElement(jo.Z,{className:rt()(`${R}-column-sorter-down`,{active:d===vo})});E=f.createElement("span",{className:rt()(`${R}-column-sorter`,{[`${R}-column-sorter-full`]:!!(Me&&de)})},f.createElement("span",{className:`${R}-column-sorter-inner`,"aria-hidden":"true"},Me,de))}const{cancelSort:I,triggerAsc:k,triggerDesc:M}=we||{};let q=I;m===vo?q=M:m===Fi&&(q=k);const Be=typeof Ut=="object"?Ut:{title:q};bt=Object.assign(Object.assign({},bt),{className:rt()(bt.className,{[`${R}-column-sort`]:d}),title:Me=>{const de=f.createElement("div",{className:`${R}-column-sorters`},f.createElement("span",{className:`${R}-column-title`},ka(Ye.title,Me)),E);return Ut?f.createElement(bo.Z,Object.assign({},Be),de):de},onHeaderCell:Me=>{const de=Ye.onHeaderCell&&Ye.onHeaderCell(Me)||{},Ue=de.onClick,De=de.onKeyDown;de.onClick=en=>{me({column:Ye,key:Ft,sortOrder:m,multiplePriority:Va(Ye)}),Ue==null||Ue(en)},de.onKeyDown=en=>{en.keyCode===Mi.Z.ENTER&&(me({column:Ye,key:Ft,sortOrder:m,multiplePriority:Va(Ye)}),De==null||De(en))};const ge=ua(Ye.title,{}),Bt=ge==null?void 0:ge.toString();return d?de["aria-sort"]=d==="ascend"?"ascending":"descending":de["aria-label"]=Bt||"",de.className=rt()(de.className,`${R}-column-has-sorters`),de.tabIndex=0,Ye.ellipsis&&(de.title=(ge!=null?ge:"").toString()),de}})}return"children"in bt&&(bt=Object.assign(Object.assign({},bt),{children:Ji(R,bt.children,ae,me,xe,we,w,Ct)})),bt})}function eo(R){const{column:L,sortOrder:ae}=R;return{column:L,order:ae,field:L.dataIndex,columnKey:L.key}}function to(R){const L=R.filter(ae=>{let{sortOrder:me}=ae;return me}).map(eo);return L.length===0&&R.length?Object.assign(Object.assign({},eo(R[R.length-1])),{column:void 0}):L.length<=1?L[0]||{}:L}function Ri(R,L,ae){const me=L.slice().sort((w,et)=>et.multiplePriority-w.multiplePriority),xe=R.slice(),we=me.filter(w=>{let{column:{sorter:et},sortOrder:Ye}=w;return Tr(et)&&Ye});return we.length?xe.sort((w,et)=>{for(let Ye=0;Ye{const et=w[ae];return et?Object.assign(Object.assign({},w),{[ae]:Ri(et,L,ae)}):w}):xe}function ko(R){let{prefixCls:L,mergedColumns:ae,onSorterChange:me,sortDirections:xe,tableLocale:we,showSorterTooltip:w}=R;const[et,Ye]=f.useState(wi(ae,!0)),ft=f.useMemo(()=>{let Ft=!0;const o=wi(ae,!1);if(!o.length)return et;const d=[];function m(I){Ft?d.push(I):d.push(Object.assign(Object.assign({},I),{sortOrder:null}))}let E=null;return o.forEach(I=>{E===null?(m(I),I.sortOrder&&(I.multiplePriority===!1?Ft=!1:E=!0)):(E&&I.multiplePriority!==!1||(Ft=!1),m(I))}),d},[ae,et]),Ct=f.useMemo(()=>{const Ft=ft.map(o=>{let{column:d,sortOrder:m}=o;return{column:d,order:m}});return{sortColumns:Ft,sortColumn:Ft[0]&&Ft[0].column,sortOrder:Ft[0]&&Ft[0].order}},[ft]);function bt(Ft){let o;Ft.multiplePriority===!1||!ft.length||ft[0].multiplePriority===!1?o=[Ft]:o=[].concat((0,Mt.Z)(ft.filter(d=>{let{key:m}=d;return m!==Ft.key})),[Ft]),Ye(o),me(to(o),o)}return[Ft=>Ji(L,Ft,ft,bt,xe,we,w),ft,Ct,()=>to(ft)]}function yo(R,L){return R.map(ae=>{const me=Object.assign({},ae);return me.title=ka(ae.title,L),"children"in me&&(me.children=yo(me.children,L)),me})}function Lo(R){return[f.useCallback(ae=>yo(ae,R),[R])]}var no=Ie((R,L)=>{const{_renderTimes:ae}=R,{_renderTimes:me}=L;return ae!==me}),ro=lr((R,L)=>{const{_renderTimes:ae}=R,{_renderTimes:me}=L;return ae!==me}),oi=t(64993),Ia=t(17313),Wo=t(83116),Vo=t(37613),Do=R=>{const{componentCls:L}=R,ae=`${R.lineWidth}px ${R.lineType} ${R.tableBorderColor}`,me=(xe,we,w)=>({[`&${L}-${xe}`]:{[`> ${L}-container`]:{[`> ${L}-content, > ${L}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${L}-expanded-row-fixed`]:{margin:`-${we}px -${w+R.lineWidth}px`}}}}}});return{[`${L}-wrapper`]:{[`${L}${L}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${L}-title`]:{border:ae,borderBottom:0},[`> ${L}-container`]:{borderInlineStart:ae,borderTop:ae,[` > ${L}-content, > ${L}-header, > ${L}-body, @@ -64,10 +64,10 @@ `]:{"> th, > td":{borderInlineEnd:0}}}}}},me("middle",R.tablePaddingVerticalMiddle,R.tablePaddingHorizontalMiddle)),me("small",R.tablePaddingVerticalSmall,R.tablePaddingHorizontalSmall)),{[`> ${L}-footer`]:{border:ae,borderTop:0}}),[`${L}-cell`]:{[`${L}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${R.lineWidth}px 0 ${R.lineWidth}px ${R.tableHeaderBg}`}},[`${L}-bordered ${L}-cell-scrollbar`]:{borderInlineEnd:ae}}}},ao=R=>{const{componentCls:L}=R;return{[`${L}-wrapper`]:{[`${L}-cell-ellipsis`]:Object.assign(Object.assign({},Ia.vS),{wordBreak:"keep-all",[` &${L}-cell-fix-left-last, &${L}-cell-fix-right-first - `]:{overflow:"visible",[`${L}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${L}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Yo=R=>{const{componentCls:L}=R;return{[`${L}-wrapper`]:{[`${L}-tbody > tr${L}-placeholder`]:{textAlign:"center",color:R.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:R.colorBgContainer}}}}},So=t(15969),ki=R=>{const{componentCls:L,antCls:ae,controlInteractiveSize:me,motionDurationSlow:xe,lineWidth:Ne,paddingXS:w,lineType:et,tableBorderColor:Ye,tableExpandIconBg:ft,tableExpandColumnWidth:Ct,borderRadius:bt,fontSize:$t,fontSizeSM:Ut,lineHeight:Ft,tablePaddingVertical:o,tablePaddingHorizontal:d,tableExpandedRowBg:m,paddingXXS:E}=R,I=me/2-Ne,k=I*2+Ne*3,M=`${Ne}px ${et} ${Ye}`,q=E-Ne;return{[`${L}-wrapper`]:{[`${L}-expand-icon-col`]:{width:Ct},[`${L}-row-expand-icon-cell`]:{textAlign:"center",[`${L}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${L}-row-indent`]:{height:1,float:"left"},[`${L}-row-expand-icon`]:Object.assign(Object.assign({},(0,So.N)(R)),{position:"relative",float:"left",boxSizing:"border-box",width:k,height:k,padding:0,color:"inherit",lineHeight:`${k}px`,background:ft,border:M,borderRadius:bt,transform:`scale(${me/k})`,transition:`all ${xe}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${xe} ease-out`,content:'""'},"&::before":{top:I,insetInlineEnd:q,insetInlineStart:q,height:Ne},"&::after":{top:q,bottom:q,insetInlineStart:I,width:Ne,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"}}),[`${L}-row-indent + ${L}-row-expand-icon`]:{marginTop:($t*Ft-Ne*3)/2-Math.ceil((Ut*1.4-Ne*3)/2),marginInlineEnd:w},[`tr${L}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${ae}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${L}-expanded-row-fixed`]:{position:"relative",margin:`-${o}px -${d}px`,padding:`${o}px ${d}px`}}}},_o=R=>{const{componentCls:L,antCls:ae,iconCls:me,tableFilterDropdownWidth:xe,tableFilterDropdownSearchWidth:Ne,paddingXXS:w,paddingXS:et,colorText:Ye,lineWidth:ft,lineType:Ct,tableBorderColor:bt,tableHeaderIconColor:$t,fontSizeSM:Ut,tablePaddingHorizontal:Ft,borderRadius:o,motionDurationSlow:d,colorTextDescription:m,colorPrimary:E,tableHeaderFilterActiveBg:I,colorTextDisabled:k,tableFilterDropdownBg:M,tableFilterDropdownHeight:q,controlItemBgHover:Be,controlItemBgActive:Me,boxShadowSecondary:de,filterDropdownMenuBg:Ue}=R,De=`${ae}-dropdown`,ge=`${L}-filter-dropdown`,Bt=`${ae}-tree`,en=`${ft}px ${Ct} ${bt}`;return[{[`${L}-wrapper`]:{[`${L}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${L}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-w,marginInline:`${w}px ${-Ft/2}px`,padding:`0 ${w}px`,color:$t,fontSize:Ut,borderRadius:o,cursor:"pointer",transition:`all ${d}`,"&:hover":{color:m,background:I},"&.active":{color:E}}}},{[`${ae}-dropdown`]:{[ge]:Object.assign(Object.assign({},(0,Ia.Wf)(R)),{minWidth:xe,backgroundColor:M,borderRadius:o,boxShadow:de,overflow:"hidden",[`${De}-menu`]:{maxHeight:q,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ue,"&:empty::after":{display:"block",padding:`${et}px 0`,color:k,fontSize:Ut,textAlign:"center",content:'"Not Found"'}},[`${ge}-tree`]:{paddingBlock:`${et}px 0`,paddingInline:et,[Bt]:{padding:0},[`${Bt}-treenode ${Bt}-node-content-wrapper:hover`]:{backgroundColor:Be},[`${Bt}-treenode-checkbox-checked ${Bt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Me}}},[`${ge}-search`]:{padding:et,borderBottom:en,"&-input":{input:{minWidth:Ne},[me]:{color:k}}},[`${ge}-checkall`]:{width:"100%",marginBottom:w,marginInlineStart:w},[`${ge}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${et-ft}px ${et}px`,overflow:"hidden",borderTop:en}})}},{[`${ae}-dropdown ${ge}, ${ge}-submenu`]:{[`${ae}-checkbox-wrapper + span`]:{paddingInlineStart:et,color:Ye},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Po=R=>{const{componentCls:L,lineWidth:ae,colorSplit:me,motionDurationSlow:xe,zIndexTableFixed:Ne,tableBg:w,zIndexTableSticky:et}=R,Ye=me;return{[`${L}-wrapper`]:{[` + `]:{overflow:"visible",[`${L}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${L}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Yo=R=>{const{componentCls:L}=R;return{[`${L}-wrapper`]:{[`${L}-tbody > tr${L}-placeholder`]:{textAlign:"center",color:R.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:R.colorBgContainer}}}}},So=t(15969),ki=R=>{const{componentCls:L,antCls:ae,controlInteractiveSize:me,motionDurationSlow:xe,lineWidth:we,paddingXS:w,lineType:et,tableBorderColor:Ye,tableExpandIconBg:ft,tableExpandColumnWidth:Ct,borderRadius:bt,fontSize:$t,fontSizeSM:Ut,lineHeight:Ft,tablePaddingVertical:o,tablePaddingHorizontal:d,tableExpandedRowBg:m,paddingXXS:E}=R,I=me/2-we,k=I*2+we*3,M=`${we}px ${et} ${Ye}`,q=E-we;return{[`${L}-wrapper`]:{[`${L}-expand-icon-col`]:{width:Ct},[`${L}-row-expand-icon-cell`]:{textAlign:"center",[`${L}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${L}-row-indent`]:{height:1,float:"left"},[`${L}-row-expand-icon`]:Object.assign(Object.assign({},(0,So.N)(R)),{position:"relative",float:"left",boxSizing:"border-box",width:k,height:k,padding:0,color:"inherit",lineHeight:`${k}px`,background:ft,border:M,borderRadius:bt,transform:`scale(${me/k})`,transition:`all ${xe}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${xe} ease-out`,content:'""'},"&::before":{top:I,insetInlineEnd:q,insetInlineStart:q,height:we},"&::after":{top:q,bottom:q,insetInlineStart:I,width:we,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"}}),[`${L}-row-indent + ${L}-row-expand-icon`]:{marginTop:($t*Ft-we*3)/2-Math.ceil((Ut*1.4-we*3)/2),marginInlineEnd:w},[`tr${L}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${ae}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${L}-expanded-row-fixed`]:{position:"relative",margin:`-${o}px -${d}px`,padding:`${o}px ${d}px`}}}},_o=R=>{const{componentCls:L,antCls:ae,iconCls:me,tableFilterDropdownWidth:xe,tableFilterDropdownSearchWidth:we,paddingXXS:w,paddingXS:et,colorText:Ye,lineWidth:ft,lineType:Ct,tableBorderColor:bt,tableHeaderIconColor:$t,fontSizeSM:Ut,tablePaddingHorizontal:Ft,borderRadius:o,motionDurationSlow:d,colorTextDescription:m,colorPrimary:E,tableHeaderFilterActiveBg:I,colorTextDisabled:k,tableFilterDropdownBg:M,tableFilterDropdownHeight:q,controlItemBgHover:Be,controlItemBgActive:Me,boxShadowSecondary:de,filterDropdownMenuBg:Ue}=R,De=`${ae}-dropdown`,ge=`${L}-filter-dropdown`,Bt=`${ae}-tree`,en=`${ft}px ${Ct} ${bt}`;return[{[`${L}-wrapper`]:{[`${L}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${L}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-w,marginInline:`${w}px ${-Ft/2}px`,padding:`0 ${w}px`,color:$t,fontSize:Ut,borderRadius:o,cursor:"pointer",transition:`all ${d}`,"&:hover":{color:m,background:I},"&.active":{color:E}}}},{[`${ae}-dropdown`]:{[ge]:Object.assign(Object.assign({},(0,Ia.Wf)(R)),{minWidth:xe,backgroundColor:M,borderRadius:o,boxShadow:de,overflow:"hidden",[`${De}-menu`]:{maxHeight:q,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ue,"&:empty::after":{display:"block",padding:`${et}px 0`,color:k,fontSize:Ut,textAlign:"center",content:'"Not Found"'}},[`${ge}-tree`]:{paddingBlock:`${et}px 0`,paddingInline:et,[Bt]:{padding:0},[`${Bt}-treenode ${Bt}-node-content-wrapper:hover`]:{backgroundColor:Be},[`${Bt}-treenode-checkbox-checked ${Bt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Me}}},[`${ge}-search`]:{padding:et,borderBottom:en,"&-input":{input:{minWidth:we},[me]:{color:k}}},[`${ge}-checkall`]:{width:"100%",marginBottom:w,marginInlineStart:w},[`${ge}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${et-ft}px ${et}px`,overflow:"hidden",borderTop:en}})}},{[`${ae}-dropdown ${ge}, ${ge}-submenu`]:{[`${ae}-checkbox-wrapper + span`]:{paddingInlineStart:et,color:Ye},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Po=R=>{const{componentCls:L,lineWidth:ae,colorSplit:me,motionDurationSlow:xe,zIndexTableFixed:we,tableBg:w,zIndexTableSticky:et}=R,Ye=me;return{[`${L}-wrapper`]:{[` ${L}-cell-fix-left, ${L}-cell-fix-right - `]:{position:"sticky !important",zIndex:Ne,background:w},[` + `]:{position:"sticky !important",zIndex:we,background:w},[` ${L}-cell-fix-left-first::after, ${L}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ae,width:30,transform:"translateX(100%)",transition:`box-shadow ${xe}`,content:'""',pointerEvents:"none"},[`${L}-cell-fix-left-all::after`]:{display:"none"},[` @@ -79,10 +79,10 @@ `]:{boxShadow:`inset 10px 0 8px -8px ${Ye}`},[`${L}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${L}-ping-right`]:{[`&:not(${L}-has-fix-right) ${L}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ye}`}},[` ${L}-cell-fix-right-first::after, ${L}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${Ye}`}}}}},To=R=>{const{componentCls:L,antCls:ae}=R;return{[`${L}-wrapper`]:{[`${L}-pagination${ae}-pagination`]:{margin:`${R.margin}px 0`},[`${L}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:R.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},so=R=>{const{componentCls:L,tableRadius:ae}=R;return{[`${L}-wrapper`]:{[L]:{[`${L}-title, ${L}-header`]:{borderRadius:`${ae}px ${ae}px 0 0`},[`${L}-title + ${L}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${L}-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:ae,borderStartEndRadius:ae,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ae},"> *:last-child":{borderStartEndRadius:ae}}},"&-footer":{borderRadius:`0 0 ${ae}px ${ae}px`}}}}},$i=R=>{const{componentCls:L}=R;return{[`${L}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${L}-pagination-left`]:{justifyContent:"flex-end"},[`${L}-pagination-right`]:{justifyContent:"flex-start"},[`${L}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${L}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${L}-row-indent`]:{float:"right"}}}}},xo=R=>{const{componentCls:L,antCls:ae,iconCls:me,fontSizeIcon:xe,padding:Ne,paddingXS:w,tableHeaderIconColor:et,tableHeaderIconColorHover:Ye,tableSelectionColumnWidth:ft}=R;return{[`${L}-wrapper`]:{[`${L}-selection-col`]:{width:ft,[`&${L}-selection-col-with-dropdown`]:{width:ft+xe+Ne/4}},[`${L}-bordered ${L}-selection-col`]:{width:ft+w*2,[`&${L}-selection-col-with-dropdown`]:{width:ft+xe+Ne/4+w*2}},[` + `]:{boxShadow:`inset -10px 0 8px -8px ${Ye}`}}}}},To=R=>{const{componentCls:L,antCls:ae}=R;return{[`${L}-wrapper`]:{[`${L}-pagination${ae}-pagination`]:{margin:`${R.margin}px 0`},[`${L}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:R.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},so=R=>{const{componentCls:L,tableRadius:ae}=R;return{[`${L}-wrapper`]:{[L]:{[`${L}-title, ${L}-header`]:{borderRadius:`${ae}px ${ae}px 0 0`},[`${L}-title + ${L}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${L}-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:ae,borderStartEndRadius:ae,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ae},"> *:last-child":{borderStartEndRadius:ae}}},"&-footer":{borderRadius:`0 0 ${ae}px ${ae}px`}}}}},$i=R=>{const{componentCls:L}=R;return{[`${L}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${L}-pagination-left`]:{justifyContent:"flex-end"},[`${L}-pagination-right`]:{justifyContent:"flex-start"},[`${L}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${L}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${L}-row-indent`]:{float:"right"}}}}},xo=R=>{const{componentCls:L,antCls:ae,iconCls:me,fontSizeIcon:xe,padding:we,paddingXS:w,tableHeaderIconColor:et,tableHeaderIconColorHover:Ye,tableSelectionColumnWidth:ft}=R;return{[`${L}-wrapper`]:{[`${L}-selection-col`]:{width:ft,[`&${L}-selection-col-with-dropdown`]:{width:ft+xe+we/4}},[`${L}-bordered ${L}-selection-col`]:{width:ft+w*2,[`&${L}-selection-col-with-dropdown`]:{width:ft+xe+we/4+w*2}},[` table tr th${L}-selection-column, table tr td${L}-selection-column - `]:{paddingInlineEnd:R.paddingXS,paddingInlineStart:R.paddingXS,textAlign:"center",[`${ae}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${L}-selection-column${L}-cell-fix-left`]:{zIndex:R.zIndexTableFixed+1},[`table tr th${L}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${L}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${L}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${R.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${R.tablePaddingHorizontal/4}px`,[me]:{color:et,fontSize:xe,verticalAlign:"baseline","&:hover":{color:Ye}}}}}},mi=R=>{const{componentCls:L}=R,ae=(me,xe,Ne,w)=>({[`${L}${L}-${me}`]:{fontSize:w,[` + `]:{paddingInlineEnd:R.paddingXS,paddingInlineStart:R.paddingXS,textAlign:"center",[`${ae}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${L}-selection-column${L}-cell-fix-left`]:{zIndex:R.zIndexTableFixed+1},[`table tr th${L}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${L}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${L}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${R.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${R.tablePaddingHorizontal/4}px`,[me]:{color:et,fontSize:xe,verticalAlign:"baseline","&:hover":{color:Ye}}}}}},mi=R=>{const{componentCls:L}=R,ae=(me,xe,we,w)=>({[`${L}${L}-${me}`]:{fontSize:w,[` ${L}-title, ${L}-footer, ${L}-cell, @@ -91,10 +91,10 @@ ${L}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${xe}px ${Ne}px`},[`${L}-filter-trigger`]:{marginInlineEnd:`-${Ne/2}px`},[`${L}-expanded-row-fixed`]:{margin:`-${xe}px -${Ne}px`},[`${L}-tbody`]:{[`${L}-wrapper:only-child ${L}`]:{marginBlock:`-${xe}px`,marginInline:`${R.tableExpandColumnWidth-Ne}px -${Ne}px`}},[`${L}-selection-column`]:{paddingInlineStart:`${Ne/4}px`}}});return{[`${L}-wrapper`]:Object.assign(Object.assign({},ae("middle",R.tablePaddingVerticalMiddle,R.tablePaddingHorizontalMiddle,R.tableFontSizeMiddle)),ae("small",R.tablePaddingVerticalSmall,R.tablePaddingHorizontalSmall,R.tableFontSizeSmall))}},hi=R=>{const{componentCls:L,marginXXS:ae,fontSizeIcon:me,tableHeaderIconColor:xe,tableHeaderIconColorHover:Ne}=R;return{[`${L}-wrapper`]:{[`${L}-thead th${L}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${R.motionDurationSlow}`,"&:hover":{background:R.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:R.colorPrimary},[` + `]:{padding:`${xe}px ${we}px`},[`${L}-filter-trigger`]:{marginInlineEnd:`-${we/2}px`},[`${L}-expanded-row-fixed`]:{margin:`-${xe}px -${we}px`},[`${L}-tbody`]:{[`${L}-wrapper:only-child ${L}`]:{marginBlock:`-${xe}px`,marginInline:`${R.tableExpandColumnWidth-we}px -${we}px`}},[`${L}-selection-column`]:{paddingInlineStart:`${we/4}px`}}});return{[`${L}-wrapper`]:Object.assign(Object.assign({},ae("middle",R.tablePaddingVerticalMiddle,R.tablePaddingHorizontalMiddle,R.tableFontSizeMiddle)),ae("small",R.tablePaddingVerticalSmall,R.tablePaddingHorizontalSmall,R.tableFontSizeSmall))}},hi=R=>{const{componentCls:L,marginXXS:ae,fontSizeIcon:me,tableHeaderIconColor:xe,tableHeaderIconColorHover:we}=R;return{[`${L}-wrapper`]:{[`${L}-thead th${L}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${R.motionDurationSlow}`,"&:hover":{background:R.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:R.colorPrimary},[` &${L}-cell-fix-left:hover, &${L}-cell-fix-right:hover - `]:{background:R.tableFixedHeaderSortActiveBg}},[`${L}-thead th${L}-column-sort`]:{background:R.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${L}-column-sort`]:{background:R.tableBodySortBg},[`${L}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${L}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${L}-column-sorter`]:{marginInlineStart:ae,color:xe,fontSize:0,transition:`color ${R.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:me,"&.active":{color:R.colorPrimary}},[`${L}-column-sorter-up + ${L}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${L}-column-sorters:hover ${L}-column-sorter`]:{color:Ne}}}},Ui=R=>{const{componentCls:L,opacityLoading:ae,tableScrollThumbBg:me,tableScrollThumbBgHover:xe,tableScrollThumbSize:Ne,tableScrollBg:w,zIndexTableSticky:et,stickyScrollBarBorderRadius:Ye}=R,ft=`${R.lineWidth}px ${R.lineType} ${R.tableBorderColor}`;return{[`${L}-wrapper`]:{[`${L}-sticky`]:{"&-holder":{position:"sticky",zIndex:et,background:R.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ne}px !important`,zIndex:et,display:"flex",alignItems:"center",background:w,borderTop:ft,opacity:ae,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ne,backgroundColor:me,borderRadius:Ye,transition:`all ${R.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:xe}}}}}}},co=R=>{const{componentCls:L,lineWidth:ae,tableBorderColor:me}=R,xe=`${ae}px ${R.lineType} ${me}`;return{[`${L}-wrapper`]:{[`${L}-summary`]:{position:"relative",zIndex:R.zIndexTableFixed,background:R.tableBg,"> tr":{"> th, > td":{borderBottom:xe}}},[`div${L}-summary`]:{boxShadow:`0 -${ae}px 0 ${me}`}}}},qo=R=>{const{componentCls:L}=R,ae=`${R.lineWidth}px ${R.lineType} ${R.tableBorderColor}`,me=`${L}-expanded-row-cell`;return{[`${L}-wrapper`]:{[`${L}-tbody-virtual`]:{[`${L}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${L}-cell`]:{borderBottom:ae},[`${L}-expanded-row`]:{[`${me}${me}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${R.lineWidth}px)`,borderInlineEnd:"none"}}},[`${L}-bordered`]:{[`${L}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ae,position:"absolute"},[`${L}-cell`]:{borderInlineEnd:ae,[`&${L}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-R.lineWidth,borderInlineStart:ae}}}}}}};const po=R=>{const{componentCls:L,fontWeightStrong:ae,tablePaddingVertical:me,tablePaddingHorizontal:xe,lineWidth:Ne,lineType:w,tableBorderColor:et,tableFontSize:Ye,tableBg:ft,tableRadius:Ct,tableHeaderTextColor:bt,motionDurationMid:$t,tableHeaderBg:Ut,tableHeaderCellSplitColor:Ft,tableRowHoverBg:o,tableSelectedRowBg:d,tableSelectedRowHoverBg:m,tableFooterTextColor:E,tableFooterBg:I,paddingContentVerticalLG:k}=R,M=`${Ne}px ${w} ${et}`;return{[`${L}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ia.dF)()),{[L]:Object.assign(Object.assign({},(0,Ia.Wf)(R)),{fontSize:Ye,background:ft,borderRadius:`${Ct}px ${Ct}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ct}px ${Ct}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:R.tableFixedHeaderSortActiveBg}},[`${L}-thead th${L}-column-sort`]:{background:R.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${L}-column-sort`]:{background:R.tableBodySortBg},[`${L}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${L}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${L}-column-sorter`]:{marginInlineStart:ae,color:xe,fontSize:0,transition:`color ${R.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:me,"&.active":{color:R.colorPrimary}},[`${L}-column-sorter-up + ${L}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${L}-column-sorters:hover ${L}-column-sorter`]:{color:we}}}},Ui=R=>{const{componentCls:L,opacityLoading:ae,tableScrollThumbBg:me,tableScrollThumbBgHover:xe,tableScrollThumbSize:we,tableScrollBg:w,zIndexTableSticky:et,stickyScrollBarBorderRadius:Ye}=R,ft=`${R.lineWidth}px ${R.lineType} ${R.tableBorderColor}`;return{[`${L}-wrapper`]:{[`${L}-sticky`]:{"&-holder":{position:"sticky",zIndex:et,background:R.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${we}px !important`,zIndex:et,display:"flex",alignItems:"center",background:w,borderTop:ft,opacity:ae,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:we,backgroundColor:me,borderRadius:Ye,transition:`all ${R.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:xe}}}}}}},co=R=>{const{componentCls:L,lineWidth:ae,tableBorderColor:me}=R,xe=`${ae}px ${R.lineType} ${me}`;return{[`${L}-wrapper`]:{[`${L}-summary`]:{position:"relative",zIndex:R.zIndexTableFixed,background:R.tableBg,"> tr":{"> th, > td":{borderBottom:xe}}},[`div${L}-summary`]:{boxShadow:`0 -${ae}px 0 ${me}`}}}},qo=R=>{const{componentCls:L}=R,ae=`${R.lineWidth}px ${R.lineType} ${R.tableBorderColor}`,me=`${L}-expanded-row-cell`;return{[`${L}-wrapper`]:{[`${L}-tbody-virtual`]:{[`${L}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${L}-cell`]:{borderBottom:ae},[`${L}-expanded-row`]:{[`${me}${me}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${R.lineWidth}px)`,borderInlineEnd:"none"}}},[`${L}-bordered`]:{[`${L}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ae,position:"absolute"},[`${L}-cell`]:{borderInlineEnd:ae,[`&${L}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-R.lineWidth,borderInlineStart:ae}}}}}}};const po=R=>{const{componentCls:L,fontWeightStrong:ae,tablePaddingVertical:me,tablePaddingHorizontal:xe,lineWidth:we,lineType:w,tableBorderColor:et,tableFontSize:Ye,tableBg:ft,tableRadius:Ct,tableHeaderTextColor:bt,motionDurationMid:$t,tableHeaderBg:Ut,tableHeaderCellSplitColor:Ft,tableRowHoverBg:o,tableSelectedRowBg:d,tableSelectedRowHoverBg:m,tableFooterTextColor:E,tableFooterBg:I,paddingContentVerticalLG:k}=R,M=`${we}px ${w} ${et}`;return{[`${L}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ia.dF)()),{[L]:Object.assign(Object.assign({},(0,Ia.Wf)(R)),{fontSize:Ye,background:ft,borderRadius:`${Ct}px ${Ct}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ct}px ${Ct}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${L}-cell, ${L}-thead > tr > th, ${L}-tbody > tr > th, @@ -109,7 +109,7 @@ &${L}-row:hover > td, > th${L}-cell-row-hover, > td${L}-cell-row-hover - `]:{background:o},[`&${L}-row-selected`]:{"> th, > td":{background:d},"&:hover > th, &:hover > td":{background:m}}}},[`${L}-footer`]:{padding:`${me}px ${xe}px`,color:E,background:I}})}};var Co=(0,Wo.Z)("Table",R=>{const{colorTextHeading:L,colorSplit:ae,colorIcon:me,colorIconHover:xe,opacityLoading:Ne,colorBgContainer:w,controlInteractiveSize:et,headerBg:Ye,headerColor:ft,headerSortActiveBg:Ct,headerSortHoverBg:bt,bodySortBg:$t,rowHoverBg:Ut,rowSelectedBg:Ft,rowSelectedHoverBg:o,rowExpandedBg:d,cellPaddingBlock:m,cellPaddingInline:E,cellPaddingBlockMD:I,cellPaddingInlineMD:k,cellPaddingBlockSM:M,cellPaddingInlineSM:q,borderColor:Be,footerBg:Me,footerColor:de,headerBorderRadius:Ue,cellFontSize:De,cellFontSizeMD:ge,cellFontSizeSM:Bt,headerSplitColor:en,fixedHeaderSortActiveBg:bn,headerFilterHoverBg:Gt,filterDropdownBg:rn,expandIconBg:on,selectionColumnWidth:Dn,stickyScrollBarBg:Xn}=R,Ht=new oi.C(me),Qn=new oi.C(xe),fr=2,Sn=(0,Vo.TS)(R,{tableFontSize:De,tableBg:w,tableRadius:Ue,tablePaddingVertical:m,tablePaddingHorizontal:E,tablePaddingVerticalMiddle:I,tablePaddingHorizontalMiddle:k,tablePaddingVerticalSmall:M,tablePaddingHorizontalSmall:q,tableBorderColor:Be,tableHeaderTextColor:ft,tableHeaderBg:Ye,tableFooterTextColor:de,tableFooterBg:Me,tableHeaderCellSplitColor:en,tableHeaderSortBg:Ct,tableHeaderSortHoverBg:bt,tableHeaderIconColor:Ht.clone().setAlpha(Ht.getAlpha()*Ne).toRgbString(),tableHeaderIconColorHover:Qn.clone().setAlpha(Qn.getAlpha()*Ne).toRgbString(),tableBodySortBg:$t,tableFixedHeaderSortActiveBg:bn,tableHeaderFilterActiveBg:Gt,tableFilterDropdownBg:rn,tableRowHoverBg:Ut,tableSelectedRowBg:Ft,tableSelectedRowHoverBg:o,zIndexTableFixed:fr,zIndexTableSticky:fr+1,tableFontSizeMiddle:ge,tableFontSizeSmall:Bt,tableSelectionColumnWidth:Dn,tableExpandIconBg:on,tableExpandColumnWidth:et+2*R.padding,tableExpandedRowBg:d,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Xn,tableScrollThumbBgHover:L,tableScrollBg:ae});return[po(Sn),To(Sn),co(Sn),hi(Sn),_o(Sn),Do(Sn),so(Sn),ki(Sn),co(Sn),Yo(Sn),xo(Sn),Po(Sn),Ui(Sn),ao(Sn),mi(Sn),$i(Sn),qo(Sn)]},R=>{const{colorFillAlter:L,colorBgContainer:ae,colorTextHeading:me,colorFillSecondary:xe,colorFillContent:Ne,controlItemBgActive:w,controlItemBgActiveHover:et,padding:Ye,paddingSM:ft,paddingXS:Ct,colorBorderSecondary:bt,borderRadiusLG:$t,fontSize:Ut,controlHeight:Ft,colorTextPlaceholder:o}=R,d=new oi.C(xe).onBackground(ae).toHexShortString(),m=new oi.C(Ne).onBackground(ae).toHexShortString(),E=new oi.C(L).onBackground(ae).toHexShortString();return{headerBg:E,headerColor:me,headerSortActiveBg:d,headerSortHoverBg:m,bodySortBg:E,rowHoverBg:E,rowSelectedBg:w,rowSelectedHoverBg:et,rowExpandedBg:L,cellPaddingBlock:Ye,cellPaddingInline:Ye,cellPaddingBlockMD:ft,cellPaddingInlineMD:Ct,cellPaddingBlockSM:Ct,cellPaddingInlineSM:Ct,borderColor:bt,headerBorderRadius:$t,footerBg:E,footerColor:me,cellFontSize:Ut,cellFontSizeMD:Ut,cellFontSizeSM:Ut,headerSplitColor:bt,fixedHeaderSortActiveBg:d,headerFilterHoverBg:Ne,filterDropdownMenuBg:ae,filterDropdownBg:ae,expandIconBg:ae,selectionColumnWidth:Ft,stickyScrollBarBg:o,stickyScrollBarBorderRadius:100}});const Hi=[],Ti=(R,L)=>{const{prefixCls:ae,className:me,rootClassName:xe,style:Ne,size:w,bordered:et,dropdownPrefixCls:Ye,dataSource:ft,pagination:Ct,rowSelection:bt,rowKey:$t="key",rowClassName:Ut,columns:Ft,children:o,childrenColumnName:d,onChange:m,getPopupContainer:E,loading:I,expandIcon:k,expandable:M,expandedRowRender:q,expandIconColumnIndex:Be,indentSize:Me,scroll:de,sortDirections:Ue,locale:De,showSorterTooltip:ge=!0,virtual:Bt}=R,en=f.useMemo(()=>Ft||Nr(o),[Ft,o]),bn=f.useMemo(()=>en.some(tr=>tr.responsive),[en]),Gt=(0,Xa.Z)(bn),rn=f.useMemo(()=>{const tr=new Set(Object.keys(Gt).filter(Gr=>Gt[Gr]));return en.filter(Gr=>!Gr.responsive||Gr.responsive.some(xa=>tr.has(xa)))},[en,Gt]),on=(0,pa.Z)(R,["className","style","columns"]),{locale:Dn=pi.Z,direction:Xn,table:Ht,renderEmpty:Qn,getPrefixCls:fr,getPopupContainer:Sn}=f.useContext(br.E_),cr=(0,Ea.Z)(w),er=Object.assign(Object.assign({},Dn.Table),De),qn=ft||Hi,Tn=fr("table",ae),jn=fr("dropdown",Ye),an=Object.assign({childrenColumnName:d,expandIconColumnIndex:Be},M),{childrenColumnName:fn="children"}=an,En=f.useMemo(()=>qn.some(tr=>tr==null?void 0:tr[fn])?"nest":q||M&&M.expandedRowRender?"row":null,[qn]),yn={body:f.useRef()},rr=f.useMemo(()=>typeof $t=="function"?$t:tr=>tr==null?void 0:tr[$t],[$t]),[Ae]=Si(qn,fn,rr),Pn={},sr=function(tr,Gr){let xa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var l,n,a;const u=Object.assign(Object.assign({},Pn),tr);xa&&((l=Pn.resetPagination)===null||l===void 0||l.call(Pn),!((n=u.pagination)===null||n===void 0)&&n.current&&(u.pagination.current=1),Ct&&Ct.onChange&&Ct.onChange(1,(a=u.pagination)===null||a===void 0?void 0:a.pageSize)),de&&de.scrollToFirstRowOnChange!==!1&&yn.body.current&&(0,va.Z)(0,{getContainer:()=>yn.body.current}),m==null||m(u.pagination,u.filters,u.sorter,{currentDataSource:fi(Ri(qn,u.sorterStates,fn),u.filterStates),action:Gr})},je=(tr,Gr)=>{sr({sorter:tr,sorterStates:Gr},"sort",!1)},[Jr,ma,Ma,ca]=ko({prefixCls:Tn,mergedColumns:rn,onSorterChange:je,sortDirections:Ue||["ascend","descend"],tableLocale:er,showSorterTooltip:ge}),aa=f.useMemo(()=>Ri(qn,ma,fn),[qn,ma]);Pn.sorter=ca(),Pn.sorterStates=ma;const zr=(tr,Gr)=>{sr({filters:tr,filterStates:Gr},"filter",!0)},[Sa,Ga,xr]=Pr({prefixCls:Tn,locale:er,dropdownPrefixCls:jn,mergedColumns:rn,onFilterChange:zr,getPopupContainer:E||Sn}),Or=fi(aa,Ga);Pn.filters=xr,Pn.filterStates=Ga;const Wr=f.useMemo(()=>{const tr={};return Object.keys(xr).forEach(Gr=>{xr[Gr]!==null&&(tr[Gr]=xr[Gr])}),Object.assign(Object.assign({},Ma),{filters:tr})},[Ma,xr]),[ha]=Lo(Wr),Ta=(tr,Gr)=>{sr({pagination:Object.assign(Object.assign({},Pn.pagination),{current:tr,pageSize:Gr})},"paginate")},[e,r]=ln(Or.length,Ta,Ct);Pn.pagination=Ct===!1?{}:za(e,Ct),Pn.resetPagination=r;const b=f.useMemo(()=>{if(Ct===!1||!e.pageSize)return Or;const{current:tr=1,total:Gr,pageSize:xa=Oa}=e;return Or.lengthxa?Or.slice((tr-1)*xa,tr*xa):Or:Or.slice((tr-1)*xa,tr*xa)},[!!Ct,Or,e&&e.current,e&&e.pageSize,e&&e.total]),[K,We]=Go({prefixCls:Tn,data:Or,pageData:b,getRowKey:rr,getRecordByKey:Ae,expandType:En,childrenColumnName:fn,locale:er,getPopupContainer:E||Sn},bt),yt=(tr,Gr,xa)=>{let l;return typeof Ut=="function"?l=rt()(Ut(tr,Gr,xa)):l=rt()(Ut),rt()({[`${Tn}-row-selected`]:We.has(rr(tr,Gr))},l)};an.__PARENT_RENDER_ICON__=an.expandIcon,an.expandIcon=an.expandIcon||k||Ka(er),En==="nest"&&an.expandIconColumnIndex===void 0?an.expandIconColumnIndex=bt?1:0:an.expandIconColumnIndex>0&&bt&&(an.expandIconColumnIndex-=1),typeof an.indentSize!="number"&&(an.indentSize=typeof Me=="number"?Me:15);const Yt=f.useCallback(tr=>ha(K(Sa(Jr(tr)))),[Jr,Sa,K]);let An,Bn;if(Ct!==!1&&(e!=null&&e.total)){let tr;e.size?tr=e.size:tr=cr==="small"||cr==="middle"?"small":void 0;const Gr=n=>f.createElement(Ha.Z,Object.assign({},e,{className:rt()(`${Tn}-pagination ${Tn}-pagination-${n}`,e.className),size:tr})),xa=Xn==="rtl"?"left":"right",{position:l}=e;if(l!==null&&Array.isArray(l)){const n=l.find(v=>v.includes("top")),a=l.find(v=>v.includes("bottom")),u=l.every(v=>`${v}`=="none");!n&&!a&&!u&&(Bn=Gr(xa)),n&&(An=Gr(n.toLowerCase().replace("top",""))),a&&(Bn=Gr(a.toLowerCase().replace("bottom","")))}else Bn=Gr(xa)}let Nt;typeof I=="boolean"?Nt={spinning:I}:typeof I=="object"&&(Nt=Object.assign({spinning:!0},I));const[nn,Mn]=Co(Tn),[,Kn]=(0,ti.Z)(),Br=rt()(`${Tn}-wrapper`,Ht==null?void 0:Ht.className,{[`${Tn}-wrapper-rtl`]:Xn==="rtl"},me,xe,Mn),Ba=Object.assign(Object.assign({},Ht==null?void 0:Ht.style),Ne),Ya=De&&De.emptyText||(Qn==null?void 0:Qn("Table"))||f.createElement(_r.Z,{componentName:"Table"}),_a=Bt?ro:no,Ci={},Li=f.useMemo(()=>{const{fontSize:tr,lineHeight:Gr,padding:xa,paddingXS:l,paddingSM:n}=Kn,a=Math.floor(tr*Gr);switch(cr){case"large":return xa*2+a;case"small":return l*2+a;default:return n*2+a}},[Kn,cr]);return Bt&&(Ci.listItemHeight=Li),nn(f.createElement("div",{ref:L,className:Br,style:Ba},f.createElement(Ra.Z,Object.assign({spinning:!1},Nt),An,f.createElement(_a,Object.assign({},Ci,on,{columns:rn,direction:Xn,expandable:an,prefixCls:Tn,className:rt()({[`${Tn}-middle`]:cr==="middle",[`${Tn}-small`]:cr==="small",[`${Tn}-bordered`]:et,[`${Tn}-empty`]:qn.length===0}),data:b,rowKey:rr,rowClassName:yt,emptyText:Ya,internalHooks:p,internalRefs:yn,transformColumns:Yt})),Bn)))};var zi=f.forwardRef(Ti);const Ua=(R,L)=>{const ae=f.useRef(0);return ae.current+=1,f.createElement(zi,Object.assign({},R,{ref:L,_renderTimes:ae.current}))},Za=f.forwardRef(Ua);Za.SELECTION_COLUMN=Pa,Za.EXPAND_COLUMN=i,Za.SELECTION_ALL=Qr,Za.SELECTION_INVERT=Bi,Za.SELECTION_NONE=Qi,Za.Column=Lr,Za.ColumnGroup=la,Za.Summary=V;var $o=Za,xi=$o},17574:function(S,s,t){"use strict";t.d(s,{default:function(){return Kt}});var i=t(60091),p=t(94480),g=t(52671),h=t(8657),C=t(54476),y=t(59301),f={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"},F=f,U=t(7657),te=function(O,ze){return y.createElement(U.Z,(0,C.Z)({},O,{ref:ze,icon:F}))},ne=y.forwardRef(te),pe=ne,Ee=t(92310),se=t.n(Ee),Se=t(35654),be=t(71430),Ce=t(36355),j=t(56082),G=t(62892),Z=t(20648);const B=4;function Y(wt){const{dropPosition:O,dropLevelOffset:ze,prefixCls:nt,indent:we,direction:ct="ltr"}=wt,Xe=ct==="ltr"?"left":"right",tn=ct==="ltr"?"right":"left",zt={[Xe]:-ze*we+B,[tn]:0};switch(O){case-1:zt.top=-3;break;case 1:zt.bottom=-3;break;default:zt.bottom=-3,zt[Xe]=we+B;break}return y.createElement("div",{style:zt,className:`${nt}-drop-indicator`})}var W=t(71997),J=y.forwardRef((wt,O)=>{const{getPrefixCls:ze,direction:nt,virtual:we,tree:ct}=y.useContext(Ce.E_),{prefixCls:Xe,className:tn,showIcon:zt=!1,showLine:un,switcherIcon:dn,blockNode:At=!1,children:xt,checkable:Xt=!1,selectable:jt=!0,draggable:ke,motion:_e,style:ie}=wt,N=ze("tree",Xe),Te=ze(),st=_e!=null?_e:Object.assign(Object.assign({},(0,G.Z)(Te)),{motionAppear:!1}),V=Object.assign(Object.assign({},wt),{checkable:Xt,selectable:jt,showIcon:zt,motion:st,blockNode:At,showLine:!!un,dropIndicatorRender:Y}),[H,Pe]=(0,Z.ZP)(N),he=y.useMemo(()=>{if(!ke)return!1;let Le={};switch(typeof ke){case"function":Le.nodeDraggable=ke;break;case"object":Le=Object.assign({},ke);break;default:break}return Le.icon!==!1&&(Le.icon=Le.icon||y.createElement(j.Z,null)),Le},[ke]),Q=Le=>y.createElement(W.Z,{prefixCls:N,switcherIcon:dn,treeNodeProps:Le,showLine:un});return H(y.createElement(i.Z,Object.assign({itemHeight:20,ref:O,virtual:we},V,{style:Object.assign(Object.assign({},ct==null?void 0:ct.style),ie),prefixCls:N,className:se()({[`${N}-icon-hide`]:!zt,[`${N}-block-node`]:At,[`${N}-unselectable`]:!jt,[`${N}-rtl`]:nt==="rtl"},ct==null?void 0:ct.className,tn,Pe),direction:nt,checkable:Xt&&y.createElement("span",{className:`${N}-checkbox-inner`}),selectable:jt,switcherIcon:Q,draggable:he}),xt))}),X;(function(wt){wt[wt.None=0]="None",wt[wt.Start=1]="Start",wt[wt.End=2]="End"})(X||(X={}));function ye(wt,O){function ze(nt){const{key:we,children:ct}=nt;O(we,nt)!==!1&&ye(ct||[],O)}wt.forEach(ze)}function fe(wt){let{treeData:O,expandedKeys:ze,startKey:nt,endKey:we}=wt;const ct=[];let Xe=X.None;if(nt&&nt===we)return[nt];if(!nt||!we)return[];function tn(zt){return zt===nt||zt===we}return ye(O,zt=>{if(Xe===X.End)return!1;if(tn(zt)){if(ct.push(zt),Xe===X.None)Xe=X.Start;else if(Xe===X.Start)return Xe=X.End,!1}else Xe===X.Start&&ct.push(zt);return ze.includes(zt)}),ct}function D(wt,O){const ze=(0,p.Z)(O),nt=[];return ye(wt,(we,ct)=>{const Xe=ze.indexOf(we);return Xe!==-1&&(nt.push(ct),ze.splice(Xe,1)),!!ze.length}),nt}var He=function(wt,O){var ze={};for(var nt in wt)Object.prototype.hasOwnProperty.call(wt,nt)&&O.indexOf(nt)<0&&(ze[nt]=wt[nt]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,nt=Object.getOwnPropertySymbols(wt);we{var{defaultExpandAll:ze,defaultExpandParent:nt,defaultExpandedKeys:we}=wt,ct=He(wt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Xe=y.useRef(),tn=y.useRef(),zt=()=>{const{keyEntities:he}=(0,be.I8)(Lt(ct));let Q;return ze?Q=Object.keys(he):nt?Q=(0,Se.r7)(ct.expandedKeys||we||[],he):Q=ct.expandedKeys||we,Q},[un,dn]=y.useState(ct.selectedKeys||ct.defaultSelectedKeys||[]),[At,xt]=y.useState(()=>zt());y.useEffect(()=>{"selectedKeys"in ct&&dn(ct.selectedKeys)},[ct.selectedKeys]),y.useEffect(()=>{"expandedKeys"in ct&&xt(ct.expandedKeys)},[ct.expandedKeys]);const Xt=(he,Q)=>{var Le;return"expandedKeys"in ct||xt(he),(Le=ct.onExpand)===null||Le===void 0?void 0:Le.call(ct,he,Q)},jt=(he,Q)=>{var Le;const{multiple:ht}=ct,{node:at,nativeEvent:Et}=Q,{key:dt=""}=at,mt=Lt(ct),ee=Object.assign(Object.assign({},Q),{selected:!0}),Ge=(Et==null?void 0:Et.ctrlKey)||(Et==null?void 0:Et.metaKey),Je=Et==null?void 0:Et.shiftKey;let qe;ht&&Ge?(qe=he,Xe.current=dt,tn.current=qe,ee.selectedNodes=D(mt,qe)):ht&&Je?(qe=Array.from(new Set([].concat((0,p.Z)(tn.current||[]),(0,p.Z)(fe({treeData:mt,expandedKeys:At,startKey:dt,endKey:Xe.current}))))),ee.selectedNodes=D(mt,qe)):(qe=[dt],Xe.current=dt,tn.current=qe,ee.selectedNodes=D(mt,qe)),(Le=ct.onSelect)===null||Le===void 0||Le.call(ct,qe,ee),"selectedKeys"in ct||dn(qe)},{getPrefixCls:ke,direction:_e}=y.useContext(Ce.E_),{prefixCls:ie,className:N,showIcon:Te=!0,expandAction:st="click"}=ct,V=He(ct,["prefixCls","className","showIcon","expandAction"]),H=ke("tree",ie),Pe=se()(`${H}-directory`,{[`${H}-directory-rtl`]:_e==="rtl"},N);return y.createElement(J,Object.assign({icon:rt,ref:O,blockNode:!0},V,{showIcon:Te,expandAction:st,prefixCls:H,className:Pe,expandedKeys:At,selectedKeys:un,onSelect:jt,onExpand:Xt}))};var ot=y.forwardRef($e);const _t=J;_t.DirectoryTree=ot,_t.TreeNode=i.O;var Kt=_t},20648:function(S,s,t){"use strict";t.d(s,{TM:function(){return Ee},Yk:function(){return pe}});var i=t(36237),p=t(98447),g=t(17313),h=t(8378),C=t(37613),y=t(83116);const f=new i.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),F=(se,Se)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Se.motionDurationSlow}`}}}),U=(se,Se)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Se.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Se.lineWidthBold}px solid ${Se.colorPrimary}`,borderRadius:"50%",content:'""'}}}),te=(se,Se)=>{const{treeCls:be,treeNodeCls:Ce,treeNodePadding:j,titleHeight:G,nodeSelectedBg:Z,nodeHoverBg:B}=Se,Y=Se.paddingXS;return{[be]:Object.assign(Object.assign({},(0,g.Wf)(Se)),{background:Se.colorBgContainer,borderRadius:Se.borderRadius,transition:`background-color ${Se.motionDurationSlow}`,[`&${be}-rtl`]:{[`${be}-switcher`]:{"&_close":{[`${be}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${be}-active-focused)`]:Object.assign({},(0,g.oN)(Se)),[`${be}-list-holder-inner`]:{alignItems:"flex-start"},[`&${be}-block-node`]:{[`${be}-list-holder-inner`]:{alignItems:"stretch",[`${be}-node-content-wrapper`]:{flex:"auto"},[`${Ce}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:j,insetInlineStart:0,border:`1px solid ${Se.colorPrimary}`,opacity:0,animationName:f,animationDuration:Se.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Ce}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${j}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${be}-node-content-wrapper`]:{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${be}-node-content-wrapper`]:Object.assign({},(0,g.oN)(Se)),[`&:not(${Ce}-disabled).filter-node ${be}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${be}-draggable-icon`]:{flexShrink:0,width:G,lineHeight:`${G}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Se.motionDurationSlow}`,[`${Ce}:hover &`]:{opacity:.45}},[`&${Ce}-disabled`]:{[`${be}-draggable-icon`]:{visibility:"hidden"}}}},[`${be}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:G}},[`${be}-draggable-icon`]:{visibility:"hidden"},[`${be}-switcher`]:Object.assign(Object.assign({},F(se,Se)),{position:"relative",flex:"none",alignSelf:"stretch",width:G,margin:0,lineHeight:`${G}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${be}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Se.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:G/2,bottom:-j,marginInlineStart:-1,borderInlineEnd:`1px solid ${Se.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:G/2*.8,height:G/2,borderBottom:`1px solid ${Se.colorBorder}`,content:'""'}}}),[`${be}-checkbox`]:{top:"initial",marginInlineEnd:Y},[`${be}-node-content-wrapper, ${be}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:G,margin:0,padding:`0 ${Se.paddingXS/2}px`,color:"inherit",lineHeight:`${G}px`,background:"transparent",borderRadius:Se.borderRadius,cursor:"pointer",transition:`all ${Se.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:B},[`&${be}-node-selected`]:{backgroundColor:Z},[`${be}-iconEle`]:{display:"inline-block",width:G,height:G,lineHeight:`${G}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${be}-unselectable ${be}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${be}-node-content-wrapper`]:Object.assign({lineHeight:`${G}px`,userSelect:"none"},U(se,Se)),[`${Ce}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Se.colorPrimary}`}},"&-show-line":{[`${be}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:G/2,bottom:-j,borderInlineEnd:`1px solid ${Se.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${be}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ce}-leaf-last`]:{[`${be}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${G/2}px !important`}}}}})}},ne=se=>{const{treeCls:Se,treeNodeCls:be,treeNodePadding:Ce,directoryNodeSelectedBg:j,directoryNodeSelectedColor:G}=se;return{[`${Se}${Se}-directory`]:{[be]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Ce,insetInlineStart:0,transition:`background-color ${se.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:se.controlItemBgHover}},"> *":{zIndex:1},[`${Se}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${Se}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Se}-node-selected`]:{color:G,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:j},[`${Se}-switcher`]:{color:G},[`${Se}-node-content-wrapper`]:{color:G,background:"transparent"}}}}}},pe=(se,Se)=>{const be=`.${se}`,Ce=`${be}-treenode`,j=Se.paddingXS/2,G=(0,C.TS)(Se,{treeCls:be,treeNodeCls:Ce,treeNodePadding:j});return[te(se,G),ne(G)]},Ee=se=>{const{controlHeightSM:Se}=se;return{titleHeight:Se,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};s.ZP=(0,y.Z)("Tree",(se,Se)=>{let{prefixCls:be}=Se;return[{[se.componentCls]:(0,p.C2)(`${be}-checkbox`,se)},pe(be,se),(0,h.Z)(se)]},se=>{const{colorTextLightSolid:Se,colorPrimary:be}=se;return Object.assign(Object.assign({},Ee(se)),{directoryNodeSelectedColor:Se,directoryNodeSelectedBg:be})})},71997:function(S,s,t){"use strict";t.d(s,{Z:function(){return Ce}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(G,Z){return p.createElement(C.Z,(0,i.Z)({},G,{ref:Z,icon:h}))},f=p.forwardRef(y),F=f,U=t(52671),te=t(58617),ne=t(15075),pe=t(43531),Ee=t(92310),se=t.n(Ee),Se=t(92343),Ce=j=>{const{prefixCls:G,switcherIcon:Z,treeNodeProps:B,showLine:Y}=j,{isLeaf:W,expanded:le,loading:J}=B;if(J)return p.createElement(te.Z,{className:`${G}-switcher-loading-icon`});let X;if(Y&&typeof Y=="object"&&(X=Y.showLeafIcon),W){if(!Y)return null;if(typeof X!="boolean"&&X){const D=typeof X=="function"?X(B):X,He=`${G}-switcher-line-custom-icon`;return(0,Se.l$)(D)?(0,Se.Tm)(D,{className:se()(D.props.className||"",He)}):D}return X?p.createElement(U.Z,{className:`${G}-switcher-line-icon`}):p.createElement("span",{className:`${G}-switcher-leaf-line`})}const ye=`${G}-switcher-icon`,fe=typeof Z=="function"?Z(B):Z;return(0,Se.l$)(fe)?(0,Se.Tm)(fe,{className:se()(fe.props.className||"",ye)}):fe!==void 0?fe:Y?le?p.createElement(ne.Z,{className:`${G}-switcher-line-icon`}):p.createElement(pe.Z,{className:`${G}-switcher-line-icon`}):p.createElement(F,{className:ye})}},54580:function(S,s,t){"use strict";t.d(s,{default:function(){return hn}});var i=t(59301),p=t(94480),g=t(92310),h=t.n(g),C=t(54476),y=t(67732),f=t(83652),F=t(42403),U=t(158),te=t(20068),ne=t(75931),pe=t(75044),Ee=t(76190),se=t(3202),Se=t(26112);function be(Oe,oe){var c="cannot ".concat(Oe.method," ").concat(Oe.action," ").concat(oe.status,"'"),pt=new Error(c);return pt.status=oe.status,pt.method=Oe.method,pt.url=Oe.action,pt}function Ce(Oe){var oe=Oe.responseText||Oe.response;if(!oe)return oe;try{return JSON.parse(oe)}catch(c){return oe}}function j(Oe){var oe=new XMLHttpRequest;Oe.onProgress&&oe.upload&&(oe.upload.onprogress=function(Ke){Ke.total>0&&(Ke.percent=Ke.loaded/Ke.total*100),Oe.onProgress(Ke)});var c=new FormData;Oe.data&&Object.keys(Oe.data).forEach(function(Dt){var Ke=Oe.data[Dt];if(Array.isArray(Ke)){Ke.forEach(function(kt){c.append("".concat(Dt,"[]"),kt)});return}c.append(Dt,Ke)}),Oe.file instanceof Blob?c.append(Oe.filename,Oe.file,Oe.file.name):c.append(Oe.filename,Oe.file),oe.onerror=function(Ke){Oe.onError(Ke)},oe.onload=function(){return oe.status<200||oe.status>=300?Oe.onError(be(Oe,oe),Ce(oe)):Oe.onSuccess(Ce(oe),oe)},oe.open(Oe.method,Oe.action,!0),Oe.withCredentials&&"withCredentials"in oe&&(oe.withCredentials=!0);var pt=Oe.headers||{};return pt["X-Requested-With"]!==null&&oe.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(pt).forEach(function(Dt){pt[Dt]!==null&&oe.setRequestHeader(Dt,pt[Dt])}),oe.send(c),{abort:function(){oe.abort()}}}var G=+new Date,Z=0;function B(){return"rc-upload-".concat(G,"-").concat(++Z)}var Y=t(48736),W=function(Oe,oe){if(Oe&&oe){var c=Array.isArray(oe)?oe:oe.split(","),pt=Oe.name||"",Dt=Oe.type||"",Ke=Dt.replace(/\/.*$/,"");return c.some(function(kt){var Rt=kt.trim();if(/^\*(\/\*)?$/.test(kt))return!0;if(Rt.charAt(0)==="."){var gn=pt.toLowerCase(),vn=Rt.toLowerCase(),ce=[vn];return(vn===".jpg"||vn===".jpeg")&&(ce=[".jpg",".jpeg"]),ce.some(function(Ln){return gn.endsWith(Ln)})}return/\/\*$/.test(Rt)?Ke===Rt.replace(/\/.*$/,""):Dt===Rt?!0:/^\w+$/.test(Rt)?((0,Y.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Rt,"'.Skip for check.")),!0):!1})}return!0};function le(Oe,oe){var c=Oe.createReader(),pt=[];function Dt(){c.readEntries(function(Ke){var kt=Array.prototype.slice.apply(Ke);pt=pt.concat(kt);var Rt=!kt.length;Rt?oe(pt):Dt()})}Dt()}var J=function(oe,c,pt){var Dt=function Ke(kt,Rt){kt&&(kt.path=Rt||"",kt.isFile?kt.file(function(gn){pt(gn)&&(kt.fullPath&&!gn.webkitRelativePath&&(Object.defineProperties(gn,{webkitRelativePath:{writable:!0}}),gn.webkitRelativePath=kt.fullPath.replace(/^\//,""),Object.defineProperties(gn,{webkitRelativePath:{writable:!1}})),c([gn]))}):kt.isDirectory&&le(kt,function(gn){gn.forEach(function(vn){Ke(vn,"".concat(Rt).concat(kt.name,"/"))})}))};oe.forEach(function(Ke){Dt(Ke.webkitGetAsEntry())})},X=J,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],fe=function(Oe){(0,F.Z)(c,Oe);var oe=(0,U.Z)(c);function c(){var pt;(0,y.Z)(this,c);for(var Dt=arguments.length,Ke=new Array(Dt),kt=0;kt{let{uid:Ke}=Dt;return Ke===Oe.uid});return pt===-1?c.push(Oe):c[pt]=Oe,c}function Le(Oe,oe){const c=Oe.uid!==void 0?"uid":"name";return oe.filter(pt=>pt[c]===Oe[c])[0]}function ht(Oe,oe){const c=Oe.uid!==void 0?"uid":"name",pt=oe.filter(Dt=>Dt[c]!==Oe[c]);return pt.length===oe.length?null:pt}const at=function(){const oe=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),pt=oe[oe.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(pt)||[""])[0]},Et=Oe=>Oe.indexOf("image/")===0,dt=Oe=>{if(Oe.type&&!Oe.thumbUrl)return Et(Oe.type);const oe=Oe.thumbUrl||Oe.url||"",c=at(oe);return/^data:image\//.test(oe)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(c)?!0:!(/^data:/.test(oe)||c)},mt=200;function ee(Oe){return new Promise(oe=>{if(!Oe.type||!Et(Oe.type)){oe("");return}const c=document.createElement("canvas");c.width=mt,c.height=mt,c.style.cssText=`position: fixed; left: 0; top: 0; width: ${mt}px; height: ${mt}px; z-index: 9999; display: none;`,document.body.appendChild(c);const pt=c.getContext("2d"),Dt=new Image;if(Dt.onload=()=>{const{width:Ke,height:kt}=Dt;let Rt=mt,gn=mt,vn=0,ce=0;Ke>kt?(gn=kt*(mt/Ke),ce=-(gn-Rt)/2):(Rt=Ke*(mt/kt),vn=-(Rt-gn)/2),pt.drawImage(Dt,vn,ce,Rt,gn);const Ln=c.toDataURL();document.body.removeChild(c),window.URL.revokeObjectURL(Dt.src),oe(Ln)},Dt.crossOrigin="anonymous",Oe.type.startsWith("image/svg+xml")){const Ke=new FileReader;Ke.onload=()=>{Ke.result&&(Dt.src=Ke.result)},Ke.readAsDataURL(Oe)}else if(Oe.type.startsWith("image/gif")){const Ke=new FileReader;Ke.onload=()=>{Ke.result&&oe(Ke.result)},Ke.readAsDataURL(Oe)}else Dt.src=window.URL.createObjectURL(Oe)})}var Ge=t(26227),Je=t(41464),qe=t(15277),_=t(93948),Ot=t(6848),Re=i.forwardRef((Oe,oe)=>{let{prefixCls:c,className:pt,style:Dt,locale:Ke,listType:kt,file:Rt,items:gn,progress:vn,iconRender:ce,actionIconRender:Ln,itemRender:nr,isImgUrl:or,showPreviewIcon:Zn,showRemoveIcon:T,showDownloadIcon:A,previewIcon:Pt,removeIcon:z,downloadIcon:Ie,onPreview:Un,onDownload:Vt,onClose:pr}=Oe;var wr,xn;const{status:Ir}=Rt,[yr,ba]=i.useState(Ir);i.useEffect(()=>{Ir!=="removed"&&ba(Ir)},[Ir]);const[Fe,Xr]=i.useState(!1);i.useEffect(()=>{const br=setTimeout(()=>{Xr(!0)},300);return()=>{clearTimeout(br)}},[]);const Qe=ce(Rt);let ta=i.createElement("div",{className:`${c}-icon`},Qe);if(kt==="picture"||kt==="picture-card"||kt==="picture-circle")if(yr==="uploading"||!Rt.thumbUrl&&!Rt.url){const br=h()(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:yr!=="uploading"});ta=i.createElement("div",{className:br},Qe)}else{const br=or!=null&&or(Rt)?i.createElement("img",{src:Rt.thumbUrl||Rt.url,alt:Rt.name,className:`${c}-list-item-image`,crossOrigin:Rt.crossOrigin}):Qe,_r=h()(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:or&&!or(Rt)});ta=i.createElement("a",{className:_r,onClick:Ea=>Un(Rt,Ea),href:Rt.url||Rt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},br)}const gr=h()(`${c}-list-item`,`${c}-list-item-${yr}`),Ca=typeof Rt.linkProps=="string"?JSON.parse(Rt.linkProps):Rt.linkProps,Fr=T?Ln((typeof z=="function"?z(Rt):z)||i.createElement(Ge.Z,null),()=>pr(Rt),c,Ke.removeFile):null,Mr=A&&yr==="done"?Ln((typeof Ie=="function"?Ie(Rt):Ie)||i.createElement(Je.Z,null),()=>Vt(Rt),c,Ke.downloadFile):null,na=kt!=="picture-card"&&kt!=="picture-circle"&&i.createElement("span",{key:"download-delete",className:h()(`${c}-list-item-actions`,{picture:kt==="picture"})},Mr,Fr),ra=h()(`${c}-list-item-name`),lr=Rt.url?[i.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ra,title:Rt.name},Ca,{href:Rt.url,onClick:br=>Un(Rt,br)}),Rt.name),na]:[i.createElement("span",{key:"view",className:ra,onClick:br=>Un(Rt,br),title:Rt.name},Rt.name),na],Yn={pointerEvents:"none",opacity:.5},Sr=Zn?i.createElement("a",{href:Rt.url||Rt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Rt.url||Rt.thumbUrl?void 0:Yn,onClick:br=>Un(Rt,br),title:Ke.previewFile},typeof Pt=="function"?Pt(Rt):Pt||i.createElement(qe.Z,null)):null,Nn=(kt==="picture-card"||kt==="picture-circle")&&yr!=="uploading"&&i.createElement("span",{className:`${c}-list-item-actions`},Sr,yr==="done"&&Mr,Fr),{getPrefixCls:Lr}=i.useContext(_t.E_),Rr=Lr(),la=i.createElement("div",{className:gr},ta,lr,Nn,Fe&&i.createElement(Te.default,{motionName:`${Rr}-fade`,visible:yr==="uploading",motionDeadline:2e3},br=>{let{className:_r}=br;const Ea="percent"in Rt?i.createElement(_.Z,Object.assign({},vn,{type:"line",percent:Rt.percent,"aria-label":Rt["aria-label"],"aria-labelledby":Rt["aria-labelledby"]})):null;return i.createElement("div",{className:h()(`${c}-list-item-progress`,_r)},Ea)})),pa=Rt.response&&typeof Rt.response=="string"?Rt.response:((wr=Rt.error)===null||wr===void 0?void 0:wr.statusText)||((xn=Rt.error)===null||xn===void 0?void 0:xn.message)||Ke.uploadError,va=yr==="error"?i.createElement(Ot.Z,{title:pa,getPopupContainer:br=>br.parentNode},la):la;return i.createElement("div",{className:h()(`${c}-list-item-container`,pt),style:Dt,ref:oe},nr?nr(va,Rt,gn,{download:Vt.bind(null,Rt),preview:Un.bind(null,Rt),remove:pr.bind(null,Rt)}):va)});const Jt=(Oe,oe)=>{const{listType:c="text",previewFile:pt=ee,onPreview:Dt,onDownload:Ke,onRemove:kt,locale:Rt,iconRender:gn,isImageUrl:vn=dt,prefixCls:ce,items:Ln=[],showPreviewIcon:nr=!0,showRemoveIcon:or=!0,showDownloadIcon:Zn=!1,removeIcon:T,previewIcon:A,downloadIcon:Pt,progress:z={size:[-1,2],showInfo:!1},appendAction:Ie,appendActionVisible:Un=!0,itemRender:Vt,disabled:pr}=Oe,wr=(0,st.Z)(),[xn,Ir]=i.useState(!1);i.useEffect(()=>{c!=="picture"&&c!=="picture-card"&&c!=="picture-circle"||(Ln||[]).forEach(Yn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Yn.originFileObj instanceof File||Yn.originFileObj instanceof Blob)||Yn.thumbUrl!==void 0||(Yn.thumbUrl="",pt&&pt(Yn.originFileObj).then(Sr=>{Yn.thumbUrl=Sr||"",wr()}))})},[c,Ln,pt]),i.useEffect(()=>{Ir(!0)},[]);const yr=(Yn,Sr)=>{if(Dt)return Sr==null||Sr.preventDefault(),Dt(Yn)},ba=Yn=>{typeof Ke=="function"?Ke(Yn):Yn.url&&window.open(Yn.url)},Fe=Yn=>{kt==null||kt(Yn)},Xr=Yn=>{if(gn)return gn(Yn,c);const Sr=Yn.status==="uploading",Nn=vn&&vn(Yn)?i.createElement(N,null):i.createElement(tn,null);let Lr=Sr?i.createElement(zt.Z,null):i.createElement(Xt,null);return c==="picture"?Lr=Sr?i.createElement(zt.Z,null):Nn:(c==="picture-card"||c==="picture-circle")&&(Lr=Sr?Rt.uploading:Nn),Lr},Qe=(Yn,Sr,Nn,Lr)=>{const Rr={type:"text",size:"small",title:Lr,onClick:la=>{Sr(),(0,H.l$)(Yn)&&Yn.props.onClick&&Yn.props.onClick(la)},className:`${Nn}-list-item-action`,disabled:pr};if((0,H.l$)(Yn)){const la=(0,H.Tm)(Yn,Object.assign(Object.assign({},Yn.props),{onClick:()=>{}}));return i.createElement(Pe.ZP,Object.assign({},Rr,{icon:la}))}return i.createElement(Pe.ZP,Object.assign({},Rr),i.createElement("span",null,Yn))};i.useImperativeHandle(oe,()=>({handlePreview:yr,handleDownload:ba}));const{getPrefixCls:ta}=i.useContext(_t.E_),gr=ta("upload",ce),Ca=ta(),Fr=h()(`${gr}-list`,`${gr}-list-${c}`),Mr=(0,p.Z)(Ln.map(Yn=>({key:Yn.uid,file:Yn})));let ra={motionDeadline:2e3,motionName:`${gr}-${c==="picture-card"||c==="picture-circle"?"animate-inline":"animate"}`,keys:Mr,motionAppear:xn};const lr=i.useMemo(()=>{const Yn=Object.assign({},(0,V.Z)(Ca));return delete Yn.onAppearEnd,delete Yn.onEnterEnd,delete Yn.onLeaveEnd,Yn},[Ca]);return c!=="picture-card"&&c!=="picture-circle"&&(ra=Object.assign(Object.assign({},lr),ra)),i.createElement("div",{className:Fr},i.createElement(Te.CSSMotionList,Object.assign({},ra,{component:!1}),Yn=>{let{key:Sr,file:Nn,className:Lr,style:Rr}=Yn;return i.createElement(Re,{key:Sr,locale:Rt,prefixCls:gr,className:Lr,style:Rr,file:Nn,items:Ln,progress:z,listType:c,isImgUrl:vn,showPreviewIcon:nr,showRemoveIcon:or,showDownloadIcon:Zn,removeIcon:T,previewIcon:A,downloadIcon:Pt,iconRender:Xr,actionIconRender:Qe,itemRender:Vt,onPreview:yr,onDownload:ba,onClose:Fe})}),Ie&&i.createElement(Te.default,Object.assign({},ra,{visible:Un,forceRender:!0}),Yn=>{let{className:Sr,style:Nn}=Yn;return(0,H.Tm)(Ie,Lr=>({className:h()(Lr.className,Sr),style:Object.assign(Object.assign(Object.assign({},Nn),{pointerEvents:Sr?"none":void 0}),Lr.style)}))}))};var sn=i.forwardRef(Jt),Ze=t(17313),Rn=t(8378),Cn=t(83116),Mt=t(37613),On=Oe=>{const{componentCls:oe,iconCls:c}=Oe;return{[`${oe}-wrapper`]:{[`${oe}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Oe.colorFillAlter,border:`${Oe.lineWidth}px dashed ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusLG,cursor:"pointer",transition:`border-color ${Oe.motionDurationSlow}`,[oe]:{padding:`${Oe.padding}px 0`},[`${oe}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${oe}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${oe}-disabled):hover`]:{borderColor:Oe.colorPrimaryHover},[`p${oe}-drag-icon`]:{marginBottom:Oe.margin,[c]:{color:Oe.colorPrimary,fontSize:Oe.uploadThumbnailSize}},[`p${oe}-text`]:{margin:`0 0 ${Oe.marginXXS}px`,color:Oe.colorTextHeading,fontSize:Oe.fontSizeLG},[`p${oe}-hint`]:{color:Oe.colorTextDescription,fontSize:Oe.fontSize},[`&${oe}-disabled`]:{cursor:"not-allowed",[`p${oe}-drag-icon ${c}, + `]:{background:o},[`&${L}-row-selected`]:{"> th, > td":{background:d},"&:hover > th, &:hover > td":{background:m}}}},[`${L}-footer`]:{padding:`${me}px ${xe}px`,color:E,background:I}})}};var Co=(0,Wo.Z)("Table",R=>{const{colorTextHeading:L,colorSplit:ae,colorIcon:me,colorIconHover:xe,opacityLoading:we,colorBgContainer:w,controlInteractiveSize:et,headerBg:Ye,headerColor:ft,headerSortActiveBg:Ct,headerSortHoverBg:bt,bodySortBg:$t,rowHoverBg:Ut,rowSelectedBg:Ft,rowSelectedHoverBg:o,rowExpandedBg:d,cellPaddingBlock:m,cellPaddingInline:E,cellPaddingBlockMD:I,cellPaddingInlineMD:k,cellPaddingBlockSM:M,cellPaddingInlineSM:q,borderColor:Be,footerBg:Me,footerColor:de,headerBorderRadius:Ue,cellFontSize:De,cellFontSizeMD:ge,cellFontSizeSM:Bt,headerSplitColor:en,fixedHeaderSortActiveBg:bn,headerFilterHoverBg:Gt,filterDropdownBg:rn,expandIconBg:on,selectionColumnWidth:Dn,stickyScrollBarBg:Xn}=R,Ht=new oi.C(me),Qn=new oi.C(xe),fr=2,Sn=(0,Vo.TS)(R,{tableFontSize:De,tableBg:w,tableRadius:Ue,tablePaddingVertical:m,tablePaddingHorizontal:E,tablePaddingVerticalMiddle:I,tablePaddingHorizontalMiddle:k,tablePaddingVerticalSmall:M,tablePaddingHorizontalSmall:q,tableBorderColor:Be,tableHeaderTextColor:ft,tableHeaderBg:Ye,tableFooterTextColor:de,tableFooterBg:Me,tableHeaderCellSplitColor:en,tableHeaderSortBg:Ct,tableHeaderSortHoverBg:bt,tableHeaderIconColor:Ht.clone().setAlpha(Ht.getAlpha()*we).toRgbString(),tableHeaderIconColorHover:Qn.clone().setAlpha(Qn.getAlpha()*we).toRgbString(),tableBodySortBg:$t,tableFixedHeaderSortActiveBg:bn,tableHeaderFilterActiveBg:Gt,tableFilterDropdownBg:rn,tableRowHoverBg:Ut,tableSelectedRowBg:Ft,tableSelectedRowHoverBg:o,zIndexTableFixed:fr,zIndexTableSticky:fr+1,tableFontSizeMiddle:ge,tableFontSizeSmall:Bt,tableSelectionColumnWidth:Dn,tableExpandIconBg:on,tableExpandColumnWidth:et+2*R.padding,tableExpandedRowBg:d,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Xn,tableScrollThumbBgHover:L,tableScrollBg:ae});return[po(Sn),To(Sn),co(Sn),hi(Sn),_o(Sn),Do(Sn),so(Sn),ki(Sn),co(Sn),Yo(Sn),xo(Sn),Po(Sn),Ui(Sn),ao(Sn),mi(Sn),$i(Sn),qo(Sn)]},R=>{const{colorFillAlter:L,colorBgContainer:ae,colorTextHeading:me,colorFillSecondary:xe,colorFillContent:we,controlItemBgActive:w,controlItemBgActiveHover:et,padding:Ye,paddingSM:ft,paddingXS:Ct,colorBorderSecondary:bt,borderRadiusLG:$t,fontSize:Ut,controlHeight:Ft,colorTextPlaceholder:o}=R,d=new oi.C(xe).onBackground(ae).toHexShortString(),m=new oi.C(we).onBackground(ae).toHexShortString(),E=new oi.C(L).onBackground(ae).toHexShortString();return{headerBg:E,headerColor:me,headerSortActiveBg:d,headerSortHoverBg:m,bodySortBg:E,rowHoverBg:E,rowSelectedBg:w,rowSelectedHoverBg:et,rowExpandedBg:L,cellPaddingBlock:Ye,cellPaddingInline:Ye,cellPaddingBlockMD:ft,cellPaddingInlineMD:Ct,cellPaddingBlockSM:Ct,cellPaddingInlineSM:Ct,borderColor:bt,headerBorderRadius:$t,footerBg:E,footerColor:me,cellFontSize:Ut,cellFontSizeMD:Ut,cellFontSizeSM:Ut,headerSplitColor:bt,fixedHeaderSortActiveBg:d,headerFilterHoverBg:we,filterDropdownMenuBg:ae,filterDropdownBg:ae,expandIconBg:ae,selectionColumnWidth:Ft,stickyScrollBarBg:o,stickyScrollBarBorderRadius:100}});const Hi=[],Ti=(R,L)=>{const{prefixCls:ae,className:me,rootClassName:xe,style:we,size:w,bordered:et,dropdownPrefixCls:Ye,dataSource:ft,pagination:Ct,rowSelection:bt,rowKey:$t="key",rowClassName:Ut,columns:Ft,children:o,childrenColumnName:d,onChange:m,getPopupContainer:E,loading:I,expandIcon:k,expandable:M,expandedRowRender:q,expandIconColumnIndex:Be,indentSize:Me,scroll:de,sortDirections:Ue,locale:De,showSorterTooltip:ge=!0,virtual:Bt}=R,en=f.useMemo(()=>Ft||Nr(o),[Ft,o]),bn=f.useMemo(()=>en.some(tr=>tr.responsive),[en]),Gt=(0,Xa.Z)(bn),rn=f.useMemo(()=>{const tr=new Set(Object.keys(Gt).filter(Gr=>Gt[Gr]));return en.filter(Gr=>!Gr.responsive||Gr.responsive.some(xa=>tr.has(xa)))},[en,Gt]),on=(0,pa.Z)(R,["className","style","columns"]),{locale:Dn=pi.Z,direction:Xn,table:Ht,renderEmpty:Qn,getPrefixCls:fr,getPopupContainer:Sn}=f.useContext(br.E_),cr=(0,Ea.Z)(w),er=Object.assign(Object.assign({},Dn.Table),De),qn=ft||Hi,Tn=fr("table",ae),jn=fr("dropdown",Ye),an=Object.assign({childrenColumnName:d,expandIconColumnIndex:Be},M),{childrenColumnName:fn="children"}=an,En=f.useMemo(()=>qn.some(tr=>tr==null?void 0:tr[fn])?"nest":q||M&&M.expandedRowRender?"row":null,[qn]),yn={body:f.useRef()},rr=f.useMemo(()=>typeof $t=="function"?$t:tr=>tr==null?void 0:tr[$t],[$t]),[Ae]=Si(qn,fn,rr),Pn={},sr=function(tr,Gr){let xa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var l,n,a;const u=Object.assign(Object.assign({},Pn),tr);xa&&((l=Pn.resetPagination)===null||l===void 0||l.call(Pn),!((n=u.pagination)===null||n===void 0)&&n.current&&(u.pagination.current=1),Ct&&Ct.onChange&&Ct.onChange(1,(a=u.pagination)===null||a===void 0?void 0:a.pageSize)),de&&de.scrollToFirstRowOnChange!==!1&&yn.body.current&&(0,va.Z)(0,{getContainer:()=>yn.body.current}),m==null||m(u.pagination,u.filters,u.sorter,{currentDataSource:fi(Ri(qn,u.sorterStates,fn),u.filterStates),action:Gr})},je=(tr,Gr)=>{sr({sorter:tr,sorterStates:Gr},"sort",!1)},[Jr,ma,Ma,ca]=ko({prefixCls:Tn,mergedColumns:rn,onSorterChange:je,sortDirections:Ue||["ascend","descend"],tableLocale:er,showSorterTooltip:ge}),aa=f.useMemo(()=>Ri(qn,ma,fn),[qn,ma]);Pn.sorter=ca(),Pn.sorterStates=ma;const zr=(tr,Gr)=>{sr({filters:tr,filterStates:Gr},"filter",!0)},[Sa,Ga,xr]=Pr({prefixCls:Tn,locale:er,dropdownPrefixCls:jn,mergedColumns:rn,onFilterChange:zr,getPopupContainer:E||Sn}),Or=fi(aa,Ga);Pn.filters=xr,Pn.filterStates=Ga;const Wr=f.useMemo(()=>{const tr={};return Object.keys(xr).forEach(Gr=>{xr[Gr]!==null&&(tr[Gr]=xr[Gr])}),Object.assign(Object.assign({},Ma),{filters:tr})},[Ma,xr]),[ha]=Lo(Wr),Ta=(tr,Gr)=>{sr({pagination:Object.assign(Object.assign({},Pn.pagination),{current:tr,pageSize:Gr})},"paginate")},[e,r]=ln(Or.length,Ta,Ct);Pn.pagination=Ct===!1?{}:za(e,Ct),Pn.resetPagination=r;const b=f.useMemo(()=>{if(Ct===!1||!e.pageSize)return Or;const{current:tr=1,total:Gr,pageSize:xa=Oa}=e;return Or.lengthxa?Or.slice((tr-1)*xa,tr*xa):Or:Or.slice((tr-1)*xa,tr*xa)},[!!Ct,Or,e&&e.current,e&&e.pageSize,e&&e.total]),[K,We]=Go({prefixCls:Tn,data:Or,pageData:b,getRowKey:rr,getRecordByKey:Ae,expandType:En,childrenColumnName:fn,locale:er,getPopupContainer:E||Sn},bt),yt=(tr,Gr,xa)=>{let l;return typeof Ut=="function"?l=rt()(Ut(tr,Gr,xa)):l=rt()(Ut),rt()({[`${Tn}-row-selected`]:We.has(rr(tr,Gr))},l)};an.__PARENT_RENDER_ICON__=an.expandIcon,an.expandIcon=an.expandIcon||k||Ka(er),En==="nest"&&an.expandIconColumnIndex===void 0?an.expandIconColumnIndex=bt?1:0:an.expandIconColumnIndex>0&&bt&&(an.expandIconColumnIndex-=1),typeof an.indentSize!="number"&&(an.indentSize=typeof Me=="number"?Me:15);const Yt=f.useCallback(tr=>ha(K(Sa(Jr(tr)))),[Jr,Sa,K]);let An,Bn;if(Ct!==!1&&(e!=null&&e.total)){let tr;e.size?tr=e.size:tr=cr==="small"||cr==="middle"?"small":void 0;const Gr=n=>f.createElement(Ha.Z,Object.assign({},e,{className:rt()(`${Tn}-pagination ${Tn}-pagination-${n}`,e.className),size:tr})),xa=Xn==="rtl"?"left":"right",{position:l}=e;if(l!==null&&Array.isArray(l)){const n=l.find(v=>v.includes("top")),a=l.find(v=>v.includes("bottom")),u=l.every(v=>`${v}`=="none");!n&&!a&&!u&&(Bn=Gr(xa)),n&&(An=Gr(n.toLowerCase().replace("top",""))),a&&(Bn=Gr(a.toLowerCase().replace("bottom","")))}else Bn=Gr(xa)}let Nt;typeof I=="boolean"?Nt={spinning:I}:typeof I=="object"&&(Nt=Object.assign({spinning:!0},I));const[nn,Mn]=Co(Tn),[,Kn]=(0,ti.Z)(),Br=rt()(`${Tn}-wrapper`,Ht==null?void 0:Ht.className,{[`${Tn}-wrapper-rtl`]:Xn==="rtl"},me,xe,Mn),Ba=Object.assign(Object.assign({},Ht==null?void 0:Ht.style),we),Ya=De&&De.emptyText||(Qn==null?void 0:Qn("Table"))||f.createElement(_r.Z,{componentName:"Table"}),_a=Bt?ro:no,Ci={},Li=f.useMemo(()=>{const{fontSize:tr,lineHeight:Gr,padding:xa,paddingXS:l,paddingSM:n}=Kn,a=Math.floor(tr*Gr);switch(cr){case"large":return xa*2+a;case"small":return l*2+a;default:return n*2+a}},[Kn,cr]);return Bt&&(Ci.listItemHeight=Li),nn(f.createElement("div",{ref:L,className:Br,style:Ba},f.createElement(Ra.Z,Object.assign({spinning:!1},Nt),An,f.createElement(_a,Object.assign({},Ci,on,{columns:rn,direction:Xn,expandable:an,prefixCls:Tn,className:rt()({[`${Tn}-middle`]:cr==="middle",[`${Tn}-small`]:cr==="small",[`${Tn}-bordered`]:et,[`${Tn}-empty`]:qn.length===0}),data:b,rowKey:rr,rowClassName:yt,emptyText:Ya,internalHooks:p,internalRefs:yn,transformColumns:Yt})),Bn)))};var zi=f.forwardRef(Ti);const Ua=(R,L)=>{const ae=f.useRef(0);return ae.current+=1,f.createElement(zi,Object.assign({},R,{ref:L,_renderTimes:ae.current}))},Za=f.forwardRef(Ua);Za.SELECTION_COLUMN=Pa,Za.EXPAND_COLUMN=i,Za.SELECTION_ALL=Qr,Za.SELECTION_INVERT=Bi,Za.SELECTION_NONE=Qi,Za.Column=Lr,Za.ColumnGroup=la,Za.Summary=V;var $o=Za,xi=$o},17574:function(S,s,t){"use strict";t.d(s,{default:function(){return Kt}});var i=t(60091),p=t(94480),g=t(52671),h=t(8657),C=t(54476),y=t(59301),f={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"},F=f,U=t(7657),te=function(O,ze){return y.createElement(U.Z,(0,C.Z)({},O,{ref:ze,icon:F}))},ne=y.forwardRef(te),pe=ne,Ee=t(92310),se=t.n(Ee),Se=t(35654),be=t(71430),Ce=t(36355),j=t(56082),G=t(62892),Z=t(20648);const B=4;function Y(wt){const{dropPosition:O,dropLevelOffset:ze,prefixCls:nt,indent:Ne,direction:ct="ltr"}=wt,Xe=ct==="ltr"?"left":"right",tn=ct==="ltr"?"right":"left",zt={[Xe]:-ze*Ne+B,[tn]:0};switch(O){case-1:zt.top=-3;break;case 1:zt.bottom=-3;break;default:zt.bottom=-3,zt[Xe]=Ne+B;break}return y.createElement("div",{style:zt,className:`${nt}-drop-indicator`})}var W=t(71997),J=y.forwardRef((wt,O)=>{const{getPrefixCls:ze,direction:nt,virtual:Ne,tree:ct}=y.useContext(Ce.E_),{prefixCls:Xe,className:tn,showIcon:zt=!1,showLine:un,switcherIcon:dn,blockNode:At=!1,children:xt,checkable:Xt=!1,selectable:jt=!0,draggable:ke,motion:_e,style:ie}=wt,N=ze("tree",Xe),Te=ze(),st=_e!=null?_e:Object.assign(Object.assign({},(0,G.Z)(Te)),{motionAppear:!1}),V=Object.assign(Object.assign({},wt),{checkable:Xt,selectable:jt,showIcon:zt,motion:st,blockNode:At,showLine:!!un,dropIndicatorRender:Y}),[H,Pe]=(0,Z.ZP)(N),he=y.useMemo(()=>{if(!ke)return!1;let Le={};switch(typeof ke){case"function":Le.nodeDraggable=ke;break;case"object":Le=Object.assign({},ke);break;default:break}return Le.icon!==!1&&(Le.icon=Le.icon||y.createElement(j.Z,null)),Le},[ke]),Q=Le=>y.createElement(W.Z,{prefixCls:N,switcherIcon:dn,treeNodeProps:Le,showLine:un});return H(y.createElement(i.Z,Object.assign({itemHeight:20,ref:O,virtual:Ne},V,{style:Object.assign(Object.assign({},ct==null?void 0:ct.style),ie),prefixCls:N,className:se()({[`${N}-icon-hide`]:!zt,[`${N}-block-node`]:At,[`${N}-unselectable`]:!jt,[`${N}-rtl`]:nt==="rtl"},ct==null?void 0:ct.className,tn,Pe),direction:nt,checkable:Xt&&y.createElement("span",{className:`${N}-checkbox-inner`}),selectable:jt,switcherIcon:Q,draggable:he}),xt))}),X;(function(wt){wt[wt.None=0]="None",wt[wt.Start=1]="Start",wt[wt.End=2]="End"})(X||(X={}));function ye(wt,O){function ze(nt){const{key:Ne,children:ct}=nt;O(Ne,nt)!==!1&&ye(ct||[],O)}wt.forEach(ze)}function fe(wt){let{treeData:O,expandedKeys:ze,startKey:nt,endKey:Ne}=wt;const ct=[];let Xe=X.None;if(nt&&nt===Ne)return[nt];if(!nt||!Ne)return[];function tn(zt){return zt===nt||zt===Ne}return ye(O,zt=>{if(Xe===X.End)return!1;if(tn(zt)){if(ct.push(zt),Xe===X.None)Xe=X.Start;else if(Xe===X.Start)return Xe=X.End,!1}else Xe===X.Start&&ct.push(zt);return ze.includes(zt)}),ct}function D(wt,O){const ze=(0,p.Z)(O),nt=[];return ye(wt,(Ne,ct)=>{const Xe=ze.indexOf(Ne);return Xe!==-1&&(nt.push(ct),ze.splice(Xe,1)),!!ze.length}),nt}var He=function(wt,O){var ze={};for(var nt in wt)Object.prototype.hasOwnProperty.call(wt,nt)&&O.indexOf(nt)<0&&(ze[nt]=wt[nt]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,nt=Object.getOwnPropertySymbols(wt);Ne{var{defaultExpandAll:ze,defaultExpandParent:nt,defaultExpandedKeys:Ne}=wt,ct=He(wt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Xe=y.useRef(),tn=y.useRef(),zt=()=>{const{keyEntities:he}=(0,be.I8)(Lt(ct));let Q;return ze?Q=Object.keys(he):nt?Q=(0,Se.r7)(ct.expandedKeys||Ne||[],he):Q=ct.expandedKeys||Ne,Q},[un,dn]=y.useState(ct.selectedKeys||ct.defaultSelectedKeys||[]),[At,xt]=y.useState(()=>zt());y.useEffect(()=>{"selectedKeys"in ct&&dn(ct.selectedKeys)},[ct.selectedKeys]),y.useEffect(()=>{"expandedKeys"in ct&&xt(ct.expandedKeys)},[ct.expandedKeys]);const Xt=(he,Q)=>{var Le;return"expandedKeys"in ct||xt(he),(Le=ct.onExpand)===null||Le===void 0?void 0:Le.call(ct,he,Q)},jt=(he,Q)=>{var Le;const{multiple:ht}=ct,{node:at,nativeEvent:Et}=Q,{key:dt=""}=at,mt=Lt(ct),ee=Object.assign(Object.assign({},Q),{selected:!0}),Ge=(Et==null?void 0:Et.ctrlKey)||(Et==null?void 0:Et.metaKey),Je=Et==null?void 0:Et.shiftKey;let qe;ht&&Ge?(qe=he,Xe.current=dt,tn.current=qe,ee.selectedNodes=D(mt,qe)):ht&&Je?(qe=Array.from(new Set([].concat((0,p.Z)(tn.current||[]),(0,p.Z)(fe({treeData:mt,expandedKeys:At,startKey:dt,endKey:Xe.current}))))),ee.selectedNodes=D(mt,qe)):(qe=[dt],Xe.current=dt,tn.current=qe,ee.selectedNodes=D(mt,qe)),(Le=ct.onSelect)===null||Le===void 0||Le.call(ct,qe,ee),"selectedKeys"in ct||dn(qe)},{getPrefixCls:ke,direction:_e}=y.useContext(Ce.E_),{prefixCls:ie,className:N,showIcon:Te=!0,expandAction:st="click"}=ct,V=He(ct,["prefixCls","className","showIcon","expandAction"]),H=ke("tree",ie),Pe=se()(`${H}-directory`,{[`${H}-directory-rtl`]:_e==="rtl"},N);return y.createElement(J,Object.assign({icon:rt,ref:O,blockNode:!0},V,{showIcon:Te,expandAction:st,prefixCls:H,className:Pe,expandedKeys:At,selectedKeys:un,onSelect:jt,onExpand:Xt}))};var ot=y.forwardRef($e);const _t=J;_t.DirectoryTree=ot,_t.TreeNode=i.O;var Kt=_t},20648:function(S,s,t){"use strict";t.d(s,{TM:function(){return Ee},Yk:function(){return pe}});var i=t(36237),p=t(98447),g=t(17313),h=t(8378),C=t(37613),y=t(83116);const f=new i.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),F=(se,Se)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Se.motionDurationSlow}`}}}),U=(se,Se)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Se.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Se.lineWidthBold}px solid ${Se.colorPrimary}`,borderRadius:"50%",content:'""'}}}),te=(se,Se)=>{const{treeCls:be,treeNodeCls:Ce,treeNodePadding:j,titleHeight:G,nodeSelectedBg:Z,nodeHoverBg:B}=Se,Y=Se.paddingXS;return{[be]:Object.assign(Object.assign({},(0,g.Wf)(Se)),{background:Se.colorBgContainer,borderRadius:Se.borderRadius,transition:`background-color ${Se.motionDurationSlow}`,[`&${be}-rtl`]:{[`${be}-switcher`]:{"&_close":{[`${be}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${be}-active-focused)`]:Object.assign({},(0,g.oN)(Se)),[`${be}-list-holder-inner`]:{alignItems:"flex-start"},[`&${be}-block-node`]:{[`${be}-list-holder-inner`]:{alignItems:"stretch",[`${be}-node-content-wrapper`]:{flex:"auto"},[`${Ce}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:j,insetInlineStart:0,border:`1px solid ${Se.colorPrimary}`,opacity:0,animationName:f,animationDuration:Se.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Ce}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${j}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${be}-node-content-wrapper`]:{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${be}-node-content-wrapper`]:Object.assign({},(0,g.oN)(Se)),[`&:not(${Ce}-disabled).filter-node ${be}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${be}-draggable-icon`]:{flexShrink:0,width:G,lineHeight:`${G}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Se.motionDurationSlow}`,[`${Ce}:hover &`]:{opacity:.45}},[`&${Ce}-disabled`]:{[`${be}-draggable-icon`]:{visibility:"hidden"}}}},[`${be}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:G}},[`${be}-draggable-icon`]:{visibility:"hidden"},[`${be}-switcher`]:Object.assign(Object.assign({},F(se,Se)),{position:"relative",flex:"none",alignSelf:"stretch",width:G,margin:0,lineHeight:`${G}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${be}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Se.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:G/2,bottom:-j,marginInlineStart:-1,borderInlineEnd:`1px solid ${Se.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:G/2*.8,height:G/2,borderBottom:`1px solid ${Se.colorBorder}`,content:'""'}}}),[`${be}-checkbox`]:{top:"initial",marginInlineEnd:Y},[`${be}-node-content-wrapper, ${be}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:G,margin:0,padding:`0 ${Se.paddingXS/2}px`,color:"inherit",lineHeight:`${G}px`,background:"transparent",borderRadius:Se.borderRadius,cursor:"pointer",transition:`all ${Se.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:B},[`&${be}-node-selected`]:{backgroundColor:Z},[`${be}-iconEle`]:{display:"inline-block",width:G,height:G,lineHeight:`${G}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${be}-unselectable ${be}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${be}-node-content-wrapper`]:Object.assign({lineHeight:`${G}px`,userSelect:"none"},U(se,Se)),[`${Ce}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Se.colorPrimary}`}},"&-show-line":{[`${be}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:G/2,bottom:-j,borderInlineEnd:`1px solid ${Se.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${be}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ce}-leaf-last`]:{[`${be}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${G/2}px !important`}}}}})}},ne=se=>{const{treeCls:Se,treeNodeCls:be,treeNodePadding:Ce,directoryNodeSelectedBg:j,directoryNodeSelectedColor:G}=se;return{[`${Se}${Se}-directory`]:{[be]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Ce,insetInlineStart:0,transition:`background-color ${se.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:se.controlItemBgHover}},"> *":{zIndex:1},[`${Se}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${Se}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Se}-node-selected`]:{color:G,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:j},[`${Se}-switcher`]:{color:G},[`${Se}-node-content-wrapper`]:{color:G,background:"transparent"}}}}}},pe=(se,Se)=>{const be=`.${se}`,Ce=`${be}-treenode`,j=Se.paddingXS/2,G=(0,C.TS)(Se,{treeCls:be,treeNodeCls:Ce,treeNodePadding:j});return[te(se,G),ne(G)]},Ee=se=>{const{controlHeightSM:Se}=se;return{titleHeight:Se,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};s.ZP=(0,y.Z)("Tree",(se,Se)=>{let{prefixCls:be}=Se;return[{[se.componentCls]:(0,p.C2)(`${be}-checkbox`,se)},pe(be,se),(0,h.Z)(se)]},se=>{const{colorTextLightSolid:Se,colorPrimary:be}=se;return Object.assign(Object.assign({},Ee(se)),{directoryNodeSelectedColor:Se,directoryNodeSelectedBg:be})})},71997:function(S,s,t){"use strict";t.d(s,{Z:function(){return Ce}});var i=t(54476),p=t(59301),g={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"},h=g,C=t(7657),y=function(G,Z){return p.createElement(C.Z,(0,i.Z)({},G,{ref:Z,icon:h}))},f=p.forwardRef(y),F=f,U=t(52671),te=t(58617),ne=t(15075),pe=t(43531),Ee=t(92310),se=t.n(Ee),Se=t(92343),Ce=j=>{const{prefixCls:G,switcherIcon:Z,treeNodeProps:B,showLine:Y}=j,{isLeaf:W,expanded:le,loading:J}=B;if(J)return p.createElement(te.Z,{className:`${G}-switcher-loading-icon`});let X;if(Y&&typeof Y=="object"&&(X=Y.showLeafIcon),W){if(!Y)return null;if(typeof X!="boolean"&&X){const D=typeof X=="function"?X(B):X,He=`${G}-switcher-line-custom-icon`;return(0,Se.l$)(D)?(0,Se.Tm)(D,{className:se()(D.props.className||"",He)}):D}return X?p.createElement(U.Z,{className:`${G}-switcher-line-icon`}):p.createElement("span",{className:`${G}-switcher-leaf-line`})}const ye=`${G}-switcher-icon`,fe=typeof Z=="function"?Z(B):Z;return(0,Se.l$)(fe)?(0,Se.Tm)(fe,{className:se()(fe.props.className||"",ye)}):fe!==void 0?fe:Y?le?p.createElement(ne.Z,{className:`${G}-switcher-line-icon`}):p.createElement(pe.Z,{className:`${G}-switcher-line-icon`}):p.createElement(F,{className:ye})}},54580:function(S,s,t){"use strict";t.d(s,{default:function(){return hn}});var i=t(59301),p=t(94480),g=t(92310),h=t.n(g),C=t(54476),y=t(67732),f=t(83652),F=t(42403),U=t(158),te=t(20068),ne=t(75931),pe=t(75044),Ee=t(76190),se=t(3202),Se=t(26112);function be(Oe,oe){var c="cannot ".concat(Oe.method," ").concat(Oe.action," ").concat(oe.status,"'"),pt=new Error(c);return pt.status=oe.status,pt.method=Oe.method,pt.url=Oe.action,pt}function Ce(Oe){var oe=Oe.responseText||Oe.response;if(!oe)return oe;try{return JSON.parse(oe)}catch(c){return oe}}function j(Oe){var oe=new XMLHttpRequest;Oe.onProgress&&oe.upload&&(oe.upload.onprogress=function(Ke){Ke.total>0&&(Ke.percent=Ke.loaded/Ke.total*100),Oe.onProgress(Ke)});var c=new FormData;Oe.data&&Object.keys(Oe.data).forEach(function(Dt){var Ke=Oe.data[Dt];if(Array.isArray(Ke)){Ke.forEach(function(kt){c.append("".concat(Dt,"[]"),kt)});return}c.append(Dt,Ke)}),Oe.file instanceof Blob?c.append(Oe.filename,Oe.file,Oe.file.name):c.append(Oe.filename,Oe.file),oe.onerror=function(Ke){Oe.onError(Ke)},oe.onload=function(){return oe.status<200||oe.status>=300?Oe.onError(be(Oe,oe),Ce(oe)):Oe.onSuccess(Ce(oe),oe)},oe.open(Oe.method,Oe.action,!0),Oe.withCredentials&&"withCredentials"in oe&&(oe.withCredentials=!0);var pt=Oe.headers||{};return pt["X-Requested-With"]!==null&&oe.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(pt).forEach(function(Dt){pt[Dt]!==null&&oe.setRequestHeader(Dt,pt[Dt])}),oe.send(c),{abort:function(){oe.abort()}}}var G=+new Date,Z=0;function B(){return"rc-upload-".concat(G,"-").concat(++Z)}var Y=t(48736),W=function(Oe,oe){if(Oe&&oe){var c=Array.isArray(oe)?oe:oe.split(","),pt=Oe.name||"",Dt=Oe.type||"",Ke=Dt.replace(/\/.*$/,"");return c.some(function(kt){var Rt=kt.trim();if(/^\*(\/\*)?$/.test(kt))return!0;if(Rt.charAt(0)==="."){var gn=pt.toLowerCase(),vn=Rt.toLowerCase(),ce=[vn];return(vn===".jpg"||vn===".jpeg")&&(ce=[".jpg",".jpeg"]),ce.some(function(Ln){return gn.endsWith(Ln)})}return/\/\*$/.test(Rt)?Ke===Rt.replace(/\/.*$/,""):Dt===Rt?!0:/^\w+$/.test(Rt)?((0,Y.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Rt,"'.Skip for check.")),!0):!1})}return!0};function le(Oe,oe){var c=Oe.createReader(),pt=[];function Dt(){c.readEntries(function(Ke){var kt=Array.prototype.slice.apply(Ke);pt=pt.concat(kt);var Rt=!kt.length;Rt?oe(pt):Dt()})}Dt()}var J=function(oe,c,pt){var Dt=function Ke(kt,Rt){kt&&(kt.path=Rt||"",kt.isFile?kt.file(function(gn){pt(gn)&&(kt.fullPath&&!gn.webkitRelativePath&&(Object.defineProperties(gn,{webkitRelativePath:{writable:!0}}),gn.webkitRelativePath=kt.fullPath.replace(/^\//,""),Object.defineProperties(gn,{webkitRelativePath:{writable:!1}})),c([gn]))}):kt.isDirectory&&le(kt,function(gn){gn.forEach(function(vn){Ke(vn,"".concat(Rt).concat(kt.name,"/"))})}))};oe.forEach(function(Ke){Dt(Ke.webkitGetAsEntry())})},X=J,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],fe=function(Oe){(0,F.Z)(c,Oe);var oe=(0,U.Z)(c);function c(){var pt;(0,y.Z)(this,c);for(var Dt=arguments.length,Ke=new Array(Dt),kt=0;kt{let{uid:Ke}=Dt;return Ke===Oe.uid});return pt===-1?c.push(Oe):c[pt]=Oe,c}function Le(Oe,oe){const c=Oe.uid!==void 0?"uid":"name";return oe.filter(pt=>pt[c]===Oe[c])[0]}function ht(Oe,oe){const c=Oe.uid!==void 0?"uid":"name",pt=oe.filter(Dt=>Dt[c]!==Oe[c]);return pt.length===oe.length?null:pt}const at=function(){const oe=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),pt=oe[oe.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(pt)||[""])[0]},Et=Oe=>Oe.indexOf("image/")===0,dt=Oe=>{if(Oe.type&&!Oe.thumbUrl)return Et(Oe.type);const oe=Oe.thumbUrl||Oe.url||"",c=at(oe);return/^data:image\//.test(oe)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(c)?!0:!(/^data:/.test(oe)||c)},mt=200;function ee(Oe){return new Promise(oe=>{if(!Oe.type||!Et(Oe.type)){oe("");return}const c=document.createElement("canvas");c.width=mt,c.height=mt,c.style.cssText=`position: fixed; left: 0; top: 0; width: ${mt}px; height: ${mt}px; z-index: 9999; display: none;`,document.body.appendChild(c);const pt=c.getContext("2d"),Dt=new Image;if(Dt.onload=()=>{const{width:Ke,height:kt}=Dt;let Rt=mt,gn=mt,vn=0,ce=0;Ke>kt?(gn=kt*(mt/Ke),ce=-(gn-Rt)/2):(Rt=Ke*(mt/kt),vn=-(Rt-gn)/2),pt.drawImage(Dt,vn,ce,Rt,gn);const Ln=c.toDataURL();document.body.removeChild(c),window.URL.revokeObjectURL(Dt.src),oe(Ln)},Dt.crossOrigin="anonymous",Oe.type.startsWith("image/svg+xml")){const Ke=new FileReader;Ke.onload=()=>{Ke.result&&(Dt.src=Ke.result)},Ke.readAsDataURL(Oe)}else if(Oe.type.startsWith("image/gif")){const Ke=new FileReader;Ke.onload=()=>{Ke.result&&oe(Ke.result)},Ke.readAsDataURL(Oe)}else Dt.src=window.URL.createObjectURL(Oe)})}var Ge=t(26227),Je=t(41464),qe=t(15277),_=t(93948),Ot=t(6848),Re=i.forwardRef((Oe,oe)=>{let{prefixCls:c,className:pt,style:Dt,locale:Ke,listType:kt,file:Rt,items:gn,progress:vn,iconRender:ce,actionIconRender:Ln,itemRender:nr,isImgUrl:or,showPreviewIcon:Zn,showRemoveIcon:T,showDownloadIcon:A,previewIcon:Pt,removeIcon:z,downloadIcon:Ie,onPreview:Un,onDownload:Vt,onClose:pr}=Oe;var wr,xn;const{status:Ir}=Rt,[yr,ba]=i.useState(Ir);i.useEffect(()=>{Ir!=="removed"&&ba(Ir)},[Ir]);const[Fe,Xr]=i.useState(!1);i.useEffect(()=>{const br=setTimeout(()=>{Xr(!0)},300);return()=>{clearTimeout(br)}},[]);const Qe=ce(Rt);let ta=i.createElement("div",{className:`${c}-icon`},Qe);if(kt==="picture"||kt==="picture-card"||kt==="picture-circle")if(yr==="uploading"||!Rt.thumbUrl&&!Rt.url){const br=h()(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:yr!=="uploading"});ta=i.createElement("div",{className:br},Qe)}else{const br=or!=null&&or(Rt)?i.createElement("img",{src:Rt.thumbUrl||Rt.url,alt:Rt.name,className:`${c}-list-item-image`,crossOrigin:Rt.crossOrigin}):Qe,_r=h()(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:or&&!or(Rt)});ta=i.createElement("a",{className:_r,onClick:Ea=>Un(Rt,Ea),href:Rt.url||Rt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},br)}const gr=h()(`${c}-list-item`,`${c}-list-item-${yr}`),Ca=typeof Rt.linkProps=="string"?JSON.parse(Rt.linkProps):Rt.linkProps,Fr=T?Ln((typeof z=="function"?z(Rt):z)||i.createElement(Ge.Z,null),()=>pr(Rt),c,Ke.removeFile):null,Mr=A&&yr==="done"?Ln((typeof Ie=="function"?Ie(Rt):Ie)||i.createElement(Je.Z,null),()=>Vt(Rt),c,Ke.downloadFile):null,na=kt!=="picture-card"&&kt!=="picture-circle"&&i.createElement("span",{key:"download-delete",className:h()(`${c}-list-item-actions`,{picture:kt==="picture"})},Mr,Fr),ra=h()(`${c}-list-item-name`),lr=Rt.url?[i.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ra,title:Rt.name},Ca,{href:Rt.url,onClick:br=>Un(Rt,br)}),Rt.name),na]:[i.createElement("span",{key:"view",className:ra,onClick:br=>Un(Rt,br),title:Rt.name},Rt.name),na],Yn={pointerEvents:"none",opacity:.5},Sr=Zn?i.createElement("a",{href:Rt.url||Rt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Rt.url||Rt.thumbUrl?void 0:Yn,onClick:br=>Un(Rt,br),title:Ke.previewFile},typeof Pt=="function"?Pt(Rt):Pt||i.createElement(qe.Z,null)):null,Nn=(kt==="picture-card"||kt==="picture-circle")&&yr!=="uploading"&&i.createElement("span",{className:`${c}-list-item-actions`},Sr,yr==="done"&&Mr,Fr),{getPrefixCls:Lr}=i.useContext(_t.E_),Rr=Lr(),la=i.createElement("div",{className:gr},ta,lr,Nn,Fe&&i.createElement(Te.default,{motionName:`${Rr}-fade`,visible:yr==="uploading",motionDeadline:2e3},br=>{let{className:_r}=br;const Ea="percent"in Rt?i.createElement(_.Z,Object.assign({},vn,{type:"line",percent:Rt.percent,"aria-label":Rt["aria-label"],"aria-labelledby":Rt["aria-labelledby"]})):null;return i.createElement("div",{className:h()(`${c}-list-item-progress`,_r)},Ea)})),pa=Rt.response&&typeof Rt.response=="string"?Rt.response:((wr=Rt.error)===null||wr===void 0?void 0:wr.statusText)||((xn=Rt.error)===null||xn===void 0?void 0:xn.message)||Ke.uploadError,va=yr==="error"?i.createElement(Ot.Z,{title:pa,getPopupContainer:br=>br.parentNode},la):la;return i.createElement("div",{className:h()(`${c}-list-item-container`,pt),style:Dt,ref:oe},nr?nr(va,Rt,gn,{download:Vt.bind(null,Rt),preview:Un.bind(null,Rt),remove:pr.bind(null,Rt)}):va)});const Jt=(Oe,oe)=>{const{listType:c="text",previewFile:pt=ee,onPreview:Dt,onDownload:Ke,onRemove:kt,locale:Rt,iconRender:gn,isImageUrl:vn=dt,prefixCls:ce,items:Ln=[],showPreviewIcon:nr=!0,showRemoveIcon:or=!0,showDownloadIcon:Zn=!1,removeIcon:T,previewIcon:A,downloadIcon:Pt,progress:z={size:[-1,2],showInfo:!1},appendAction:Ie,appendActionVisible:Un=!0,itemRender:Vt,disabled:pr}=Oe,wr=(0,st.Z)(),[xn,Ir]=i.useState(!1);i.useEffect(()=>{c!=="picture"&&c!=="picture-card"&&c!=="picture-circle"||(Ln||[]).forEach(Yn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Yn.originFileObj instanceof File||Yn.originFileObj instanceof Blob)||Yn.thumbUrl!==void 0||(Yn.thumbUrl="",pt&&pt(Yn.originFileObj).then(Sr=>{Yn.thumbUrl=Sr||"",wr()}))})},[c,Ln,pt]),i.useEffect(()=>{Ir(!0)},[]);const yr=(Yn,Sr)=>{if(Dt)return Sr==null||Sr.preventDefault(),Dt(Yn)},ba=Yn=>{typeof Ke=="function"?Ke(Yn):Yn.url&&window.open(Yn.url)},Fe=Yn=>{kt==null||kt(Yn)},Xr=Yn=>{if(gn)return gn(Yn,c);const Sr=Yn.status==="uploading",Nn=vn&&vn(Yn)?i.createElement(N,null):i.createElement(tn,null);let Lr=Sr?i.createElement(zt.Z,null):i.createElement(Xt,null);return c==="picture"?Lr=Sr?i.createElement(zt.Z,null):Nn:(c==="picture-card"||c==="picture-circle")&&(Lr=Sr?Rt.uploading:Nn),Lr},Qe=(Yn,Sr,Nn,Lr)=>{const Rr={type:"text",size:"small",title:Lr,onClick:la=>{Sr(),(0,H.l$)(Yn)&&Yn.props.onClick&&Yn.props.onClick(la)},className:`${Nn}-list-item-action`,disabled:pr};if((0,H.l$)(Yn)){const la=(0,H.Tm)(Yn,Object.assign(Object.assign({},Yn.props),{onClick:()=>{}}));return i.createElement(Pe.ZP,Object.assign({},Rr,{icon:la}))}return i.createElement(Pe.ZP,Object.assign({},Rr),i.createElement("span",null,Yn))};i.useImperativeHandle(oe,()=>({handlePreview:yr,handleDownload:ba}));const{getPrefixCls:ta}=i.useContext(_t.E_),gr=ta("upload",ce),Ca=ta(),Fr=h()(`${gr}-list`,`${gr}-list-${c}`),Mr=(0,p.Z)(Ln.map(Yn=>({key:Yn.uid,file:Yn})));let ra={motionDeadline:2e3,motionName:`${gr}-${c==="picture-card"||c==="picture-circle"?"animate-inline":"animate"}`,keys:Mr,motionAppear:xn};const lr=i.useMemo(()=>{const Yn=Object.assign({},(0,V.Z)(Ca));return delete Yn.onAppearEnd,delete Yn.onEnterEnd,delete Yn.onLeaveEnd,Yn},[Ca]);return c!=="picture-card"&&c!=="picture-circle"&&(ra=Object.assign(Object.assign({},lr),ra)),i.createElement("div",{className:Fr},i.createElement(Te.CSSMotionList,Object.assign({},ra,{component:!1}),Yn=>{let{key:Sr,file:Nn,className:Lr,style:Rr}=Yn;return i.createElement(Re,{key:Sr,locale:Rt,prefixCls:gr,className:Lr,style:Rr,file:Nn,items:Ln,progress:z,listType:c,isImgUrl:vn,showPreviewIcon:nr,showRemoveIcon:or,showDownloadIcon:Zn,removeIcon:T,previewIcon:A,downloadIcon:Pt,iconRender:Xr,actionIconRender:Qe,itemRender:Vt,onPreview:yr,onDownload:ba,onClose:Fe})}),Ie&&i.createElement(Te.default,Object.assign({},ra,{visible:Un,forceRender:!0}),Yn=>{let{className:Sr,style:Nn}=Yn;return(0,H.Tm)(Ie,Lr=>({className:h()(Lr.className,Sr),style:Object.assign(Object.assign(Object.assign({},Nn),{pointerEvents:Sr?"none":void 0}),Lr.style)}))}))};var sn=i.forwardRef(Jt),Ze=t(17313),Rn=t(8378),Cn=t(83116),Mt=t(37613),On=Oe=>{const{componentCls:oe,iconCls:c}=Oe;return{[`${oe}-wrapper`]:{[`${oe}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Oe.colorFillAlter,border:`${Oe.lineWidth}px dashed ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusLG,cursor:"pointer",transition:`border-color ${Oe.motionDurationSlow}`,[oe]:{padding:`${Oe.padding}px 0`},[`${oe}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${oe}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${oe}-disabled):hover`]:{borderColor:Oe.colorPrimaryHover},[`p${oe}-drag-icon`]:{marginBottom:Oe.margin,[c]:{color:Oe.colorPrimary,fontSize:Oe.uploadThumbnailSize}},[`p${oe}-text`]:{margin:`0 0 ${Oe.marginXXS}px`,color:Oe.colorTextHeading,fontSize:Oe.fontSizeLG},[`p${oe}-hint`]:{color:Oe.colorTextDescription,fontSize:Oe.fontSize},[`&${oe}-disabled`]:{cursor:"not-allowed",[`p${oe}-drag-icon ${c}, p${oe}-text, p${oe}-hint `]:{color:Oe.colorTextDisabled}}}}}},zn=Oe=>{const{componentCls:oe,antCls:c,iconCls:pt,fontSize:Dt,lineHeight:Ke}=Oe,kt=`${oe}-list-item`,Rt=`${kt}-actions`,gn=`${kt}-action`,vn=Math.round(Dt*Ke);return{[`${oe}-wrapper`]:{[`${oe}-list`]:Object.assign(Object.assign({},(0,Ze.dF)()),{lineHeight:Oe.lineHeight,[kt]:{position:"relative",height:Oe.lineHeight*Dt,marginTop:Oe.marginXS,fontSize:Dt,display:"flex",alignItems:"center",transition:`background-color ${Oe.motionDurationSlow}`,"&:hover":{backgroundColor:Oe.controlItemBgHover},[`${kt}-name`]:Object.assign(Object.assign({},Ze.vS),{padding:`0 ${Oe.paddingXS}px`,lineHeight:Ke,flex:"auto",transition:`all ${Oe.motionDurationSlow}`}),[Rt]:{[gn]:{opacity:0},[`${gn}${c}-btn-sm`]:{height:vn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` @@ -123,14 +123,14 @@ ${oe}-wrapper${oe}-picture-card-wrapper, ${oe}-wrapper${oe}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,Ze.dF)()),{display:"inline-block",width:"100%",[`${oe}${oe}-select`]:{width:Rt,height:Rt,marginInlineEnd:Oe.marginXS,marginBottom:Oe.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Oe.colorFillAlter,border:`${Oe.lineWidth}px dashed ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusLG,cursor:"pointer",transition:`border-color ${Oe.motionDurationSlow}`,[`> ${oe}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${oe}-disabled):hover`]:{borderColor:Oe.colorPrimary}},[`${Ke}${Ke}-picture-card, ${Ke}${Ke}-picture-circle`]:{[`${Ke}-item-container`]:{display:"inline-block",width:Rt,height:Rt,marginBlock:`0 ${Oe.marginXS}px`,marginInline:`0 ${Oe.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[kt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Oe.paddingXS*2}px)`,height:`calc(100% - ${Oe.paddingXS*2}px)`,backgroundColor:Oe.colorBgMask,opacity:0,transition:`all ${Oe.motionDurationSlow}`,content:'" "'}},[`${kt}:hover`]:{[`&::before, ${kt}-actions`]:{opacity:1}},[`${kt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Oe.motionDurationSlow}`,[`${c}-eye, ${c}-download, ${c}-delete`]:{zIndex:10,width:pt,margin:`0 ${Oe.marginXXS}px`,fontSize:pt,cursor:"pointer",transition:`all ${Oe.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${kt}-actions, ${kt}-actions:hover`]:{[`${c}-eye, ${c}-download, ${c}-delete`]:{color:new Ar.C(Dt).setAlpha(.65).toRgbString(),"&:hover":{color:Dt}}},[`${kt}-thumbnail, ${kt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${kt}-name`]:{display:"none",textAlign:"center"},[`${kt}-file + ${kt}-name`]:{position:"absolute",bottom:Oe.margin,display:"block",width:`calc(100% - ${Oe.paddingXS*2}px)`},[`${kt}-uploading`]:{[`&${kt}`]:{backgroundColor:Oe.colorFillAlter},[`&::before, ${c}-eye, ${c}-download, ${c}-delete`]:{display:"none"}},[`${kt}-progress`]:{bottom:Oe.marginXL,width:`calc(100% - ${Oe.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${oe}-wrapper${oe}-picture-circle-wrapper`]:{[`${oe}${oe}-select`]:{borderRadius:"50%"}}}};var ir=Oe=>{const{componentCls:oe}=Oe;return{[`${oe}-rtl`]:{direction:"rtl"}}};const Wn=Oe=>{const{componentCls:oe,colorTextDisabled:c}=Oe;return{[`${oe}-wrapper`]:Object.assign(Object.assign({},(0,Ze.Wf)(Oe)),{[oe]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${oe}-select`]:{display:"inline-block"},[`${oe}-disabled`]:{color:c,cursor:"not-allowed"}})}};var Vn=(0,Cn.Z)("Upload",Oe=>{const{fontSizeHeading3:oe,fontSize:c,lineHeight:pt,lineWidth:Dt,controlHeightLG:Ke}=Oe,kt=Math.round(c*pt),Rt=(0,Mt.TS)(Oe,{uploadThumbnailSize:oe*2,uploadProgressOffset:kt/2+Dt,uploadPicCardSize:Ke*2.55});return[Wn(Rt),On(Rt),Yr(Rt),Kr(Rt),zn(Rt),ar(Rt),ir(Rt),(0,Rn.Z)(Rt)]},Oe=>({actionsColor:Oe.colorTextDescription})),sa=function(Oe,oe,c,pt){function Dt(Ke){return Ke instanceof c?Ke:new c(function(kt){kt(Ke)})}return new(c||(c=Promise))(function(Ke,kt){function Rt(ce){try{vn(pt.next(ce))}catch(Ln){kt(Ln)}}function gn(ce){try{vn(pt.throw(ce))}catch(Ln){kt(Ln)}}function vn(ce){ce.done?Ke(ce.value):Dt(ce.value).then(Rt,gn)}vn((pt=pt.apply(Oe,oe||[])).next())})};const hr=`__LIST_IGNORE_${Date.now()}__`,It=(Oe,oe)=>{const{fileList:c,defaultFileList:pt,onRemove:Dt,showUploadList:Ke=!0,listType:kt="text",onPreview:Rt,onDownload:gn,onChange:vn,onDrop:ce,previewFile:Ln,disabled:nr,locale:or,iconRender:Zn,isImageUrl:T,progress:A,prefixCls:Pt,className:z,type:Ie="select",children:Un,style:Vt,itemRender:pr,maxCount:wr,data:xn={},multiple:Ir=!1,action:yr="",accept:ba="",supportServerRender:Fe=!0,rootClassName:Xr}=Oe,Qe=i.useContext(Kt.Z),ta=nr!=null?nr:Qe,[gr,Ca]=(0,it.Z)(pt||[],{value:c,postState:vr=>vr!=null?vr:[]}),[Fr,Mr]=i.useState("drop"),na=i.useRef(null);i.useMemo(()=>{const vr=Date.now();(c||[]).forEach(($r,Er)=>{!$r.uid&&!Object.isFrozen($r)&&($r.uid=`__AUTO__${vr}_${Er}__`)})},[c]);const ra=(vr,$r,Er)=>{let ve=(0,p.Z)($r),Dr=!1;wr===1?ve=ve.slice(-1):wr&&(Dr=ve.length>wr,ve=ve.slice(0,wr)),(0,ot.flushSync)(()=>{Ca(ve)});const qr={file:vr,fileList:ve};Er&&(qr.event=Er),(!Dr||ve.some(ya=>ya.uid===vr.uid))&&(0,ot.flushSync)(()=>{vn==null||vn(qr)})},lr=(vr,$r)=>sa(void 0,void 0,void 0,function*(){const{beforeUpload:Er,transformFile:ve}=Oe;let Dr=vr;if(Er){const qr=yield Er(vr,$r);if(qr===!1)return!1;if(delete vr[hr],qr===hr)return Object.defineProperty(vr,hr,{value:!0,configurable:!0}),!1;typeof qr=="object"&&qr&&(Dr=qr)}return ve&&(Dr=yield ve(Dr)),Dr}),Yn=vr=>{const $r=vr.filter(Dr=>!Dr.file[hr]);if(!$r.length)return;const Er=$r.map(Dr=>he(Dr.file));let ve=(0,p.Z)(gr);Er.forEach(Dr=>{ve=Q(Dr,ve)}),Er.forEach((Dr,qr)=>{let ya=Dr;if($r[qr].parsedFile)Dr.status="uploading";else{const{originFileObj:La}=Dr;let vt;try{vt=new File([La],La.name,{type:La.type})}catch(Vr){vt=new Blob([La],{type:La.type}),vt.name=La.name,vt.lastModifiedDate=new Date,vt.lastModified=new Date().getTime()}vt.uid=Dr.uid,ya=vt}ra(ya,ve)})},Sr=(vr,$r,Er)=>{try{typeof vr=="string"&&(vr=JSON.parse(vr))}catch(qr){}if(!Le($r,gr))return;const ve=he($r);ve.status="done",ve.percent=100,ve.response=vr,ve.xhr=Er;const Dr=Q(ve,gr);ra(ve,Dr)},Nn=(vr,$r)=>{if(!Le($r,gr))return;const Er=he($r);Er.status="uploading",Er.percent=vr.percent;const ve=Q(Er,gr);ra(Er,ve,vr)},Lr=(vr,$r,Er)=>{if(!Le(Er,gr))return;const ve=he(Er);ve.error=vr,ve.response=$r,ve.status="error";const Dr=Q(ve,gr);ra(ve,Dr)},Rr=vr=>{let $r;Promise.resolve(typeof Dt=="function"?Dt(vr):Dt).then(Er=>{var ve;if(Er===!1)return;const Dr=ht(vr,gr);Dr&&($r=Object.assign(Object.assign({},vr),{status:"removed"}),gr==null||gr.forEach(qr=>{const ya=$r.uid!==void 0?"uid":"name";qr[ya]===$r[ya]&&!Object.isFrozen(qr)&&(qr.status="removed")}),(ve=na.current)===null||ve===void 0||ve.abort($r),ra($r,Dr))})},la=vr=>{Mr(vr.type),vr.type==="drop"&&(ce==null||ce(vr))};i.useImperativeHandle(oe,()=>({onBatchStart:Yn,onSuccess:Sr,onProgress:Nn,onError:Lr,fileList:gr,upload:na.current}));const{getPrefixCls:pa,direction:va,upload:br}=i.useContext(_t.E_),_r=pa("upload",Pt),Ea=Object.assign(Object.assign({onBatchStart:Yn,onError:Lr,onProgress:Nn,onSuccess:Sr},Oe),{data:xn,multiple:Ir,action:yr,accept:ba,supportServerRender:Fe,prefixCls:_r,disabled:ta,beforeUpload:lr,onChange:void 0});delete Ea.className,delete Ea.style,(!Un||ta)&&delete Ea.id;const[Xa,pi]=Vn(_r),[Ha]=(0,wt.Z)("Upload",O.Z.Upload),{showRemoveIcon:Ra,showPreviewIcon:ti,showDownloadIcon:vi,removeIcon:Ka,previewIcon:Na,downloadIcon:Fa}=typeof Ke=="boolean"?{}:Ke,ka=(vr,$r)=>Ke?i.createElement(sn,{prefixCls:_r,listType:kt,items:gr,previewFile:Ln,onPreview:Rt,onDownload:gn,onRemove:Rr,showRemoveIcon:!ta&&Ra,showPreviewIcon:ti,showDownloadIcon:vi,removeIcon:Ka,previewIcon:Na,downloadIcon:Fa,iconRender:Zn,locale:Object.assign(Object.assign({},Ha),or),isImageUrl:T,progress:A,appendAction:vr,appendActionVisible:$r,itemRender:pr,disabled:ta}):vr,ua=h()(`${_r}-wrapper`,z,Xr,pi,br==null?void 0:br.className,{[`${_r}-rtl`]:va==="rtl",[`${_r}-picture-card-wrapper`]:kt==="picture-card",[`${_r}-picture-circle-wrapper`]:kt==="picture-circle"}),Ai=Object.assign(Object.assign({},br==null?void 0:br.style),Vt);if(Ie==="drag"){const vr=h()(pi,_r,`${_r}-drag`,{[`${_r}-drag-uploading`]:gr.some($r=>$r.status==="uploading"),[`${_r}-drag-hover`]:Fr==="dragover",[`${_r}-disabled`]:ta,[`${_r}-rtl`]:va==="rtl"});return Xa(i.createElement("span",{className:ua},i.createElement("div",{className:vr,style:Ai,onDrop:la,onDragOver:la,onDragLeave:la},i.createElement($e,Object.assign({},Ea,{ref:na,className:`${_r}-btn`}),i.createElement("div",{className:`${_r}-drag-container`},Un))),ka()))}const Ii=h()(_r,`${_r}-select`,{[`${_r}-disabled`]:ta}),Ei=(vr=>i.createElement("div",{className:Ii,style:vr},i.createElement($e,Object.assign({},Ea,{ref:na}))))(Un?void 0:{display:"none"});return Xa(kt==="picture-card"||kt==="picture-circle"?i.createElement("span",{className:ua},ka(Ei,!!Un)):i.createElement("span",{className:ua},Ei,ka()))};var Qt=i.forwardRef(It),qt=function(Oe,oe){var c={};for(var pt in Oe)Object.prototype.hasOwnProperty.call(Oe,pt)&&oe.indexOf(pt)<0&&(c[pt]=Oe[pt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,pt=Object.getOwnPropertySymbols(Oe);Dt{var{style:c,height:pt}=Oe,Dt=qt(Oe,["style","height"]);return i.createElement(Qt,Object.assign({ref:oe},Dt,{type:"drag",style:Object.assign(Object.assign({},c),{height:pt})}))});const gt=Qt;gt.Dragger=mn,gt.LIST_IGNORE=hr;var hn=gt},58951:function(S,s){"use strict";var t;s.Q=h,t=C;var i=",",p=" ",g="";function h(y){for(var f=[],F=String(y||g),U=F.indexOf(i),te=0,ne=!1,pe;!ne;)U===-1&&(U=F.length,ne=!0),pe=F.slice(te,U).trim(),(pe||!ne)&&f.push(pe),te=U+1,U=F.indexOf(i,te);return f}function C(y,f){var F=f||{},U=F.padLeft===!1?g:p,te=F.padRight?p:g;return y[y.length-1]===g&&(y=y.concat(g)),y.join(te+i+U).trim()}},86204:function(S){"use strict";var s=typeof Reflect=="object"?Reflect:null,t=s&&typeof s.apply=="function"?s.apply:function(Z,B,Y){return Function.prototype.apply.call(Z,B,Y)},i;s&&typeof s.ownKeys=="function"?i=s.ownKeys:Object.getOwnPropertySymbols?i=function(Z){return Object.getOwnPropertyNames(Z).concat(Object.getOwnPropertySymbols(Z))}:i=function(Z){return Object.getOwnPropertyNames(Z)};function p(G){console&&console.warn&&console.warn(G)}var g=Number.isNaN||function(Z){return Z!==Z};function h(){h.init.call(this)}S.exports=h,S.exports.once=be,h.EventEmitter=h,h.prototype._events=void 0,h.prototype._eventsCount=0,h.prototype._maxListeners=void 0;var C=10;function y(G){if(typeof G!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof G)}Object.defineProperty(h,"defaultMaxListeners",{enumerable:!0,get:function(){return C},set:function(G){if(typeof G!="number"||G<0||g(G))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+G+".");C=G}}),h.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},h.prototype.setMaxListeners=function(Z){if(typeof Z!="number"||Z<0||g(Z))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Z+".");return this._maxListeners=Z,this};function f(G){return G._maxListeners===void 0?h.defaultMaxListeners:G._maxListeners}h.prototype.getMaxListeners=function(){return f(this)},h.prototype.emit=function(Z){for(var B=[],Y=1;Y0&&(J=B[0]),J instanceof Error)throw J;var X=new Error("Unhandled error."+(J?" ("+J.message+")":""));throw X.context=J,X}var ye=le[Z];if(ye===void 0)return!1;if(typeof ye=="function")t(ye,this,B);else for(var fe=ye.length,D=Ee(ye,fe),Y=0;Y0&&J.length>W&&!J.warned){J.warned=!0;var X=new Error("Possible EventEmitter memory leak detected. "+J.length+" "+String(Z)+" listeners added. Use emitter.setMaxListeners() to increase limit");X.name="MaxListenersExceededWarning",X.emitter=G,X.type=Z,X.count=J.length,p(X)}return G}h.prototype.addListener=function(Z,B){return F(this,Z,B,!1)},h.prototype.on=h.prototype.addListener,h.prototype.prependListener=function(Z,B){return F(this,Z,B,!0)};function U(){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 te(G,Z,B){var Y={fired:!1,wrapFn:void 0,target:G,type:Z,listener:B},W=U.bind(Y);return W.listener=B,Y.wrapFn=W,W}h.prototype.once=function(Z,B){return y(B),this.on(Z,te(this,Z,B)),this},h.prototype.prependOnceListener=function(Z,B){return y(B),this.prependListener(Z,te(this,Z,B)),this},h.prototype.removeListener=function(Z,B){var Y,W,le,J,X;if(y(B),W=this._events,W===void 0)return this;if(Y=W[Z],Y===void 0)return this;if(Y===B||Y.listener===B)--this._eventsCount===0?this._events=Object.create(null):(delete W[Z],W.removeListener&&this.emit("removeListener",Z,Y.listener||B));else if(typeof Y!="function"){for(le=-1,J=Y.length-1;J>=0;J--)if(Y[J]===B||Y[J].listener===B){X=Y[J].listener,le=J;break}if(le<0)return this;le===0?Y.shift():se(Y,le),Y.length===1&&(W[Z]=Y[0]),W.removeListener!==void 0&&this.emit("removeListener",Z,X||B)}return this},h.prototype.off=h.prototype.removeListener,h.prototype.removeAllListeners=function(Z){var B,Y,W;if(Y=this._events,Y===void 0)return this;if(Y.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Y[Z]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Y[Z]),this;if(arguments.length===0){var le=Object.keys(Y),J;for(W=0;W=0;W--)this.removeListener(Z,B[W]);return this};function ne(G,Z,B){var Y=G._events;if(Y===void 0)return[];var W=Y[Z];return W===void 0?[]:typeof W=="function"?B?[W.listener||W]:[W]:B?Se(W):Ee(W,W.length)}h.prototype.listeners=function(Z){return ne(this,Z,!0)},h.prototype.rawListeners=function(Z){return ne(this,Z,!1)},h.listenerCount=function(G,Z){return typeof G.listenerCount=="function"?G.listenerCount(Z):pe.call(G,Z)},h.prototype.listenerCount=pe;function pe(G){var Z=this._events;if(Z!==void 0){var B=Z[G];if(typeof B=="function")return 1;if(B!==void 0)return B.length}return 0}h.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function Ee(G,Z){for(var B=new Array(Z),Y=0;Y=97&&i<=122||i>=65&&i<=90}},21127:function(S,s,t){"use strict";var i=t(91241),p=t(22347);S.exports=g;function g(h){return i(h)||p(h)}},22347:function(S){"use strict";S.exports=s;function s(t){var i=typeof t=="string"?t.charCodeAt(0):t;return i>=48&&i<=57}},65207:function(S){"use strict";S.exports=s;function s(t){var i=typeof t=="string"?t.charCodeAt(0):t;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}},67842:function(S){"use strict";var s,t=59;S.exports=i;function i(p){var g="&"+p+";",h;return s=s||document.createElement("i"),s.innerHTML=g,h=s.textContent,h.charCodeAt(h.length-1)===t&&p!=="semi"||h===g?!1:h}},12256:function(S,s,t){"use strict";var i=t(47854),p=t(80501),g=t(22347),h=t(65207),C=t(21127),y=t(67842);S.exports=_t;var f={}.hasOwnProperty,F=String.fromCharCode,U=Function.prototype,te={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},ne=9,pe=10,Ee=12,se=32,Se=38,be=59,Ce=60,j=61,G=35,Z=88,B=120,Y=65533,W="named",le="hexadecimal",J="decimal",X={};X[le]=16,X[J]=10;var ye={};ye[W]=C,ye[J]=g,ye[le]=h;var fe=1,D=2,He=3,rt=4,Lt=5,$e=6,it=7,ot={};ot[fe]="Named character references must be terminated by a semicolon",ot[D]="Numeric character references must be terminated by a semicolon",ot[He]="Named character references cannot be empty",ot[rt]="Numeric character references cannot be empty",ot[Lt]="Named character references must be known",ot[$e]="Numeric character references cannot be disallowed",ot[it]="Numeric character references cannot be outside the permissible Unicode range";function _t(ze,nt){var we={},ct,Xe;nt||(nt={});for(Xe in te)ct=nt[Xe],we[Xe]=ct==null?te[Xe]:ct;return(we.position.indent||we.position.start)&&(we.indent=we.position.indent||[],we.position=we.position.start),Kt(ze,we)}function Kt(ze,nt){var we=nt.additional,ct=nt.nonTerminated,Xe=nt.text,tn=nt.reference,zt=nt.warning,un=nt.textContext,dn=nt.referenceContext,At=nt.warningContext,xt=nt.position,Xt=nt.indent||[],jt=ze.length,ke=0,_e=-1,ie=xt.column||1,N=xt.line||1,Te="",st=[],V,H,Pe,he,Q,Le,ht,at,Et,dt,mt,ee,Ge,Je,qe,_,Ot,tt,Re;for(typeof we=="string"&&(we=we.charCodeAt(0)),_=Jt(),at=zt?cn:U,ke--,jt++;++ke65535&&(Le-=65536,dt+=F(Le>>>10|55296),Le=56320|Le&1023),Le=dt+F(Le))):Je!==W&&at(rt,tt)),Le?(sn(),_=Jt(),ke=Re-1,ie+=Re-Ge+1,st.push(Le),Ot=Jt(),Ot.offset++,tn&&tn.call(dn,Le,{start:_,end:Ot},ze.slice(Ge-1,Re)),_=Ot):(he=ze.slice(Ge-1,Re),Te+=he,ie+=he.length,ke=Re-1)}else Q===10&&(N++,_e++,ie=0),Q===Q?(Te+=F(Q),ie++):sn();return st.join("");function Jt(){return{line:N,column:ie,offset:ke+(xt.offset||0)}}function cn(Ze,Rn){var Cn=Jt();Cn.column+=Rn,Cn.offset+=Rn,zt.call(At,ot[Ze],Cn,Ze)}function sn(){Te&&(st.push(Te),Xe&&Xe.call(un,Te,{start:_,end:Jt()}),Te="")}}function wt(ze){return ze>=55296&&ze<=57343||ze>1114111}function O(ze){return ze>=1&&ze<=8||ze===11||ze>=13&&ze<=31||ze>=127&&ze<=159||ze>=64976&&ze<=65007||(ze&65535)===65535||(ze&65535)===65534}},68398:function(S,s,t){var i=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var p=function(g){var h=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,C=0,y={},f={manual:g.Prism&&g.Prism.manual,disableWorkerMessageHandler:g.Prism&&g.Prism.disableWorkerMessageHandler,util:{encode:function j(G){return G instanceof F?new F(G.type,j(G.content),G.alias):Array.isArray(G)?G.map(j):G.replace(/&/g,"&").replace(/"+Y.content+""};function U(j,G,Z,B){j.lastIndex=G;var Y=j.exec(Z);if(Y&&B&&Y[1]){var W=Y[1].length;Y.index+=W,Y[0]=Y[0].slice(W)}return Y}function te(j,G,Z,B,Y,W){for(var le in Z)if(!(!Z.hasOwnProperty(le)||!Z[le])){var J=Z[le];J=Array.isArray(J)?J:[J];for(var X=0;X=W.reach);ot+=it.value.length,it=it.next){var _t=it.value;if(G.length>j.length)return;if(!(_t instanceof F)){var Kt=1,wt;if(He){if(wt=U($e,ot,j,D),!wt||wt.index>=j.length)break;var we=wt.index,O=wt.index+wt[0].length,ze=ot;for(ze+=it.value.length;we>=ze;)it=it.next,ze+=it.value.length;if(ze-=it.value.length,ot=ze,it.value instanceof F)continue;for(var nt=it;nt!==G.tail&&(zeW.reach&&(W.reach=zt);var un=it.prev;Xe&&(un=pe(G,un,Xe),ot+=Xe.length),Ee(G,un,Kt);var dn=new F(le,fe?f.tokenize(ct,fe):ct,rt,ct);if(it=pe(G,un,dn),tn&&pe(G,it,tn),Kt>1){var At={cause:le+","+X,reach:zt};te(j,G,Z,it.prev,ot,At),W&&At.reach>W.reach&&(W.reach=At.reach)}}}}}}function ne(){var j={value:null,prev:null,next:null},G={value:null,prev:j,next:null};j.next=G,this.head=j,this.tail=G,this.length=0}function pe(j,G,Z){var B=G.next,Y={value:Z,prev:G,next:B};return G.next=Y,B.prev=Y,j.length++,Y}function Ee(j,G,Z){for(var B=G.next,Y=0;Y4&&Se.slice(0,4)===h&&C.test(se)&&(se.charAt(4)==="-"?be=U(se):se=te(se),Ce=p),new Ce(be,se))}function U(Ee){var se=Ee.slice(5).replace(y,pe);return h+se.charAt(0).toUpperCase()+se.slice(1)}function te(Ee){var se=Ee.slice(4);return y.test(se)?Ee:(se=se.replace(f,ne),se.charAt(0)!=="-"&&(se="-"+se),h+se)}function ne(Ee){return"-"+Ee.toLowerCase()}function pe(Ee){return Ee.charAt(1).toUpperCase()}},18795:function(S,s,t){"use strict";var i=t(83576),p=t(8179),g=t(59780),h=t(68244),C=t(20019),y=t(38567);S.exports=i([g,p,h,C,y])},20019:function(S,s,t){"use strict";var i=t(70167),p=t(79318),g=i.booleanish,h=i.number,C=i.spaceSeparated;S.exports=p({transform:y,properties:{ariaActiveDescendant:null,ariaAtomic:g,ariaAutoComplete:null,ariaBusy:g,ariaChecked:g,ariaColCount:h,ariaColIndex:h,ariaColSpan:h,ariaControls:C,ariaCurrent:null,ariaDescribedBy:C,ariaDetails:null,ariaDisabled:g,ariaDropEffect:C,ariaErrorMessage:null,ariaExpanded:g,ariaFlowTo:C,ariaGrabbed:g,ariaHasPopup:null,ariaHidden:g,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:C,ariaLevel:h,ariaLive:null,ariaModal:g,ariaMultiLine:g,ariaMultiSelectable:g,ariaOrientation:null,ariaOwns:C,ariaPlaceholder:null,ariaPosInSet:h,ariaPressed:g,ariaReadOnly:g,ariaRelevant:null,ariaRequired:g,ariaRoleDescription:C,ariaRowCount:h,ariaRowIndex:h,ariaRowSpan:h,ariaSelected:g,ariaSetSize:h,ariaSort:null,ariaValueMax:h,ariaValueMin:h,ariaValueNow:h,ariaValueText:null,role:null}});function y(f,F){return F==="role"?F:"aria-"+F.slice(4).toLowerCase()}},38567:function(S,s,t){"use strict";var i=t(70167),p=t(79318),g=t(85804),h=i.boolean,C=i.overloadedBoolean,y=i.booleanish,f=i.number,F=i.spaceSeparated,U=i.commaSeparated;S.exports=p({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:g,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:U,acceptCharset:F,accessKey:F,action:null,allow:null,allowFullScreen:h,allowPaymentRequest:h,allowUserMedia:h,alt:null,as:null,async:h,autoCapitalize:null,autoComplete:F,autoFocus:h,autoPlay:h,capture:h,charSet:null,checked:h,cite:null,className:F,cols:f,colSpan:null,content:null,contentEditable:y,controls:h,controlsList:F,coords:f|U,crossOrigin:null,data:null,dateTime:null,decoding:null,default:h,defer:h,dir:null,dirName:null,disabled:h,download:C,draggable:y,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:h,formTarget:null,headers:F,height:f,hidden:h,high:f,href:null,hrefLang:null,htmlFor:F,httpEquiv:F,id:null,imageSizes:null,imageSrcSet:U,inputMode:null,integrity:null,is:null,isMap:h,itemId:null,itemProp:F,itemRef:F,itemScope:h,itemType:F,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:h,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:h,muted:h,name:null,nonce:null,noModule:h,noValidate:h,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:h,optimum:f,pattern:null,ping:F,placeholder:null,playsInline:h,poster:null,preload:null,readOnly:h,referrerPolicy:null,rel:F,required:h,reversed:h,rows:f,rowSpan:f,sandbox:F,scope:null,scoped:h,seamless:h,selected:h,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:y,src:null,srcDoc:null,srcLang:null,srcSet:U,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:h,useMap:null,value:y,width:f,wrap:null,align:null,aLink:null,archive:F,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:h,declare:h,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:h,noHref:h,noShade:h,noWrap:h,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:y,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:h,disableRemotePlayback:h,prefix:null,property:null,results:f,security:null,unselectable:null}})},85804:function(S,s,t){"use strict";var i=t(56432);S.exports=p;function p(g,h){return i(g,h.toLowerCase())}},56432:function(S){"use strict";S.exports=s;function s(t,i){return i in t?t[i]:i}},79318:function(S,s,t){"use strict";var i=t(47178),p=t(44347),g=t(19095);S.exports=h;function h(C){var y=C.space,f=C.mustUseProperty||[],F=C.attributes||{},U=C.properties,te=C.transform,ne={},pe={},Ee,se;for(Ee in U)se=new g(Ee,te(F,Ee),U[Ee],y),f.indexOf(Ee)!==-1&&(se.mustUseProperty=!0),ne[Ee]=se,pe[i(Ee)]=Ee,pe[i(se.attribute)]=Ee;return new p(ne,pe,y)}},19095:function(S,s,t){"use strict";var i=t(1969),p=t(70167);S.exports=C,C.prototype=new i,C.prototype.defined=!0;var g=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],h=g.length;function C(f,F,U,te){var ne=-1,pe;for(y(this,"space",te),i.call(this,f,F);++ne0&&arguments[0]!==void 0?arguments[0]:[],_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ie=ke.length,N=_e.length;if(Math.abs(ie-N)!==1)return{add:!1,key:null};function Te(st,V){var H=new Map;st.forEach(function(he){H.set(he,!0)});var Pe=V.filter(function(he){return!H.has(he)});return Pe.length===1?Pe[0]:null}return ie ").concat(_e);return _e}var Xe=be.forwardRef(function(ke,_e){var ie=ke.prefixCls,N=ke.data,Te=ke.selectable,st=ke.checkable,V=ke.expandedKeys,H=ke.selectedKeys,Pe=ke.checkedKeys,he=ke.loadedKeys,Q=ke.loadingKeys,Le=ke.halfCheckedKeys,ht=ke.keyEntities,at=ke.disabled,Et=ke.dragging,dt=ke.dragOverNodeKey,mt=ke.dropPosition,ee=ke.motion,Ge=ke.height,Je=ke.itemHeight,qe=ke.virtual,_=ke.focusable,Ot=ke.activeItem,tt=ke.focused,Re=ke.tabIndex,Jt=ke.onKeyDown,cn=ke.onFocus,sn=ke.onBlur,Ze=ke.onActiveChange,Rn=ke.onListChangeStart,Cn=ke.onListChangeEnd,Mt=(0,B.Z)(ke,it),Hn=be.useRef(null),On=be.useRef(null);be.useImperativeHandle(_e,function(){return{scrollTo:function(hn){Hn.current.scrollTo(hn)},getIndentWidth:function(){return On.current.offsetWidth}}});var kn=be.useState(V),zn=(0,Z.Z)(kn,2),dr=zn[0],Jn=zn[1],Cr=be.useState(N),Hr=(0,Z.Z)(Cr,2),_n=Hr[0],ar=Hr[1],Gn=be.useState(N),Ar=(0,Z.Z)(Gn,2),Yr=Ar[0],Kr=Ar[1],Nr=be.useState([]),ir=(0,Z.Z)(Nr,2),Wn=ir[0],Vn=ir[1],sa=be.useState(null),hr=(0,Z.Z)(sa,2),It=hr[0],ut=hr[1],Qt=be.useRef(N);Qt.current=N;function qt(){var gt=Qt.current;ar(gt),Kr(gt),Vn([]),ut(null),Cn()}(0,Y.Z)(function(){Jn(V);var gt=Lt(dr,V);if(gt.key!==null)if(gt.add){var hn=_n.findIndex(function(Ke){var kt=Ke.key;return kt===gt.key}),Oe=nt($e(_n,N,gt.key),qe,Ge,Je),oe=_n.slice();oe.splice(hn+1,0,ze),Kr(oe),Vn(Oe),ut("show")}else{var c=N.findIndex(function(Ke){var kt=Ke.key;return kt===gt.key}),pt=nt($e(N,_n,gt.key),qe,Ge,Je),Dt=N.slice();Dt.splice(c+1,0,ze),Kr(Dt),Vn(pt),ut("hide")}else _n!==N&&(ar(N),Kr(N))},[V,N]),be.useEffect(function(){Et||qt()},[Et]);var Tt=ee?Yr:N,mn={expandedKeys:V,selectedKeys:H,loadedKeys:he,loadingKeys:Q,checkedKeys:Pe,halfCheckedKeys:Le,dragOverNodeKey:dt,dropPosition:mt,keyEntities:ht};return be.createElement(be.Fragment,null,tt&&Ot&&be.createElement("span",{style:ot,"aria-live":"assertive"},ct(Ot)),be.createElement("div",null,be.createElement("input",{style:ot,disabled:_===!1||at,tabIndex:_!==!1?Re:null,onKeyDown:Jt,onFocus:cn,onBlur:sn,value:"",onChange:_t,"aria-label":"for screen reader"})),be.createElement("div",{className:"".concat(ie,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},be.createElement("div",{className:"".concat(ie,"-indent")},be.createElement("div",{ref:On,className:"".concat(ie,"-indent-unit")}))),be.createElement(W.Z,(0,i.Z)({},Mt,{data:Tt,itemKey:we,height:Ge,fullHeight:!1,virtual:qe,itemHeight:Je,prefixCls:"".concat(ie,"-list"),ref:Hn,onVisibleChange:function(hn,Oe){var oe=new Set(hn),c=Oe.filter(function(pt){return!oe.has(pt)});c.some(function(pt){return we(pt)===Kt})&&qt()}}),function(gt){var hn=gt.pos,Oe=(0,i.Z)({},(G(gt.data),gt.data)),oe=gt.title,c=gt.key,pt=gt.isStart,Dt=gt.isEnd,Ke=(0,ye.km)(c,hn);delete Oe.key,delete Oe.children;var kt=(0,ye.H8)(Ke,mn);return be.createElement(rt,(0,i.Z)({},Oe,kt,{title:oe,active:!!Ot&&c===Ot.key,pos:hn,data:gt.data,isStart:pt,isEnd:Dt,motion:ee,motionNodes:c===Kt?Wn:null,motionType:It,onMotionStart:Rn,onMotionEnd:qt,treeNodeRequiredProps:mn,onMouseMove:function(){Ze(null)}}))}))});Xe.displayName="NodeList";var tn=Xe,zt=t(35654),un=t(90782),dn=t(67841),At=10,xt=function(ke){(0,U.Z)(ie,ke);var _e=(0,te.Z)(ie);function ie(){var N;(0,y.Z)(this,ie);for(var Te=arguments.length,st=new Array(Te),V=0;V2&&arguments[2]!==void 0?arguments[2]:!1,Le=N.state,ht=Le.dragChildrenKeys,at=Le.dropPosition,Et=Le.dropTargetKey,dt=Le.dropTargetPos,mt=Le.dropAllowed;if(mt){var ee=N.props.onDrop;if(N.setState({dragOverNodeKey:null}),N.cleanDragState(),Et!==null){var Ge=(0,h.Z)((0,h.Z)({},(0,ye.H8)(Et,N.getTreeNodeRequiredProps())),{},{active:((he=N.getActiveItem())===null||he===void 0?void 0:he.key)===Et,data:(0,dn.Z)(N.state.keyEntities,Et).node}),Je=ht.indexOf(Et)!==-1;(0,Se.ZP)(!Je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var qe=(0,zt.yx)(dt),_={event:H,node:(0,ye.F)(Ge),dragNode:N.dragNode?(0,ye.F)(N.dragNode.props):null,dragNodesKeys:[N.dragNode.props.eventKey].concat(ht),dropToGap:at!==0,dropPosition:at+Number(qe[qe.length-1])};Q||ee==null||ee(_),N.dragNode=null}}},N.cleanDragState=function(){var H=N.state.draggingNodeKey;H!==null&&N.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),N.dragStartMousePosition=null,N.currentMouseOverDroppableNodeKey=null},N.triggerExpandActionExpand=function(H,Pe){var he=N.state,Q=he.expandedKeys,Le=he.flattenNodes,ht=Pe.expanded,at=Pe.key,Et=Pe.isLeaf;if(!(Et||H.shiftKey||H.metaKey||H.ctrlKey)){var dt=Le.filter(function(ee){return ee.key===at})[0],mt=(0,ye.F)((0,h.Z)((0,h.Z)({},(0,ye.H8)(at,N.getTreeNodeRequiredProps())),{},{data:dt.data}));N.setExpandedKeys(ht?(0,zt._5)(Q,at):(0,zt.L0)(Q,at)),N.onNodeExpand(H,mt)}},N.onNodeClick=function(H,Pe){var he=N.props,Q=he.onClick,Le=he.expandAction;Le==="click"&&N.triggerExpandActionExpand(H,Pe),Q==null||Q(H,Pe)},N.onNodeDoubleClick=function(H,Pe){var he=N.props,Q=he.onDoubleClick,Le=he.expandAction;Le==="doubleClick"&&N.triggerExpandActionExpand(H,Pe),Q==null||Q(H,Pe)},N.onNodeSelect=function(H,Pe){var he=N.state.selectedKeys,Q=N.state,Le=Q.keyEntities,ht=Q.fieldNames,at=N.props,Et=at.onSelect,dt=at.multiple,mt=Pe.selected,ee=Pe[ht.key],Ge=!mt;Ge?dt?he=(0,zt.L0)(he,ee):he=[ee]:he=(0,zt._5)(he,ee);var Je=he.map(function(qe){var _=(0,dn.Z)(Le,qe);return _?_.node:null}).filter(function(qe){return qe});N.setUncontrolledState({selectedKeys:he}),Et==null||Et(he,{event:"select",selected:Ge,node:Pe,selectedNodes:Je,nativeEvent:H.nativeEvent})},N.onNodeCheck=function(H,Pe,he){var Q=N.state,Le=Q.keyEntities,ht=Q.checkedKeys,at=Q.halfCheckedKeys,Et=N.props,dt=Et.checkStrictly,mt=Et.onCheck,ee=Pe.key,Ge,Je={event:"check",node:Pe,checked:he,nativeEvent:H.nativeEvent};if(dt){var qe=he?(0,zt.L0)(ht,ee):(0,zt._5)(ht,ee),_=(0,zt._5)(at,ee);Ge={checked:qe,halfChecked:_},Je.checkedNodes=qe.map(function(sn){return(0,dn.Z)(Le,sn)}).filter(function(sn){return sn}).map(function(sn){return sn.node}),N.setUncontrolledState({checkedKeys:qe})}else{var Ot=(0,un.S)([].concat((0,C.Z)(ht),[ee]),!0,Le),tt=Ot.checkedKeys,Re=Ot.halfCheckedKeys;if(!he){var Jt=new Set(tt);Jt.delete(ee);var cn=(0,un.S)(Array.from(Jt),{checked:!1,halfCheckedKeys:Re},Le);tt=cn.checkedKeys,Re=cn.halfCheckedKeys}Ge=tt,Je.checkedNodes=[],Je.checkedNodesPositions=[],Je.halfCheckedKeys=Re,tt.forEach(function(sn){var Ze=(0,dn.Z)(Le,sn);if(Ze){var Rn=Ze.node,Cn=Ze.pos;Je.checkedNodes.push(Rn),Je.checkedNodesPositions.push({node:Rn,pos:Cn})}}),N.setUncontrolledState({checkedKeys:tt},!1,{halfCheckedKeys:Re})}mt==null||mt(Ge,Je)},N.onNodeLoad=function(H){var Pe=H.key,he=new Promise(function(Q,Le){N.setState(function(ht){var at=ht.loadedKeys,Et=at===void 0?[]:at,dt=ht.loadingKeys,mt=dt===void 0?[]:dt,ee=N.props,Ge=ee.loadData,Je=ee.onLoad;if(!Ge||Et.indexOf(Pe)!==-1||mt.indexOf(Pe)!==-1)return null;var qe=Ge(H);return qe.then(function(){var _=N.state.loadedKeys,Ot=(0,zt.L0)(_,Pe);Je==null||Je(Ot,{event:"load",node:H}),N.setUncontrolledState({loadedKeys:Ot}),N.setState(function(tt){return{loadingKeys:(0,zt._5)(tt.loadingKeys,Pe)}}),Q()}).catch(function(_){if(N.setState(function(tt){return{loadingKeys:(0,zt._5)(tt.loadingKeys,Pe)}}),N.loadingRetryTimes[Pe]=(N.loadingRetryTimes[Pe]||0)+1,N.loadingRetryTimes[Pe]>=At){var Ot=N.state.loadedKeys;(0,Se.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),N.setUncontrolledState({loadedKeys:(0,zt.L0)(Ot,Pe)}),Q()}Le(_)}),{loadingKeys:(0,zt.L0)(mt,Pe)}})});return he.catch(function(){}),he},N.onNodeMouseEnter=function(H,Pe){var he=N.props.onMouseEnter;he==null||he({event:H,node:Pe})},N.onNodeMouseLeave=function(H,Pe){var he=N.props.onMouseLeave;he==null||he({event:H,node:Pe})},N.onNodeContextMenu=function(H,Pe){var he=N.props.onRightClick;he&&(H.preventDefault(),he({event:H,node:Pe}))},N.onFocus=function(){var H=N.props.onFocus;N.setState({focused:!0});for(var Pe=arguments.length,he=new Array(Pe),Q=0;Q1&&arguments[1]!==void 0?arguments[1]:!1,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!N.destroyed){var Q=!1,Le=!0,ht={};Object.keys(H).forEach(function(at){if(at in N.props){Le=!1;return}Q=!0,ht[at]=H[at]}),Q&&(!Pe||Le)&&N.setState((0,h.Z)((0,h.Z)({},ht),he))}},N.scrollTo=function(H){N.listRef.current.scrollTo(H)},N}return(0,f.Z)(ie,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Te=this.props.activeKey;Te!==void 0&&Te!==this.state.activeKey&&(this.setState({activeKey:Te}),Te!==null&&this.scrollTo({key:Te}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Te,st=this.state,V=st.focused,H=st.flattenNodes,Pe=st.keyEntities,he=st.draggingNodeKey,Q=st.activeKey,Le=st.dropLevelOffset,ht=st.dropContainerKey,at=st.dropTargetKey,Et=st.dropPosition,dt=st.dragOverNodeKey,mt=st.indent,ee=this.props,Ge=ee.prefixCls,Je=ee.className,qe=ee.style,_=ee.showLine,Ot=ee.focusable,tt=ee.tabIndex,Re=tt===void 0?0:tt,Jt=ee.selectable,cn=ee.showIcon,sn=ee.icon,Ze=ee.switcherIcon,Rn=ee.draggable,Cn=ee.checkable,Mt=ee.checkStrictly,Hn=ee.disabled,On=ee.motion,kn=ee.loadData,zn=ee.filterTreeNode,dr=ee.height,Jn=ee.itemHeight,Cr=ee.virtual,Hr=ee.titleRender,_n=ee.dropIndicatorRender,ar=ee.onContextMenu,Gn=ee.onScroll,Ar=ee.direction,Yr=ee.rootClassName,Kr=ee.rootStyle,Nr=(0,se.Z)(this.props,{aria:!0,data:!0}),ir;return Rn&&((0,g.Z)(Rn)==="object"?ir=Rn:typeof Rn=="function"?ir={nodeDraggable:Rn}:ir={}),be.createElement(Ce.k.Provider,{value:{prefixCls:Ge,selectable:Jt,showIcon:cn,icon:sn,switcherIcon:Ze,draggable:ir,draggingNodeKey:he,checkable:Cn,checkStrictly:Mt,disabled:Hn,keyEntities:Pe,dropLevelOffset:Le,dropContainerKey:ht,dropTargetKey:at,dropPosition:Et,dragOverNodeKey:dt,indent:mt,direction:Ar,dropIndicatorRender:_n,loadData:kn,filterTreeNode:zn,titleRender:Hr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},be.createElement("div",{role:"tree",className:pe()(Ge,Je,Yr,(Te={},(0,p.Z)(Te,"".concat(Ge,"-show-line"),_),(0,p.Z)(Te,"".concat(Ge,"-focused"),V),(0,p.Z)(Te,"".concat(Ge,"-active-focused"),Q!==null),Te)),style:Kr},be.createElement(tn,(0,i.Z)({ref:this.listRef,prefixCls:Ge,style:qe,data:H,disabled:Hn,selectable:Jt,checkable:!!Cn,motion:On,dragging:he!==null,height:dr,itemHeight:Jn,virtual:Cr,focusable:Ot,focused:V,tabIndex:Re,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ar,onScroll:Gn},this.getTreeNodeRequiredProps(),Nr))))}}],[{key:"getDerivedStateFromProps",value:function(Te,st){var V=st.prevProps,H={prevProps:Te};function Pe(Ot){return!V&&Ot in Te||V&&V[Ot]!==Te[Ot]}var he,Q=st.fieldNames;if(Pe("fieldNames")&&(Q=(0,ye.w$)(Te.fieldNames),H.fieldNames=Q),Pe("treeData")?he=Te.treeData:Pe("children")&&((0,Se.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),he=(0,ye.zn)(Te.children)),he){H.treeData=he;var Le=(0,ye.I8)(he,{fieldNames:Q});H.keyEntities=(0,h.Z)((0,p.Z)({},Kt,O),Le.keyEntities)}var ht=H.keyEntities||st.keyEntities;if(Pe("expandedKeys")||V&&Pe("autoExpandParent"))H.expandedKeys=Te.autoExpandParent||!V&&Te.defaultExpandParent?(0,zt.r7)(Te.expandedKeys,ht):Te.expandedKeys;else if(!V&&Te.defaultExpandAll){var at=(0,h.Z)({},ht);delete at[Kt],H.expandedKeys=Object.keys(at).map(function(Ot){return at[Ot].key})}else!V&&Te.defaultExpandedKeys&&(H.expandedKeys=Te.autoExpandParent||Te.defaultExpandParent?(0,zt.r7)(Te.defaultExpandedKeys,ht):Te.defaultExpandedKeys);if(H.expandedKeys||delete H.expandedKeys,he||H.expandedKeys){var Et=(0,ye.oH)(he||st.treeData,H.expandedKeys||st.expandedKeys,Q);H.flattenNodes=Et}if(Te.selectable&&(Pe("selectedKeys")?H.selectedKeys=(0,zt.BT)(Te.selectedKeys,Te):!V&&Te.defaultSelectedKeys&&(H.selectedKeys=(0,zt.BT)(Te.defaultSelectedKeys,Te))),Te.checkable){var dt;if(Pe("checkedKeys")?dt=(0,zt.E6)(Te.checkedKeys)||{}:!V&&Te.defaultCheckedKeys?dt=(0,zt.E6)(Te.defaultCheckedKeys)||{}:he&&(dt=(0,zt.E6)(Te.checkedKeys)||{checkedKeys:st.checkedKeys,halfCheckedKeys:st.halfCheckedKeys}),dt){var mt=dt,ee=mt.checkedKeys,Ge=ee===void 0?[]:ee,Je=mt.halfCheckedKeys,qe=Je===void 0?[]:Je;if(!Te.checkStrictly){var _=(0,un.S)(Ge,!0,ht);Ge=_.checkedKeys,qe=_.halfCheckedKeys}H.checkedKeys=Ge,H.halfCheckedKeys=qe}}return Pe("loadedKeys")&&(H.loadedKeys=Te.loadedKeys),H}}]),ie}(be.Component);xt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:j,allowDrop:function(){return!0},expandAction:!1},xt.TreeNode=J.Z;var Xt=xt,jt=Xt},35654:function(S,s,t){"use strict";t.d(s,{BT:function(){return be},E6:function(){return G},L0:function(){return te},OM:function(){return Se},_5:function(){return U},r7:function(){return Z},wA:function(){return pe},yx:function(){return ne}});var i=t(94480),p=t(76190),g=t(48736),h=t(59301),C=t(39417),y=t(67841),f=t(71430),F=null;function U(B,Y){if(!B)return[];var W=B.slice(),le=W.indexOf(Y);return le>=0&&W.splice(le,1),W}function te(B,Y){var W=(B||[]).slice();return W.indexOf(Y)===-1&&W.push(Y),W}function ne(B){return B.split("-")}function pe(B,Y){var W=[],le=(0,y.Z)(Y,B);function J(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];X.forEach(function(ye){var fe=ye.key,D=ye.children;W.push(fe),J(D)})}return J(le.children),W}function Ee(B){if(B.parent){var Y=ne(B.pos);return Number(Y[Y.length-1])===B.parent.children.length-1}return!1}function se(B){var Y=ne(B.pos);return Number(Y[Y.length-1])===0}function Se(B,Y,W,le,J,X,ye,fe,D,He){var rt,Lt=B.clientX,$e=B.clientY,it=B.target.getBoundingClientRect(),ot=it.top,_t=it.height,Kt=(He==="rtl"?-1:1)*(((J==null?void 0:J.x)||0)-Lt),wt=(Kt-12)/le,O=(0,y.Z)(fe,W.props.eventKey);if($e-1.5?X({dragNode:At,dropNode:xt,dropPosition:1})?zt=1:Xt=!1:X({dragNode:At,dropNode:xt,dropPosition:0})?zt=0:X({dragNode:At,dropNode:xt,dropPosition:1})?zt=1:Xt=!1:X({dragNode:At,dropNode:xt,dropPosition:1})?zt=1:Xt=!1,{dropPosition:zt,dropLevelOffset:un,dropTargetKey:O.key,dropTargetPos:O.pos,dragOverNodeKey:tn,dropContainerKey:zt===0?null:((rt=O.parent)===null||rt===void 0?void 0:rt.key)||null,dropAllowed:Xt}}function be(B,Y){if(B){var W=Y.multiple;return W?B.slice():B.length?[B[0]]:B}}var Ce=function(Y){return Y};function j(B,Y){if(!B)return[];var W=Y||{},le=W.processProps,J=le===void 0?Ce:le,X=Array.isArray(B)?B:[B];return X.map(function(ye){var fe=ye.children,D=_objectWithoutProperties(ye,F),He=j(fe,Y);return React.createElement(TreeNode,_extends({key:D.key},J(D)),He)})}function G(B){if(!B)return null;var Y;if(Array.isArray(B))Y={checkedKeys:B,halfCheckedKeys:void 0};else if((0,p.Z)(B)==="object")Y={checkedKeys:B.checked||void 0,halfCheckedKeys:B.halfChecked||void 0};else return(0,g.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Y}function Z(B,Y){var W=new Set;function le(J){if(!W.has(J)){var X=(0,y.Z)(Y,J);if(X){W.add(J);var ye=X.parent,fe=X.node;fe.disabled||ye&&le(ye.key)}}}return(B||[]).forEach(function(J){le(J)}),(0,i.Z)(W)}},90782:function(S,s,t){"use strict";t.d(s,{S:function(){return f}});var i=t(48736),p=t(67841);function g(F,U){var te=new Set;return F.forEach(function(ne){U.has(ne)||te.add(ne)}),te}function h(F){var U=F||{},te=U.disabled,ne=U.disableCheckbox,pe=U.checkable;return!!(te||ne)||pe===!1}function C(F,U,te,ne){for(var pe=new Set(F),Ee=new Set,se=0;se<=te;se+=1){var Se=U.get(se)||new Set;Se.forEach(function(G){var Z=G.key,B=G.node,Y=G.children,W=Y===void 0?[]:Y;pe.has(Z)&&!ne(B)&&W.filter(function(le){return!ne(le.node)}).forEach(function(le){pe.add(le.key)})})}for(var be=new Set,Ce=te;Ce>=0;Ce-=1){var j=U.get(Ce)||new Set;j.forEach(function(G){var Z=G.parent,B=G.node;if(!(ne(B)||!G.parent||be.has(G.parent.key))){if(ne(G.parent.node)){be.add(Z.key);return}var Y=!0,W=!1;(Z.children||[]).filter(function(le){return!ne(le.node)}).forEach(function(le){var J=le.key,X=pe.has(J);Y&&!X&&(Y=!1),!W&&(X||Ee.has(J))&&(W=!0)}),Y&&pe.add(Z.key),W&&Ee.add(Z.key),be.add(Z.key)}})}return{checkedKeys:Array.from(pe),halfCheckedKeys:Array.from(g(Ee,pe))}}function y(F,U,te,ne,pe){for(var Ee=new Set(F),se=new Set(U),Se=0;Se<=ne;Se+=1){var be=te.get(Se)||new Set;be.forEach(function(Z){var B=Z.key,Y=Z.node,W=Z.children,le=W===void 0?[]:W;!Ee.has(B)&&!se.has(B)&&!pe(Y)&&le.filter(function(J){return!pe(J.node)}).forEach(function(J){Ee.delete(J.key)})})}se=new Set;for(var Ce=new Set,j=ne;j>=0;j-=1){var G=te.get(j)||new Set;G.forEach(function(Z){var B=Z.parent,Y=Z.node;if(!(pe(Y)||!Z.parent||Ce.has(Z.parent.key))){if(pe(Z.parent.node)){Ce.add(B.key);return}var W=!0,le=!1;(B.children||[]).filter(function(J){return!pe(J.node)}).forEach(function(J){var X=J.key,ye=Ee.has(X);W&&!ye&&(W=!1),!le&&(ye||se.has(X))&&(le=!0)}),W||Ee.delete(B.key),le&&se.add(B.key),Ce.add(B.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(g(se,Ee))}}function f(F,U,te,ne){var pe=[],Ee;ne?Ee=ne:Ee=h;var se=new Set(F.filter(function(j){var G=!!(0,p.Z)(te,j);return G||pe.push(j),G})),Se=new Map,be=0;Object.keys(te).forEach(function(j){var G=te[j],Z=G.level,B=Se.get(Z);B||(B=new Set,Se.set(Z,B)),B.add(G),be=Math.max(be,Z)}),(0,i.ZP)(!pe.length,"Tree missing follow keys: ".concat(pe.slice(0,100).map(function(j){return"'".concat(j,"'")}).join(", ")));var Ce;return U===!0?Ce=C(se,Se,be,Ee):Ce=y(se,U.halfCheckedKeys,Se,be,Ee),Ce}},67841:function(S,s,t){"use strict";t.d(s,{Z:function(){return i}});function i(p,g){return p[g]}},71430:function(S,s,t){"use strict";t.d(s,{F:function(){return Z},H8:function(){return G},I8:function(){return j},km:function(){return pe},oH:function(){return be},w$:function(){return Ee},zn:function(){return Se}});var i=t(76190),p=t(94480),g=t(33885),h=t(75931),C=t(11592),y=t(2738),f=t(48736),F=t(67841),U=["children"];function te(B,Y){return"".concat(B,"-").concat(Y)}function ne(B){return B&&B.type&&B.type.isTreeNode}function pe(B,Y){return B!=null?B:Y}function Ee(B){var Y=B||{},W=Y.title,le=Y._title,J=Y.key,X=Y.children,ye=W||"title";return{title:ye,_title:le||[ye],key:J||"key",children:X||"children"}}function se(B,Y){var W=new Map;function le(J){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(J||[]).forEach(function(ye){var fe=ye[Y.key],D=ye[Y.children];warning(fe!=null,"Tree node must have a certain key: [".concat(X).concat(fe,"]"));var He=String(fe);warning(!W.has(He)||fe===null||fe===void 0,"Same 'key' exist in the Tree: ".concat(He)),W.set(He,!0),le(D,"".concat(X).concat(He," > "))})}le(B)}function Se(B){function Y(W){var le=(0,C.Z)(W);return le.map(function(J){if(!ne(J))return(0,f.ZP)(!J,"Tree/TreeNode can only accept TreeNode as children."),null;var X=J.key,ye=J.props,fe=ye.children,D=(0,h.Z)(ye,U),He=(0,g.Z)({key:X},D),rt=Y(fe);return rt.length&&(He.children=rt),He}).filter(function(J){return J})}return Y(B)}function be(B,Y,W){var le=Ee(W),J=le._title,X=le.key,ye=le.children,fe=new Set(Y===!0?[]:Y),D=[];function He(rt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return rt.map(function($e,it){for(var ot=te(Lt?Lt.pos:"0",it),_t=pe($e[X],ot),Kt,wt=0;wt1&&arguments[1]!==void 0?arguments[1]:{},W=Y.initWrapper,le=Y.processEntity,J=Y.onProcessFinished,X=Y.externalGetKey,ye=Y.childrenPropName,fe=Y.fieldNames,D=arguments.length>2?arguments[2]:void 0,He=X||D,rt={},Lt={},$e={posEntities:rt,keyEntities:Lt};return W&&($e=W($e)||$e),Ce(B,function(it){var ot=it.node,_t=it.index,Kt=it.pos,wt=it.key,O=it.parentPos,ze=it.level,nt=it.nodes,we={node:ot,nodes:nt,index:_t,key:wt,pos:Kt,level:ze},ct=pe(wt,Kt);rt[Kt]=we,Lt[ct]=we,we.parent=rt[O],we.parent&&(we.parent.children=we.parent.children||[],we.parent.children.push(we)),le&&le(we,$e)},{externalGetKey:He,childrenPropName:ye,fieldNames:fe}),J&&J($e),$e}function G(B,Y){var W=Y.expandedKeys,le=Y.selectedKeys,J=Y.loadedKeys,X=Y.loadingKeys,ye=Y.checkedKeys,fe=Y.halfCheckedKeys,D=Y.dragOverNodeKey,He=Y.dropPosition,rt=Y.keyEntities,Lt=(0,F.Z)(rt,B),$e={eventKey:B,expanded:W.indexOf(B)!==-1,selected:le.indexOf(B)!==-1,loaded:J.indexOf(B)!==-1,loading:X.indexOf(B)!==-1,checked:ye.indexOf(B)!==-1,halfChecked:fe.indexOf(B)!==-1,pos:String(Lt?Lt.pos:""),dragOver:D===B&&He===0,dragOverGapTop:D===B&&He===-1,dragOverGapBottom:D===B&&He===1};return $e}function Z(B){var Y=B.data,W=B.expanded,le=B.selected,J=B.checked,X=B.loaded,ye=B.loading,fe=B.halfChecked,D=B.dragOver,He=B.dragOverGapTop,rt=B.dragOverGapBottom,Lt=B.pos,$e=B.active,it=B.eventKey,ot=(0,g.Z)((0,g.Z)({},Y),{},{expanded:W,selected:le,checked:J,loaded:X,loading:ye,halfChecked:fe,dragOver:D,dragOverGapTop:He,dragOverGapBottom:rt,pos:Lt,active:$e,key:it});return"props"in ot||Object.defineProperty(ot,"props",{get:function(){return(0,f.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),B}}),ot}},8224:function(S,s,t){"use strict";t.d(s,{Z:function(){return p}});var i=t(4676);function p(g,h,C,y){var f=i.unstable_batchedUpdates?function(U){i.unstable_batchedUpdates(C,U)}:C;return g!=null&&g.addEventListener&&g.addEventListener(h,f,y),{remove:function(){g!=null&&g.removeEventListener&&g.removeEventListener(h,f,y)}}}},55468:function(S,s,t){"use strict";t.d(s,{g1:function(){return ne},os:function(){return Ee}});var i=/margin|padding|width|height|max|min|offset/,p={left:!0,top:!0},g={cssFloat:1,styleFloat:1,float:1};function h(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function C(se,Se,be){if(Se=Se.toLowerCase(),be==="auto"){if(Se==="height")return se.offsetHeight;if(Se==="width")return se.offsetWidth}return Se in p||(p[Se]=i.test(Se)),p[Se]?parseFloat(be)||0:be}function y(se,Se){var be=arguments.length,Ce=h(se);return Se=g[Se]?"cssFloat"in se.style?"cssFloat":"styleFloat":Se,be===1?Ce:C(se,Se,Ce[Se]||se.style[Se])}function f(se,Se,be){var Ce=arguments.length;if(Se=g[Se]?"cssFloat"in se.style?"cssFloat":"styleFloat":Se,Ce===3)return typeof be=="number"&&i.test(Se)&&(be="".concat(be,"px")),se.style[Se]=be,be;for(var j in Se)Se.hasOwnProperty(j)&&f(se,j,Se[j]);return h(se)}function F(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function U(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function te(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Se=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:Se}}function ne(){var se=document.documentElement.clientWidth,Se=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:Se}}function pe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ee(se){var Se=se.getBoundingClientRect(),be=document.documentElement;return{left:Se.left+(window.pageXOffset||be.scrollLeft)-(be.clientLeft||document.body.clientLeft||0),top:Se.top+(window.pageYOffset||be.scrollTop)-(be.clientTop||document.body.clientTop||0)}}},24514:function(S,s,t){"use strict";t.d(s,{G:function(){return h}});var i=t(47273),p=function(y){if((0,i.Z)()&&window.document.documentElement){var f=Array.isArray(y)?y:[y],F=window.document.documentElement;return f.some(function(U){return U in F.style})}return!1},g=function(y,f){if(!p(y))return!1;var F=document.createElement("div"),U=F.style[y];return F.style[y]=f,F.style[y]!==U};function h(C,y){return!Array.isArray(C)&&y!==void 0?g(C,y):p(C)}},66328:function(S,s,t){"use strict";t.d(s,{Z:function(){return wt}});var i=t(75931),p=t(94480),g=t(20068),h=t(59301),C=t(54476);function y(O,ze){var nt=Object.keys(O);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(O);ze&&(we=we.filter(function(ct){return Object.getOwnPropertyDescriptor(O,ct).enumerable})),nt.push.apply(nt,we)}return nt}function f(O){for(var ze=1;ze=4)return[O[0],O[1],O[2],O[3],"".concat(O[0],".").concat(O[1]),"".concat(O[0],".").concat(O[2]),"".concat(O[0],".").concat(O[3]),"".concat(O[1],".").concat(O[0]),"".concat(O[1],".").concat(O[2]),"".concat(O[1],".").concat(O[3]),"".concat(O[2],".").concat(O[0]),"".concat(O[2],".").concat(O[1]),"".concat(O[2],".").concat(O[3]),"".concat(O[3],".").concat(O[0]),"".concat(O[3],".").concat(O[1]),"".concat(O[3],".").concat(O[2]),"".concat(O[0],".").concat(O[1],".").concat(O[2]),"".concat(O[0],".").concat(O[1],".").concat(O[3]),"".concat(O[0],".").concat(O[2],".").concat(O[1]),"".concat(O[0],".").concat(O[2],".").concat(O[3]),"".concat(O[0],".").concat(O[3],".").concat(O[1]),"".concat(O[0],".").concat(O[3],".").concat(O[2]),"".concat(O[1],".").concat(O[0],".").concat(O[2]),"".concat(O[1],".").concat(O[0],".").concat(O[3]),"".concat(O[1],".").concat(O[2],".").concat(O[0]),"".concat(O[1],".").concat(O[2],".").concat(O[3]),"".concat(O[1],".").concat(O[3],".").concat(O[0]),"".concat(O[1],".").concat(O[3],".").concat(O[2]),"".concat(O[2],".").concat(O[0],".").concat(O[1]),"".concat(O[2],".").concat(O[0],".").concat(O[3]),"".concat(O[2],".").concat(O[1],".").concat(O[0]),"".concat(O[2],".").concat(O[1],".").concat(O[3]),"".concat(O[2],".").concat(O[3],".").concat(O[0]),"".concat(O[2],".").concat(O[3],".").concat(O[1]),"".concat(O[3],".").concat(O[0],".").concat(O[1]),"".concat(O[3],".").concat(O[0],".").concat(O[2]),"".concat(O[3],".").concat(O[1],".").concat(O[0]),"".concat(O[3],".").concat(O[1],".").concat(O[2]),"".concat(O[3],".").concat(O[2],".").concat(O[0]),"".concat(O[3],".").concat(O[2],".").concat(O[1]),"".concat(O[0],".").concat(O[1],".").concat(O[2],".").concat(O[3]),"".concat(O[0],".").concat(O[1],".").concat(O[3],".").concat(O[2]),"".concat(O[0],".").concat(O[2],".").concat(O[1],".").concat(O[3]),"".concat(O[0],".").concat(O[2],".").concat(O[3],".").concat(O[1]),"".concat(O[0],".").concat(O[3],".").concat(O[1],".").concat(O[2]),"".concat(O[0],".").concat(O[3],".").concat(O[2],".").concat(O[1]),"".concat(O[1],".").concat(O[0],".").concat(O[2],".").concat(O[3]),"".concat(O[1],".").concat(O[0],".").concat(O[3],".").concat(O[2]),"".concat(O[1],".").concat(O[2],".").concat(O[0],".").concat(O[3]),"".concat(O[1],".").concat(O[2],".").concat(O[3],".").concat(O[0]),"".concat(O[1],".").concat(O[3],".").concat(O[0],".").concat(O[2]),"".concat(O[1],".").concat(O[3],".").concat(O[2],".").concat(O[0]),"".concat(O[2],".").concat(O[0],".").concat(O[1],".").concat(O[3]),"".concat(O[2],".").concat(O[0],".").concat(O[3],".").concat(O[1]),"".concat(O[2],".").concat(O[1],".").concat(O[0],".").concat(O[3]),"".concat(O[2],".").concat(O[1],".").concat(O[3],".").concat(O[0]),"".concat(O[2],".").concat(O[3],".").concat(O[0],".").concat(O[1]),"".concat(O[2],".").concat(O[3],".").concat(O[1],".").concat(O[0]),"".concat(O[3],".").concat(O[0],".").concat(O[1],".").concat(O[2]),"".concat(O[3],".").concat(O[0],".").concat(O[2],".").concat(O[1]),"".concat(O[3],".").concat(O[1],".").concat(O[0],".").concat(O[2]),"".concat(O[3],".").concat(O[1],".").concat(O[2],".").concat(O[0]),"".concat(O[3],".").concat(O[2],".").concat(O[0],".").concat(O[1]),"".concat(O[3],".").concat(O[2],".").concat(O[1],".").concat(O[0])]}var U={};function te(O){if(O.length===0||O.length===1)return O;var ze=O.join(".");return U[ze]||(U[ze]=F(O)),U[ze]}function ne(O){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=arguments.length>2?arguments[2]:void 0,we=O.filter(function(Xe){return Xe!=="token"}),ct=te(we);return ct.reduce(function(Xe,tn){return f(f({},Xe),nt[tn])},ze)}function pe(O){return O.join(" ")}function Ee(O,ze){var nt=0;return function(we){return nt+=1,we.map(function(ct,Xe){return se({node:ct,stylesheet:O,useInlineStyles:ze,key:"code-segment-".concat(nt,"-").concat(Xe)})})}}function se(O){var ze=O.node,nt=O.stylesheet,we=O.style,ct=we===void 0?{}:we,Xe=O.useInlineStyles,tn=O.key,zt=ze.properties,un=ze.type,dn=ze.tagName,At=ze.value;if(un==="text")return At;if(dn){var xt=Ee(nt,Xe),Xt;if(!Xe)Xt=f(f({},zt),{},{className:pe(zt.className)});else{var jt=Object.keys(nt).reduce(function(N,Te){return Te.split(".").forEach(function(st){N.includes(st)||N.push(st)}),N},[]),ke=zt.className&&zt.className.includes("token")?["token"]:[],_e=zt.className&&ke.concat(zt.className.filter(function(N){return!jt.includes(N)}));Xt=f(f({},zt),{},{className:pe(_e)||void 0,style:ne(zt.className,Object.assign({},zt.style,ct),nt)})}var ie=xt(ze.children);return h.createElement(dn,(0,C.Z)({key:tn},Xt),ie)}}var Se=function(O,ze){var nt=O.listLanguages();return nt.indexOf(ze)!==-1},be=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Ce(O,ze){var nt=Object.keys(O);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(O);ze&&(we=we.filter(function(ct){return Object.getOwnPropertyDescriptor(O,ct).enumerable})),nt.push.apply(nt,we)}return nt}function j(O){for(var ze=1;ze1&&arguments[1]!==void 0?arguments[1]:[],nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],we=0;we2&&arguments[2]!==void 0?arguments[2]:[];return X({children:H,lineNumber:Pe,lineNumberStyle:zt,largestLineNumber:tn,showInlineLineNumbers:ct,lineProps:nt,className:he,showLineNumbers:we,wrapLongLines:un,wrapLines:ze})}function _e(H,Pe){if(we&&Pe&&ct){var he=J(zt,Pe,tn);H.unshift(le(Pe,he))}return H}function ie(H,Pe){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return ze||he.length>0?ke(H,Pe,he):_e(H,Pe)}for(var N=function(){var Pe=At[jt],he=Pe.children[0].value,Q=Z(he);if(Q){var Le=he.split(` -`);Le.forEach(function(ht,at){var Et=we&&xt.length+Xe,dt={type:"text",value:"".concat(ht,` -`)};if(at===0){var mt=At.slice(Xt+1,jt).concat(X({children:[dt],className:Pe.properties.className})),ee=ie(mt,Et);xt.push(ee)}else if(at===Le.length-1){var Ge=At[jt+1]&&At[jt+1].children&&At[jt+1].children[0],Je={type:"text",value:"".concat(ht)};if(Ge){var qe=X({children:[Je],className:Pe.properties.className});At.splice(jt+1,0,qe)}else{var _=[Je],Ot=ie(_,Et,Pe.properties.className);xt.push(Ot)}}else{var tt=[dt],Re=ie(tt,Et,Pe.properties.className);xt.push(Re)}}),Xt=jt}jt++};jt code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},it=t(11594),ot=t.n(it),_t=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],Kt=Lt(ot(),$e);Kt.supportedLanguages=_t;var wt=Kt},18369:function(S,s){"use strict";s.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(S,s,t){"use strict";t(84126);var i=t(59301),p=60103;if(s.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;p=g("react.element"),s.Fragment=g("react.fragment")}var h=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C=Object.prototype.hasOwnProperty,y={key:!0,ref:!0,__self:!0,__source:!0};function f(F,U,te){var ne,pe={},Ee=null,se=null;te!==void 0&&(Ee=""+te),U.key!==void 0&&(Ee=""+U.key),U.ref!==void 0&&(se=U.ref);for(ne in U)C.call(U,ne)&&!y.hasOwnProperty(ne)&&(pe[ne]=U[ne]);if(F&&F.defaultProps)for(ne in U=F.defaultProps,U)pe[ne]===void 0&&(pe[ne]=U[ne]);return{$$typeof:p,type:F,key:Ee,ref:se,props:pe,_owner:h.current}}s.jsx=f,s.jsxs=f},37712:function(S,s,t){"use strict";S.exports=t(19524)},95489:function(S,s,t){"use strict";var i=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof t.g=="object"?t.g:{},p=Y();i.Prism={manual:!0,disableWorkerMessageHandler:!0};var g=t(43621),h=t(12256),C=t(68398),y=t(70614),f=t(54212),F=t(9720),U=t(88786);p();var te={}.hasOwnProperty;function ne(){}ne.prototype=C;var pe=new ne;S.exports=pe,pe.highlight=Se,pe.register=Ee,pe.alias=se,pe.registered=be,pe.listLanguages=Ce,Ee(y),Ee(f),Ee(F),Ee(U),pe.util.encode=Z,pe.Token.stringify=j;function Ee(W){if(typeof W!="function"||!W.displayName)throw new Error("Expected `function` for `grammar`, got `"+W+"`");pe.languages[W.displayName]===void 0&&W(pe)}function se(W,le){var J=pe.languages,X=W,ye,fe,D,He;le&&(X={},X[W]=le);for(ye in X)for(fe=X[ye],fe=typeof fe=="string"?[fe]:fe,D=fe.length,He=-1;++He]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(S){"use strict";S.exports=s,s.displayName="abnf",s.aliases=[];function s(t){(function(i){var p="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";i.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+p+"|<"+p+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}},42746:function(S){"use strict";S.exports=s,s.displayName="actionscript",s.aliases=[];function s(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}},93281:function(S){"use strict";S.exports=s,s.displayName="ada",s.aliases=[];function s(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(S){"use strict";S.exports=s,s.displayName="agda",s.aliases=[];function s(t){(function(i){i.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}},65924:function(S){"use strict";S.exports=s,s.displayName="al",s.aliases=[];function s(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(S){"use strict";S.exports=s,s.displayName="antlr4",s.aliases=["g4"];function s(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}},43556:function(S){"use strict";S.exports=s,s.displayName="apacheconf",s.aliases=[];function s(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(S,s,t){"use strict";var i=t(69435);S.exports=p,p.displayName="apex",p.aliases=[];function p(g){g.register(i),function(h){var C=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,y=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return C.source});function f(U){return RegExp(U.replace(//g,function(){return y}),"i")}var F={keyword:C,punctuation:/[()\[\]{};,:.<>]/};h.languages.apex={comment:h.languages.clike.comment,string:h.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:h.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:f(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:F},{pattern:f(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:F},{pattern:f(/(?=\s*\w+\s*[;=,(){:])/.source),inside:F}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:C,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(g)}},4248:function(S){"use strict";S.exports=s,s.displayName="apl",s.aliases=[];function s(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(S){"use strict";S.exports=s,s.displayName="applescript",s.aliases=[];function s(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(S){"use strict";S.exports=s,s.displayName="aql",s.aliases=[];function s(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(S,s,t){"use strict";var i=t(87071);S.exports=p,p.displayName="arduino",p.aliases=["ino"];function p(g){g.register(i),g.languages.arduino=g.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),g.languages.ino=g.languages.arduino}},22956:function(S){"use strict";S.exports=s,s.displayName="arff",s.aliases=[];function s(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(S){"use strict";S.exports=s,s.displayName="asciidoc",s.aliases=["adoc"];function s(t){(function(i){var p={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},g=i.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:p,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:p.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:p,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function h(C){C=C.split(" ");for(var y={},f=0,F=C.length;f>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(S,s,t){"use strict";var i=t(87648);S.exports=p,p.displayName="aspnet",p.aliases=[];function p(g){g.register(i),g.languages.aspnet=g.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:g.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:g.languages.csharp}}}),g.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,g.languages.insertBefore("inside","punctuation",{directive:g.languages.aspnet.directive},g.languages.aspnet.tag.inside["attr-value"]),g.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),g.languages.insertBefore("aspnet",g.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:g.languages.csharp||{}}})}},20803:function(S){"use strict";S.exports=s,s.displayName="autohotkey",s.aliases=[];function s(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(S){"use strict";S.exports=s,s.displayName="autoit",s.aliases=[];function s(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(S){"use strict";S.exports=s,s.displayName="avisynth",s.aliases=["avs"];function s(t){(function(i){function p(U,te){return U.replace(/<<(\d+)>>/g,function(ne,pe){return te[+pe]})}function g(U,te,ne){return RegExp(p(U,te),ne||"")}var h=/bool|clip|float|int|string|val/.source,C=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),y=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),f=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),F=[C,y,f].join("|");i.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:g(/\b(?:<<0>>)\s+("?)\w+\1/.source,[h],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:g(/\b(?:<<0>>)\b/.source,[F],"i"),alias:"function"},"type-cast":{pattern:g(/\b(?:<<0>>)(?=\s*\()/.source,[h],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},i.languages.avs=i.languages.avisynth})(t)}},79571:function(S){"use strict";S.exports=s,s.displayName="avroIdl",s.aliases=[];function s(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}},3058:function(S){"use strict";S.exports=s,s.displayName="bash",s.aliases=["shell"];function s(t){(function(i){var p="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",g={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},h={bash:g,environment:{pattern:RegExp("\\$"+p),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+p),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+p),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:h},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:g}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:h},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:h.entity}}],environment:{pattern:RegExp("\\$?"+p),alias:"constant"},variable:h.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},g.inside=i.languages.bash;for(var C=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=h.variable[1].inside,f=0;f?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(S){"use strict";S.exports=s,s.displayName="batch",s.aliases=[];function s(t){(function(i){var p=/%%?[~:\w]+%?|!\S+!/,g={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},h=/"(?:[\\"]"|[^"])*"(?!")/,C=/(?:\b|-)\d+\b/;i.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:h,parameter:g,variable:p,number:C,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:h,parameter:g,variable:p,number:C,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:h,parameter:g,variable:[p,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:C,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:h,parameter:g,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:p,number:C,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}},2505:function(S){"use strict";S.exports=s,s.displayName="bbcode",s.aliases=["shortcode"];function s(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}},51274:function(S){"use strict";S.exports=s,s.displayName="bicep",s.aliases=[];function s(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}},23796:function(S){"use strict";S.exports=s,s.displayName="birb",s.aliases=[];function s(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="bison",p.aliases=[];function p(g){g.register(i),g.languages.bison=g.languages.extend("c",{}),g.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:g.languages.c}},comment:g.languages.c.comment,string:g.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(S){"use strict";S.exports=s,s.displayName="bnf",s.aliases=["rbnf"];function s(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}},47035:function(S){"use strict";S.exports=s,s.displayName="brainfuck",s.aliases=[];function s(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(S){"use strict";S.exports=s,s.displayName="brightscript",s.aliases=[];function s(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}},85290:function(S){"use strict";S.exports=s,s.displayName="bro",s.aliases=[];function s(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(S){"use strict";S.exports=s,s.displayName="bsl",s.aliases=[];function s(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}},79440:function(S){"use strict";S.exports=s,s.displayName="c",s.aliases=[];function s(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}},7110:function(S){"use strict";S.exports=s,s.displayName="cfscript",s.aliases=[];function s(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}},73435:function(S,s,t){"use strict";var i=t(87071);S.exports=p,p.displayName="chaiscript",p.aliases=[];function p(g){g.register(i),g.languages.chaiscript=g.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[g.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),g.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),g.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:g.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(S){"use strict";S.exports=s,s.displayName="cil",s.aliases=[];function s(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(S){"use strict";S.exports=s,s.displayName="clike",s.aliases=[];function s(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(S){"use strict";S.exports=s,s.displayName="clojure",s.aliases=[];function s(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(S){"use strict";S.exports=s,s.displayName="cmake",s.aliases=[];function s(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(S){"use strict";S.exports=s,s.displayName="cobol",s.aliases=[];function s(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(S){"use strict";S.exports=s,s.displayName="coffeescript",s.aliases=["coffee"];function s(t){(function(i){var p=/#(?!\{).+/,g={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:p,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:g}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:p,interpolation:g}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:g}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript})(t)}},35348:function(S){"use strict";S.exports=s,s.displayName="concurnas",s.aliases=["conc"];function s(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}},26841:function(S){"use strict";S.exports=s,s.displayName="coq",s.aliases=[];function s(t){(function(i){for(var p=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,g=0;g<2;g++)p=p.replace(//g,function(){return p});p=p.replace(//g,"[]"),i.languages.coq={comment:RegExp(p),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return p})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(p),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}},87071:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="cpp",p.aliases=[];function p(g){g.register(i),function(h){var C=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,y=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return C.source});h.languages.cpp=h.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return C.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:C,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),h.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return y})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),h.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:h.languages.cpp}}}}),h.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),h.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:h.languages.extend("cpp",{})}}),h.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},h.languages.cpp["base-clause"])}(g)}},13652:function(S,s,t){"use strict";var i=t(75308);S.exports=p,p.displayName="crystal",p.aliases=[];function p(g){g.register(i),function(h){h.languages.crystal=h.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,h.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),h.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:h.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:h.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(g)}},87648:function(S){"use strict";S.exports=s,s.displayName="csharp",s.aliases=["dotnet","cs"];function s(t){(function(i){function p(_t,Kt){return _t.replace(/<<(\d+)>>/g,function(wt,O){return"(?:"+Kt[+O]+")"})}function g(_t,Kt,wt){return RegExp(p(_t,Kt),wt||"")}function h(_t,Kt){for(var wt=0;wt>/g,function(){return"(?:"+_t+")"});return _t.replace(/<>/g,"[^\\s\\S]")}var C={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function y(_t){return"\\b(?:"+_t.trim().replace(/ /g,"|")+")\\b"}var f=y(C.typeDeclaration),F=RegExp(y(C.type+" "+C.typeDeclaration+" "+C.contextual+" "+C.other)),U=y(C.typeDeclaration+" "+C.contextual+" "+C.other),te=y(C.type+" "+C.typeDeclaration+" "+C.other),ne=h(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),pe=h(/\((?:[^()]|<>)*\)/.source,2),Ee=/@?\b[A-Za-z_]\w*\b/.source,se=p(/<<0>>(?:\s*<<1>>)?/.source,[Ee,ne]),Se=p(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[U,se]),be=/\[\s*(?:,\s*)*\]/.source,Ce=p(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[Se,be]),j=p(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[ne,pe,be]),G=p(/\(<<0>>+(?:,<<0>>+)+\)/.source,[j]),Z=p(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[G,Se,be]),B={keyword:F,punctuation:/[<>()?,.:[\]]/},Y=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,W=/"(?:\\.|[^\\"\r\n])*"/.source,le=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:g(/(^|[^$\\])<<0>>/.source,[le]),lookbehind:!0,greedy:!0},{pattern:g(/(^|[^@$\\])<<0>>/.source,[W]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:g(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[Se]),lookbehind:!0,inside:B},{pattern:g(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[Ee,Z]),lookbehind:!0,inside:B},{pattern:g(/(\busing\s+)<<0>>(?=\s*=)/.source,[Ee]),lookbehind:!0},{pattern:g(/(\b<<0>>\s+)<<1>>/.source,[f,se]),lookbehind:!0,inside:B},{pattern:g(/(\bcatch\s*\(\s*)<<0>>/.source,[Se]),lookbehind:!0,inside:B},{pattern:g(/(\bwhere\s+)<<0>>/.source,[Ee]),lookbehind:!0},{pattern:g(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[Ce]),lookbehind:!0,inside:B},{pattern:g(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Z,te,Ee]),inside:B}],keyword:F,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:g(/([(,]\s*)<<0>>(?=\s*:)/.source,[Ee]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:g(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[Ee]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:g(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[pe]),lookbehind:!0,alias:"class-name",inside:B},"return-type":{pattern:g(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Z,Se]),inside:B,alias:"class-name"},"constructor-invocation":{pattern:g(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Z]),lookbehind:!0,inside:B,alias:"class-name"},"generic-method":{pattern:g(/<<0>>\s*<<1>>(?=\s*\()/.source,[Ee,ne]),inside:{function:g(/^<<0>>/.source,[Ee]),generic:{pattern:RegExp(ne),alias:"class-name",inside:B}}},"type-list":{pattern:g(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[f,se,Ee,Z,F.source,pe,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:g(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[se,pe]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:F,"class-name":{pattern:RegExp(Z),greedy:!0,inside:B},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var J=W+"|"+Y,X=p(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[J]),ye=h(p(/[^"'/()]|<<0>>|\(<>*\)/.source,[X]),2),fe=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=p(/<<0>>(?:\s*\(<<1>>*\))?/.source,[Se,ye]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:g(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[fe,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:g(/^<<0>>(?=\s*:)/.source,[fe]),alias:"keyword"},"attribute-arguments":{pattern:g(/\(<<0>>*\)/.source,[ye]),inside:i.languages.csharp},"class-name":{pattern:RegExp(Se),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var He=/:[^}\r\n]+/.source,rt=h(p(/[^"'/()]|<<0>>|\(<>*\)/.source,[X]),2),Lt=p(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[rt,He]),$e=h(p(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[J]),2),it=p(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[$e,He]);function ot(_t,Kt){return{interpolation:{pattern:g(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[_t]),lookbehind:!0,inside:{"format-string":{pattern:g(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Kt,He]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:g(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Lt]),lookbehind:!0,greedy:!0,inside:ot(Lt,rt)},{pattern:g(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[it]),lookbehind:!0,greedy:!0,inside:ot(it,$e)}],char:{pattern:RegExp(Y),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(t)}},10617:function(S,s,t){"use strict";var i=t(87648);S.exports=p,p.displayName="cshtml",p.aliases=["razor"];function p(g){g.register(i),function(h){var C=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,y=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function f(Ce,j){for(var G=0;G/g,function(){return"(?:"+Ce+")"});return Ce.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+y+")").replace(//g,"(?:"+C+")")}var F=f(/\((?:[^()'"@/]|||)*\)/.source,2),U=f(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),te=f(/\{(?:[^{}'"@/]|||)*\}/.source,2),ne=f(/<(?:[^<>'"@/]|||)*>/.source,2),pe=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,Ee=/(?!\d)[^\s>\/=$<%]+/.source+pe+/\s*\/?>/.source,se=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+pe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Ee+"|"+f(/<\1/.source+pe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Ee+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=g,i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var h={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},C={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:h,number:C,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:h,number:C})})(t)}},54212:function(S){"use strict";S.exports=s,s.displayName="css",s.aliases=[];function s(t){(function(i){var p=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+p.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+p.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+p.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:p,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var g=i.languages.markup;g&&(g.tag.addInlined("style","css"),g.tag.addAttribute("style","css"))})(t)}},69820:function(S){"use strict";S.exports=s,s.displayName="csv",s.aliases=[];function s(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(S){"use strict";S.exports=s,s.displayName="cypher",s.aliases=[];function s(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(S){"use strict";S.exports=s,s.displayName="d",s.aliases=[];function s(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(S){"use strict";S.exports=s,s.displayName="dart",s.aliases=[];function s(t){(function(i){var p=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],g=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,h={pattern:RegExp(g+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};i.languages.dart=i.languages.extend("clike",{"class-name":[h,{pattern:RegExp(g+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:h.inside}],keyword:p,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":h,keyword:p,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}},22117:function(S){"use strict";S.exports=s,s.displayName="dataweave",s.aliases=[];function s(t){(function(i){i.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}},95627:function(S){"use strict";S.exports=s,s.displayName="dax",s.aliases=[];function s(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(S){"use strict";S.exports=s,s.displayName="dhall",s.aliases=[];function s(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}},50618:function(S){"use strict";S.exports=s,s.displayName="diff",s.aliases=[];function s(t){(function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var p={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(p).forEach(function(g){var h=p[g],C=[];/^\w+$/.test(g)||C.push(/\w+/.exec(g)[0]),g==="diff"&&C.push("bold"),i.languages.diff[g]={pattern:RegExp("^(?:["+h+`].*(?:\r +`,F="/",U="*",te="",ne="comment",pe="declaration";S.exports=function(se,Se){if(typeof se!="string")throw new TypeError("First argument must be a string");if(!se)return[];Se=Se||{};var be=1,Ce=1;function j(D){var He=D.match(t);He&&(be+=He.length);var rt=D.lastIndexOf(f);Ce=~rt?D.length-rt:Ce+D.length}function G(){var D={line:be,column:Ce};return function(He){return He.position=new Z(D),le(),He}}function Z(D){this.start=D,this.end={line:be,column:Ce},this.source=Se.source}Z.prototype.content=se;var B=[];function Y(D){var He=new Error(Se.source+":"+be+":"+Ce+": "+D);if(He.reason=D,He.filename=Se.source,He.line=be,He.column=Ce,He.source=se,Se.silent)B.push(He);else throw He}function W(D){var He=D.exec(se);if(He){var rt=He[0];return j(rt),se=se.slice(rt.length),He}}function le(){W(i)}function J(D){var He;for(D=D||[];He=X();)He!==!1&&D.push(He);return D}function X(){var D=G();if(!(F!=se.charAt(0)||U!=se.charAt(1))){for(var He=2;te!=se.charAt(He)&&(U!=se.charAt(He)||F!=se.charAt(He+1));)++He;if(He+=2,te===se.charAt(He-1))return Y("End of comment missing");var rt=se.slice(2,He-2);return Ce+=2,j(rt),se=se.slice(He),Ce+=2,D({type:ne,comment:rt})}}function ye(){var D=G(),He=W(p);if(He){if(X(),!W(g))return Y("property missing ':'");var rt=W(h),Lt=D({type:pe,property:Ee(He[0].replace(s,te)),value:rt?Ee(rt[0].replace(s,te)):te});return W(C),Lt}}function fe(){var D=[];J(D);for(var He;He=ye();)He!==!1&&(D.push(He),J(D));return D}return le(),fe()};function Ee(se){return se?se.replace(y,te):te}},91241:function(S){"use strict";S.exports=s;function s(t){var i=typeof t=="string"?t.charCodeAt(0):t;return i>=97&&i<=122||i>=65&&i<=90}},21127:function(S,s,t){"use strict";var i=t(91241),p=t(22347);S.exports=g;function g(h){return i(h)||p(h)}},22347:function(S){"use strict";S.exports=s;function s(t){var i=typeof t=="string"?t.charCodeAt(0):t;return i>=48&&i<=57}},65207:function(S){"use strict";S.exports=s;function s(t){var i=typeof t=="string"?t.charCodeAt(0):t;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}},67842:function(S){"use strict";var s,t=59;S.exports=i;function i(p){var g="&"+p+";",h;return s=s||document.createElement("i"),s.innerHTML=g,h=s.textContent,h.charCodeAt(h.length-1)===t&&p!=="semi"||h===g?!1:h}},12256:function(S,s,t){"use strict";var i=t(47854),p=t(80501),g=t(22347),h=t(65207),C=t(21127),y=t(67842);S.exports=_t;var f={}.hasOwnProperty,F=String.fromCharCode,U=Function.prototype,te={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},ne=9,pe=10,Ee=12,se=32,Se=38,be=59,Ce=60,j=61,G=35,Z=88,B=120,Y=65533,W="named",le="hexadecimal",J="decimal",X={};X[le]=16,X[J]=10;var ye={};ye[W]=C,ye[J]=g,ye[le]=h;var fe=1,D=2,He=3,rt=4,Lt=5,$e=6,it=7,ot={};ot[fe]="Named character references must be terminated by a semicolon",ot[D]="Numeric character references must be terminated by a semicolon",ot[He]="Named character references cannot be empty",ot[rt]="Numeric character references cannot be empty",ot[Lt]="Named character references must be known",ot[$e]="Numeric character references cannot be disallowed",ot[it]="Numeric character references cannot be outside the permissible Unicode range";function _t(ze,nt){var Ne={},ct,Xe;nt||(nt={});for(Xe in te)ct=nt[Xe],Ne[Xe]=ct==null?te[Xe]:ct;return(Ne.position.indent||Ne.position.start)&&(Ne.indent=Ne.position.indent||[],Ne.position=Ne.position.start),Kt(ze,Ne)}function Kt(ze,nt){var Ne=nt.additional,ct=nt.nonTerminated,Xe=nt.text,tn=nt.reference,zt=nt.warning,un=nt.textContext,dn=nt.referenceContext,At=nt.warningContext,xt=nt.position,Xt=nt.indent||[],jt=ze.length,ke=0,_e=-1,ie=xt.column||1,N=xt.line||1,Te="",st=[],V,H,Pe,he,Q,Le,ht,at,Et,dt,mt,ee,Ge,Je,qe,_,Ot,tt,Re;for(typeof Ne=="string"&&(Ne=Ne.charCodeAt(0)),_=Jt(),at=zt?cn:U,ke--,jt++;++ke65535&&(Le-=65536,dt+=F(Le>>>10|55296),Le=56320|Le&1023),Le=dt+F(Le))):Je!==W&&at(rt,tt)),Le?(sn(),_=Jt(),ke=Re-1,ie+=Re-Ge+1,st.push(Le),Ot=Jt(),Ot.offset++,tn&&tn.call(dn,Le,{start:_,end:Ot},ze.slice(Ge-1,Re)),_=Ot):(he=ze.slice(Ge-1,Re),Te+=he,ie+=he.length,ke=Re-1)}else Q===10&&(N++,_e++,ie=0),Q===Q?(Te+=F(Q),ie++):sn();return st.join("");function Jt(){return{line:N,column:ie,offset:ke+(xt.offset||0)}}function cn(Ze,Rn){var Cn=Jt();Cn.column+=Rn,Cn.offset+=Rn,zt.call(At,ot[Ze],Cn,Ze)}function sn(){Te&&(st.push(Te),Xe&&Xe.call(un,Te,{start:_,end:Jt()}),Te="")}}function wt(ze){return ze>=55296&&ze<=57343||ze>1114111}function O(ze){return ze>=1&&ze<=8||ze===11||ze>=13&&ze<=31||ze>=127&&ze<=159||ze>=64976&&ze<=65007||(ze&65535)===65535||(ze&65535)===65534}},68398:function(S,s,t){var i=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var p=function(g){var h=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,C=0,y={},f={manual:g.Prism&&g.Prism.manual,disableWorkerMessageHandler:g.Prism&&g.Prism.disableWorkerMessageHandler,util:{encode:function j(G){return G instanceof F?new F(G.type,j(G.content),G.alias):Array.isArray(G)?G.map(j):G.replace(/&/g,"&").replace(/"+Y.content+""};function U(j,G,Z,B){j.lastIndex=G;var Y=j.exec(Z);if(Y&&B&&Y[1]){var W=Y[1].length;Y.index+=W,Y[0]=Y[0].slice(W)}return Y}function te(j,G,Z,B,Y,W){for(var le in Z)if(!(!Z.hasOwnProperty(le)||!Z[le])){var J=Z[le];J=Array.isArray(J)?J:[J];for(var X=0;X=W.reach);ot+=it.value.length,it=it.next){var _t=it.value;if(G.length>j.length)return;if(!(_t instanceof F)){var Kt=1,wt;if(He){if(wt=U($e,ot,j,D),!wt||wt.index>=j.length)break;var Ne=wt.index,O=wt.index+wt[0].length,ze=ot;for(ze+=it.value.length;Ne>=ze;)it=it.next,ze+=it.value.length;if(ze-=it.value.length,ot=ze,it.value instanceof F)continue;for(var nt=it;nt!==G.tail&&(zeW.reach&&(W.reach=zt);var un=it.prev;Xe&&(un=pe(G,un,Xe),ot+=Xe.length),Ee(G,un,Kt);var dn=new F(le,fe?f.tokenize(ct,fe):ct,rt,ct);if(it=pe(G,un,dn),tn&&pe(G,it,tn),Kt>1){var At={cause:le+","+X,reach:zt};te(j,G,Z,it.prev,ot,At),W&&At.reach>W.reach&&(W.reach=At.reach)}}}}}}function ne(){var j={value:null,prev:null,next:null},G={value:null,prev:j,next:null};j.next=G,this.head=j,this.tail=G,this.length=0}function pe(j,G,Z){var B=G.next,Y={value:Z,prev:G,next:B};return G.next=Y,B.prev=Y,j.length++,Y}function Ee(j,G,Z){for(var B=G.next,Y=0;Y4&&Se.slice(0,4)===h&&C.test(se)&&(se.charAt(4)==="-"?be=U(se):se=te(se),Ce=p),new Ce(be,se))}function U(Ee){var se=Ee.slice(5).replace(y,pe);return h+se.charAt(0).toUpperCase()+se.slice(1)}function te(Ee){var se=Ee.slice(4);return y.test(se)?Ee:(se=se.replace(f,ne),se.charAt(0)!=="-"&&(se="-"+se),h+se)}function ne(Ee){return"-"+Ee.toLowerCase()}function pe(Ee){return Ee.charAt(1).toUpperCase()}},18795:function(S,s,t){"use strict";var i=t(83576),p=t(8179),g=t(59780),h=t(68244),C=t(20019),y=t(38567);S.exports=i([g,p,h,C,y])},20019:function(S,s,t){"use strict";var i=t(70167),p=t(79318),g=i.booleanish,h=i.number,C=i.spaceSeparated;S.exports=p({transform:y,properties:{ariaActiveDescendant:null,ariaAtomic:g,ariaAutoComplete:null,ariaBusy:g,ariaChecked:g,ariaColCount:h,ariaColIndex:h,ariaColSpan:h,ariaControls:C,ariaCurrent:null,ariaDescribedBy:C,ariaDetails:null,ariaDisabled:g,ariaDropEffect:C,ariaErrorMessage:null,ariaExpanded:g,ariaFlowTo:C,ariaGrabbed:g,ariaHasPopup:null,ariaHidden:g,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:C,ariaLevel:h,ariaLive:null,ariaModal:g,ariaMultiLine:g,ariaMultiSelectable:g,ariaOrientation:null,ariaOwns:C,ariaPlaceholder:null,ariaPosInSet:h,ariaPressed:g,ariaReadOnly:g,ariaRelevant:null,ariaRequired:g,ariaRoleDescription:C,ariaRowCount:h,ariaRowIndex:h,ariaRowSpan:h,ariaSelected:g,ariaSetSize:h,ariaSort:null,ariaValueMax:h,ariaValueMin:h,ariaValueNow:h,ariaValueText:null,role:null}});function y(f,F){return F==="role"?F:"aria-"+F.slice(4).toLowerCase()}},38567:function(S,s,t){"use strict";var i=t(70167),p=t(79318),g=t(85804),h=i.boolean,C=i.overloadedBoolean,y=i.booleanish,f=i.number,F=i.spaceSeparated,U=i.commaSeparated;S.exports=p({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:g,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:U,acceptCharset:F,accessKey:F,action:null,allow:null,allowFullScreen:h,allowPaymentRequest:h,allowUserMedia:h,alt:null,as:null,async:h,autoCapitalize:null,autoComplete:F,autoFocus:h,autoPlay:h,capture:h,charSet:null,checked:h,cite:null,className:F,cols:f,colSpan:null,content:null,contentEditable:y,controls:h,controlsList:F,coords:f|U,crossOrigin:null,data:null,dateTime:null,decoding:null,default:h,defer:h,dir:null,dirName:null,disabled:h,download:C,draggable:y,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:h,formTarget:null,headers:F,height:f,hidden:h,high:f,href:null,hrefLang:null,htmlFor:F,httpEquiv:F,id:null,imageSizes:null,imageSrcSet:U,inputMode:null,integrity:null,is:null,isMap:h,itemId:null,itemProp:F,itemRef:F,itemScope:h,itemType:F,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:h,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:h,muted:h,name:null,nonce:null,noModule:h,noValidate:h,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:h,optimum:f,pattern:null,ping:F,placeholder:null,playsInline:h,poster:null,preload:null,readOnly:h,referrerPolicy:null,rel:F,required:h,reversed:h,rows:f,rowSpan:f,sandbox:F,scope:null,scoped:h,seamless:h,selected:h,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:y,src:null,srcDoc:null,srcLang:null,srcSet:U,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:h,useMap:null,value:y,width:f,wrap:null,align:null,aLink:null,archive:F,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:h,declare:h,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:h,noHref:h,noShade:h,noWrap:h,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:y,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:h,disableRemotePlayback:h,prefix:null,property:null,results:f,security:null,unselectable:null}})},85804:function(S,s,t){"use strict";var i=t(56432);S.exports=p;function p(g,h){return i(g,h.toLowerCase())}},56432:function(S){"use strict";S.exports=s;function s(t,i){return i in t?t[i]:i}},79318:function(S,s,t){"use strict";var i=t(47178),p=t(44347),g=t(19095);S.exports=h;function h(C){var y=C.space,f=C.mustUseProperty||[],F=C.attributes||{},U=C.properties,te=C.transform,ne={},pe={},Ee,se;for(Ee in U)se=new g(Ee,te(F,Ee),U[Ee],y),f.indexOf(Ee)!==-1&&(se.mustUseProperty=!0),ne[Ee]=se,pe[i(Ee)]=Ee,pe[i(se.attribute)]=Ee;return new p(ne,pe,y)}},19095:function(S,s,t){"use strict";var i=t(1969),p=t(70167);S.exports=C,C.prototype=new i,C.prototype.defined=!0;var g=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],h=g.length;function C(f,F,U,te){var ne=-1,pe;for(y(this,"space",te),i.call(this,f,F);++ne0&&arguments[0]!==void 0?arguments[0]:[],_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ie=ke.length,N=_e.length;if(Math.abs(ie-N)!==1)return{add:!1,key:null};function Te(st,V){var H=new Map;st.forEach(function(he){H.set(he,!0)});var Pe=V.filter(function(he){return!H.has(he)});return Pe.length===1?Pe[0]:null}return ie ").concat(_e);return _e}var Xe=be.forwardRef(function(ke,_e){var ie=ke.prefixCls,N=ke.data,Te=ke.selectable,st=ke.checkable,V=ke.expandedKeys,H=ke.selectedKeys,Pe=ke.checkedKeys,he=ke.loadedKeys,Q=ke.loadingKeys,Le=ke.halfCheckedKeys,ht=ke.keyEntities,at=ke.disabled,Et=ke.dragging,dt=ke.dragOverNodeKey,mt=ke.dropPosition,ee=ke.motion,Ge=ke.height,Je=ke.itemHeight,qe=ke.virtual,_=ke.focusable,Ot=ke.activeItem,tt=ke.focused,Re=ke.tabIndex,Jt=ke.onKeyDown,cn=ke.onFocus,sn=ke.onBlur,Ze=ke.onActiveChange,Rn=ke.onListChangeStart,Cn=ke.onListChangeEnd,Mt=(0,B.Z)(ke,it),Hn=be.useRef(null),On=be.useRef(null);be.useImperativeHandle(_e,function(){return{scrollTo:function(hn){Hn.current.scrollTo(hn)},getIndentWidth:function(){return On.current.offsetWidth}}});var kn=be.useState(V),zn=(0,Z.Z)(kn,2),dr=zn[0],Jn=zn[1],Cr=be.useState(N),Hr=(0,Z.Z)(Cr,2),_n=Hr[0],ar=Hr[1],Gn=be.useState(N),Ar=(0,Z.Z)(Gn,2),Yr=Ar[0],Kr=Ar[1],Nr=be.useState([]),ir=(0,Z.Z)(Nr,2),Wn=ir[0],Vn=ir[1],sa=be.useState(null),hr=(0,Z.Z)(sa,2),It=hr[0],ut=hr[1],Qt=be.useRef(N);Qt.current=N;function qt(){var gt=Qt.current;ar(gt),Kr(gt),Vn([]),ut(null),Cn()}(0,Y.Z)(function(){Jn(V);var gt=Lt(dr,V);if(gt.key!==null)if(gt.add){var hn=_n.findIndex(function(Ke){var kt=Ke.key;return kt===gt.key}),Oe=nt($e(_n,N,gt.key),qe,Ge,Je),oe=_n.slice();oe.splice(hn+1,0,ze),Kr(oe),Vn(Oe),ut("show")}else{var c=N.findIndex(function(Ke){var kt=Ke.key;return kt===gt.key}),pt=nt($e(N,_n,gt.key),qe,Ge,Je),Dt=N.slice();Dt.splice(c+1,0,ze),Kr(Dt),Vn(pt),ut("hide")}else _n!==N&&(ar(N),Kr(N))},[V,N]),be.useEffect(function(){Et||qt()},[Et]);var Tt=ee?Yr:N,mn={expandedKeys:V,selectedKeys:H,loadedKeys:he,loadingKeys:Q,checkedKeys:Pe,halfCheckedKeys:Le,dragOverNodeKey:dt,dropPosition:mt,keyEntities:ht};return be.createElement(be.Fragment,null,tt&&Ot&&be.createElement("span",{style:ot,"aria-live":"assertive"},ct(Ot)),be.createElement("div",null,be.createElement("input",{style:ot,disabled:_===!1||at,tabIndex:_!==!1?Re:null,onKeyDown:Jt,onFocus:cn,onBlur:sn,value:"",onChange:_t,"aria-label":"for screen reader"})),be.createElement("div",{className:"".concat(ie,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},be.createElement("div",{className:"".concat(ie,"-indent")},be.createElement("div",{ref:On,className:"".concat(ie,"-indent-unit")}))),be.createElement(W.Z,(0,i.Z)({},Mt,{data:Tt,itemKey:Ne,height:Ge,fullHeight:!1,virtual:qe,itemHeight:Je,prefixCls:"".concat(ie,"-list"),ref:Hn,onVisibleChange:function(hn,Oe){var oe=new Set(hn),c=Oe.filter(function(pt){return!oe.has(pt)});c.some(function(pt){return Ne(pt)===Kt})&&qt()}}),function(gt){var hn=gt.pos,Oe=(0,i.Z)({},(G(gt.data),gt.data)),oe=gt.title,c=gt.key,pt=gt.isStart,Dt=gt.isEnd,Ke=(0,ye.km)(c,hn);delete Oe.key,delete Oe.children;var kt=(0,ye.H8)(Ke,mn);return be.createElement(rt,(0,i.Z)({},Oe,kt,{title:oe,active:!!Ot&&c===Ot.key,pos:hn,data:gt.data,isStart:pt,isEnd:Dt,motion:ee,motionNodes:c===Kt?Wn:null,motionType:It,onMotionStart:Rn,onMotionEnd:qt,treeNodeRequiredProps:mn,onMouseMove:function(){Ze(null)}}))}))});Xe.displayName="NodeList";var tn=Xe,zt=t(35654),un=t(90782),dn=t(67841),At=10,xt=function(ke){(0,U.Z)(ie,ke);var _e=(0,te.Z)(ie);function ie(){var N;(0,y.Z)(this,ie);for(var Te=arguments.length,st=new Array(Te),V=0;V2&&arguments[2]!==void 0?arguments[2]:!1,Le=N.state,ht=Le.dragChildrenKeys,at=Le.dropPosition,Et=Le.dropTargetKey,dt=Le.dropTargetPos,mt=Le.dropAllowed;if(mt){var ee=N.props.onDrop;if(N.setState({dragOverNodeKey:null}),N.cleanDragState(),Et!==null){var Ge=(0,h.Z)((0,h.Z)({},(0,ye.H8)(Et,N.getTreeNodeRequiredProps())),{},{active:((he=N.getActiveItem())===null||he===void 0?void 0:he.key)===Et,data:(0,dn.Z)(N.state.keyEntities,Et).node}),Je=ht.indexOf(Et)!==-1;(0,Se.ZP)(!Je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var qe=(0,zt.yx)(dt),_={event:H,node:(0,ye.F)(Ge),dragNode:N.dragNode?(0,ye.F)(N.dragNode.props):null,dragNodesKeys:[N.dragNode.props.eventKey].concat(ht),dropToGap:at!==0,dropPosition:at+Number(qe[qe.length-1])};Q||ee==null||ee(_),N.dragNode=null}}},N.cleanDragState=function(){var H=N.state.draggingNodeKey;H!==null&&N.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),N.dragStartMousePosition=null,N.currentMouseOverDroppableNodeKey=null},N.triggerExpandActionExpand=function(H,Pe){var he=N.state,Q=he.expandedKeys,Le=he.flattenNodes,ht=Pe.expanded,at=Pe.key,Et=Pe.isLeaf;if(!(Et||H.shiftKey||H.metaKey||H.ctrlKey)){var dt=Le.filter(function(ee){return ee.key===at})[0],mt=(0,ye.F)((0,h.Z)((0,h.Z)({},(0,ye.H8)(at,N.getTreeNodeRequiredProps())),{},{data:dt.data}));N.setExpandedKeys(ht?(0,zt._5)(Q,at):(0,zt.L0)(Q,at)),N.onNodeExpand(H,mt)}},N.onNodeClick=function(H,Pe){var he=N.props,Q=he.onClick,Le=he.expandAction;Le==="click"&&N.triggerExpandActionExpand(H,Pe),Q==null||Q(H,Pe)},N.onNodeDoubleClick=function(H,Pe){var he=N.props,Q=he.onDoubleClick,Le=he.expandAction;Le==="doubleClick"&&N.triggerExpandActionExpand(H,Pe),Q==null||Q(H,Pe)},N.onNodeSelect=function(H,Pe){var he=N.state.selectedKeys,Q=N.state,Le=Q.keyEntities,ht=Q.fieldNames,at=N.props,Et=at.onSelect,dt=at.multiple,mt=Pe.selected,ee=Pe[ht.key],Ge=!mt;Ge?dt?he=(0,zt.L0)(he,ee):he=[ee]:he=(0,zt._5)(he,ee);var Je=he.map(function(qe){var _=(0,dn.Z)(Le,qe);return _?_.node:null}).filter(function(qe){return qe});N.setUncontrolledState({selectedKeys:he}),Et==null||Et(he,{event:"select",selected:Ge,node:Pe,selectedNodes:Je,nativeEvent:H.nativeEvent})},N.onNodeCheck=function(H,Pe,he){var Q=N.state,Le=Q.keyEntities,ht=Q.checkedKeys,at=Q.halfCheckedKeys,Et=N.props,dt=Et.checkStrictly,mt=Et.onCheck,ee=Pe.key,Ge,Je={event:"check",node:Pe,checked:he,nativeEvent:H.nativeEvent};if(dt){var qe=he?(0,zt.L0)(ht,ee):(0,zt._5)(ht,ee),_=(0,zt._5)(at,ee);Ge={checked:qe,halfChecked:_},Je.checkedNodes=qe.map(function(sn){return(0,dn.Z)(Le,sn)}).filter(function(sn){return sn}).map(function(sn){return sn.node}),N.setUncontrolledState({checkedKeys:qe})}else{var Ot=(0,un.S)([].concat((0,C.Z)(ht),[ee]),!0,Le),tt=Ot.checkedKeys,Re=Ot.halfCheckedKeys;if(!he){var Jt=new Set(tt);Jt.delete(ee);var cn=(0,un.S)(Array.from(Jt),{checked:!1,halfCheckedKeys:Re},Le);tt=cn.checkedKeys,Re=cn.halfCheckedKeys}Ge=tt,Je.checkedNodes=[],Je.checkedNodesPositions=[],Je.halfCheckedKeys=Re,tt.forEach(function(sn){var Ze=(0,dn.Z)(Le,sn);if(Ze){var Rn=Ze.node,Cn=Ze.pos;Je.checkedNodes.push(Rn),Je.checkedNodesPositions.push({node:Rn,pos:Cn})}}),N.setUncontrolledState({checkedKeys:tt},!1,{halfCheckedKeys:Re})}mt==null||mt(Ge,Je)},N.onNodeLoad=function(H){var Pe=H.key,he=new Promise(function(Q,Le){N.setState(function(ht){var at=ht.loadedKeys,Et=at===void 0?[]:at,dt=ht.loadingKeys,mt=dt===void 0?[]:dt,ee=N.props,Ge=ee.loadData,Je=ee.onLoad;if(!Ge||Et.indexOf(Pe)!==-1||mt.indexOf(Pe)!==-1)return null;var qe=Ge(H);return qe.then(function(){var _=N.state.loadedKeys,Ot=(0,zt.L0)(_,Pe);Je==null||Je(Ot,{event:"load",node:H}),N.setUncontrolledState({loadedKeys:Ot}),N.setState(function(tt){return{loadingKeys:(0,zt._5)(tt.loadingKeys,Pe)}}),Q()}).catch(function(_){if(N.setState(function(tt){return{loadingKeys:(0,zt._5)(tt.loadingKeys,Pe)}}),N.loadingRetryTimes[Pe]=(N.loadingRetryTimes[Pe]||0)+1,N.loadingRetryTimes[Pe]>=At){var Ot=N.state.loadedKeys;(0,Se.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),N.setUncontrolledState({loadedKeys:(0,zt.L0)(Ot,Pe)}),Q()}Le(_)}),{loadingKeys:(0,zt.L0)(mt,Pe)}})});return he.catch(function(){}),he},N.onNodeMouseEnter=function(H,Pe){var he=N.props.onMouseEnter;he==null||he({event:H,node:Pe})},N.onNodeMouseLeave=function(H,Pe){var he=N.props.onMouseLeave;he==null||he({event:H,node:Pe})},N.onNodeContextMenu=function(H,Pe){var he=N.props.onRightClick;he&&(H.preventDefault(),he({event:H,node:Pe}))},N.onFocus=function(){var H=N.props.onFocus;N.setState({focused:!0});for(var Pe=arguments.length,he=new Array(Pe),Q=0;Q1&&arguments[1]!==void 0?arguments[1]:!1,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!N.destroyed){var Q=!1,Le=!0,ht={};Object.keys(H).forEach(function(at){if(at in N.props){Le=!1;return}Q=!0,ht[at]=H[at]}),Q&&(!Pe||Le)&&N.setState((0,h.Z)((0,h.Z)({},ht),he))}},N.scrollTo=function(H){N.listRef.current.scrollTo(H)},N}return(0,f.Z)(ie,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Te=this.props.activeKey;Te!==void 0&&Te!==this.state.activeKey&&(this.setState({activeKey:Te}),Te!==null&&this.scrollTo({key:Te}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Te,st=this.state,V=st.focused,H=st.flattenNodes,Pe=st.keyEntities,he=st.draggingNodeKey,Q=st.activeKey,Le=st.dropLevelOffset,ht=st.dropContainerKey,at=st.dropTargetKey,Et=st.dropPosition,dt=st.dragOverNodeKey,mt=st.indent,ee=this.props,Ge=ee.prefixCls,Je=ee.className,qe=ee.style,_=ee.showLine,Ot=ee.focusable,tt=ee.tabIndex,Re=tt===void 0?0:tt,Jt=ee.selectable,cn=ee.showIcon,sn=ee.icon,Ze=ee.switcherIcon,Rn=ee.draggable,Cn=ee.checkable,Mt=ee.checkStrictly,Hn=ee.disabled,On=ee.motion,kn=ee.loadData,zn=ee.filterTreeNode,dr=ee.height,Jn=ee.itemHeight,Cr=ee.virtual,Hr=ee.titleRender,_n=ee.dropIndicatorRender,ar=ee.onContextMenu,Gn=ee.onScroll,Ar=ee.direction,Yr=ee.rootClassName,Kr=ee.rootStyle,Nr=(0,se.Z)(this.props,{aria:!0,data:!0}),ir;return Rn&&((0,g.Z)(Rn)==="object"?ir=Rn:typeof Rn=="function"?ir={nodeDraggable:Rn}:ir={}),be.createElement(Ce.k.Provider,{value:{prefixCls:Ge,selectable:Jt,showIcon:cn,icon:sn,switcherIcon:Ze,draggable:ir,draggingNodeKey:he,checkable:Cn,checkStrictly:Mt,disabled:Hn,keyEntities:Pe,dropLevelOffset:Le,dropContainerKey:ht,dropTargetKey:at,dropPosition:Et,dragOverNodeKey:dt,indent:mt,direction:Ar,dropIndicatorRender:_n,loadData:kn,filterTreeNode:zn,titleRender:Hr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},be.createElement("div",{role:"tree",className:pe()(Ge,Je,Yr,(Te={},(0,p.Z)(Te,"".concat(Ge,"-show-line"),_),(0,p.Z)(Te,"".concat(Ge,"-focused"),V),(0,p.Z)(Te,"".concat(Ge,"-active-focused"),Q!==null),Te)),style:Kr},be.createElement(tn,(0,i.Z)({ref:this.listRef,prefixCls:Ge,style:qe,data:H,disabled:Hn,selectable:Jt,checkable:!!Cn,motion:On,dragging:he!==null,height:dr,itemHeight:Jn,virtual:Cr,focusable:Ot,focused:V,tabIndex:Re,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ar,onScroll:Gn},this.getTreeNodeRequiredProps(),Nr))))}}],[{key:"getDerivedStateFromProps",value:function(Te,st){var V=st.prevProps,H={prevProps:Te};function Pe(Ot){return!V&&Ot in Te||V&&V[Ot]!==Te[Ot]}var he,Q=st.fieldNames;if(Pe("fieldNames")&&(Q=(0,ye.w$)(Te.fieldNames),H.fieldNames=Q),Pe("treeData")?he=Te.treeData:Pe("children")&&((0,Se.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),he=(0,ye.zn)(Te.children)),he){H.treeData=he;var Le=(0,ye.I8)(he,{fieldNames:Q});H.keyEntities=(0,h.Z)((0,p.Z)({},Kt,O),Le.keyEntities)}var ht=H.keyEntities||st.keyEntities;if(Pe("expandedKeys")||V&&Pe("autoExpandParent"))H.expandedKeys=Te.autoExpandParent||!V&&Te.defaultExpandParent?(0,zt.r7)(Te.expandedKeys,ht):Te.expandedKeys;else if(!V&&Te.defaultExpandAll){var at=(0,h.Z)({},ht);delete at[Kt],H.expandedKeys=Object.keys(at).map(function(Ot){return at[Ot].key})}else!V&&Te.defaultExpandedKeys&&(H.expandedKeys=Te.autoExpandParent||Te.defaultExpandParent?(0,zt.r7)(Te.defaultExpandedKeys,ht):Te.defaultExpandedKeys);if(H.expandedKeys||delete H.expandedKeys,he||H.expandedKeys){var Et=(0,ye.oH)(he||st.treeData,H.expandedKeys||st.expandedKeys,Q);H.flattenNodes=Et}if(Te.selectable&&(Pe("selectedKeys")?H.selectedKeys=(0,zt.BT)(Te.selectedKeys,Te):!V&&Te.defaultSelectedKeys&&(H.selectedKeys=(0,zt.BT)(Te.defaultSelectedKeys,Te))),Te.checkable){var dt;if(Pe("checkedKeys")?dt=(0,zt.E6)(Te.checkedKeys)||{}:!V&&Te.defaultCheckedKeys?dt=(0,zt.E6)(Te.defaultCheckedKeys)||{}:he&&(dt=(0,zt.E6)(Te.checkedKeys)||{checkedKeys:st.checkedKeys,halfCheckedKeys:st.halfCheckedKeys}),dt){var mt=dt,ee=mt.checkedKeys,Ge=ee===void 0?[]:ee,Je=mt.halfCheckedKeys,qe=Je===void 0?[]:Je;if(!Te.checkStrictly){var _=(0,un.S)(Ge,!0,ht);Ge=_.checkedKeys,qe=_.halfCheckedKeys}H.checkedKeys=Ge,H.halfCheckedKeys=qe}}return Pe("loadedKeys")&&(H.loadedKeys=Te.loadedKeys),H}}]),ie}(be.Component);xt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:j,allowDrop:function(){return!0},expandAction:!1},xt.TreeNode=J.Z;var Xt=xt,jt=Xt},35654:function(S,s,t){"use strict";t.d(s,{BT:function(){return be},E6:function(){return G},L0:function(){return te},OM:function(){return Se},_5:function(){return U},r7:function(){return Z},wA:function(){return pe},yx:function(){return ne}});var i=t(94480),p=t(76190),g=t(48736),h=t(59301),C=t(39417),y=t(67841),f=t(71430),F=null;function U(B,Y){if(!B)return[];var W=B.slice(),le=W.indexOf(Y);return le>=0&&W.splice(le,1),W}function te(B,Y){var W=(B||[]).slice();return W.indexOf(Y)===-1&&W.push(Y),W}function ne(B){return B.split("-")}function pe(B,Y){var W=[],le=(0,y.Z)(Y,B);function J(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];X.forEach(function(ye){var fe=ye.key,D=ye.children;W.push(fe),J(D)})}return J(le.children),W}function Ee(B){if(B.parent){var Y=ne(B.pos);return Number(Y[Y.length-1])===B.parent.children.length-1}return!1}function se(B){var Y=ne(B.pos);return Number(Y[Y.length-1])===0}function Se(B,Y,W,le,J,X,ye,fe,D,He){var rt,Lt=B.clientX,$e=B.clientY,it=B.target.getBoundingClientRect(),ot=it.top,_t=it.height,Kt=(He==="rtl"?-1:1)*(((J==null?void 0:J.x)||0)-Lt),wt=(Kt-12)/le,O=(0,y.Z)(fe,W.props.eventKey);if($e-1.5?X({dragNode:At,dropNode:xt,dropPosition:1})?zt=1:Xt=!1:X({dragNode:At,dropNode:xt,dropPosition:0})?zt=0:X({dragNode:At,dropNode:xt,dropPosition:1})?zt=1:Xt=!1:X({dragNode:At,dropNode:xt,dropPosition:1})?zt=1:Xt=!1,{dropPosition:zt,dropLevelOffset:un,dropTargetKey:O.key,dropTargetPos:O.pos,dragOverNodeKey:tn,dropContainerKey:zt===0?null:((rt=O.parent)===null||rt===void 0?void 0:rt.key)||null,dropAllowed:Xt}}function be(B,Y){if(B){var W=Y.multiple;return W?B.slice():B.length?[B[0]]:B}}var Ce=function(Y){return Y};function j(B,Y){if(!B)return[];var W=Y||{},le=W.processProps,J=le===void 0?Ce:le,X=Array.isArray(B)?B:[B];return X.map(function(ye){var fe=ye.children,D=_objectWithoutProperties(ye,F),He=j(fe,Y);return React.createElement(TreeNode,_extends({key:D.key},J(D)),He)})}function G(B){if(!B)return null;var Y;if(Array.isArray(B))Y={checkedKeys:B,halfCheckedKeys:void 0};else if((0,p.Z)(B)==="object")Y={checkedKeys:B.checked||void 0,halfCheckedKeys:B.halfChecked||void 0};else return(0,g.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Y}function Z(B,Y){var W=new Set;function le(J){if(!W.has(J)){var X=(0,y.Z)(Y,J);if(X){W.add(J);var ye=X.parent,fe=X.node;fe.disabled||ye&&le(ye.key)}}}return(B||[]).forEach(function(J){le(J)}),(0,i.Z)(W)}},90782:function(S,s,t){"use strict";t.d(s,{S:function(){return f}});var i=t(48736),p=t(67841);function g(F,U){var te=new Set;return F.forEach(function(ne){U.has(ne)||te.add(ne)}),te}function h(F){var U=F||{},te=U.disabled,ne=U.disableCheckbox,pe=U.checkable;return!!(te||ne)||pe===!1}function C(F,U,te,ne){for(var pe=new Set(F),Ee=new Set,se=0;se<=te;se+=1){var Se=U.get(se)||new Set;Se.forEach(function(G){var Z=G.key,B=G.node,Y=G.children,W=Y===void 0?[]:Y;pe.has(Z)&&!ne(B)&&W.filter(function(le){return!ne(le.node)}).forEach(function(le){pe.add(le.key)})})}for(var be=new Set,Ce=te;Ce>=0;Ce-=1){var j=U.get(Ce)||new Set;j.forEach(function(G){var Z=G.parent,B=G.node;if(!(ne(B)||!G.parent||be.has(G.parent.key))){if(ne(G.parent.node)){be.add(Z.key);return}var Y=!0,W=!1;(Z.children||[]).filter(function(le){return!ne(le.node)}).forEach(function(le){var J=le.key,X=pe.has(J);Y&&!X&&(Y=!1),!W&&(X||Ee.has(J))&&(W=!0)}),Y&&pe.add(Z.key),W&&Ee.add(Z.key),be.add(Z.key)}})}return{checkedKeys:Array.from(pe),halfCheckedKeys:Array.from(g(Ee,pe))}}function y(F,U,te,ne,pe){for(var Ee=new Set(F),se=new Set(U),Se=0;Se<=ne;Se+=1){var be=te.get(Se)||new Set;be.forEach(function(Z){var B=Z.key,Y=Z.node,W=Z.children,le=W===void 0?[]:W;!Ee.has(B)&&!se.has(B)&&!pe(Y)&&le.filter(function(J){return!pe(J.node)}).forEach(function(J){Ee.delete(J.key)})})}se=new Set;for(var Ce=new Set,j=ne;j>=0;j-=1){var G=te.get(j)||new Set;G.forEach(function(Z){var B=Z.parent,Y=Z.node;if(!(pe(Y)||!Z.parent||Ce.has(Z.parent.key))){if(pe(Z.parent.node)){Ce.add(B.key);return}var W=!0,le=!1;(B.children||[]).filter(function(J){return!pe(J.node)}).forEach(function(J){var X=J.key,ye=Ee.has(X);W&&!ye&&(W=!1),!le&&(ye||se.has(X))&&(le=!0)}),W||Ee.delete(B.key),le&&se.add(B.key),Ce.add(B.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(g(se,Ee))}}function f(F,U,te,ne){var pe=[],Ee;ne?Ee=ne:Ee=h;var se=new Set(F.filter(function(j){var G=!!(0,p.Z)(te,j);return G||pe.push(j),G})),Se=new Map,be=0;Object.keys(te).forEach(function(j){var G=te[j],Z=G.level,B=Se.get(Z);B||(B=new Set,Se.set(Z,B)),B.add(G),be=Math.max(be,Z)}),(0,i.ZP)(!pe.length,"Tree missing follow keys: ".concat(pe.slice(0,100).map(function(j){return"'".concat(j,"'")}).join(", ")));var Ce;return U===!0?Ce=C(se,Se,be,Ee):Ce=y(se,U.halfCheckedKeys,Se,be,Ee),Ce}},67841:function(S,s,t){"use strict";t.d(s,{Z:function(){return i}});function i(p,g){return p[g]}},71430:function(S,s,t){"use strict";t.d(s,{F:function(){return Z},H8:function(){return G},I8:function(){return j},km:function(){return pe},oH:function(){return be},w$:function(){return Ee},zn:function(){return Se}});var i=t(76190),p=t(94480),g=t(33885),h=t(75931),C=t(11592),y=t(2738),f=t(48736),F=t(67841),U=["children"];function te(B,Y){return"".concat(B,"-").concat(Y)}function ne(B){return B&&B.type&&B.type.isTreeNode}function pe(B,Y){return B!=null?B:Y}function Ee(B){var Y=B||{},W=Y.title,le=Y._title,J=Y.key,X=Y.children,ye=W||"title";return{title:ye,_title:le||[ye],key:J||"key",children:X||"children"}}function se(B,Y){var W=new Map;function le(J){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(J||[]).forEach(function(ye){var fe=ye[Y.key],D=ye[Y.children];warning(fe!=null,"Tree node must have a certain key: [".concat(X).concat(fe,"]"));var He=String(fe);warning(!W.has(He)||fe===null||fe===void 0,"Same 'key' exist in the Tree: ".concat(He)),W.set(He,!0),le(D,"".concat(X).concat(He," > "))})}le(B)}function Se(B){function Y(W){var le=(0,C.Z)(W);return le.map(function(J){if(!ne(J))return(0,f.ZP)(!J,"Tree/TreeNode can only accept TreeNode as children."),null;var X=J.key,ye=J.props,fe=ye.children,D=(0,h.Z)(ye,U),He=(0,g.Z)({key:X},D),rt=Y(fe);return rt.length&&(He.children=rt),He}).filter(function(J){return J})}return Y(B)}function be(B,Y,W){var le=Ee(W),J=le._title,X=le.key,ye=le.children,fe=new Set(Y===!0?[]:Y),D=[];function He(rt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return rt.map(function($e,it){for(var ot=te(Lt?Lt.pos:"0",it),_t=pe($e[X],ot),Kt,wt=0;wt1&&arguments[1]!==void 0?arguments[1]:{},W=Y.initWrapper,le=Y.processEntity,J=Y.onProcessFinished,X=Y.externalGetKey,ye=Y.childrenPropName,fe=Y.fieldNames,D=arguments.length>2?arguments[2]:void 0,He=X||D,rt={},Lt={},$e={posEntities:rt,keyEntities:Lt};return W&&($e=W($e)||$e),Ce(B,function(it){var ot=it.node,_t=it.index,Kt=it.pos,wt=it.key,O=it.parentPos,ze=it.level,nt=it.nodes,Ne={node:ot,nodes:nt,index:_t,key:wt,pos:Kt,level:ze},ct=pe(wt,Kt);rt[Kt]=Ne,Lt[ct]=Ne,Ne.parent=rt[O],Ne.parent&&(Ne.parent.children=Ne.parent.children||[],Ne.parent.children.push(Ne)),le&&le(Ne,$e)},{externalGetKey:He,childrenPropName:ye,fieldNames:fe}),J&&J($e),$e}function G(B,Y){var W=Y.expandedKeys,le=Y.selectedKeys,J=Y.loadedKeys,X=Y.loadingKeys,ye=Y.checkedKeys,fe=Y.halfCheckedKeys,D=Y.dragOverNodeKey,He=Y.dropPosition,rt=Y.keyEntities,Lt=(0,F.Z)(rt,B),$e={eventKey:B,expanded:W.indexOf(B)!==-1,selected:le.indexOf(B)!==-1,loaded:J.indexOf(B)!==-1,loading:X.indexOf(B)!==-1,checked:ye.indexOf(B)!==-1,halfChecked:fe.indexOf(B)!==-1,pos:String(Lt?Lt.pos:""),dragOver:D===B&&He===0,dragOverGapTop:D===B&&He===-1,dragOverGapBottom:D===B&&He===1};return $e}function Z(B){var Y=B.data,W=B.expanded,le=B.selected,J=B.checked,X=B.loaded,ye=B.loading,fe=B.halfChecked,D=B.dragOver,He=B.dragOverGapTop,rt=B.dragOverGapBottom,Lt=B.pos,$e=B.active,it=B.eventKey,ot=(0,g.Z)((0,g.Z)({},Y),{},{expanded:W,selected:le,checked:J,loaded:X,loading:ye,halfChecked:fe,dragOver:D,dragOverGapTop:He,dragOverGapBottom:rt,pos:Lt,active:$e,key:it});return"props"in ot||Object.defineProperty(ot,"props",{get:function(){return(0,f.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),B}}),ot}},8224:function(S,s,t){"use strict";t.d(s,{Z:function(){return p}});var i=t(4676);function p(g,h,C,y){var f=i.unstable_batchedUpdates?function(U){i.unstable_batchedUpdates(C,U)}:C;return g!=null&&g.addEventListener&&g.addEventListener(h,f,y),{remove:function(){g!=null&&g.removeEventListener&&g.removeEventListener(h,f,y)}}}},55468:function(S,s,t){"use strict";t.d(s,{g1:function(){return ne},os:function(){return Ee}});var i=/margin|padding|width|height|max|min|offset/,p={left:!0,top:!0},g={cssFloat:1,styleFloat:1,float:1};function h(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function C(se,Se,be){if(Se=Se.toLowerCase(),be==="auto"){if(Se==="height")return se.offsetHeight;if(Se==="width")return se.offsetWidth}return Se in p||(p[Se]=i.test(Se)),p[Se]?parseFloat(be)||0:be}function y(se,Se){var be=arguments.length,Ce=h(se);return Se=g[Se]?"cssFloat"in se.style?"cssFloat":"styleFloat":Se,be===1?Ce:C(se,Se,Ce[Se]||se.style[Se])}function f(se,Se,be){var Ce=arguments.length;if(Se=g[Se]?"cssFloat"in se.style?"cssFloat":"styleFloat":Se,Ce===3)return typeof be=="number"&&i.test(Se)&&(be="".concat(be,"px")),se.style[Se]=be,be;for(var j in Se)Se.hasOwnProperty(j)&&f(se,j,Se[j]);return h(se)}function F(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function U(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function te(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Se=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:Se}}function ne(){var se=document.documentElement.clientWidth,Se=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:Se}}function pe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ee(se){var Se=se.getBoundingClientRect(),be=document.documentElement;return{left:Se.left+(window.pageXOffset||be.scrollLeft)-(be.clientLeft||document.body.clientLeft||0),top:Se.top+(window.pageYOffset||be.scrollTop)-(be.clientTop||document.body.clientTop||0)}}},24514:function(S,s,t){"use strict";t.d(s,{G:function(){return h}});var i=t(47273),p=function(y){if((0,i.Z)()&&window.document.documentElement){var f=Array.isArray(y)?y:[y],F=window.document.documentElement;return f.some(function(U){return U in F.style})}return!1},g=function(y,f){if(!p(y))return!1;var F=document.createElement("div"),U=F.style[y];return F.style[y]=f,F.style[y]!==U};function h(C,y){return!Array.isArray(C)&&y!==void 0?g(C,y):p(C)}},66328:function(S,s,t){"use strict";t.d(s,{Z:function(){return wt}});var i=t(75931),p=t(94480),g=t(20068),h=t(59301),C=t(54476);function y(O,ze){var nt=Object.keys(O);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(O);ze&&(Ne=Ne.filter(function(ct){return Object.getOwnPropertyDescriptor(O,ct).enumerable})),nt.push.apply(nt,Ne)}return nt}function f(O){for(var ze=1;ze=4)return[O[0],O[1],O[2],O[3],"".concat(O[0],".").concat(O[1]),"".concat(O[0],".").concat(O[2]),"".concat(O[0],".").concat(O[3]),"".concat(O[1],".").concat(O[0]),"".concat(O[1],".").concat(O[2]),"".concat(O[1],".").concat(O[3]),"".concat(O[2],".").concat(O[0]),"".concat(O[2],".").concat(O[1]),"".concat(O[2],".").concat(O[3]),"".concat(O[3],".").concat(O[0]),"".concat(O[3],".").concat(O[1]),"".concat(O[3],".").concat(O[2]),"".concat(O[0],".").concat(O[1],".").concat(O[2]),"".concat(O[0],".").concat(O[1],".").concat(O[3]),"".concat(O[0],".").concat(O[2],".").concat(O[1]),"".concat(O[0],".").concat(O[2],".").concat(O[3]),"".concat(O[0],".").concat(O[3],".").concat(O[1]),"".concat(O[0],".").concat(O[3],".").concat(O[2]),"".concat(O[1],".").concat(O[0],".").concat(O[2]),"".concat(O[1],".").concat(O[0],".").concat(O[3]),"".concat(O[1],".").concat(O[2],".").concat(O[0]),"".concat(O[1],".").concat(O[2],".").concat(O[3]),"".concat(O[1],".").concat(O[3],".").concat(O[0]),"".concat(O[1],".").concat(O[3],".").concat(O[2]),"".concat(O[2],".").concat(O[0],".").concat(O[1]),"".concat(O[2],".").concat(O[0],".").concat(O[3]),"".concat(O[2],".").concat(O[1],".").concat(O[0]),"".concat(O[2],".").concat(O[1],".").concat(O[3]),"".concat(O[2],".").concat(O[3],".").concat(O[0]),"".concat(O[2],".").concat(O[3],".").concat(O[1]),"".concat(O[3],".").concat(O[0],".").concat(O[1]),"".concat(O[3],".").concat(O[0],".").concat(O[2]),"".concat(O[3],".").concat(O[1],".").concat(O[0]),"".concat(O[3],".").concat(O[1],".").concat(O[2]),"".concat(O[3],".").concat(O[2],".").concat(O[0]),"".concat(O[3],".").concat(O[2],".").concat(O[1]),"".concat(O[0],".").concat(O[1],".").concat(O[2],".").concat(O[3]),"".concat(O[0],".").concat(O[1],".").concat(O[3],".").concat(O[2]),"".concat(O[0],".").concat(O[2],".").concat(O[1],".").concat(O[3]),"".concat(O[0],".").concat(O[2],".").concat(O[3],".").concat(O[1]),"".concat(O[0],".").concat(O[3],".").concat(O[1],".").concat(O[2]),"".concat(O[0],".").concat(O[3],".").concat(O[2],".").concat(O[1]),"".concat(O[1],".").concat(O[0],".").concat(O[2],".").concat(O[3]),"".concat(O[1],".").concat(O[0],".").concat(O[3],".").concat(O[2]),"".concat(O[1],".").concat(O[2],".").concat(O[0],".").concat(O[3]),"".concat(O[1],".").concat(O[2],".").concat(O[3],".").concat(O[0]),"".concat(O[1],".").concat(O[3],".").concat(O[0],".").concat(O[2]),"".concat(O[1],".").concat(O[3],".").concat(O[2],".").concat(O[0]),"".concat(O[2],".").concat(O[0],".").concat(O[1],".").concat(O[3]),"".concat(O[2],".").concat(O[0],".").concat(O[3],".").concat(O[1]),"".concat(O[2],".").concat(O[1],".").concat(O[0],".").concat(O[3]),"".concat(O[2],".").concat(O[1],".").concat(O[3],".").concat(O[0]),"".concat(O[2],".").concat(O[3],".").concat(O[0],".").concat(O[1]),"".concat(O[2],".").concat(O[3],".").concat(O[1],".").concat(O[0]),"".concat(O[3],".").concat(O[0],".").concat(O[1],".").concat(O[2]),"".concat(O[3],".").concat(O[0],".").concat(O[2],".").concat(O[1]),"".concat(O[3],".").concat(O[1],".").concat(O[0],".").concat(O[2]),"".concat(O[3],".").concat(O[1],".").concat(O[2],".").concat(O[0]),"".concat(O[3],".").concat(O[2],".").concat(O[0],".").concat(O[1]),"".concat(O[3],".").concat(O[2],".").concat(O[1],".").concat(O[0])]}var U={};function te(O){if(O.length===0||O.length===1)return O;var ze=O.join(".");return U[ze]||(U[ze]=F(O)),U[ze]}function ne(O){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=arguments.length>2?arguments[2]:void 0,Ne=O.filter(function(Xe){return Xe!=="token"}),ct=te(Ne);return ct.reduce(function(Xe,tn){return f(f({},Xe),nt[tn])},ze)}function pe(O){return O.join(" ")}function Ee(O,ze){var nt=0;return function(Ne){return nt+=1,Ne.map(function(ct,Xe){return se({node:ct,stylesheet:O,useInlineStyles:ze,key:"code-segment-".concat(nt,"-").concat(Xe)})})}}function se(O){var ze=O.node,nt=O.stylesheet,Ne=O.style,ct=Ne===void 0?{}:Ne,Xe=O.useInlineStyles,tn=O.key,zt=ze.properties,un=ze.type,dn=ze.tagName,At=ze.value;if(un==="text")return At;if(dn){var xt=Ee(nt,Xe),Xt;if(!Xe)Xt=f(f({},zt),{},{className:pe(zt.className)});else{var jt=Object.keys(nt).reduce(function(N,Te){return Te.split(".").forEach(function(st){N.includes(st)||N.push(st)}),N},[]),ke=zt.className&&zt.className.includes("token")?["token"]:[],_e=zt.className&&ke.concat(zt.className.filter(function(N){return!jt.includes(N)}));Xt=f(f({},zt),{},{className:pe(_e)||void 0,style:ne(zt.className,Object.assign({},zt.style,ct),nt)})}var ie=xt(ze.children);return h.createElement(dn,(0,C.Z)({key:tn},Xt),ie)}}var Se=function(O,ze){var nt=O.listLanguages();return nt.indexOf(ze)!==-1},be=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Ce(O,ze){var nt=Object.keys(O);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(O);ze&&(Ne=Ne.filter(function(ct){return Object.getOwnPropertyDescriptor(O,ct).enumerable})),nt.push.apply(nt,Ne)}return nt}function j(O){for(var ze=1;ze1&&arguments[1]!==void 0?arguments[1]:[],nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ne=0;Ne2&&arguments[2]!==void 0?arguments[2]:[];return X({children:H,lineNumber:Pe,lineNumberStyle:zt,largestLineNumber:tn,showInlineLineNumbers:ct,lineProps:nt,className:he,showLineNumbers:Ne,wrapLongLines:un,wrapLines:ze})}function _e(H,Pe){if(Ne&&Pe&&ct){var he=J(zt,Pe,tn);H.unshift(le(Pe,he))}return H}function ie(H,Pe){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return ze||he.length>0?ke(H,Pe,he):_e(H,Pe)}for(var N=function(){var Pe=At[jt],he=Pe.children[0].value,Q=Z(he);if(Q){var Le=he.split(` +`);Le.forEach(function(ht,at){var Et=Ne&&xt.length+Xe,dt={type:"text",value:"".concat(ht,` +`)};if(at===0){var mt=At.slice(Xt+1,jt).concat(X({children:[dt],className:Pe.properties.className})),ee=ie(mt,Et);xt.push(ee)}else if(at===Le.length-1){var Ge=At[jt+1]&&At[jt+1].children&&At[jt+1].children[0],Je={type:"text",value:"".concat(ht)};if(Ge){var qe=X({children:[Je],className:Pe.properties.className});At.splice(jt+1,0,qe)}else{var _=[Je],Ot=ie(_,Et,Pe.properties.className);xt.push(Ot)}}else{var tt=[dt],Re=ie(tt,Et,Pe.properties.className);xt.push(Re)}}),Xt=jt}jt++};jt code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},it=t(11594),ot=t.n(it),_t=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],Kt=Lt(ot(),$e);Kt.supportedLanguages=_t;var wt=Kt},18369:function(S,s){"use strict";s.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(S,s,t){"use strict";t(84126);var i=t(59301),p=60103;if(s.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;p=g("react.element"),s.Fragment=g("react.fragment")}var h=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C=Object.prototype.hasOwnProperty,y={key:!0,ref:!0,__self:!0,__source:!0};function f(F,U,te){var ne,pe={},Ee=null,se=null;te!==void 0&&(Ee=""+te),U.key!==void 0&&(Ee=""+U.key),U.ref!==void 0&&(se=U.ref);for(ne in U)C.call(U,ne)&&!y.hasOwnProperty(ne)&&(pe[ne]=U[ne]);if(F&&F.defaultProps)for(ne in U=F.defaultProps,U)pe[ne]===void 0&&(pe[ne]=U[ne]);return{$$typeof:p,type:F,key:Ee,ref:se,props:pe,_owner:h.current}}s.jsx=f,s.jsxs=f},37712:function(S,s,t){"use strict";S.exports=t(19524)},95489:function(S,s,t){"use strict";var i=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof t.g=="object"?t.g:{},p=Y();i.Prism={manual:!0,disableWorkerMessageHandler:!0};var g=t(43621),h=t(12256),C=t(68398),y=t(70614),f=t(54212),F=t(9720),U=t(88786);p();var te={}.hasOwnProperty;function ne(){}ne.prototype=C;var pe=new ne;S.exports=pe,pe.highlight=Se,pe.register=Ee,pe.alias=se,pe.registered=be,pe.listLanguages=Ce,Ee(y),Ee(f),Ee(F),Ee(U),pe.util.encode=Z,pe.Token.stringify=j;function Ee(W){if(typeof W!="function"||!W.displayName)throw new Error("Expected `function` for `grammar`, got `"+W+"`");pe.languages[W.displayName]===void 0&&W(pe)}function se(W,le){var J=pe.languages,X=W,ye,fe,D,He;le&&(X={},X[W]=le);for(ye in X)for(fe=X[ye],fe=typeof fe=="string"?[fe]:fe,D=fe.length,He=-1;++He]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(S){"use strict";S.exports=s,s.displayName="abnf",s.aliases=[];function s(t){(function(i){var p="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";i.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+p+"|<"+p+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}},42746:function(S){"use strict";S.exports=s,s.displayName="actionscript",s.aliases=[];function s(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}},93281:function(S){"use strict";S.exports=s,s.displayName="ada",s.aliases=[];function s(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(S){"use strict";S.exports=s,s.displayName="agda",s.aliases=[];function s(t){(function(i){i.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}},65924:function(S){"use strict";S.exports=s,s.displayName="al",s.aliases=[];function s(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(S){"use strict";S.exports=s,s.displayName="antlr4",s.aliases=["g4"];function s(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}},43556:function(S){"use strict";S.exports=s,s.displayName="apacheconf",s.aliases=[];function s(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(S,s,t){"use strict";var i=t(69435);S.exports=p,p.displayName="apex",p.aliases=[];function p(g){g.register(i),function(h){var C=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,y=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return C.source});function f(U){return RegExp(U.replace(//g,function(){return y}),"i")}var F={keyword:C,punctuation:/[()\[\]{};,:.<>]/};h.languages.apex={comment:h.languages.clike.comment,string:h.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:h.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:f(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:F},{pattern:f(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:F},{pattern:f(/(?=\s*\w+\s*[;=,(){:])/.source),inside:F}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:C,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(g)}},4248:function(S){"use strict";S.exports=s,s.displayName="apl",s.aliases=[];function s(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(S){"use strict";S.exports=s,s.displayName="applescript",s.aliases=[];function s(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(S){"use strict";S.exports=s,s.displayName="aql",s.aliases=[];function s(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(S,s,t){"use strict";var i=t(87071);S.exports=p,p.displayName="arduino",p.aliases=["ino"];function p(g){g.register(i),g.languages.arduino=g.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),g.languages.ino=g.languages.arduino}},22956:function(S){"use strict";S.exports=s,s.displayName="arff",s.aliases=[];function s(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(S){"use strict";S.exports=s,s.displayName="asciidoc",s.aliases=["adoc"];function s(t){(function(i){var p={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},g=i.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:p,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:p.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:p,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function h(C){C=C.split(" ");for(var y={},f=0,F=C.length;f>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(S,s,t){"use strict";var i=t(87648);S.exports=p,p.displayName="aspnet",p.aliases=[];function p(g){g.register(i),g.languages.aspnet=g.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:g.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:g.languages.csharp}}}),g.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,g.languages.insertBefore("inside","punctuation",{directive:g.languages.aspnet.directive},g.languages.aspnet.tag.inside["attr-value"]),g.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),g.languages.insertBefore("aspnet",g.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:g.languages.csharp||{}}})}},20803:function(S){"use strict";S.exports=s,s.displayName="autohotkey",s.aliases=[];function s(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(S){"use strict";S.exports=s,s.displayName="autoit",s.aliases=[];function s(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(S){"use strict";S.exports=s,s.displayName="avisynth",s.aliases=["avs"];function s(t){(function(i){function p(U,te){return U.replace(/<<(\d+)>>/g,function(ne,pe){return te[+pe]})}function g(U,te,ne){return RegExp(p(U,te),ne||"")}var h=/bool|clip|float|int|string|val/.source,C=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),y=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),f=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),F=[C,y,f].join("|");i.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:g(/\b(?:<<0>>)\s+("?)\w+\1/.source,[h],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:g(/\b(?:<<0>>)\b/.source,[F],"i"),alias:"function"},"type-cast":{pattern:g(/\b(?:<<0>>)(?=\s*\()/.source,[h],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},i.languages.avs=i.languages.avisynth})(t)}},79571:function(S){"use strict";S.exports=s,s.displayName="avroIdl",s.aliases=[];function s(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}},3058:function(S){"use strict";S.exports=s,s.displayName="bash",s.aliases=["shell"];function s(t){(function(i){var p="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",g={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},h={bash:g,environment:{pattern:RegExp("\\$"+p),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+p),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+p),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:h},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:g}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:h},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:h.entity}}],environment:{pattern:RegExp("\\$?"+p),alias:"constant"},variable:h.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},g.inside=i.languages.bash;for(var C=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=h.variable[1].inside,f=0;f?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(S){"use strict";S.exports=s,s.displayName="batch",s.aliases=[];function s(t){(function(i){var p=/%%?[~:\w]+%?|!\S+!/,g={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},h=/"(?:[\\"]"|[^"])*"(?!")/,C=/(?:\b|-)\d+\b/;i.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:h,parameter:g,variable:p,number:C,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:h,parameter:g,variable:p,number:C,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:h,parameter:g,variable:[p,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:C,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:h,parameter:g,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:p,number:C,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}},2505:function(S){"use strict";S.exports=s,s.displayName="bbcode",s.aliases=["shortcode"];function s(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}},51274:function(S){"use strict";S.exports=s,s.displayName="bicep",s.aliases=[];function s(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}},23796:function(S){"use strict";S.exports=s,s.displayName="birb",s.aliases=[];function s(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="bison",p.aliases=[];function p(g){g.register(i),g.languages.bison=g.languages.extend("c",{}),g.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:g.languages.c}},comment:g.languages.c.comment,string:g.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(S){"use strict";S.exports=s,s.displayName="bnf",s.aliases=["rbnf"];function s(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}},47035:function(S){"use strict";S.exports=s,s.displayName="brainfuck",s.aliases=[];function s(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(S){"use strict";S.exports=s,s.displayName="brightscript",s.aliases=[];function s(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}},85290:function(S){"use strict";S.exports=s,s.displayName="bro",s.aliases=[];function s(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(S){"use strict";S.exports=s,s.displayName="bsl",s.aliases=[];function s(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}},79440:function(S){"use strict";S.exports=s,s.displayName="c",s.aliases=[];function s(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}},7110:function(S){"use strict";S.exports=s,s.displayName="cfscript",s.aliases=[];function s(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}},73435:function(S,s,t){"use strict";var i=t(87071);S.exports=p,p.displayName="chaiscript",p.aliases=[];function p(g){g.register(i),g.languages.chaiscript=g.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[g.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),g.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),g.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:g.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(S){"use strict";S.exports=s,s.displayName="cil",s.aliases=[];function s(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(S){"use strict";S.exports=s,s.displayName="clike",s.aliases=[];function s(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(S){"use strict";S.exports=s,s.displayName="clojure",s.aliases=[];function s(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(S){"use strict";S.exports=s,s.displayName="cmake",s.aliases=[];function s(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(S){"use strict";S.exports=s,s.displayName="cobol",s.aliases=[];function s(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(S){"use strict";S.exports=s,s.displayName="coffeescript",s.aliases=["coffee"];function s(t){(function(i){var p=/#(?!\{).+/,g={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:p,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:g}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:p,interpolation:g}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:g}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript})(t)}},35348:function(S){"use strict";S.exports=s,s.displayName="concurnas",s.aliases=["conc"];function s(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}},26841:function(S){"use strict";S.exports=s,s.displayName="coq",s.aliases=[];function s(t){(function(i){for(var p=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,g=0;g<2;g++)p=p.replace(//g,function(){return p});p=p.replace(//g,"[]"),i.languages.coq={comment:RegExp(p),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return p})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(p),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}},87071:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="cpp",p.aliases=[];function p(g){g.register(i),function(h){var C=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,y=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return C.source});h.languages.cpp=h.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return C.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:C,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),h.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return y})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),h.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:h.languages.cpp}}}}),h.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),h.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:h.languages.extend("cpp",{})}}),h.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},h.languages.cpp["base-clause"])}(g)}},13652:function(S,s,t){"use strict";var i=t(75308);S.exports=p,p.displayName="crystal",p.aliases=[];function p(g){g.register(i),function(h){h.languages.crystal=h.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,h.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),h.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:h.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:h.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(g)}},87648:function(S){"use strict";S.exports=s,s.displayName="csharp",s.aliases=["dotnet","cs"];function s(t){(function(i){function p(_t,Kt){return _t.replace(/<<(\d+)>>/g,function(wt,O){return"(?:"+Kt[+O]+")"})}function g(_t,Kt,wt){return RegExp(p(_t,Kt),wt||"")}function h(_t,Kt){for(var wt=0;wt>/g,function(){return"(?:"+_t+")"});return _t.replace(/<>/g,"[^\\s\\S]")}var C={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function y(_t){return"\\b(?:"+_t.trim().replace(/ /g,"|")+")\\b"}var f=y(C.typeDeclaration),F=RegExp(y(C.type+" "+C.typeDeclaration+" "+C.contextual+" "+C.other)),U=y(C.typeDeclaration+" "+C.contextual+" "+C.other),te=y(C.type+" "+C.typeDeclaration+" "+C.other),ne=h(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),pe=h(/\((?:[^()]|<>)*\)/.source,2),Ee=/@?\b[A-Za-z_]\w*\b/.source,se=p(/<<0>>(?:\s*<<1>>)?/.source,[Ee,ne]),Se=p(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[U,se]),be=/\[\s*(?:,\s*)*\]/.source,Ce=p(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[Se,be]),j=p(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[ne,pe,be]),G=p(/\(<<0>>+(?:,<<0>>+)+\)/.source,[j]),Z=p(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[G,Se,be]),B={keyword:F,punctuation:/[<>()?,.:[\]]/},Y=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,W=/"(?:\\.|[^\\"\r\n])*"/.source,le=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:g(/(^|[^$\\])<<0>>/.source,[le]),lookbehind:!0,greedy:!0},{pattern:g(/(^|[^@$\\])<<0>>/.source,[W]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:g(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[Se]),lookbehind:!0,inside:B},{pattern:g(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[Ee,Z]),lookbehind:!0,inside:B},{pattern:g(/(\busing\s+)<<0>>(?=\s*=)/.source,[Ee]),lookbehind:!0},{pattern:g(/(\b<<0>>\s+)<<1>>/.source,[f,se]),lookbehind:!0,inside:B},{pattern:g(/(\bcatch\s*\(\s*)<<0>>/.source,[Se]),lookbehind:!0,inside:B},{pattern:g(/(\bwhere\s+)<<0>>/.source,[Ee]),lookbehind:!0},{pattern:g(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[Ce]),lookbehind:!0,inside:B},{pattern:g(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Z,te,Ee]),inside:B}],keyword:F,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:g(/([(,]\s*)<<0>>(?=\s*:)/.source,[Ee]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:g(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[Ee]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:g(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[pe]),lookbehind:!0,alias:"class-name",inside:B},"return-type":{pattern:g(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Z,Se]),inside:B,alias:"class-name"},"constructor-invocation":{pattern:g(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Z]),lookbehind:!0,inside:B,alias:"class-name"},"generic-method":{pattern:g(/<<0>>\s*<<1>>(?=\s*\()/.source,[Ee,ne]),inside:{function:g(/^<<0>>/.source,[Ee]),generic:{pattern:RegExp(ne),alias:"class-name",inside:B}}},"type-list":{pattern:g(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[f,se,Ee,Z,F.source,pe,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:g(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[se,pe]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:F,"class-name":{pattern:RegExp(Z),greedy:!0,inside:B},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var J=W+"|"+Y,X=p(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[J]),ye=h(p(/[^"'/()]|<<0>>|\(<>*\)/.source,[X]),2),fe=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=p(/<<0>>(?:\s*\(<<1>>*\))?/.source,[Se,ye]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:g(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[fe,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:g(/^<<0>>(?=\s*:)/.source,[fe]),alias:"keyword"},"attribute-arguments":{pattern:g(/\(<<0>>*\)/.source,[ye]),inside:i.languages.csharp},"class-name":{pattern:RegExp(Se),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var He=/:[^}\r\n]+/.source,rt=h(p(/[^"'/()]|<<0>>|\(<>*\)/.source,[X]),2),Lt=p(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[rt,He]),$e=h(p(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[J]),2),it=p(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[$e,He]);function ot(_t,Kt){return{interpolation:{pattern:g(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[_t]),lookbehind:!0,inside:{"format-string":{pattern:g(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Kt,He]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:g(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Lt]),lookbehind:!0,greedy:!0,inside:ot(Lt,rt)},{pattern:g(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[it]),lookbehind:!0,greedy:!0,inside:ot(it,$e)}],char:{pattern:RegExp(Y),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(t)}},10617:function(S,s,t){"use strict";var i=t(87648);S.exports=p,p.displayName="cshtml",p.aliases=["razor"];function p(g){g.register(i),function(h){var C=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,y=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function f(Ce,j){for(var G=0;G/g,function(){return"(?:"+Ce+")"});return Ce.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+y+")").replace(//g,"(?:"+C+")")}var F=f(/\((?:[^()'"@/]|||)*\)/.source,2),U=f(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),te=f(/\{(?:[^{}'"@/]|||)*\}/.source,2),ne=f(/<(?:[^<>'"@/]|||)*>/.source,2),pe=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,Ee=/(?!\d)[^\s>\/=$<%]+/.source+pe+/\s*\/?>/.source,se=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+pe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Ee+"|"+f(/<\1/.source+pe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Ee+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=g,i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var h={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},C={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:h,number:C,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:h,number:C})})(t)}},54212:function(S){"use strict";S.exports=s,s.displayName="css",s.aliases=[];function s(t){(function(i){var p=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+p.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+p.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+p.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:p,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var g=i.languages.markup;g&&(g.tag.addInlined("style","css"),g.tag.addAttribute("style","css"))})(t)}},69820:function(S){"use strict";S.exports=s,s.displayName="csv",s.aliases=[];function s(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(S){"use strict";S.exports=s,s.displayName="cypher",s.aliases=[];function s(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(S){"use strict";S.exports=s,s.displayName="d",s.aliases=[];function s(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(S){"use strict";S.exports=s,s.displayName="dart",s.aliases=[];function s(t){(function(i){var p=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],g=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,h={pattern:RegExp(g+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};i.languages.dart=i.languages.extend("clike",{"class-name":[h,{pattern:RegExp(g+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:h.inside}],keyword:p,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":h,keyword:p,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}},22117:function(S){"use strict";S.exports=s,s.displayName="dataweave",s.aliases=[];function s(t){(function(i){i.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}},95627:function(S){"use strict";S.exports=s,s.displayName="dax",s.aliases=[];function s(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(S){"use strict";S.exports=s,s.displayName="dhall",s.aliases=[];function s(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}},50618:function(S){"use strict";S.exports=s,s.displayName="diff",s.aliases=[];function s(t){(function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var p={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(p).forEach(function(g){var h=p[g],C=[];/^\w+$/.test(g)||C.push(/\w+/.exec(g)[0]),g==="diff"&&C.push("bold"),i.languages.diff[g]={pattern:RegExp("^(?:["+h+`].*(?:\r ?| |(?![\\s\\S])))+`,"m"),alias:C,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(g)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:p})})(t)}},32126:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="django",p.aliases=["jinja2"];function p(g){g.register(i),function(h){h.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var C=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,y=h.languages["markup-templating"];h.hooks.add("before-tokenize",function(f){y.buildPlaceholders(f,"django",C)}),h.hooks.add("after-tokenize",function(f){y.tokenizePlaceholders(f,"django")}),h.languages.jinja2=h.languages.django,h.hooks.add("before-tokenize",function(f){y.buildPlaceholders(f,"jinja2",C)}),h.hooks.add("after-tokenize",function(f){y.tokenizePlaceholders(f,"jinja2")})}(g)}},26737:function(S){"use strict";S.exports=s,s.displayName="dnsZoneFile",s.aliases=[];function s(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}},90134:function(S){"use strict";S.exports=s,s.displayName="docker",s.aliases=["dockerfile"];function s(t){(function(i){var p=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,g=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return p}),h=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,C=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return h}),y={pattern:RegExp(h),greedy:!0},f={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function F(U,te){return U=U.replace(//g,function(){return C}).replace(//g,function(){return g}),RegExp(U,te)}i.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:F(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[y,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:F(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:F(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:F(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:f,string:y,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:f},i.languages.dockerfile=i.languages.docker})(t)}},51348:function(S){"use strict";S.exports=s,s.displayName="dot",s.aliases=["gv"];function s(t){(function(i){var p="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",g={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:i.languages.markup}};function h(C,y){return RegExp(C.replace(//g,function(){return p}),y)}i.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:h(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:g},"attr-value":{pattern:h(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:g},"attr-name":{pattern:h(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:g},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:h(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:g},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},i.languages.gv=i.languages.dot})(t)}},60841:function(S){"use strict";S.exports=s,s.displayName="ebnf",s.aliases=[];function s(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(S){"use strict";S.exports=s,s.displayName="editorconfig",s.aliases=[];function s(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(S){"use strict";S.exports=s,s.displayName="eiffel",s.aliases=[];function s(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="ejs",p.aliases=["eta"];function p(g){g.register(i),function(h){h.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:h.languages.javascript}},h.hooks.add("before-tokenize",function(C){var y=/<%(?!%)[\s\S]+?%>/g;h.languages["markup-templating"].buildPlaceholders(C,"ejs",y)}),h.hooks.add("after-tokenize",function(C){h.languages["markup-templating"].tokenizePlaceholders(C,"ejs")}),h.languages.eta=h.languages.ejs}(g)}},83125:function(S){"use strict";S.exports=s,s.displayName="elixir",s.aliases=[];function s(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}},9438:function(S){"use strict";S.exports=s,s.displayName="elm",s.aliases=[];function s(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(S,s,t){"use strict";var i=t(75308),p=t(51478);S.exports=g,g.displayName="erb",g.aliases=[];function g(h){h.register(i),h.register(p),function(C){C.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:C.languages.ruby}},C.hooks.add("before-tokenize",function(y){var f=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;C.languages["markup-templating"].buildPlaceholders(y,"erb",f)}),C.hooks.add("after-tokenize",function(y){C.languages["markup-templating"].tokenizePlaceholders(y,"erb")})}(h)}},86549:function(S){"use strict";S.exports=s,s.displayName="erlang",s.aliases=[];function s(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(S,s,t){"use strict";var i=t(29509),p=t(51478);S.exports=g,g.displayName="etlua",g.aliases=[];function g(h){h.register(i),h.register(p),function(C){C.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:C.languages.lua}},C.hooks.add("before-tokenize",function(y){var f=/<%[\s\S]+?%>/g;C.languages["markup-templating"].buildPlaceholders(y,"etlua",f)}),C.hooks.add("after-tokenize",function(y){C.languages["markup-templating"].tokenizePlaceholders(y,"etlua")})}(h)}},59250:function(S){"use strict";S.exports=s,s.displayName="excelFormula",s.aliases=[];function s(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}},81226:function(S){"use strict";S.exports=s,s.displayName="factor",s.aliases=[];function s(t){(function(i){var p={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},g={number:/\\[^\s']|%\w/},h={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:p},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:p},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:p}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:g.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:g},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:g}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:g}},C=function(U){return(U+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},y=function(U){return new RegExp("(^|\\s)(?:"+U.map(C).join("|")+")(?=\\s|$)")},f={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(f).forEach(function(U){h[U].pattern=y(f[U])});var F=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];h.combinators.pattern=y(F),i.languages.factor=h})(t)}},65245:function(S){"use strict";S.exports=s,s.displayName="$false",s.aliases=[];function s(t){(function(i){i.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(S){"use strict";S.exports=s,s.displayName="flow",s.aliases=[];function s(t){(function(i){i.languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}},39187:function(S){"use strict";S.exports=s,s.displayName="fortran",s.aliases=[];function s(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(S){"use strict";S.exports=s,s.displayName="fsharp",s.aliases=[];function s(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="ftl",p.aliases=[];function p(g){g.register(i),function(h){for(var C=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,y=0;y<2;y++)C=C.replace(//g,function(){return C});C=C.replace(//g,/[^\s\S]/.source);var f={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return C})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return C})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};f.string[1].inside.interpolation.inside.rest=f,h.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:f}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:f}}}},h.hooks.add("before-tokenize",function(F){var U=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return C}),"gi");h.languages["markup-templating"].buildPlaceholders(F,"ftl",U)}),h.hooks.add("after-tokenize",function(F){h.languages["markup-templating"].tokenizePlaceholders(F,"ftl")})}(g)}},33534:function(S){"use strict";S.exports=s,s.displayName="gap",s.aliases=[];function s(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}},9885:function(S){"use strict";S.exports=s,s.displayName="gcode",s.aliases=[];function s(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(S){"use strict";S.exports=s,s.displayName="gdscript",s.aliases=[];function s(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(S){"use strict";S.exports=s,s.displayName="gedcom",s.aliases=[];function s(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(S){"use strict";S.exports=s,s.displayName="gherkin",s.aliases=[];function s(t){(function(i){var p=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;i.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+p+")(?:"+p+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(p),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}},58230:function(S){"use strict";S.exports=s,s.displayName="git",s.aliases=[];function s(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="glsl",p.aliases=[];function p(g){g.register(i),g.languages.glsl=g.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(S){"use strict";S.exports=s,s.displayName="gml",s.aliases=[];function s(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(S){"use strict";S.exports=s,s.displayName="gn",s.aliases=["gni"];function s(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}},95769:function(S){"use strict";S.exports=s,s.displayName="goModule",s.aliases=[];function s(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(S){"use strict";S.exports=s,s.displayName="go",s.aliases=[];function s(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}},92823:function(S){"use strict";S.exports=s,s.displayName="graphql",s.aliases=[];function s(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(p){if(p.language!=="graphql")return;var g=p.tokens.filter(function(be){return typeof be!="string"&&be.type!=="comment"&&be.type!=="scalar"}),h=0;function C(be){return g[h+be]}function y(be,Ce){Ce=Ce||0;for(var j=0;j0)){var Ee=f(/^\{$/,/^\}$/);if(Ee===-1)continue;for(var se=h;se=0&&F(Se,"variable-input")}}}}})}},63092:function(S){"use strict";S.exports=s,s.displayName="groovy",s.aliases=[];function s(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(i){if(i.language==="groovy"&&i.type==="string"){var p=i.content.value[0];if(p!="'"){var g=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;p==="$"&&(g=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),i.content.value=i.content.value.replace(/</g,"<").replace(/&/g,"&"),i.content=t.highlight(i.content.value,{expression:{pattern:g,lookbehind:!0,inside:t.languages.groovy}}),i.classes.push(p==="/"?"regex":"gstring")}}})}},21550:function(S,s,t){"use strict";var i=t(75308);S.exports=p,p.displayName="haml",p.aliases=[];function p(g){g.register(i),function(h){h.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:h.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:h.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:h.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:h.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:h.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:h.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:h.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var C="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",y=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],f={},F=0,U=y.length;F@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},h.hooks.add("before-tokenize",function(C){var y=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;h.languages["markup-templating"].buildPlaceholders(C,"handlebars",y)}),h.hooks.add("after-tokenize",function(C){h.languages["markup-templating"].tokenizePlaceholders(C,"handlebars")}),h.languages.hbs=h.languages.handlebars}(g)}},2050:function(S){"use strict";S.exports=s,s.displayName="haskell",s.aliases=["hs"];function s(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}},67967:function(S){"use strict";S.exports=s,s.displayName="haxe",s.aliases=[];function s(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(S){"use strict";S.exports=s,s.displayName="hcl",s.aliases=[];function s(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="hlsl",p.aliases=[];function p(g){g.register(i),g.languages.hlsl=g.languages.extend("c",{"class-name":[g.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(S){"use strict";S.exports=s,s.displayName="hoon",s.aliases=[];function s(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(S){"use strict";S.exports=s,s.displayName="hpkp",s.aliases=[];function s(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(S){"use strict";S.exports=s,s.displayName="hsts",s.aliases=[];function s(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(S){"use strict";S.exports=s,s.displayName="http",s.aliases=[];function s(t){(function(i){function p(te){return RegExp("(^(?:"+te+"):[ ]*(?![ ]))[^]+","i")}i.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:i.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:p(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:i.languages.csp},{pattern:p(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:i.languages.hpkp},{pattern:p(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:i.languages.hsts},{pattern:p(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var g=i.languages,h={"application/javascript":g.javascript,"application/json":g.json||g.javascript,"application/xml":g.xml,"text/xml":g.xml,"text/html":g.html,"text/css":g.css,"text/plain":g.plain},C={"application/json":!0,"application/xml":!0};function y(te){var ne=te.replace(/^[a-z]+\//,""),pe="\\w+/(?:[\\w.-]+\\+)+"+ne+"(?![+\\w.-])";return"(?:"+te+"|"+pe+")"}var f;for(var F in h)if(h[F]){f=f||{};var U=C[F]?y(F):F;f[F.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+U+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:h[F]}}f&&i.languages.insertBefore("http","header",f)})(t)}},72252:function(S){"use strict";S.exports=s,s.displayName="ichigojam",s.aliases=[];function s(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(S){"use strict";S.exports=s,s.displayName="icon",s.aliases=[];function s(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(S){"use strict";S.exports=s,s.displayName="icuMessageFormat",s.aliases=[];function s(t){(function(i){function p(F,U){return U<=0?/[]/.source:F.replace(//g,function(){return p(F,U-1)})}var g=/'[{}:=,](?:[^']|'')*'(?!')/,h={pattern:/''/,greedy:!0,alias:"operator"},C={pattern:g,greedy:!0,inside:{escape:h}},y=p(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return g.source}),8),f={pattern:RegExp(y),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};i.languages["icu-message-format"]={argument:{pattern:RegExp(y),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":f,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":f,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+p(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:h,string:C},f.inside.message.inside=i.languages["icu-message-format"],i.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=i.languages["icu-message-format"]})(t)}},23328:function(S,s,t){"use strict";var i=t(2050);S.exports=p,p.displayName="idris",p.aliases=["idr"];function p(g){g.register(i),g.languages.idris=g.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),g.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),g.languages.idr=g.languages.idris}},74494:function(S){"use strict";S.exports=s,s.displayName="iecst",s.aliases=[];function s(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(S){"use strict";S.exports=s,s.displayName="ignore",s.aliases=["gitignore","hgignore","npmignore"];function s(t){(function(i){i.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore})(t)}},22152:function(S){"use strict";S.exports=s,s.displayName="inform7",s.aliases=[];function s(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(S){"use strict";S.exports=s,s.displayName="ini",s.aliases=[];function s(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(S){"use strict";S.exports=s,s.displayName="io",s.aliases=[];function s(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(S){"use strict";S.exports=s,s.displayName="java",s.aliases=[];function s(t){(function(i){var p=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,g=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,h={pattern:RegExp(g+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[h,{pattern:RegExp(g+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:h.inside}],keyword:p,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":h,keyword:p,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return p.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}},4005:function(S,s,t){"use strict";var i=t(7093),p=t(53510);S.exports=g,g.displayName="javadoc",g.aliases=[];function g(h){h.register(i),h.register(p),function(C){var y=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,f=/#\s*\w+(?:\s*\([^()]*\))?/.source,F=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return f});C.languages.javadoc=C.languages.extend("javadoclike",{}),C.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+F+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:C.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:y,lookbehind:!0,inside:C.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:y,lookbehind:!0,inside:{tag:C.languages.markup.tag,entity:C.languages.markup.entity,code:{pattern:/.+/,inside:C.languages.java,alias:"language-java"}}}}}],tag:C.languages.markup.tag,entity:C.languages.markup.entity}),C.languages.javadoclike.addSupport("java",C.languages.javadoc)}(h)}},53510:function(S){"use strict";S.exports=s,s.displayName="javadoclike",s.aliases=[];function s(t){(function(i){var p=i.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function g(C,y){var f="doc-comment",F=i.languages[C];if(F){var U=F[f];if(!U){var te={};te[f]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},F=i.languages.insertBefore(C,"comment",te),U=F[f]}if(U instanceof RegExp&&(U=F[f]={pattern:U}),Array.isArray(U))for(var ne=0,pe=U.length;ne|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}},24799:function(S){"use strict";S.exports=s,s.displayName="javastacktrace",s.aliases=[];function s(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(S){"use strict";S.exports=s,s.displayName="jexl",s.aliases=[];function s(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(S){"use strict";S.exports=s,s.displayName="jolie",s.aliases=[];function s(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(S){"use strict";S.exports=s,s.displayName="jq",s.aliases=[];function s(t){(function(i){var p=/\\\((?:[^()]|\([^()]*\))*\)/.source,g=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return p})),h={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+p),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},C=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(g.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:h},string:{pattern:g,lookbehind:!0,greedy:!0,inside:h},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};h.interpolation.inside.content.inside=C})(t)}},89246:function(S){"use strict";S.exports=s,s.displayName="jsExtras",s.aliases=[];function s(t){(function(i){i.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+i.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),i.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+i.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),i.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function p(F,U){return RegExp(F.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),U)}i.languages.insertBefore("javascript","keyword",{imports:{pattern:p(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:i.languages.javascript},exports:{pattern:p(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:i.languages.javascript}}),i.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),i.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),i.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:p(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var g=["function","function-variable","method","method-variable","property-access"],h=0;h=Y.length)return;var X=le[J];if(typeof X=="string"||typeof X.content=="string"){var ye=Y[j],fe=typeof X=="string"?X:X.content,D=fe.indexOf(ye);if(D!==-1){++j;var He=fe.substring(0,D),rt=te(G[ye]),Lt=fe.substring(D+ye.length),$e=[];if(He&&$e.push(He),$e.push(rt),Lt){var it=[Lt];W(it),$e.push.apply($e,it)}typeof X=="string"?(le.splice.apply(le,[J,1].concat($e)),J+=$e.length-1):X.content=$e}}else{var ot=X.content;Array.isArray(ot)?W(ot):W([ot])}}}return W(B),new i.Token(be,B,"language-"+be,se)}var pe={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};i.hooks.add("after-tokenize",function(se){if(!(se.language in pe))return;function Se(be){for(var Ce=0,j=be.length;Ce\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return f})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+f),lookbehind:!0,inside:{string:y.string,number:y.number,boolean:y.boolean,keyword:C.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:y,alias:"language-javascript"}}}}),C.languages.javadoclike.addSupport("javascript",C.languages.jsdoc)}(h)}},15628:function(S){"use strict";S.exports=s,s.displayName="json",s.aliases=["webmanifest"];function s(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}},14320:function(S,s,t){"use strict";var i=t(15628);S.exports=p,p.displayName="json5",p.aliases=[];function p(g){g.register(i),function(h){var C=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;h.languages.json5=h.languages.extend("json",{property:[{pattern:RegExp(C.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:C,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(g)}},73222:function(S,s,t){"use strict";var i=t(15628);S.exports=p,p.displayName="jsonp",p.aliases=[];function p(g){g.register(i),g.languages.jsonp=g.languages.extend("json",{punctuation:/[{}[\]();,.]/}),g.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(S){"use strict";S.exports=s,s.displayName="jsstacktrace",s.aliases=[];function s(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(S){"use strict";S.exports=s,s.displayName="jsx",s.aliases=[];function s(t){(function(i){var p=i.util.clone(i.languages.javascript),g=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,h=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,C=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function y(U,te){return U=U.replace(//g,function(){return g}).replace(//g,function(){return h}).replace(//g,function(){return C}),RegExp(U,te)}C=y(C).source,i.languages.jsx=i.languages.extend("markup",p),i.languages.jsx.tag.pattern=y(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.jsx.tag.inside.comment=p.comment,i.languages.insertBefore("inside","attr-name",{spread:{pattern:y(//.source),inside:i.languages.jsx}},i.languages.jsx.tag),i.languages.insertBefore("inside","special-attr",{script:{pattern:y(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:i.languages.jsx}}},i.languages.jsx.tag);var f=function(U){return U?typeof U=="string"?U:typeof U.content=="string"?U.content:U.content.map(f).join(""):""},F=function(U){for(var te=[],ne=0;ne0&&te[te.length-1].tagName===f(pe.content[0].content[1])&&te.pop():pe.content[pe.content.length-1].content==="/>"||te.push({tagName:f(pe.content[0].content[1]),openedBraces:0}):te.length>0&&pe.type==="punctuation"&&pe.content==="{"?te[te.length-1].openedBraces++:te.length>0&&te[te.length-1].openedBraces>0&&pe.type==="punctuation"&&pe.content==="}"?te[te.length-1].openedBraces--:Ee=!0),(Ee||typeof pe=="string")&&te.length>0&&te[te.length-1].openedBraces===0){var se=f(pe);ne0&&(typeof U[ne-1]=="string"||U[ne-1].type==="plain-text")&&(se=f(U[ne-1])+se,U.splice(ne-1,1),ne--),U[ne]=new i.Token("plain-text",se,null,se)}pe.content&&typeof pe.content!="string"&&F(pe.content)}};i.hooks.add("after-tokenize",function(U){U.language!=="jsx"&&U.language!=="tsx"||F(U.tokens)})})(t)}},40604:function(S){"use strict";S.exports=s,s.displayName="julia",s.aliases=[];function s(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(S){"use strict";S.exports=s,s.displayName="keepalived",s.aliases=[];function s(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(S){"use strict";S.exports=s,s.displayName="keyman",s.aliases=[];function s(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(S){"use strict";S.exports=s,s.displayName="kotlin",s.aliases=["kt","kts"];function s(t){(function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var p={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:p},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:p},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin})(t)}},37524:function(S){"use strict";S.exports=s,s.displayName="kumir",s.aliases=["kum"];function s(t){(function(i){var p=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function g(h,C){return RegExp(h.replace(//g,p),C)}i.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:g(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:g(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:g(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:g(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:g(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:g(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:g(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:g(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},i.languages.kum=i.languages.kumir})(t)}},6658:function(S){"use strict";S.exports=s,s.displayName="kusto",s.aliases=[];function s(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(S){"use strict";S.exports=s,s.displayName="latex",s.aliases=["tex","context"];function s(t){(function(i){var p=/\\(?:[^a-z()[\]]|[a-z*]+)/i,g={"equation-command":{pattern:p,alias:"regex"}};i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:g,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:g,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:p,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex})(t)}},22776:function(S,s,t){"use strict";var i=t(51478),p=t(53852);S.exports=g,g.displayName="latte",g.aliases=[];function g(h){h.register(i),h.register(p),function(C){C.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:C.languages.php}};var y=C.languages.extend("markup",{});C.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:C.languages.php}}}}}},y.tag),C.hooks.add("before-tokenize",function(f){if(f.language==="latte"){var F=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;C.languages["markup-templating"].buildPlaceholders(f,"latte",F),f.grammar=y}}),C.hooks.add("after-tokenize",function(f){C.languages["markup-templating"].tokenizePlaceholders(f,"latte")})}(h)}},89700:function(S){"use strict";S.exports=s,s.displayName="less",s.aliases=[];function s(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(S,s,t){"use strict";var i=t(48780);S.exports=p,p.displayName="lilypond",p.aliases=[];function p(g){g.register(i),function(h){for(var C=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,y=5,f=0;f/g,function(){return C});C=C.replace(//g,/[^\s\S]/.source);var F=h.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return C}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:h.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};F["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=F,h.languages.ly=F}(g)}},39940:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="liquid",p.aliases=[];function p(g){g.register(i),g.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},g.hooks.add("before-tokenize",function(h){var C=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,y=!1;g.languages["markup-templating"].buildPlaceholders(h,"liquid",C,function(f){var F=/^\{%-?\s*(\w+)/.exec(f);if(F){var U=F[1];if(U==="raw"&&!y)return y=!0,!0;if(U==="endraw")return y=!1,!0}return!y})}),g.hooks.add("after-tokenize",function(h){g.languages["markup-templating"].tokenizePlaceholders(h,"liquid")})}},34973:function(S){"use strict";S.exports=s,s.displayName="lisp",s.aliases=[];function s(t){(function(i){function p(se){return RegExp(/(\()/.source+"(?:"+se+")"+/(?=[\s\)])/.source)}function g(se){return RegExp(/([\s([])/.source+"(?:"+se+")"+/(?=[\s)])/.source)}var h=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,C="&"+h,y="(\\()",f="(?=\\))",F="(?=\\s)",U=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,te={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+h+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+h),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+h),alias:"property"},splice:{pattern:RegExp(",@?"+h),alias:["symbol","variable"]},keyword:[{pattern:RegExp(y+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+F),lookbehind:!0},{pattern:RegExp(y+"(?:append|by|collect|concat|do|finally|for|in|return)"+F),lookbehind:!0}],declare:{pattern:p(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:p(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:g(/nil|t/.source),lookbehind:!0},number:{pattern:g(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(y+"def(?:const|custom|group|var)\\s+"+h),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(h)}},defun:{pattern:RegExp(y+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+h+/\s+\(/.source+U+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+h),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(y+"lambda\\s+\\(\\s*(?:&?"+h+"(?:\\s+&?"+h+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(y+h),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},ne={"lisp-marker":RegExp(C),varform:{pattern:RegExp(/\(/.source+h+/\s+(?=\S)/.source+U+/\)/.source),inside:te},argument:{pattern:RegExp(/(^|[\s(])/.source+h),lookbehind:!0,alias:"variable"},rest:te},pe="\\S+(?:\\s+\\S+)*",Ee={pattern:RegExp(y+U+f),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+pe),inside:ne},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+pe),inside:ne},keys:{pattern:RegExp("&key\\s+"+pe+"(?:\\s+&allow-other-keys)?"),inside:ne},argument:{pattern:RegExp(h),alias:"variable"},punctuation:/[()]/}};te.lambda.inside.arguments=Ee,te.defun.inside.arguments=i.util.clone(Ee),te.defun.inside.arguments.inside.sublist=Ee,i.languages.lisp=te,i.languages.elisp=te,i.languages.emacs=te,i.languages["emacs-lisp"]=te})(t)}},98135:function(S){"use strict";S.exports=s,s.displayName="livescript",s.aliases=[];function s(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}},36907:function(S){"use strict";S.exports=s,s.displayName="llvm",s.aliases=[];function s(t){(function(i){i.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}},3567:function(S){"use strict";S.exports=s,s.displayName="log",s.aliases=[];function s(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(S){"use strict";S.exports=s,s.displayName="lolcode",s.aliases=[];function s(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},29509:function(S){"use strict";S.exports=s,s.displayName="lua",s.aliases=[];function s(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(S){"use strict";S.exports=s,s.displayName="magma",s.aliases=[];function s(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(S){"use strict";S.exports=s,s.displayName="makefile",s.aliases=[];function s(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(S){"use strict";S.exports=s,s.displayName="markdown",s.aliases=["md"];function s(t){(function(i){var p=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function g(ne){return ne=ne.replace(//g,function(){return p}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+ne+")")}var h=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,C=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return h}),y=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+C+y+"(?:"+C+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+C+y+")(?:"+C+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(h),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+C+")"+y+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+C+"$"),inside:{"table-header":{pattern:RegExp(h),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:g(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:g(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:g(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:g(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(ne){["url","bold","italic","strike","code-snippet"].forEach(function(pe){ne!==pe&&(i.languages.markdown[ne].inside.content.inside[pe]=i.languages.markdown[pe])})}),i.hooks.add("after-tokenize",function(ne){if(ne.language!=="markdown"&&ne.language!=="md")return;function pe(Ee){if(!(!Ee||typeof Ee=="string"))for(var se=0,Se=Ee.length;se",quot:'"'},U=String.fromCodePoint||String.fromCharCode;function te(ne){var pe=ne.replace(f,"");return pe=pe.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(Ee,se){if(se=se.toLowerCase(),se[0]==="#"){var Se;return se[1]==="x"?Se=parseInt(se.slice(2),16):Se=Number(se.slice(1)),U(Se)}else{var be=F[se];return be||Ee}}),pe}i.languages.md=i.languages.markdown})(t)}},51478:function(S){"use strict";S.exports=s,s.displayName="markupTemplating",s.aliases=[];function s(t){(function(i){function p(g,h){return"___"+g.toUpperCase()+h+"___"}Object.defineProperties(i.languages["markup-templating"]={},{buildPlaceholders:{value:function(g,h,C,y){if(g.language===h){var f=g.tokenStack=[];g.code=g.code.replace(C,function(F){if(typeof y=="function"&&!y(F))return F;for(var U=f.length,te;g.code.indexOf(te=p(h,U))!==-1;)++U;return f[U]=F,te}),g.grammar=i.languages.markup}}},tokenizePlaceholders:{value:function(g,h){if(g.language!==h||!g.tokenStack)return;g.grammar=i.languages[h];var C=0,y=Object.keys(g.tokenStack);function f(F){for(var U=0;U=y.length);U++){var te=F[U];if(typeof te=="string"||te.content&&typeof te.content=="string"){var ne=y[C],pe=g.tokenStack[ne],Ee=typeof te=="string"?te:te.content,se=p(h,ne),Se=Ee.indexOf(se);if(Se>-1){++C;var be=Ee.substring(0,Se),Ce=new i.Token(h,i.tokenize(pe,g.grammar),"language-"+h,pe),j=Ee.substring(Se+se.length),G=[];be&&G.push.apply(G,f([be])),G.push(Ce),j&&G.push.apply(G,f([j])),typeof te=="string"?F.splice.apply(F,[U,1].concat(G)):te.content=G}}else te.content&&f(te.content)}return F}f(g.tokens)}}})})(t)}},70614:function(S){"use strict";S.exports=s,s.displayName="markup",s.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function s(t){t.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(p,g){var h={};h["language-"+g]={pattern:/(^$)/i,lookbehind:!0,inside:t.languages[g]},h.cdata=/^$/i;var C={"included-cdata":{pattern://i,inside:h}};C["language-"+g]={pattern:/[\s\S]+/,inside:t.languages[g]};var y={};y[p]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return p}),"i"),lookbehind:!0,greedy:!0,inside:C},t.languages.insertBefore("markup","cdata",y)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(i,p){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[p,"language-"+p],inside:t.languages[p]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}},16928:function(S){"use strict";S.exports=s,s.displayName="matlab",s.aliases=[];function s(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(S){"use strict";S.exports=s,s.displayName="maxscript",s.aliases=[];function s(t){(function(i){var p=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;i.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+p.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+p.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:p,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}},37164:function(S){"use strict";S.exports=s,s.displayName="mel",s.aliases=[];function s(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}},25153:function(S){"use strict";S.exports=s,s.displayName="mermaid",s.aliases=[];function s(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(S){"use strict";S.exports=s,s.displayName="mizar",s.aliases=[];function s(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(S){"use strict";S.exports=s,s.displayName="mongodb",s.aliases=[];function s(t){(function(i){var p=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],g=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];p=p.map(function(C){return C.replace("$","\\$")});var h="(?:"+p.join("|")+")\\b";i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+h+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+g.join("|")+")\\b"),alias:"keyword"}})})(t)}},65626:function(S){"use strict";S.exports=s,s.displayName="monkey",s.aliases=[];function s(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(S){"use strict";S.exports=s,s.displayName="moonscript",s.aliases=["moon"];function s(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}},40722:function(S){"use strict";S.exports=s,s.displayName="n1ql",s.aliases=[];function s(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(S){"use strict";S.exports=s,s.displayName="n4js",s.aliases=["n4jsd"];function s(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}},41224:function(S){"use strict";S.exports=s,s.displayName="nand2tetrisHdl",s.aliases=[];function s(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(S){"use strict";S.exports=s,s.displayName="naniscript",s.aliases=[];function s(t){(function(i){var p=/\{[^\r\n\[\]{}]*\}/,g={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:p,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};i.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:p,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:g}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:p,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:g},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},i.languages.nani=i.languages.naniscript,i.hooks.add("after-tokenize",function(y){var f=y.tokens;f.forEach(function(F){if(typeof F!="string"&&F.type==="generic-text"){var U=C(F);h(U)||(F.type="bad-line",F.content=U)}})});function h(y){for(var f="[]{}",F=[],U=0;U=&|$!]/}}},32964:function(S){"use strict";S.exports=s,s.displayName="neon",s.aliases=[];function s(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(S){"use strict";S.exports=s,s.displayName="nevod",s.aliases=[];function s(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(S){"use strict";S.exports=s,s.displayName="nginx",s.aliases=[];function s(t){(function(i){var p=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;i.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:p}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:p}},punctuation:/[{};]/}})(t)}},66791:function(S){"use strict";S.exports=s,s.displayName="nim",s.aliases=[];function s(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(S){"use strict";S.exports=s,s.displayName="nix",s.aliases=[];function s(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}},13490:function(S){"use strict";S.exports=s,s.displayName="nsis",s.aliases=[];function s(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="objectivec",p.aliases=["objc"];function p(g){g.register(i),g.languages.objectivec=g.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete g.languages.objectivec["class-name"],g.languages.objc=g.languages.objectivec}},66894:function(S){"use strict";S.exports=s,s.displayName="ocaml",s.aliases=[];function s(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="opencl",p.aliases=[];function p(g){g.register(i),function(h){h.languages.opencl=h.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),h.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var C={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};h.languages.insertBefore("c","keyword",C),h.languages.cpp&&(C["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},h.languages.insertBefore("cpp","keyword",C))}(g)}},27734:function(S){"use strict";S.exports=s,s.displayName="openqasm",s.aliases=["qasm"];function s(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}},91889:function(S){"use strict";S.exports=s,s.displayName="oz",s.aliases=[];function s(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(S){"use strict";S.exports=s,s.displayName="parigp",s.aliases=[];function s(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return i=i.map(function(p){return p.split("").join(" *")}).join("|"),RegExp("\\b(?:"+i+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(S){"use strict";S.exports=s,s.displayName="parser",s.aliases=[];function s(t){(function(i){var p=i.languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});p=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:p.keyword,variable:p.variable,function:p.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:p.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:p.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:p.expression,keyword:p.keyword,variable:p.variable,function:p.function,escape:p.escape,"parser-punctuation":{pattern:p.punctuation,alias:"punctuation"}},p.tag.inside["attr-value"])})(t)}},92949:function(S){"use strict";S.exports=s,s.displayName="pascal",s.aliases=["objectpascal"];function s(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}},5681:function(S){"use strict";S.exports=s,s.displayName="pascaligo",s.aliases=[];function s(t){(function(i){var p=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,g=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return p}),h=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return g}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return g}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return g})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},C=["comment","keyword","builtin","operator","punctuation"].reduce(function(y,f){return y[f]=h[f],y},{});h["class-name"].forEach(function(y){y.inside=C})})(t)}},70696:function(S){"use strict";S.exports=s,s.displayName="pcaxis",s.aliases=["px"];function s(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}},35790:function(S){"use strict";S.exports=s,s.displayName="peoplecode",s.aliases=["pcode"];function s(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}},25777:function(S){"use strict";S.exports=s,s.displayName="perl",s.aliases=[];function s(t){(function(i){var p=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;i.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,p].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,p].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,p+/\s*/.source+p].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}},65889:function(S,s,t){"use strict";var i=t(53852);S.exports=p,p.displayName="phpExtras",p.aliases=[];function p(g){g.register(i),g.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="php",p.aliases=[];function p(g){g.register(i),function(h){var C=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,y=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],f=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,F=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,U=/[{}\[\](),:;]/;h.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:C,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:y,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:f,operator:F,punctuation:U};var te={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:h.languages.php},ne=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:te}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:te}}];h.languages.insertBefore("php","variable",{string:ne,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:C,string:ne,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:y,number:f,operator:F,punctuation:U}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),h.hooks.add("before-tokenize",function(pe){if(/<\?/.test(pe.code)){var Ee=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;h.languages["markup-templating"].buildPlaceholders(pe,"php",Ee)}}),h.hooks.add("after-tokenize",function(pe){h.languages["markup-templating"].tokenizePlaceholders(pe,"php")})}(g)}},97719:function(S,s,t){"use strict";var i=t(53852),p=t(53510);S.exports=g,g.displayName="phpdoc",g.aliases=[];function g(h){h.register(i),h.register(p),function(C){var y=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;C.languages.phpdoc=C.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+y+"\\s+)?)\\$\\w+"),lookbehind:!0}}),C.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+y),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),C.languages.javadoclike.addSupport("php",C.languages.phpdoc)}(h)}},63839:function(S,s,t){"use strict";var i=t(69435);S.exports=p,p.displayName="plsql",p.aliases=[];function p(g){g.register(i),g.languages.plsql=g.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),g.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(S){"use strict";S.exports=s,s.displayName="powerquery",s.aliases=[];function s(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}},32530:function(S){"use strict";S.exports=s,s.displayName="powershell",s.aliases=[];function s(t){(function(i){var p=i.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};p.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:p},boolean:p.boolean,variable:p.variable}})(t)}},8938:function(S){"use strict";S.exports=s,s.displayName="processing",s.aliases=[];function s(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(S){"use strict";S.exports=s,s.displayName="prolog",s.aliases=[];function s(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(S){"use strict";S.exports=s,s.displayName="promql",s.aliases=[];function s(t){(function(i){var p=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],g=["on","ignoring","group_right","group_left","by","without"],h=["offset"],C=p.concat(g,h);i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+g.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+C.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}},15375:function(S){"use strict";S.exports=s,s.displayName="properties",s.aliases=[];function s(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(S){"use strict";S.exports=s,s.displayName="protobuf",s.aliases=[];function s(t){(function(i){var p=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;i.languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:p}},builtin:p,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}},83588:function(S){"use strict";S.exports=s,s.displayName="psl",s.aliases=[];function s(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(S){"use strict";S.exports=s,s.displayName="pug",s.aliases=[];function s(t){(function(i){i.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:i.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:i.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:i.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:i.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:i.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:i.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:i.languages.javascript}],punctuation:/[.\-!=|]+/};for(var p=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,g=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],h={},C=0,y=g.length;C",function(){return f.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[f.language,"language-"+f.language],inside:i.languages[f.language]}}})}i.languages.insertBefore("pug","filter",h)})(t)}},21294:function(S){"use strict";S.exports=s,s.displayName="puppet",s.aliases=[];function s(t){(function(i){i.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var p=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];i.languages.puppet.heredoc[0].inside.interpolation=p,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=p})(t)}},38709:function(S){"use strict";S.exports=s,s.displayName="pure",s.aliases=[];function s(t){(function(i){i.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var p=["c",{lang:"c++",alias:"cpp"},"fortran"],g=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;p.forEach(function(h){var C=h;if(typeof h!="string"&&(C=h.alias,h=h.lang),i.languages[C]){var y={};y["inline-lang-"+C]={pattern:RegExp(g.replace("",h.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},y["inline-lang-"+C].inside.rest=i.util.clone(i.languages[C]),i.languages.insertBefore("pure","inline-lang",y)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))})(t)}},15008:function(S){"use strict";S.exports=s,s.displayName="purebasic",s.aliases=[];function s(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}},96549:function(S,s,t){"use strict";var i=t(2050);S.exports=p,p.displayName="purescript",p.aliases=["purs"];function p(g){g.register(i),g.languages.purescript=g.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[g.languages.haskell.operator[0],g.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),g.languages.purs=g.languages.purescript}},5221:function(S){"use strict";S.exports=s,s.displayName="python",s.aliases=["py"];function s(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}},27447:function(S){"use strict";S.exports=s,s.displayName="q",s.aliases=[];function s(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(S){"use strict";S.exports=s,s.displayName="qml",s.aliases=[];function s(t){(function(i){for(var p=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,g=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,h=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return p}).replace(//g,function(){return g}),C=0;C<2;C++)h=h.replace(//g,function(){return h});h=h.replace(//g,"[^\\s\\S]"),i.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return h}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return h}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}},75542:function(S){"use strict";S.exports=s,s.displayName="qore",s.aliases=[];function s(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(S){"use strict";S.exports=s,s.displayName="qsharp",s.aliases=["qs"];function s(t){(function(i){function p(Ee,se){return Ee.replace(/<<(\d+)>>/g,function(Se,be){return"(?:"+se[+be]+")"})}function g(Ee,se,Se){return RegExp(p(Ee,se),Se||"")}function h(Ee,se){for(var Se=0;Se>/g,function(){return"(?:"+Ee+")"});return Ee.replace(/<>/g,"[^\\s\\S]")}var C={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function y(Ee){return"\\b(?:"+Ee.trim().replace(/ /g,"|")+")\\b"}var f=RegExp(y(C.type+" "+C.other)),F=/\b[A-Za-z_]\w*\b/.source,U=p(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[F]),te={keyword:f,punctuation:/[<>()?,.:[\]]/},ne=/"(?:\\.|[^\\"])*"/.source;i.languages.qsharp=i.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:g(/(^|[^$\\])<<0>>/.source,[ne]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:g(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[U]),lookbehind:!0,inside:te},{pattern:g(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[U]),lookbehind:!0,inside:te}],keyword:f,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),i.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var pe=h(p(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[ne]),2);i.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:g(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[pe]),greedy:!0,inside:{interpolation:{pattern:g(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[pe]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:i.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}},44298:function(S){"use strict";S.exports=s,s.displayName="r",s.aliases=[];function s(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(S,s,t){"use strict";var i=t(48780);S.exports=p,p.displayName="racket",p.aliases=["rkt"];function p(g){g.register(i),g.languages.racket=g.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),g.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),g.languages.rkt=g.languages.racket}},75266:function(S){"use strict";S.exports=s,s.displayName="reason",s.aliases=[];function s(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}},48139:function(S){"use strict";S.exports=s,s.displayName="regex",s.aliases=[];function s(t){(function(i){var p={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},g=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,h={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},C={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},y="(?:[^\\\\-]|"+g.source+")",f=RegExp(y+"-"+y),F={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:f,inside:{escape:g,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":p,"char-set":C,escape:g}},"special-escape":p,"char-set":h,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":F}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:g,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(S){"use strict";S.exports=s,s.displayName="renpy",s.aliases=["rpy"];function s(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}},63919:function(S){"use strict";S.exports=s,s.displayName="rest",s.aliases=[];function s(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(S){"use strict";S.exports=s,s.displayName="rip",s.aliases=[];function s(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(S){"use strict";S.exports=s,s.displayName="roboconf",s.aliases=[];function s(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(S){"use strict";S.exports=s,s.displayName="robotframework",s.aliases=[];function s(t){(function(i){var p={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},g={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function h(F,U){var te={};te["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var ne in U)te[ne]=U[ne];return te.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},te.variable=g,te.comment=p,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return F}),"im"),alias:"section",inside:te}}var C={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},y={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:g}},f={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:g}};i.languages.robotframework={settings:h("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:h("Variables"),"test-cases":h("Test Cases",{"test-name":y,documentation:C,property:f}),keywords:h("Keywords",{"keyword-name":y,documentation:C,property:f}),tasks:h("Tasks",{"task-name":y,documentation:C,property:f}),comment:p},i.languages.robot=i.languages.robotframework})(t)}},75308:function(S){"use strict";S.exports=s,s.displayName="ruby",s.aliases=["rb"];function s(t){(function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var p={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var g="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",h=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+g+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:p,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:p,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+h),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+h+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+g),greedy:!0,inside:{interpolation:p,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:p,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:p,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+g),greedy:!0,inside:{interpolation:p,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:p,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby})(t)}},45315:function(S){"use strict";S.exports=s,s.displayName="rust",s.aliases=[];function s(t){(function(i){for(var p=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,g=0;g<2;g++)p=p.replace(//g,function(){return p});p=p.replace(//g,function(){return/[^\s\S]/.source}),i.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+p),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},i.languages.rust["closure-params"].inside.rest=i.languages.rust,i.languages.rust.attribute.inside.string=i.languages.rust.string})(t)}},13794:function(S){"use strict";S.exports=s,s.displayName="sas",s.aliases=[];function s(t){(function(i){var p=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,g=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,h={pattern:RegExp(p+"[bx]"),alias:"number"},C={pattern:/&[a-z_]\w*/i},y={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},f={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},F=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],U={pattern:RegExp(p),greedy:!0},te=/[$%@.(){}\[\];,\\]/,ne={pattern:/%?\b\w+(?=\()/,alias:"keyword"},pe={function:ne,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":C,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:g,"numeric-constant":h,punctuation:te,string:U},Ee={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},se={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},Se={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},be={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},Ce=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,j={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return Ce}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return Ce}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:F,function:ne,"arg-value":pe["arg-value"],operator:pe.operator,argument:pe.arg,number:g,"numeric-constant":h,punctuation:te,string:U}},G={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return p}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":Se,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:g,"numeric-constant":h,punctuation:te,string:U}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:F,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return p}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:G,"submit-statement":be,"global-statements":Se,number:g,"numeric-constant":h,punctuation:te,string:U}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:F,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return p}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:G,"submit-statement":be,"global-statements":Se,number:g,"numeric-constant":h,punctuation:te,string:U}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:F,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:pe}},"cas-actions":j,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:pe},step:f,keyword:G,function:ne,format:Ee,altformat:se,"global-statements":Se,number:g,"numeric-constant":h,punctuation:te,string:U}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return p}),"im"),lookbehind:!0,inside:pe},"macro-keyword":y,"macro-variable":C,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":y,"macro-variable":C,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:te}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:F,number:g,"numeric-constant":h}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:pe},"cas-actions":j,comment:F,function:ne,format:Ee,altformat:se,"numeric-constant":h,datetime:{pattern:RegExp(p+"(?:dt?|t)"),alias:"number"},string:U,step:f,keyword:G,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:g,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:te}})(t)}},41299:function(S){"use strict";S.exports=s,s.displayName="sass",s.aliases=[];function s(t){(function(i){i.languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule;var p=/\$[-\w]+|#\{\$[-\w]+\}/,g=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:p,operator:g}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:p,operator:g,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}},98177:function(S,s,t){"use strict";var i=t(7093);S.exports=p,p.displayName="scala",p.aliases=[];function p(g){g.register(i),g.languages.scala=g.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),g.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:g.languages.scala}}},string:/[\s\S]+/}}}),delete g.languages.scala["class-name"],delete g.languages.scala.function}},48780:function(S){"use strict";S.exports=s,s.displayName="scheme",s.aliases=[];function s(t){(function(i){i.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(p({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function p(g){for(var h in g)g[h]=g[h].replace(/<[\w\s]+>/g,function(C){return"(?:"+g[C].trim()+")"});return g[h]}})(t)}},79793:function(S){"use strict";S.exports=s,s.displayName="scss",s.aliases=[];function s(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}},52085:function(S,s,t){"use strict";var i=t(3058);S.exports=p,p.displayName="shellSession",p.aliases=[];function p(g){g.register(i),function(h){var C=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");h.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return C}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:h.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},h.languages["sh-session"]=h.languages.shellsession=h.languages["shell-session"]}(g)}},65411:function(S){"use strict";S.exports=s,s.displayName="smali",s.aliases=[];function s(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(S){"use strict";S.exports=s,s.displayName="smalltalk",s.aliases=[];function s(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="smarty",p.aliases=[];function p(g){g.register(i),function(h){h.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:h.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},h.languages.smarty["embedded-php"].inside.smarty.inside=h.languages.smarty,h.languages.smarty.string[0].inside.interpolation.inside.expression.inside=h.languages.smarty;var C=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,y=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return C.source}),"g");h.hooks.add("before-tokenize",function(f){var F="{literal}",U="{/literal}",te=!1;h.languages["markup-templating"].buildPlaceholders(f,"smarty",y,function(ne){return ne===U&&(te=!1),te?!1:(ne===F&&(te=!0),!0)})}),h.hooks.add("after-tokenize",function(f){h.languages["markup-templating"].tokenizePlaceholders(f,"smarty")})}(g)}},66433:function(S){"use strict";S.exports=s,s.displayName="sml",s.aliases=["smlnj"];function s(t){(function(i){var p=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;i.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return p.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:p,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml})(t)}},34855:function(S){"use strict";S.exports=s,s.displayName="solidity",s.aliases=["sol"];function s(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}},12998:function(S){"use strict";S.exports=s,s.displayName="solutionFile",s.aliases=[];function s(t){(function(i){var p={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};i.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:p}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:p}},guid:p,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]})(t)}},10202:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="soy",p.aliases=[];function p(g){g.register(i),function(h){var C=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,y=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;h.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:C,greedy:!0},number:y,punctuation:/[\[\].?]/}},string:{pattern:C,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:y,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},h.hooks.add("before-tokenize",function(f){var F=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,U="{literal}",te="{/literal}",ne=!1;h.languages["markup-templating"].buildPlaceholders(f,"soy",F,function(pe){return pe===te&&(ne=!1),ne?!1:(pe===U&&(ne=!0),!0)})}),h.hooks.add("after-tokenize",function(f){h.languages["markup-templating"].tokenizePlaceholders(f,"soy")})}(g)}},41186:function(S,s,t){"use strict";var i=t(58710);S.exports=p,p.displayName="sparql",p.aliases=["rq"];function p(g){g.register(i),g.languages.sparql=g.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),g.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),g.languages.rq=g.languages.sparql}},68963:function(S){"use strict";S.exports=s,s.displayName="splunkSpl",s.aliases=[];function s(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(S){"use strict";S.exports=s,s.displayName="sqf",s.aliases=[];function s(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}},69435:function(S){"use strict";S.exports=s,s.displayName="sql",s.aliases=[];function s(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(S){"use strict";S.exports=s,s.displayName="squirrel",s.aliases=[];function s(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(S){"use strict";S.exports=s,s.displayName="stan",s.aliases=[];function s(t){(function(i){var p=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;i.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+p.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,p],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan})(t)}},89032:function(S){"use strict";S.exports=s,s.displayName="stylus",s.aliases=[];function s(t){(function(i){var p={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},g={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},h={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:p,number:g,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:p,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:g,punctuation:/[{}()\[\];:,]/};h.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:h}},h.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:h}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:h}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:h}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:h}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:h.interpolation}},rest:h}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:h.interpolation,comment:h.comment,punctuation:/[{},]/}},func:h.func,string:h.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:h.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}},40241:function(S){"use strict";S.exports=s,s.displayName="swift",s.aliases=[];function s(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=t.languages.swift})}},24812:function(S){"use strict";S.exports=s,s.displayName="systemd",s.aliases=[];function s(t){(function(i){var p={pattern:/^[;#].*/m,greedy:!0},g=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;i.languages.systemd={comment:p,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+g+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+g+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:p,quoted:{pattern:RegExp(/(^|\s)/.source+g),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}},16747:function(S,s,t){"use strict";var i=t(73584),p=t(87648);S.exports=g,g.displayName="t4Cs",g.aliases=[];function g(h){h.register(i),h.register(p),h.languages.t4=h.languages["t4-cs"]=h.languages["t4-templating"].createT4("csharp")}},73584:function(S){"use strict";S.exports=s,s.displayName="t4Templating",s.aliases=[];function s(t){(function(i){function p(h,C,y){return{pattern:RegExp("<#"+h+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+h+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:C,alias:y}}}}function g(h){var C=i.languages[h],y="language-"+h;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:p("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:p("=",C,y),"class-feature":p("\\+",C,y),standard:p("",C,y)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:g})})(t)}},79243:function(S,s,t){"use strict";var i=t(73584),p=t(55686);S.exports=g,g.displayName="t4Vb",g.aliases=[];function g(h){h.register(i),h.register(p),h.languages["t4-vb"]=h.languages["t4-templating"].createT4("vbnet")}},31788:function(S,s,t){"use strict";var i=t(14409);S.exports=p,p.displayName="tap",p.aliases=[];function p(g){g.register(i),g.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:g.languages.yaml,alias:"language-yaml"}}}},60871:function(S){"use strict";S.exports=s,s.displayName="tcl",s.aliases=[];function s(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(S){"use strict";S.exports=s,s.displayName="textile",s.aliases=[];function s(t){(function(i){var p=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,g=/\)|\((?![^|()\n]+\))/.source;function h(ne,pe){return RegExp(ne.replace(//g,function(){return"(?:"+p+")"}).replace(//g,function(){return"(?:"+g+")"}),pe||"")}var C={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},y=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:h(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:h(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:C},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:h(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:h(/(^[*#]+)+/.source),lookbehind:!0,inside:C},punctuation:/^[*#]+/}},table:{pattern:h(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:h(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:C},punctuation:/\||^\./}},inline:{pattern:h(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:h(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:h(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:h(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:h(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:h(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:h(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:h(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:h(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:C},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:h(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:h(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:h(/(^")+/.source),lookbehind:!0,inside:C},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:h(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:h(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:h(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:C},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),f=y.phrase.inside,F={inline:f.inline,link:f.link,image:f.image,footnote:f.footnote,acronym:f.acronym,mark:f.mark};y.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var U=f.inline.inside;U.bold.inside=F,U.italic.inside=F,U.inserted.inside=F,U.deleted.inside=F,U.span.inside=F;var te=f.table.inside;te.inline=F.inline,te.link=F.link,te.image=F.image,te.footnote=F.footnote,te.acronym=F.acronym,te.mark=F.mark})(t)}},14693:function(S){"use strict";S.exports=s,s.displayName="toml",s.aliases=[];function s(t){(function(i){var p=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function g(h){return h.replace(/__/g,function(){return p})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(g(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(g(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}},8743:function(S){"use strict";S.exports=s,s.displayName="tremor",s.aliases=[];function s(t){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var p=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+p+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+p+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(p),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(t)}},1689:function(S,s,t){"use strict";var i=t(24103),p=t(92784);S.exports=g,g.displayName="tsx",g.aliases=[];function g(h){h.register(i),h.register(p),function(C){var y=C.util.clone(C.languages.typescript);C.languages.tsx=C.languages.extend("jsx",y),delete C.languages.tsx.parameter,delete C.languages.tsx["literal-property"];var f=C.languages.tsx.tag;f.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+f.pattern.source+")",f.pattern.flags),f.lookbehind=!0}(h)}},69210:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="tt2",p.aliases=[];function p(g){g.register(i),function(h){h.languages.tt2=h.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),h.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),h.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),h.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete h.languages.tt2.string,h.hooks.add("before-tokenize",function(C){var y=/\[%[\s\S]+?%\]/g;h.languages["markup-templating"].buildPlaceholders(C,"tt2",y)}),h.hooks.add("after-tokenize",function(C){h.languages["markup-templating"].tokenizePlaceholders(C,"tt2")})}(g)}},58710:function(S){"use strict";S.exports=s,s.displayName="turtle",s.aliases=[];function s(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}},60452:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="twig",p.aliases=[];function p(g){g.register(i),g.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},g.hooks.add("before-tokenize",function(h){if(h.language==="twig"){var C=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;g.languages["markup-templating"].buildPlaceholders(h,"twig",C)}}),g.hooks.add("after-tokenize",function(h){g.languages["markup-templating"].tokenizePlaceholders(h,"twig")})}},92784:function(S){"use strict";S.exports=s,s.displayName="typescript",s.aliases=["ts"];function s(t){(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var p=i.languages.extend("typescript",{});delete p["class-name"],i.languages.typescript["class-name"].inside=p,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:p}}}}),i.languages.ts=i.languages.typescript})(t)}},36489:function(S){"use strict";S.exports=s,s.displayName="typoscript",s.aliases=["tsconfig"];function s(t){(function(i){var p=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:p}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:p,number:/^\d+$/,punctuation:/[,|:]/}},keyword:p,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(t)}},78380:function(S){"use strict";S.exports=s,s.displayName="unrealscript",s.aliases=["uc","uscript"];function s(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}},10409:function(S){"use strict";S.exports=s,s.displayName="uorazor",s.aliases=[];function s(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(S){"use strict";S.exports=s,s.displayName="uri",s.aliases=["url"];function s(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}},82028:function(S){"use strict";S.exports=s,s.displayName="v",s.aliases=[];function s(t){(function(i){var p={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":p}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),p.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})})(t)}},62282:function(S){"use strict";S.exports=s,s.displayName="vala",s.aliases=[];function s(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(S,s,t){"use strict";var i=t(51422);S.exports=p,p.displayName="vbnet",p.aliases=[];function p(g){g.register(i),g.languages.vbnet=g.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(S){"use strict";S.exports=s,s.displayName="velocity",s.aliases=[];function s(t){(function(i){i.languages.velocity=i.languages.extend("markup",{});var p={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};p.variable.inside={string:p.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:p.number,boolean:p.boolean,punctuation:p.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:p}},variable:p.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity})(t)}},37116:function(S){"use strict";S.exports=s,s.displayName="verilog",s.aliases=[];function s(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(S){"use strict";S.exports=s,s.displayName="vhdl",s.aliases=[];function s(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(S){"use strict";S.exports=s,s.displayName="vim",s.aliases=[];function s(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(S){"use strict";S.exports=s,s.displayName="visualBasic",s.aliases=[];function s(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}},17723:function(S){"use strict";S.exports=s,s.displayName="warpscript",s.aliases=[];function s(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(S){"use strict";S.exports=s,s.displayName="wasm",s.aliases=[];function s(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(S){"use strict";S.exports=s,s.displayName="webIdl",s.aliases=[];function s(t){(function(i){var p=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,g="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+p+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,h={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+p),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp("("+/\bcallback\s+/.source+p+/\s*=\s*/.source+")"+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\btypedef\b\s*)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+p),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+p),lookbehind:!0},RegExp(p+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+p),lookbehind:!0},{pattern:RegExp(g+"(?="+/\s*(?:\.{3}\s*)?/.source+p+/\s*[(),;=]/.source+")"),inside:h}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var C in i.languages["web-idl"])C!=="class-name"&&(h[C]=i.languages["web-idl"][C]);i.languages.webidl=i.languages["web-idl"]})(t)}},8921:function(S){"use strict";S.exports=s,s.displayName="wiki",s.aliases=[];function s(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}},13429:function(S){"use strict";S.exports=s,s.displayName="wolfram",s.aliases=["mathematica","wl","nb"];function s(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}},65197:function(S){"use strict";S.exports=s,s.displayName="wren",s.aliases=[];function s(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(S){"use strict";S.exports=s,s.displayName="xeora",s.aliases=["xeoracube"];function s(t){(function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora})(t)}},35:function(S){"use strict";S.exports=s,s.displayName="xmlDoc",s.aliases=[];function s(t){(function(i){function p(y,f){i.languages[y]&&i.languages.insertBefore(y,"comment",{"doc-comment":f})}var g=i.languages.markup.tag,h={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:g}},C={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:g}};p("csharp",h),p("fsharp",h),p("vbnet",C)})(t)}},86095:function(S){"use strict";S.exports=s,s.displayName="xojo",s.aliases=[];function s(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(S){"use strict";S.exports=s,s.displayName="xquery",s.aliases=[];function s(t){(function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var p=function(h){return typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join("")},g=function(h){for(var C=[],y=0;y0&&C[C.length-1].tagName===p(f.content[0].content[1])&&C.pop():f.content[f.content.length-1].content==="/>"||C.push({tagName:p(f.content[0].content[1]),openedBraces:0}):C.length>0&&f.type==="punctuation"&&f.content==="{"&&(!h[y+1]||h[y+1].type!=="punctuation"||h[y+1].content!=="{")&&(!h[y-1]||h[y-1].type!=="plain-text"||h[y-1].content!=="{")?C[C.length-1].openedBraces++:C.length>0&&C[C.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?C[C.length-1].openedBraces--:f.type!=="comment"&&(F=!0)),(F||typeof f=="string")&&C.length>0&&C[C.length-1].openedBraces===0){var U=p(f);y0&&(typeof h[y-1]=="string"||h[y-1].type==="plain-text")&&(U=p(h[y-1])+U,h.splice(y-1,1),y--),/^\s+$/.test(U)?h[y]=U:h[y]=new i.Token("plain-text",U,null,U)}f.content&&typeof f.content!="string"&&g(f.content)}};i.hooks.add("after-tokenize",function(h){h.language==="xquery"&&g(h.tokens)})})(t)}},14409:function(S){"use strict";S.exports=s,s.displayName="yaml",s.aliases=["yml"];function s(t){(function(i){var p=/[*&][^\s[\]{},]+/,g=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,h="(?:"+g.source+"(?:[ ]+"+p.source+")?|"+p.source+"(?:[ ]+"+g.source+")?)",C=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),y=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(F,U){U=(U||"").replace(/m/g,"")+"m";var te=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return F});return RegExp(te,U)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return h})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return"(?:"+C+"|"+y+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(y),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:g,important:p,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(t)}},33460:function(S){"use strict";S.exports=s,s.displayName="yang",s.aliases=[];function s(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(S){"use strict";S.exports=s,s.displayName="zig",s.aliases=[];function s(t){(function(i){function p(U){return function(){return U}}var g=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,h="\\b(?!"+g.source+")(?!\\d)\\w+\\b",C=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,y=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,p(C)),f=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,p(h)),F="(?!\\s)(?:!?\\s*(?:"+y+"\\s*)*"+f+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,p(F)).replace(//g,p(C))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,p(F)).replace(//g,p(C))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:g,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(U){U.inside===null&&(U.inside=i.languages.zig)})})(t)}},92848:function(S,s){"use strict";var t;s.Q=h,t=C;var i="",p=" ",g=/[ \t\n\r\f]+/g;function h(y){var f=String(y||i).trim();return f===i?[]:f.split(g)}function C(y){return y.join(p).trim()}},6526:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(C){return C&&C.__esModule?C:{default:C}},p=i(t(78846)),g=t(11160);function h(C,y){var f={};return!C||typeof C!="string"||(0,p.default)(C,function(F,U){F&&U&&(f[(0,g.camelCase)(F,y)]=U)}),f}h.default=h,S.exports=h},11160:function(S,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,p=/^[^-]+$/,g=/^-(webkit|moz|ms|o|khtml)-/,h=/^-(ms)-/,C=function(U){return!U||p.test(U)||t.test(U)},y=function(U,te){return te.toUpperCase()},f=function(U,te){return"".concat(te,"-")},F=function(U,te){return te===void 0&&(te={}),C(U)?U:(U=U.toLowerCase(),te.reactCompat?U=U.replace(h,f):U=U.replace(g,f),U.replace(i,y))};s.camelCase=F},78846:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(s,"__esModule",{value:!0}),s.default=g;var p=i(t(93193));function g(h,C){var y=null;if(!h||typeof h!="string")return y;var f=(0,p.default)(h),F=typeof C=="function";return f.forEach(function(U){if(U.type==="declaration"){var te=U.property,ne=U.value;F?C(te,ne,U):ne&&(y=y||{},y[te]=ne)}}),y}},97270:function(S){S.exports=t;var s=Object.prototype.hasOwnProperty;function t(){for(var i={},p=0;p{const le=(X,ye)=>(Y.set(ye,X),X),J=X=>{if(Y.has(X))return Y.get(X);const[ye,fe]=W[X];switch(ye){case p:case i:return le(fe,X);case g:{const D=le([],X);for(const He of fe)D.push(J(He));return D}case h:{const D=le({},X);for(const[He,rt]of fe)D[J(He)]=J(rt);return D}case C:return le(new Date(fe),X);case y:{const{source:D,flags:He}=fe;return le(new RegExp(D,He),X)}case f:{const D=le(new Map,X);for(const[He,rt]of fe)D.set(J(He),J(rt));return D}case F:{const D=le(new Set,X);for(const He of fe)D.add(J(He));return D}case U:{const{name:D,message:He}=fe;return le(new ne[D](He),X)}case te:return le(BigInt(fe),X);case"BigInt":return le(Object(BigInt(fe)),X);case"ArrayBuffer":return le(new Uint8Array(fe).buffer,fe);case"DataView":{const{buffer:D}=new Uint8Array(fe);return le(new DataView(D),fe)}}return le(new ne[ye](fe),X)};return J},Ee=Y=>pe(new Map,Y)(0),se="",{toString:Se}={},{keys:be}=Object,Ce=Y=>{const W=typeof Y;if(W!=="object"||!Y)return[p,W];const le=Se.call(Y).slice(8,-1);switch(le){case"Array":return[g,se];case"Object":return[h,se];case"Date":return[C,se];case"RegExp":return[y,se];case"Map":return[f,se];case"Set":return[F,se];case"DataView":return[g,le]}return le.includes("Array")?[g,le]:le.includes("Error")?[U,le]:[h,le]},j=([Y,W])=>Y===p&&(W==="function"||W==="symbol"),G=(Y,W,le,J)=>{const X=(fe,D)=>{const He=J.push(fe)-1;return le.set(D,He),He},ye=fe=>{if(le.has(fe))return le.get(fe);let[D,He]=Ce(fe);switch(D){case p:{let Lt=fe;switch(He){case"bigint":D=te,Lt=fe.toString();break;case"function":case"symbol":if(Y)throw new TypeError("unable to serialize "+He);Lt=null;break;case"undefined":return X([i],fe)}return X([D,Lt],fe)}case g:{if(He){let it=fe;return He==="DataView"?it=new Uint8Array(fe.buffer):He==="ArrayBuffer"&&(it=new Uint8Array(fe)),X([He,[...it]],fe)}const Lt=[],$e=X([D,Lt],fe);for(const it of fe)Lt.push(ye(it));return $e}case h:{if(He)switch(He){case"BigInt":return X([He,fe.toString()],fe);case"Boolean":case"Number":case"String":return X([He,fe.valueOf()],fe)}if(W&&"toJSON"in fe)return ye(fe.toJSON());const Lt=[],$e=X([D,Lt],fe);for(const it of be(fe))(Y||!j(Ce(fe[it])))&&Lt.push([ye(it),ye(fe[it])]);return $e}case C:return X([D,fe.toISOString()],fe);case y:{const{source:Lt,flags:$e}=fe;return X([D,{source:Lt,flags:$e}],fe)}case f:{const Lt=[],$e=X([D,Lt],fe);for(const[it,ot]of fe)(Y||!(j(Ce(it))||j(Ce(ot))))&&Lt.push([ye(it),ye(ot)]);return $e}case F:{const Lt=[],$e=X([D,Lt],fe);for(const it of fe)(Y||!j(Ce(it)))&&Lt.push(ye(it));return $e}}const{message:rt}=fe;return X([D,{name:He,message:rt}],fe)};return ye},Z=(Y,{json:W,lossy:le}={})=>{const J=[];return G(!(W||le),!!W,new Map,J)(Y),J};var B=typeof structuredClone=="function"?(Y,W)=>W&&("json"in W||"lossy"in W)?Ee(Z(Y,W)):structuredClone(Y):(Y,W)=>Ee(Z(Y,W))},11630:function(S,s,t){"use strict";t.d(s,{P:function(){return p},Q:function(){return i}});function i(g){const h=[],C=String(g||"");let y=C.indexOf(","),f=0,F=!1;for(;!F;){y===-1&&(y=C.length,F=!0);const U=C.slice(f,y).trim();(U||!F)&&h.push(U),f=y+1,y=C.indexOf(",",f)}return h}function p(g,h){const C=h||{};return(g[g.length-1]===""?[...g,""]:g).join((C.padRight?" ":"")+","+(C.padLeft===!1?"":" ")).trim()}},87342:function(S,s,t){"use strict";t.d(s,{ok:function(){return g},t1:function(){return h}});function i(C){return C}function p(){}function g(){}function h(){}},81994:function(S,s,t){"use strict";t.d(s,{h:function(){return be},s:function(){return Ce}});var i=t(14470),p=t(11630);const g=/[#.]/g;function h(j,G){const Z=j||"",B={};let Y=0,W,le;for(;Y-1&&se.test(String.fromCharCode(be))}}},14470:function(S,s,t){"use strict";t.d(s,{dy:function(){return Se},YP:function(){return be}});class i{constructor(j,G,Z){this.normal=G,this.property=j,Z&&(this.space=Z)}}i.prototype.normal={},i.prototype.property={},i.prototype.space=void 0;function p(Ce,j){const G={},Z={};for(const B of Ce)Object.assign(G,B.property),Object.assign(Z,B.normal);return new i(G,Z,j)}var g=t(13830),h=t(53538);function C(Ce){const j={},G={};for(const[Z,B]of Object.entries(Ce.properties)){const Y=new h.I(Z,Ce.transform(Ce.attributes||{},Z),B,Ce.space);Ce.mustUseProperty&&Ce.mustUseProperty.includes(Z)&&(Y.mustUseProperty=!0),j[Z]=Y,G[(0,g.F)(Z)]=Z,G[(0,g.F)(Y.attribute)]=Z}return new i(j,G,Ce.space)}var y=t(71337);const f=C({properties:{ariaActiveDescendant:null,ariaAtomic:y.booleanish,ariaAutoComplete:null,ariaBusy:y.booleanish,ariaChecked:y.booleanish,ariaColCount:y.number,ariaColIndex:y.number,ariaColSpan:y.number,ariaControls:y.spaceSeparated,ariaCurrent:null,ariaDescribedBy:y.spaceSeparated,ariaDetails:null,ariaDisabled:y.booleanish,ariaDropEffect:y.spaceSeparated,ariaErrorMessage:null,ariaExpanded:y.booleanish,ariaFlowTo:y.spaceSeparated,ariaGrabbed:y.booleanish,ariaHasPopup:null,ariaHidden:y.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:y.spaceSeparated,ariaLevel:y.number,ariaLive:null,ariaModal:y.booleanish,ariaMultiLine:y.booleanish,ariaMultiSelectable:y.booleanish,ariaOrientation:null,ariaOwns:y.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:y.number,ariaPressed:y.booleanish,ariaReadOnly:y.booleanish,ariaRelevant:null,ariaRequired:y.booleanish,ariaRoleDescription:y.spaceSeparated,ariaRowCount:y.number,ariaRowIndex:y.number,ariaRowSpan:y.number,ariaSelected:y.booleanish,ariaSetSize:y.number,ariaSort:null,ariaValueMax:y.number,ariaValueMin:y.number,ariaValueNow:y.number,ariaValueText:null,role:null},transform(Ce,j){return j==="role"?j:"aria-"+j.slice(4).toLowerCase()}});function F(Ce,j){return j in Ce?Ce[j]:j}function U(Ce,j){return F(Ce,j.toLowerCase())}const te=C({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:y.commaSeparated,acceptCharset:y.spaceSeparated,accessKey:y.spaceSeparated,action:null,allow:null,allowFullScreen:y.boolean,allowPaymentRequest:y.boolean,allowUserMedia:y.boolean,alt:null,as:null,async:y.boolean,autoCapitalize:null,autoComplete:y.spaceSeparated,autoFocus:y.boolean,autoPlay:y.boolean,blocking:y.spaceSeparated,capture:null,charSet:null,checked:y.boolean,cite:null,className:y.spaceSeparated,cols:y.number,colSpan:null,content:null,contentEditable:y.booleanish,controls:y.boolean,controlsList:y.spaceSeparated,coords:y.number|y.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y.boolean,defer:y.boolean,dir:null,dirName:null,disabled:y.boolean,download:y.overloadedBoolean,draggable:y.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y.boolean,formTarget:null,headers:y.spaceSeparated,height:y.number,hidden:y.overloadedBoolean,high:y.number,href:null,hrefLang:null,htmlFor:y.spaceSeparated,httpEquiv:y.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:y.boolean,inputMode:null,integrity:null,is:null,isMap:y.boolean,itemId:null,itemProp:y.spaceSeparated,itemRef:y.spaceSeparated,itemScope:y.boolean,itemType:y.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y.boolean,low:y.number,manifest:null,max:null,maxLength:y.number,media:null,method:null,min:null,minLength:y.number,multiple:y.boolean,muted:y.boolean,name:null,nonce:null,noModule:y.boolean,noValidate:y.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y.boolean,optimum:y.number,pattern:null,ping:y.spaceSeparated,placeholder:null,playsInline:y.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y.boolean,referrerPolicy:null,rel:y.spaceSeparated,required:y.boolean,reversed:y.boolean,rows:y.number,rowSpan:y.number,sandbox:y.spaceSeparated,scope:null,scoped:y.boolean,seamless:y.boolean,selected:y.boolean,shadowRootClonable:y.boolean,shadowRootDelegatesFocus:y.boolean,shadowRootMode:null,shape:null,size:y.number,sizes:null,slot:null,span:y.number,spellCheck:y.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:y.number,step:null,style:null,tabIndex:y.number,target:null,title:null,translate:null,type:null,typeMustMatch:y.boolean,useMap:null,value:y.booleanish,width:y.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:y.spaceSeparated,axis:null,background:null,bgColor:null,border:y.number,borderColor:null,bottomMargin:y.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y.boolean,declare:y.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:y.number,leftMargin:y.number,link:null,longDesc:null,lowSrc:null,marginHeight:y.number,marginWidth:y.number,noResize:y.boolean,noHref:y.boolean,noShade:y.boolean,noWrap:y.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:y.number,rules:null,scheme:null,scrolling:y.booleanish,standby:null,summary:null,text:null,topMargin:y.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:y.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y.boolean,disableRemotePlayback:y.boolean,prefix:null,property:null,results:y.number,security:null,unselectable:null},space:"html",transform:U}),ne=C({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:y.commaOrSpaceSeparated,accentHeight:y.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:y.number,amplitude:y.number,arabicForm:null,ascent:y.number,attributeName:null,attributeType:null,azimuth:y.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:y.number,by:null,calcMode:null,capHeight:y.number,className:y.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:y.number,diffuseConstant:y.number,direction:null,display:null,dur:null,divisor:y.number,dominantBaseline:null,download:y.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:y.number,enableBackground:null,end:null,event:null,exponent:y.number,externalResourcesRequired:null,fill:null,fillOpacity:y.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:y.commaSeparated,g2:y.commaSeparated,glyphName:y.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:y.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:y.number,horizOriginX:y.number,horizOriginY:y.number,id:null,ideographic:y.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:y.number,k:y.number,k1:y.number,k2:y.number,k3:y.number,k4:y.number,kernelMatrix:y.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:y.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:y.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:y.number,overlineThickness:y.number,paintOrder:null,panose1:null,path:null,pathLength:y.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:y.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:y.number,pointsAtY:y.number,pointsAtZ:y.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:y.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:y.commaOrSpaceSeparated,rev:y.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:y.commaOrSpaceSeparated,requiredFeatures:y.commaOrSpaceSeparated,requiredFonts:y.commaOrSpaceSeparated,requiredFormats:y.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:y.number,specularExponent:y.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:y.number,strikethroughThickness:y.number,string:null,stroke:null,strokeDashArray:y.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:y.number,strokeOpacity:y.number,strokeWidth:null,style:null,surfaceScale:y.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:y.commaOrSpaceSeparated,tabIndex:y.number,tableValues:null,target:null,targetX:y.number,targetY:y.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:y.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:y.number,underlineThickness:y.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:y.number,values:null,vAlphabetic:y.number,vMathematical:y.number,vectorEffect:null,vHanging:y.number,vIdeographic:y.number,version:null,vertAdvY:y.number,vertOriginX:y.number,vertOriginY:y.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:y.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:F}),pe=C({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(Ce,j){return"xlink:"+j.slice(5).toLowerCase()}}),Ee=C({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:U}),se=C({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(Ce,j){return"xml:"+j.slice(3).toLowerCase()}}),Se=p([f,te,pe,Ee,se],"html"),be=p([f,ne,pe,Ee,se],"svg")},86825:function(S,s,t){"use strict";t.d(s,{s:function(){return f}});var i=t(53538),p=t(25629),g=t(13830);const h=/[A-Z]/g,C=/-[a-z]/g,y=/^data[-\w.:]+$/i;function f(te,ne){const pe=(0,g.F)(ne);let Ee=ne,se=p.k;if(pe in te.normal)return te.property[te.normal[pe]];if(pe.length>4&&pe.slice(0,4)==="data"&&y.test(ne)){if(ne.charAt(4)==="-"){const Se=ne.slice(5).replace(C,U);Ee="data"+Se.charAt(0).toUpperCase()+Se.slice(1)}else{const Se=ne.slice(4);if(!C.test(Se)){let be=Se.replace(h,F);be.charAt(0)!=="-"&&(be="-"+be),ne="data"+be}}se=i.I}return new se(Ee,ne)}function F(te){return"-"+te.toLowerCase()}function U(te){return te.charAt(1).toUpperCase()}},13830:function(S,s,t){"use strict";t.d(s,{F:function(){return i}});function i(p){return p.toLowerCase()}},53538:function(S,s,t){"use strict";t.d(s,{I:function(){return h}});var i=t(25629),p=t(71337);const g=Object.keys(p);class h extends i.k{constructor(f,F,U,te){let ne=-1;if(super(f,F),C(this,"space",te),typeof U=="number")for(;++ne0){const m=d.length>1?d:d[0];m&&(o.children=m)}}function ct(o,d,m){return E;function E(I,k,M,q){const Me=Array.isArray(M.children)?m:d;return q?Me(k,M,q):Me(k,M)}}function Xe(o,d){return m;function m(E,I,k,M){const q=Array.isArray(k.children),Be=(0,B.Pk)(E);return d(I,k,M,q,{columnNumber:Be?Be.column-1:void 0,fileName:o,lineNumber:Be?Be.line:void 0},void 0)}}function tn(o,d){const m={};let E,I;for(I in d.properties)if(I!=="children"&&ye.call(d.properties,I)){const k=dn(o,I,d.properties[I]);if(k){const[M,q]=k;o.tableCellAlignToStyle&&M==="align"&&typeof q=="string"&&rt.has(d.tagName)?E=q:m[M]=q}}if(E){const k=m.style||(m.style={});k[o.stylePropertyNameCase==="css"?"text-align":"textAlign"]=E}return m}function zt(o,d){const m={};for(const E of d.attributes)if(E.type==="mdxJsxExpressionAttribute")if(E.data&&E.data.estree&&o.evaluater){const k=E.data.estree.body[0];(0,p.ok)(k.type==="ExpressionStatement");const M=k.expression;(0,p.ok)(M.type==="ObjectExpression");const q=M.properties[0];(0,p.ok)(q.type==="SpreadElement"),Object.assign(m,o.evaluater.evaluateExpression(q.argument))}else Xt(o,d.position);else{const I=E.name;let k;if(E.value&&typeof E.value=="object")if(E.value.data&&E.value.data.estree&&o.evaluater){const q=E.value.data.estree.body[0];(0,p.ok)(q.type==="ExpressionStatement"),k=o.evaluater.evaluateExpression(q.expression)}else Xt(o,d.position);else k=E.value===null?!0:E.value;m[I]=k}return m}function un(o,d){const m=[];let E=-1;const I=o.passKeys?new Map:fe;for(;++EI?0:I+d:d=d>I?I:d,m=m>0?m:0,E.length<1e4)M=Array.from(E),M.unshift(d,m),o.splice(...M);else for(m&&o.splice(d,m);k0?(Q(o,o.length,0,d),o):d}class ht{constructor(d){this.left=d?[...d]:[],this.right=[]}get(d){if(d<0||d>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+d+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return dthis.left.length?this.right.slice(this.right.length-E+this.left.length,this.right.length-d+this.left.length).reverse():this.left.slice(d).concat(this.right.slice(this.right.length-E+this.left.length).reverse())}splice(d,m,E){const I=m||0;this.setCursor(Math.trunc(d));const k=this.right.splice(this.right.length-I,Number.POSITIVE_INFINITY);return E&&at(this.left,E),k.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(d){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(d)}pushMany(d){this.setCursor(Number.POSITIVE_INFINITY),at(this.left,d)}unshift(d){this.setCursor(0),this.right.push(d)}unshiftMany(d){this.setCursor(0),at(this.right,d.reverse())}setCursor(d){if(!(d===this.left.length||d>this.left.length&&this.right.length===0||d<0&&this.left.length===0))if(dM))return;const Qn=d.events.length;let fr=Qn,Sn,cr;for(;fr--;)if(d.events[fr][0]==="exit"&&d.events[fr][1].type==="chunkFlow"){if(Sn){cr=d.events[fr][1].end;break}Sn=!0}for(Gt(E),Ht=Qn;Hton;){const Xn=m[Dn];d.containerState=Xn[1],Xn[0].exit.call(d,o)}m.length=on}function rn(){I.write([null]),k=void 0,I=void 0,d.containerState._closeFlow=void 0}}function Cn(o,d,m){return(0,tt.f)(o,o.attempt(this.parser.constructs.document,d,m),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Mt={partial:!0,tokenize:Hn};function Hn(o,d,m){return E;function E(k){return(0,Re.xz)(k)?(0,tt.f)(o,I,"linePrefix")(k):I(k)}function I(k){return k===null||(0,Re.Ch)(k)?d(k):m(k)}}const On={resolve:zn,tokenize:dr},kn={partial:!0,tokenize:Jn};function zn(o){return Et(o),o}function dr(o,d){let m;return E;function E(q){return o.enter("content"),m=o.enter("chunkContent",{contentType:"content"}),I(q)}function I(q){return q===null?k(q):(0,Re.Ch)(q)?o.check(kn,M,k)(q):(o.consume(q),I)}function k(q){return o.exit("chunkContent"),o.exit("content"),d(q)}function M(q){return o.consume(q),o.exit("chunkContent"),m.next=o.enter("chunkContent",{contentType:"content",previous:m}),m=m.next,I}}function Jn(o,d,m){const E=this;return I;function I(M){return o.exit("chunkContent"),o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),(0,tt.f)(o,k,"linePrefix")}function k(M){if(M===null||(0,Re.Ch)(M))return m(M);const q=E.events[E.events.length-1];return!E.parser.constructs.disable.null.includes("codeIndented")&&q&&q[1].type==="linePrefix"&&q[2].sliceSerialize(q[1],!0).length>=4?d(M):o.interrupt(E.parser.constructs.flow,m,d)(M)}}const Cr={tokenize:Hr};function Hr(o){const d=this,m=o.attempt(Mt,E,o.attempt(this.parser.constructs.flowInitial,I,(0,tt.f)(o,o.attempt(this.parser.constructs.flow,I,o.attempt(On,I)),"linePrefix")));return m;function E(k){if(k===null){o.consume(k);return}return o.enter("lineEndingBlank"),o.consume(k),o.exit("lineEndingBlank"),d.currentConstruct=void 0,m}function I(k){if(k===null){o.consume(k);return}return o.enter("lineEnding"),o.consume(k),o.exit("lineEnding"),d.currentConstruct=void 0,m}}const _n={resolveAll:Yr()},ar=Ar("string"),Gn=Ar("text");function Ar(o){return{resolveAll:Yr(o==="text"?Kr:void 0),tokenize:d};function d(m){const E=this,I=this.parser.constructs[o],k=m.attempt(I,M,q);return M;function M(de){return Me(de)?k(de):q(de)}function q(de){if(de===null){m.consume(de);return}return m.enter("data"),m.consume(de),Be}function Be(de){return Me(de)?(m.exit("data"),k(de)):(m.consume(de),Be)}function Me(de){if(de===null)return!0;const Ue=I[de];let De=-1;if(Ue)for(;++De=3&&(Me===null||(0,Re.Ch)(Me))?(o.exit("thematicBreak"),d(Me)):m(Me)}function Be(Me){return Me===I?(o.consume(Me),E++,Be):(o.exit("thematicBreakSequence"),(0,Re.xz)(Me)?(0,tt.f)(o,q,"whitespace")(Me):q(Me))}}const Wn={continuation:{tokenize:It},exit:Qt,name:"list",tokenize:hr},Vn={partial:!0,tokenize:qt},sa={partial:!0,tokenize:ut};function hr(o,d,m){const E=this,I=E.events[E.events.length-1];let k=I&&I[1].type==="linePrefix"?I[2].sliceSerialize(I[1],!0).length:0,M=0;return q;function q(ge){const Bt=E.containerState.type||(ge===42||ge===43||ge===45?"listUnordered":"listOrdered");if(Bt==="listUnordered"?!E.containerState.marker||ge===E.containerState.marker:(0,Re.pY)(ge)){if(E.containerState.type||(E.containerState.type=Bt,o.enter(Bt,{_container:!0})),Bt==="listUnordered")return o.enter("listItemPrefix"),ge===42||ge===45?o.check(Nr,m,Me)(ge):Me(ge);if(!E.interrupt||ge===49)return o.enter("listItemPrefix"),o.enter("listItemValue"),Be(ge)}return m(ge)}function Be(ge){return(0,Re.pY)(ge)&&++M<10?(o.consume(ge),Be):(!E.interrupt||M<2)&&(E.containerState.marker?ge===E.containerState.marker:ge===41||ge===46)?(o.exit("listItemValue"),Me(ge)):m(ge)}function Me(ge){return o.enter("listItemMarker"),o.consume(ge),o.exit("listItemMarker"),E.containerState.marker=E.containerState.marker||ge,o.check(Mt,E.interrupt?m:de,o.attempt(Vn,De,Ue))}function de(ge){return E.containerState.initialBlankLine=!0,k++,De(ge)}function Ue(ge){return(0,Re.xz)(ge)?(o.enter("listItemPrefixWhitespace"),o.consume(ge),o.exit("listItemPrefixWhitespace"),De):m(ge)}function De(ge){return E.containerState.size=k+E.sliceSerialize(o.exit("listItemPrefix"),!0).length,d(ge)}}function It(o,d,m){const E=this;return E.containerState._closeFlow=void 0,o.check(Mt,I,k);function I(q){return E.containerState.furtherBlankLines=E.containerState.furtherBlankLines||E.containerState.initialBlankLine,(0,tt.f)(o,d,"listItemIndent",E.containerState.size+1)(q)}function k(q){return E.containerState.furtherBlankLines||!(0,Re.xz)(q)?(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,M(q)):(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,o.attempt(sa,d,M)(q))}function M(q){return E.containerState._closeFlow=!0,E.interrupt=void 0,(0,tt.f)(o,o.attempt(Wn,d,m),"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q)}}function ut(o,d,m){const E=this;return(0,tt.f)(o,I,"listItemIndent",E.containerState.size+1);function I(k){const M=E.events[E.events.length-1];return M&&M[1].type==="listItemIndent"&&M[2].sliceSerialize(M[1],!0).length===E.containerState.size?d(k):m(k)}}function Qt(o){o.exit(this.containerState.type)}function qt(o,d,m){const E=this;return(0,tt.f)(o,I,"listItemPrefixWhitespace",E.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function I(k){const M=E.events[E.events.length-1];return!(0,Re.xz)(k)&&M&&M[1].type==="listItemPrefixWhitespace"?d(k):m(k)}}const Tt={continuation:{tokenize:gt},exit:hn,name:"blockQuote",tokenize:mn};function mn(o,d,m){const E=this;return I;function I(M){if(M===62){const q=E.containerState;return q.open||(o.enter("blockQuote",{_container:!0}),q.open=!0),o.enter("blockQuotePrefix"),o.enter("blockQuoteMarker"),o.consume(M),o.exit("blockQuoteMarker"),k}return m(M)}function k(M){return(0,Re.xz)(M)?(o.enter("blockQuotePrefixWhitespace"),o.consume(M),o.exit("blockQuotePrefixWhitespace"),o.exit("blockQuotePrefix"),d):(o.exit("blockQuotePrefix"),d(M))}}function gt(o,d,m){const E=this;return I;function I(M){return(0,Re.xz)(M)?(0,tt.f)(o,k,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):k(M)}function k(M){return o.attempt(Tt,d,m)(M)}}function hn(o){o.exit("blockQuote")}function Oe(o,d,m,E,I,k,M,q,Be){const Me=Be||Number.POSITIVE_INFINITY;let de=0;return Ue;function Ue(Gt){return Gt===60?(o.enter(E),o.enter(I),o.enter(k),o.consume(Gt),o.exit(k),De):Gt===null||Gt===32||Gt===41||(0,Re.Av)(Gt)?m(Gt):(o.enter(E),o.enter(M),o.enter(q),o.enter("chunkString",{contentType:"string"}),en(Gt))}function De(Gt){return Gt===62?(o.enter(k),o.consume(Gt),o.exit(k),o.exit(I),o.exit(E),d):(o.enter(q),o.enter("chunkString",{contentType:"string"}),ge(Gt))}function ge(Gt){return Gt===62?(o.exit("chunkString"),o.exit(q),De(Gt)):Gt===null||Gt===60||(0,Re.Ch)(Gt)?m(Gt):(o.consume(Gt),Gt===92?Bt:ge)}function Bt(Gt){return Gt===60||Gt===62||Gt===92?(o.consume(Gt),ge):ge(Gt)}function en(Gt){return!de&&(Gt===null||Gt===41||(0,Re.z3)(Gt))?(o.exit("chunkString"),o.exit(q),o.exit(M),o.exit(E),d(Gt)):de999||ge===null||ge===91||ge===93&&!Be||ge===94&&!q&&"_hiddenFootnoteSupport"in M.parser.constructs?m(ge):ge===93?(o.exit(k),o.enter(I),o.consume(ge),o.exit(I),o.exit(E),d):(0,Re.Ch)(ge)?(o.enter("lineEnding"),o.consume(ge),o.exit("lineEnding"),de):(o.enter("chunkString",{contentType:"string"}),Ue(ge))}function Ue(ge){return ge===null||ge===91||ge===93||(0,Re.Ch)(ge)||q++>999?(o.exit("chunkString"),de(ge)):(o.consume(ge),Be||(Be=!(0,Re.xz)(ge)),ge===92?De:Ue)}function De(ge){return ge===91||ge===92||ge===93?(o.consume(ge),q++,Ue):Ue(ge)}}function c(o,d,m,E,I,k){let M;return q;function q(De){return De===34||De===39||De===40?(o.enter(E),o.enter(I),o.consume(De),o.exit(I),M=De===40?41:De,Be):m(De)}function Be(De){return De===M?(o.enter(I),o.consume(De),o.exit(I),o.exit(E),d):(o.enter(k),Me(De))}function Me(De){return De===M?(o.exit(k),Be(M)):De===null?m(De):(0,Re.Ch)(De)?(o.enter("lineEnding"),o.consume(De),o.exit("lineEnding"),(0,tt.f)(o,Me,"linePrefix")):(o.enter("chunkString",{contentType:"string"}),de(De))}function de(De){return De===M||De===null||(0,Re.Ch)(De)?(o.exit("chunkString"),Me(De)):(o.consume(De),De===92?Ue:de)}function Ue(De){return De===M||De===92?(o.consume(De),de):de(De)}}function pt(o,d){let m;return E;function E(I){return(0,Re.Ch)(I)?(o.enter("lineEnding"),o.consume(I),o.exit("lineEnding"),m=!0,E):(0,Re.xz)(I)?(0,tt.f)(o,E,m?"linePrefix":"lineSuffix")(I):d(I)}}function Dt(o){return o.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ke={name:"definition",tokenize:Rt},kt={partial:!0,tokenize:gn};function Rt(o,d,m){const E=this;let I;return k;function k(ge){return o.enter("definition"),M(ge)}function M(ge){return oe.call(E,o,q,m,"definitionLabel","definitionLabelMarker","definitionLabelString")(ge)}function q(ge){return I=Dt(E.sliceSerialize(E.events[E.events.length-1][1]).slice(1,-1)),ge===58?(o.enter("definitionMarker"),o.consume(ge),o.exit("definitionMarker"),Be):m(ge)}function Be(ge){return(0,Re.z3)(ge)?pt(o,Me)(ge):Me(ge)}function Me(ge){return Oe(o,de,m,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(ge)}function de(ge){return o.attempt(kt,Ue,Ue)(ge)}function Ue(ge){return(0,Re.xz)(ge)?(0,tt.f)(o,De,"whitespace")(ge):De(ge)}function De(ge){return ge===null||(0,Re.Ch)(ge)?(o.exit("definition"),E.parser.defined.push(I),d(ge)):m(ge)}}function gn(o,d,m){return E;function E(q){return(0,Re.z3)(q)?pt(o,I)(q):m(q)}function I(q){return c(o,k,m,"definitionTitle","definitionTitleMarker","definitionTitleString")(q)}function k(q){return(0,Re.xz)(q)?(0,tt.f)(o,M,"whitespace")(q):M(q)}function M(q){return q===null||(0,Re.Ch)(q)?d(q):m(q)}}const vn={name:"codeIndented",tokenize:Ln},ce={partial:!0,tokenize:nr};function Ln(o,d,m){const E=this;return I;function I(Me){return o.enter("codeIndented"),(0,tt.f)(o,k,"linePrefix",5)(Me)}function k(Me){const de=E.events[E.events.length-1];return de&&de[1].type==="linePrefix"&&de[2].sliceSerialize(de[1],!0).length>=4?M(Me):m(Me)}function M(Me){return Me===null?Be(Me):(0,Re.Ch)(Me)?o.attempt(ce,M,Be)(Me):(o.enter("codeFlowValue"),q(Me))}function q(Me){return Me===null||(0,Re.Ch)(Me)?(o.exit("codeFlowValue"),M(Me)):(o.consume(Me),q)}function Be(Me){return o.exit("codeIndented"),d(Me)}}function nr(o,d,m){const E=this;return I;function I(M){return E.parser.lazy[E.now().line]?m(M):(0,Re.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),I):(0,tt.f)(o,k,"linePrefix",5)(M)}function k(M){const q=E.events[E.events.length-1];return q&&q[1].type==="linePrefix"&&q[2].sliceSerialize(q[1],!0).length>=4?d(M):(0,Re.Ch)(M)?I(M):m(M)}}const or={name:"headingAtx",resolve:Zn,tokenize:T};function Zn(o,d){let m=o.length-2,E=3,I,k;return o[E][1].type==="whitespace"&&(E+=2),m-2>E&&o[m][1].type==="whitespace"&&(m-=2),o[m][1].type==="atxHeadingSequence"&&(E===m-1||m-4>E&&o[m-2][1].type==="whitespace")&&(m-=E+1===m?2:4),m>E&&(I={type:"atxHeadingText",start:o[E][1].start,end:o[m][1].end},k={type:"chunkText",start:o[E][1].start,end:o[m][1].end,contentType:"text"},Q(o,E,m-E+1,[["enter",I,d],["enter",k,d],["exit",k,d],["exit",I,d]])),o}function T(o,d,m){let E=0;return I;function I(de){return o.enter("atxHeading"),k(de)}function k(de){return o.enter("atxHeadingSequence"),M(de)}function M(de){return de===35&&E++<6?(o.consume(de),M):de===null||(0,Re.z3)(de)?(o.exit("atxHeadingSequence"),q(de)):m(de)}function q(de){return de===35?(o.enter("atxHeadingSequence"),Be(de)):de===null||(0,Re.Ch)(de)?(o.exit("atxHeading"),d(de)):(0,Re.xz)(de)?(0,tt.f)(o,q,"whitespace")(de):(o.enter("atxHeadingText"),Me(de))}function Be(de){return de===35?(o.consume(de),Be):(o.exit("atxHeadingSequence"),q(de))}function Me(de){return de===null||de===35||(0,Re.z3)(de)?(o.exit("atxHeadingText"),q(de)):(o.consume(de),Me)}}const A={name:"setextUnderline",resolveTo:Pt,tokenize:z};function Pt(o,d){let m=o.length,E,I,k;for(;m--;)if(o[m][0]==="enter"){if(o[m][1].type==="content"){E=m;break}o[m][1].type==="paragraph"&&(I=m)}else o[m][1].type==="content"&&o.splice(m,1),!k&&o[m][1].type==="definition"&&(k=m);const M={type:"setextHeading",start:ur({},o[E][1].start),end:ur({},o[o.length-1][1].end)};return o[I][1].type="setextHeadingText",k?(o.splice(I,0,["enter",M,d]),o.splice(k+1,0,["exit",o[E][1],d]),o[E][1].end=ur({},o[k][1].end)):o[E][1]=M,o.push(["exit",M,d]),o}function z(o,d,m){const E=this;let I;return k;function k(Me){let de=E.events.length,Ue;for(;de--;)if(E.events[de][1].type!=="lineEnding"&&E.events[de][1].type!=="linePrefix"&&E.events[de][1].type!=="content"){Ue=E.events[de][1].type==="paragraph";break}return!E.parser.lazy[E.now().line]&&(E.interrupt||Ue)?(o.enter("setextHeadingLine"),I=Me,M(Me)):m(Me)}function M(Me){return o.enter("setextHeadingLineSequence"),q(Me)}function q(Me){return Me===I?(o.consume(Me),q):(o.exit("setextHeadingLineSequence"),(0,Re.xz)(Me)?(0,tt.f)(o,Be,"lineSuffix")(Me):Be(Me))}function Be(Me){return Me===null||(0,Re.Ch)(Me)?(o.exit("setextHeadingLine"),d(Me)):m(Me)}}const Ie=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Un=["pre","script","style","textarea"],Vt={concrete:!0,name:"htmlFlow",resolveTo:xn,tokenize:Ir},pr={partial:!0,tokenize:ba},wr={partial:!0,tokenize:yr};function xn(o){let d=o.length;for(;d--&&!(o[d][0]==="enter"&&o[d][1].type==="htmlFlow"););return d>1&&o[d-2][1].type==="linePrefix"&&(o[d][1].start=o[d-2][1].start,o[d+1][1].start=o[d-2][1].start,o.splice(d-2,2)),o}function Ir(o,d,m){const E=this;let I,k,M,q,Be;return Me;function Me(je){return de(je)}function de(je){return o.enter("htmlFlow"),o.enter("htmlFlowData"),o.consume(je),Ue}function Ue(je){return je===33?(o.consume(je),De):je===47?(o.consume(je),k=!0,en):je===63?(o.consume(je),I=3,E.interrupt?d:Ae):(0,Re.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function De(je){return je===45?(o.consume(je),I=2,ge):je===91?(o.consume(je),I=5,q=0,Bt):(0,Re.jv)(je)?(o.consume(je),I=4,E.interrupt?d:Ae):m(je)}function ge(je){return je===45?(o.consume(je),E.interrupt?d:Ae):m(je)}function Bt(je){const Jr="CDATA[";return je===Jr.charCodeAt(q++)?(o.consume(je),q===Jr.length?E.interrupt?d:qn:Bt):m(je)}function en(je){return(0,Re.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function bn(je){if(je===null||je===47||je===62||(0,Re.z3)(je)){const Jr=je===47,ma=M.toLowerCase();return!Jr&&!k&&Un.includes(ma)?(I=1,E.interrupt?d(je):qn(je)):Ie.includes(M.toLowerCase())?(I=6,Jr?(o.consume(je),Gt):E.interrupt?d(je):qn(je)):(I=7,E.interrupt&&!E.parser.lazy[E.now().line]?m(je):k?rn(je):on(je))}return je===45||(0,Re.H$)(je)?(o.consume(je),M+=String.fromCharCode(je),bn):m(je)}function Gt(je){return je===62?(o.consume(je),E.interrupt?d:qn):m(je)}function rn(je){return(0,Re.xz)(je)?(o.consume(je),rn):cr(je)}function on(je){return je===47?(o.consume(je),cr):je===58||je===95||(0,Re.jv)(je)?(o.consume(je),Dn):(0,Re.xz)(je)?(o.consume(je),on):cr(je)}function Dn(je){return je===45||je===46||je===58||je===95||(0,Re.H$)(je)?(o.consume(je),Dn):Xn(je)}function Xn(je){return je===61?(o.consume(je),Ht):(0,Re.xz)(je)?(o.consume(je),Xn):on(je)}function Ht(je){return je===null||je===60||je===61||je===62||je===96?m(je):je===34||je===39?(o.consume(je),Be=je,Qn):(0,Re.xz)(je)?(o.consume(je),Ht):fr(je)}function Qn(je){return je===Be?(o.consume(je),Be=null,Sn):je===null||(0,Re.Ch)(je)?m(je):(o.consume(je),Qn)}function fr(je){return je===null||je===34||je===39||je===47||je===60||je===61||je===62||je===96||(0,Re.z3)(je)?Xn(je):(o.consume(je),fr)}function Sn(je){return je===47||je===62||(0,Re.xz)(je)?on(je):m(je)}function cr(je){return je===62?(o.consume(je),er):m(je)}function er(je){return je===null||(0,Re.Ch)(je)?qn(je):(0,Re.xz)(je)?(o.consume(je),er):m(je)}function qn(je){return je===45&&I===2?(o.consume(je),fn):je===60&&I===1?(o.consume(je),En):je===62&&I===4?(o.consume(je),Pn):je===63&&I===3?(o.consume(je),Ae):je===93&&I===5?(o.consume(je),rr):(0,Re.Ch)(je)&&(I===6||I===7)?(o.exit("htmlFlowData"),o.check(pr,sr,Tn)(je)):je===null||(0,Re.Ch)(je)?(o.exit("htmlFlowData"),Tn(je)):(o.consume(je),qn)}function Tn(je){return o.check(wr,jn,sr)(je)}function jn(je){return o.enter("lineEnding"),o.consume(je),o.exit("lineEnding"),an}function an(je){return je===null||(0,Re.Ch)(je)?Tn(je):(o.enter("htmlFlowData"),qn(je))}function fn(je){return je===45?(o.consume(je),Ae):qn(je)}function En(je){return je===47?(o.consume(je),M="",yn):qn(je)}function yn(je){if(je===62){const Jr=M.toLowerCase();return Un.includes(Jr)?(o.consume(je),Pn):qn(je)}return(0,Re.jv)(je)&&M.length<8?(o.consume(je),M+=String.fromCharCode(je),yn):qn(je)}function rr(je){return je===93?(o.consume(je),Ae):qn(je)}function Ae(je){return je===62?(o.consume(je),Pn):je===45&&I===2?(o.consume(je),Ae):qn(je)}function Pn(je){return je===null||(0,Re.Ch)(je)?(o.exit("htmlFlowData"),sr(je)):(o.consume(je),Pn)}function sr(je){return o.exit("htmlFlow"),d(je)}}function yr(o,d,m){const E=this;return I;function I(M){return(0,Re.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),k):m(M)}function k(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}function ba(o,d,m){return E;function E(I){return o.enter("lineEnding"),o.consume(I),o.exit("lineEnding"),o.attempt(Mt,d,m)}}const Fe={partial:!0,tokenize:ta},Xr={concrete:!0,name:"codeFenced",tokenize:Qe};function Qe(o,d,m){const E=this,I={partial:!0,tokenize:Xn};let k=0,M=0,q;return Be;function Be(Ht){return Me(Ht)}function Me(Ht){const Qn=E.events[E.events.length-1];return k=Qn&&Qn[1].type==="linePrefix"?Qn[2].sliceSerialize(Qn[1],!0).length:0,q=Ht,o.enter("codeFenced"),o.enter("codeFencedFence"),o.enter("codeFencedFenceSequence"),de(Ht)}function de(Ht){return Ht===q?(M++,o.consume(Ht),de):M<3?m(Ht):(o.exit("codeFencedFenceSequence"),(0,Re.xz)(Ht)?(0,tt.f)(o,Ue,"whitespace")(Ht):Ue(Ht))}function Ue(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("codeFencedFence"),E.interrupt?d(Ht):o.check(Fe,en,Dn)(Ht)):(o.enter("codeFencedFenceInfo"),o.enter("chunkString",{contentType:"string"}),De(Ht))}function De(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),Ue(Ht)):(0,Re.xz)(Ht)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),(0,tt.f)(o,ge,"whitespace")(Ht)):Ht===96&&Ht===q?m(Ht):(o.consume(Ht),De)}function ge(Ht){return Ht===null||(0,Re.Ch)(Ht)?Ue(Ht):(o.enter("codeFencedFenceMeta"),o.enter("chunkString",{contentType:"string"}),Bt(Ht))}function Bt(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("chunkString"),o.exit("codeFencedFenceMeta"),Ue(Ht)):Ht===96&&Ht===q?m(Ht):(o.consume(Ht),Bt)}function en(Ht){return o.attempt(I,Dn,bn)(Ht)}function bn(Ht){return o.enter("lineEnding"),o.consume(Ht),o.exit("lineEnding"),Gt}function Gt(Ht){return k>0&&(0,Re.xz)(Ht)?(0,tt.f)(o,rn,"linePrefix",k+1)(Ht):rn(Ht)}function rn(Ht){return Ht===null||(0,Re.Ch)(Ht)?o.check(Fe,en,Dn)(Ht):(o.enter("codeFlowValue"),on(Ht))}function on(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("codeFlowValue"),rn(Ht)):(o.consume(Ht),on)}function Dn(Ht){return o.exit("codeFenced"),d(Ht)}function Xn(Ht,Qn,fr){let Sn=0;return cr;function cr(an){return Ht.enter("lineEnding"),Ht.consume(an),Ht.exit("lineEnding"),er}function er(an){return Ht.enter("codeFencedFence"),(0,Re.xz)(an)?(0,tt.f)(Ht,qn,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(an):qn(an)}function qn(an){return an===q?(Ht.enter("codeFencedFenceSequence"),Tn(an)):fr(an)}function Tn(an){return an===q?(Sn++,Ht.consume(an),Tn):Sn>=M?(Ht.exit("codeFencedFenceSequence"),(0,Re.xz)(an)?(0,tt.f)(Ht,jn,"whitespace")(an):jn(an)):fr(an)}function jn(an){return an===null||(0,Re.Ch)(an)?(Ht.exit("codeFencedFence"),Qn(an)):fr(an)}}}function ta(o,d,m){const E=this;return I;function I(M){return M===null?m(M):(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),k)}function k(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}const gr=document.createElement("i");function Ca(o){const d="&"+o+";";gr.innerHTML=d;const m=gr.textContent;return m.charCodeAt(m.length-1)===59&&o!=="semi"||m===d?!1:m}const Fr={name:"characterReference",tokenize:Mr};function Mr(o,d,m){const E=this;let I=0,k,M;return q;function q(Ue){return o.enter("characterReference"),o.enter("characterReferenceMarker"),o.consume(Ue),o.exit("characterReferenceMarker"),Be}function Be(Ue){return Ue===35?(o.enter("characterReferenceMarkerNumeric"),o.consume(Ue),o.exit("characterReferenceMarkerNumeric"),Me):(o.enter("characterReferenceValue"),k=31,M=Re.H$,de(Ue))}function Me(Ue){return Ue===88||Ue===120?(o.enter("characterReferenceMarkerHexadecimal"),o.consume(Ue),o.exit("characterReferenceMarkerHexadecimal"),o.enter("characterReferenceValue"),k=6,M=Re.AF,de):(o.enter("characterReferenceValue"),k=7,M=Re.pY,de(Ue))}function de(Ue){if(Ue===59&&I){const De=o.exit("characterReferenceValue");return M===Re.H$&&!Ca(E.sliceSerialize(De))?m(Ue):(o.enter("characterReferenceMarker"),o.consume(Ue),o.exit("characterReferenceMarker"),o.exit("characterReference"),d)}return M(Ue)&&I++1&&o[m][1].end.offset-o[m][1].start.offset>1?2:1;const Ue=ur({},o[E][1].end),De=ur({},o[m][1].start);Na(Ue,-Be),Na(De,Be),M={type:Be>1?"strongSequence":"emphasisSequence",start:Ue,end:ur({},o[E][1].end)},q={type:Be>1?"strongSequence":"emphasisSequence",start:ur({},o[m][1].start),end:De},k={type:Be>1?"strongText":"emphasisText",start:ur({},o[E][1].end),end:ur({},o[m][1].start)},I={type:Be>1?"strong":"emphasis",start:ur({},M.start),end:ur({},q.end)},o[E][1].end=ur({},M.start),o[m][1].start=ur({},q.end),Me=[],o[E][1].end.offset-o[E][1].start.offset&&(Me=Le(Me,[["enter",o[E][1],d],["exit",o[E][1],d]])),Me=Le(Me,[["enter",I,d],["enter",M,d],["exit",M,d],["enter",k,d]]),Me=Le(Me,Sr(d.parser.constructs.insideSpan.null,o.slice(E+1,m),d)),Me=Le(Me,[["exit",k,d],["enter",q,d],["exit",q,d],["exit",I,d]]),o[m][1].end.offset-o[m][1].start.offset?(de=2,Me=Le(Me,[["enter",o[m][1],d],["exit",o[m][1],d]])):de=0,Q(o,E-1,m-E+3,Me),m=E+Me.length-de-2;break}}for(m=-1;++m-1){const q=M[0];typeof q=="string"?M[0]=q.slice(E):M.shift()}k>0&&M.push(o[I].slice(0,k))}return M}function Mi(o,d){let m=-1;const E=[];let I;for(;++m"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+h+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:C,alias:y}}}}function g(h){var C=i.languages[h],y="language-"+h;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:p("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:p("=",C,y),"class-feature":p("\\+",C,y),standard:p("",C,y)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:g})})(t)}},79243:function(S,s,t){"use strict";var i=t(73584),p=t(55686);S.exports=g,g.displayName="t4Vb",g.aliases=[];function g(h){h.register(i),h.register(p),h.languages["t4-vb"]=h.languages["t4-templating"].createT4("vbnet")}},31788:function(S,s,t){"use strict";var i=t(14409);S.exports=p,p.displayName="tap",p.aliases=[];function p(g){g.register(i),g.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:g.languages.yaml,alias:"language-yaml"}}}},60871:function(S){"use strict";S.exports=s,s.displayName="tcl",s.aliases=[];function s(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(S){"use strict";S.exports=s,s.displayName="textile",s.aliases=[];function s(t){(function(i){var p=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,g=/\)|\((?![^|()\n]+\))/.source;function h(ne,pe){return RegExp(ne.replace(//g,function(){return"(?:"+p+")"}).replace(//g,function(){return"(?:"+g+")"}),pe||"")}var C={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},y=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:h(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:h(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:C},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:h(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:h(/(^[*#]+)+/.source),lookbehind:!0,inside:C},punctuation:/^[*#]+/}},table:{pattern:h(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:h(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:C},punctuation:/\||^\./}},inline:{pattern:h(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:h(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:h(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:h(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:h(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:h(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:h(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:h(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:h(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:C},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:h(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:h(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:h(/(^")+/.source),lookbehind:!0,inside:C},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:h(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:h(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:h(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:C},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),f=y.phrase.inside,F={inline:f.inline,link:f.link,image:f.image,footnote:f.footnote,acronym:f.acronym,mark:f.mark};y.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var U=f.inline.inside;U.bold.inside=F,U.italic.inside=F,U.inserted.inside=F,U.deleted.inside=F,U.span.inside=F;var te=f.table.inside;te.inline=F.inline,te.link=F.link,te.image=F.image,te.footnote=F.footnote,te.acronym=F.acronym,te.mark=F.mark})(t)}},14693:function(S){"use strict";S.exports=s,s.displayName="toml",s.aliases=[];function s(t){(function(i){var p=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function g(h){return h.replace(/__/g,function(){return p})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(g(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(g(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}},8743:function(S){"use strict";S.exports=s,s.displayName="tremor",s.aliases=[];function s(t){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var p=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+p+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+p+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(p),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(t)}},1689:function(S,s,t){"use strict";var i=t(24103),p=t(92784);S.exports=g,g.displayName="tsx",g.aliases=[];function g(h){h.register(i),h.register(p),function(C){var y=C.util.clone(C.languages.typescript);C.languages.tsx=C.languages.extend("jsx",y),delete C.languages.tsx.parameter,delete C.languages.tsx["literal-property"];var f=C.languages.tsx.tag;f.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+f.pattern.source+")",f.pattern.flags),f.lookbehind=!0}(h)}},69210:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="tt2",p.aliases=[];function p(g){g.register(i),function(h){h.languages.tt2=h.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),h.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),h.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),h.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete h.languages.tt2.string,h.hooks.add("before-tokenize",function(C){var y=/\[%[\s\S]+?%\]/g;h.languages["markup-templating"].buildPlaceholders(C,"tt2",y)}),h.hooks.add("after-tokenize",function(C){h.languages["markup-templating"].tokenizePlaceholders(C,"tt2")})}(g)}},58710:function(S){"use strict";S.exports=s,s.displayName="turtle",s.aliases=[];function s(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}},60452:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="twig",p.aliases=[];function p(g){g.register(i),g.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},g.hooks.add("before-tokenize",function(h){if(h.language==="twig"){var C=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;g.languages["markup-templating"].buildPlaceholders(h,"twig",C)}}),g.hooks.add("after-tokenize",function(h){g.languages["markup-templating"].tokenizePlaceholders(h,"twig")})}},92784:function(S){"use strict";S.exports=s,s.displayName="typescript",s.aliases=["ts"];function s(t){(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var p=i.languages.extend("typescript",{});delete p["class-name"],i.languages.typescript["class-name"].inside=p,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:p}}}}),i.languages.ts=i.languages.typescript})(t)}},36489:function(S){"use strict";S.exports=s,s.displayName="typoscript",s.aliases=["tsconfig"];function s(t){(function(i){var p=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:p}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:p,number:/^\d+$/,punctuation:/[,|:]/}},keyword:p,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(t)}},78380:function(S){"use strict";S.exports=s,s.displayName="unrealscript",s.aliases=["uc","uscript"];function s(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}},10409:function(S){"use strict";S.exports=s,s.displayName="uorazor",s.aliases=[];function s(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(S){"use strict";S.exports=s,s.displayName="uri",s.aliases=["url"];function s(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}},82028:function(S){"use strict";S.exports=s,s.displayName="v",s.aliases=[];function s(t){(function(i){var p={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":p}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),p.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})})(t)}},62282:function(S){"use strict";S.exports=s,s.displayName="vala",s.aliases=[];function s(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(S,s,t){"use strict";var i=t(51422);S.exports=p,p.displayName="vbnet",p.aliases=[];function p(g){g.register(i),g.languages.vbnet=g.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(S){"use strict";S.exports=s,s.displayName="velocity",s.aliases=[];function s(t){(function(i){i.languages.velocity=i.languages.extend("markup",{});var p={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};p.variable.inside={string:p.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:p.number,boolean:p.boolean,punctuation:p.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:p}},variable:p.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity})(t)}},37116:function(S){"use strict";S.exports=s,s.displayName="verilog",s.aliases=[];function s(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(S){"use strict";S.exports=s,s.displayName="vhdl",s.aliases=[];function s(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(S){"use strict";S.exports=s,s.displayName="vim",s.aliases=[];function s(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(S){"use strict";S.exports=s,s.displayName="visualBasic",s.aliases=[];function s(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}},17723:function(S){"use strict";S.exports=s,s.displayName="warpscript",s.aliases=[];function s(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(S){"use strict";S.exports=s,s.displayName="wasm",s.aliases=[];function s(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(S){"use strict";S.exports=s,s.displayName="webIdl",s.aliases=[];function s(t){(function(i){var p=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,g="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+p+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,h={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+p),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp("("+/\bcallback\s+/.source+p+/\s*=\s*/.source+")"+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\btypedef\b\s*)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+p),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+p),lookbehind:!0},RegExp(p+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+p),lookbehind:!0},{pattern:RegExp(g+"(?="+/\s*(?:\.{3}\s*)?/.source+p+/\s*[(),;=]/.source+")"),inside:h}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var C in i.languages["web-idl"])C!=="class-name"&&(h[C]=i.languages["web-idl"][C]);i.languages.webidl=i.languages["web-idl"]})(t)}},8921:function(S){"use strict";S.exports=s,s.displayName="wiki",s.aliases=[];function s(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}},13429:function(S){"use strict";S.exports=s,s.displayName="wolfram",s.aliases=["mathematica","wl","nb"];function s(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}},65197:function(S){"use strict";S.exports=s,s.displayName="wren",s.aliases=[];function s(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(S){"use strict";S.exports=s,s.displayName="xeora",s.aliases=["xeoracube"];function s(t){(function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora})(t)}},35:function(S){"use strict";S.exports=s,s.displayName="xmlDoc",s.aliases=[];function s(t){(function(i){function p(y,f){i.languages[y]&&i.languages.insertBefore(y,"comment",{"doc-comment":f})}var g=i.languages.markup.tag,h={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:g}},C={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:g}};p("csharp",h),p("fsharp",h),p("vbnet",C)})(t)}},86095:function(S){"use strict";S.exports=s,s.displayName="xojo",s.aliases=[];function s(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(S){"use strict";S.exports=s,s.displayName="xquery",s.aliases=[];function s(t){(function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var p=function(h){return typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join("")},g=function(h){for(var C=[],y=0;y0&&C[C.length-1].tagName===p(f.content[0].content[1])&&C.pop():f.content[f.content.length-1].content==="/>"||C.push({tagName:p(f.content[0].content[1]),openedBraces:0}):C.length>0&&f.type==="punctuation"&&f.content==="{"&&(!h[y+1]||h[y+1].type!=="punctuation"||h[y+1].content!=="{")&&(!h[y-1]||h[y-1].type!=="plain-text"||h[y-1].content!=="{")?C[C.length-1].openedBraces++:C.length>0&&C[C.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?C[C.length-1].openedBraces--:f.type!=="comment"&&(F=!0)),(F||typeof f=="string")&&C.length>0&&C[C.length-1].openedBraces===0){var U=p(f);y0&&(typeof h[y-1]=="string"||h[y-1].type==="plain-text")&&(U=p(h[y-1])+U,h.splice(y-1,1),y--),/^\s+$/.test(U)?h[y]=U:h[y]=new i.Token("plain-text",U,null,U)}f.content&&typeof f.content!="string"&&g(f.content)}};i.hooks.add("after-tokenize",function(h){h.language==="xquery"&&g(h.tokens)})})(t)}},14409:function(S){"use strict";S.exports=s,s.displayName="yaml",s.aliases=["yml"];function s(t){(function(i){var p=/[*&][^\s[\]{},]+/,g=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,h="(?:"+g.source+"(?:[ ]+"+p.source+")?|"+p.source+"(?:[ ]+"+g.source+")?)",C=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),y=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(F,U){U=(U||"").replace(/m/g,"")+"m";var te=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return F});return RegExp(te,U)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return h})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return"(?:"+C+"|"+y+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(y),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:g,important:p,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(t)}},33460:function(S){"use strict";S.exports=s,s.displayName="yang",s.aliases=[];function s(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(S){"use strict";S.exports=s,s.displayName="zig",s.aliases=[];function s(t){(function(i){function p(U){return function(){return U}}var g=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,h="\\b(?!"+g.source+")(?!\\d)\\w+\\b",C=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,y=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,p(C)),f=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,p(h)),F="(?!\\s)(?:!?\\s*(?:"+y+"\\s*)*"+f+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,p(F)).replace(//g,p(C))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,p(F)).replace(//g,p(C))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:g,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(U){U.inside===null&&(U.inside=i.languages.zig)})})(t)}},92848:function(S,s){"use strict";var t;s.Q=h,t=C;var i="",p=" ",g=/[ \t\n\r\f]+/g;function h(y){var f=String(y||i).trim();return f===i?[]:f.split(g)}function C(y){return y.join(p).trim()}},6526:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(C){return C&&C.__esModule?C:{default:C}},p=i(t(78846)),g=t(11160);function h(C,y){var f={};return!C||typeof C!="string"||(0,p.default)(C,function(F,U){F&&U&&(f[(0,g.camelCase)(F,y)]=U)}),f}h.default=h,S.exports=h},11160:function(S,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,p=/^[^-]+$/,g=/^-(webkit|moz|ms|o|khtml)-/,h=/^-(ms)-/,C=function(U){return!U||p.test(U)||t.test(U)},y=function(U,te){return te.toUpperCase()},f=function(U,te){return"".concat(te,"-")},F=function(U,te){return te===void 0&&(te={}),C(U)?U:(U=U.toLowerCase(),te.reactCompat?U=U.replace(h,f):U=U.replace(g,f),U.replace(i,y))};s.camelCase=F},78846:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(s,"__esModule",{value:!0}),s.default=g;var p=i(t(93193));function g(h,C){var y=null;if(!h||typeof h!="string")return y;var f=(0,p.default)(h),F=typeof C=="function";return f.forEach(function(U){if(U.type==="declaration"){var te=U.property,ne=U.value;F?C(te,ne,U):ne&&(y=y||{},y[te]=ne)}}),y}},97270:function(S){S.exports=t;var s=Object.prototype.hasOwnProperty;function t(){for(var i={},p=0;p{const le=(X,ye)=>(Y.set(ye,X),X),J=X=>{if(Y.has(X))return Y.get(X);const[ye,fe]=W[X];switch(ye){case p:case i:return le(fe,X);case g:{const D=le([],X);for(const He of fe)D.push(J(He));return D}case h:{const D=le({},X);for(const[He,rt]of fe)D[J(He)]=J(rt);return D}case C:return le(new Date(fe),X);case y:{const{source:D,flags:He}=fe;return le(new RegExp(D,He),X)}case f:{const D=le(new Map,X);for(const[He,rt]of fe)D.set(J(He),J(rt));return D}case F:{const D=le(new Set,X);for(const He of fe)D.add(J(He));return D}case U:{const{name:D,message:He}=fe;return le(new ne[D](He),X)}case te:return le(BigInt(fe),X);case"BigInt":return le(Object(BigInt(fe)),X);case"ArrayBuffer":return le(new Uint8Array(fe).buffer,fe);case"DataView":{const{buffer:D}=new Uint8Array(fe);return le(new DataView(D),fe)}}return le(new ne[ye](fe),X)};return J},Ee=Y=>pe(new Map,Y)(0),se="",{toString:Se}={},{keys:be}=Object,Ce=Y=>{const W=typeof Y;if(W!=="object"||!Y)return[p,W];const le=Se.call(Y).slice(8,-1);switch(le){case"Array":return[g,se];case"Object":return[h,se];case"Date":return[C,se];case"RegExp":return[y,se];case"Map":return[f,se];case"Set":return[F,se];case"DataView":return[g,le]}return le.includes("Array")?[g,le]:le.includes("Error")?[U,le]:[h,le]},j=([Y,W])=>Y===p&&(W==="function"||W==="symbol"),G=(Y,W,le,J)=>{const X=(fe,D)=>{const He=J.push(fe)-1;return le.set(D,He),He},ye=fe=>{if(le.has(fe))return le.get(fe);let[D,He]=Ce(fe);switch(D){case p:{let Lt=fe;switch(He){case"bigint":D=te,Lt=fe.toString();break;case"function":case"symbol":if(Y)throw new TypeError("unable to serialize "+He);Lt=null;break;case"undefined":return X([i],fe)}return X([D,Lt],fe)}case g:{if(He){let it=fe;return He==="DataView"?it=new Uint8Array(fe.buffer):He==="ArrayBuffer"&&(it=new Uint8Array(fe)),X([He,[...it]],fe)}const Lt=[],$e=X([D,Lt],fe);for(const it of fe)Lt.push(ye(it));return $e}case h:{if(He)switch(He){case"BigInt":return X([He,fe.toString()],fe);case"Boolean":case"Number":case"String":return X([He,fe.valueOf()],fe)}if(W&&"toJSON"in fe)return ye(fe.toJSON());const Lt=[],$e=X([D,Lt],fe);for(const it of be(fe))(Y||!j(Ce(fe[it])))&&Lt.push([ye(it),ye(fe[it])]);return $e}case C:return X([D,fe.toISOString()],fe);case y:{const{source:Lt,flags:$e}=fe;return X([D,{source:Lt,flags:$e}],fe)}case f:{const Lt=[],$e=X([D,Lt],fe);for(const[it,ot]of fe)(Y||!(j(Ce(it))||j(Ce(ot))))&&Lt.push([ye(it),ye(ot)]);return $e}case F:{const Lt=[],$e=X([D,Lt],fe);for(const it of fe)(Y||!j(Ce(it)))&&Lt.push(ye(it));return $e}}const{message:rt}=fe;return X([D,{name:He,message:rt}],fe)};return ye},Z=(Y,{json:W,lossy:le}={})=>{const J=[];return G(!(W||le),!!W,new Map,J)(Y),J};var B=typeof structuredClone=="function"?(Y,W)=>W&&("json"in W||"lossy"in W)?Ee(Z(Y,W)):structuredClone(Y):(Y,W)=>Ee(Z(Y,W))},11630:function(S,s,t){"use strict";t.d(s,{P:function(){return p},Q:function(){return i}});function i(g){const h=[],C=String(g||"");let y=C.indexOf(","),f=0,F=!1;for(;!F;){y===-1&&(y=C.length,F=!0);const U=C.slice(f,y).trim();(U||!F)&&h.push(U),f=y+1,y=C.indexOf(",",f)}return h}function p(g,h){const C=h||{};return(g[g.length-1]===""?[...g,""]:g).join((C.padRight?" ":"")+","+(C.padLeft===!1?"":" ")).trim()}},87342:function(S,s,t){"use strict";t.d(s,{ok:function(){return g},t1:function(){return h}});function i(C){return C}function p(){}function g(){}function h(){}},81994:function(S,s,t){"use strict";t.d(s,{h:function(){return be},s:function(){return Ce}});var i=t(14470),p=t(11630);const g=/[#.]/g;function h(j,G){const Z=j||"",B={};let Y=0,W,le;for(;Y-1&&se.test(String.fromCharCode(be))}}},14470:function(S,s,t){"use strict";t.d(s,{dy:function(){return Se},YP:function(){return be}});class i{constructor(j,G,Z){this.normal=G,this.property=j,Z&&(this.space=Z)}}i.prototype.normal={},i.prototype.property={},i.prototype.space=void 0;function p(Ce,j){const G={},Z={};for(const B of Ce)Object.assign(G,B.property),Object.assign(Z,B.normal);return new i(G,Z,j)}var g=t(13830),h=t(53538);function C(Ce){const j={},G={};for(const[Z,B]of Object.entries(Ce.properties)){const Y=new h.I(Z,Ce.transform(Ce.attributes||{},Z),B,Ce.space);Ce.mustUseProperty&&Ce.mustUseProperty.includes(Z)&&(Y.mustUseProperty=!0),j[Z]=Y,G[(0,g.F)(Z)]=Z,G[(0,g.F)(Y.attribute)]=Z}return new i(j,G,Ce.space)}var y=t(71337);const f=C({properties:{ariaActiveDescendant:null,ariaAtomic:y.booleanish,ariaAutoComplete:null,ariaBusy:y.booleanish,ariaChecked:y.booleanish,ariaColCount:y.number,ariaColIndex:y.number,ariaColSpan:y.number,ariaControls:y.spaceSeparated,ariaCurrent:null,ariaDescribedBy:y.spaceSeparated,ariaDetails:null,ariaDisabled:y.booleanish,ariaDropEffect:y.spaceSeparated,ariaErrorMessage:null,ariaExpanded:y.booleanish,ariaFlowTo:y.spaceSeparated,ariaGrabbed:y.booleanish,ariaHasPopup:null,ariaHidden:y.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:y.spaceSeparated,ariaLevel:y.number,ariaLive:null,ariaModal:y.booleanish,ariaMultiLine:y.booleanish,ariaMultiSelectable:y.booleanish,ariaOrientation:null,ariaOwns:y.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:y.number,ariaPressed:y.booleanish,ariaReadOnly:y.booleanish,ariaRelevant:null,ariaRequired:y.booleanish,ariaRoleDescription:y.spaceSeparated,ariaRowCount:y.number,ariaRowIndex:y.number,ariaRowSpan:y.number,ariaSelected:y.booleanish,ariaSetSize:y.number,ariaSort:null,ariaValueMax:y.number,ariaValueMin:y.number,ariaValueNow:y.number,ariaValueText:null,role:null},transform(Ce,j){return j==="role"?j:"aria-"+j.slice(4).toLowerCase()}});function F(Ce,j){return j in Ce?Ce[j]:j}function U(Ce,j){return F(Ce,j.toLowerCase())}const te=C({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:y.commaSeparated,acceptCharset:y.spaceSeparated,accessKey:y.spaceSeparated,action:null,allow:null,allowFullScreen:y.boolean,allowPaymentRequest:y.boolean,allowUserMedia:y.boolean,alt:null,as:null,async:y.boolean,autoCapitalize:null,autoComplete:y.spaceSeparated,autoFocus:y.boolean,autoPlay:y.boolean,blocking:y.spaceSeparated,capture:null,charSet:null,checked:y.boolean,cite:null,className:y.spaceSeparated,cols:y.number,colSpan:null,content:null,contentEditable:y.booleanish,controls:y.boolean,controlsList:y.spaceSeparated,coords:y.number|y.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y.boolean,defer:y.boolean,dir:null,dirName:null,disabled:y.boolean,download:y.overloadedBoolean,draggable:y.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y.boolean,formTarget:null,headers:y.spaceSeparated,height:y.number,hidden:y.overloadedBoolean,high:y.number,href:null,hrefLang:null,htmlFor:y.spaceSeparated,httpEquiv:y.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:y.boolean,inputMode:null,integrity:null,is:null,isMap:y.boolean,itemId:null,itemProp:y.spaceSeparated,itemRef:y.spaceSeparated,itemScope:y.boolean,itemType:y.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y.boolean,low:y.number,manifest:null,max:null,maxLength:y.number,media:null,method:null,min:null,minLength:y.number,multiple:y.boolean,muted:y.boolean,name:null,nonce:null,noModule:y.boolean,noValidate:y.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y.boolean,optimum:y.number,pattern:null,ping:y.spaceSeparated,placeholder:null,playsInline:y.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y.boolean,referrerPolicy:null,rel:y.spaceSeparated,required:y.boolean,reversed:y.boolean,rows:y.number,rowSpan:y.number,sandbox:y.spaceSeparated,scope:null,scoped:y.boolean,seamless:y.boolean,selected:y.boolean,shadowRootClonable:y.boolean,shadowRootDelegatesFocus:y.boolean,shadowRootMode:null,shape:null,size:y.number,sizes:null,slot:null,span:y.number,spellCheck:y.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:y.number,step:null,style:null,tabIndex:y.number,target:null,title:null,translate:null,type:null,typeMustMatch:y.boolean,useMap:null,value:y.booleanish,width:y.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:y.spaceSeparated,axis:null,background:null,bgColor:null,border:y.number,borderColor:null,bottomMargin:y.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y.boolean,declare:y.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:y.number,leftMargin:y.number,link:null,longDesc:null,lowSrc:null,marginHeight:y.number,marginWidth:y.number,noResize:y.boolean,noHref:y.boolean,noShade:y.boolean,noWrap:y.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:y.number,rules:null,scheme:null,scrolling:y.booleanish,standby:null,summary:null,text:null,topMargin:y.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:y.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y.boolean,disableRemotePlayback:y.boolean,prefix:null,property:null,results:y.number,security:null,unselectable:null},space:"html",transform:U}),ne=C({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:y.commaOrSpaceSeparated,accentHeight:y.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:y.number,amplitude:y.number,arabicForm:null,ascent:y.number,attributeName:null,attributeType:null,azimuth:y.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:y.number,by:null,calcMode:null,capHeight:y.number,className:y.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:y.number,diffuseConstant:y.number,direction:null,display:null,dur:null,divisor:y.number,dominantBaseline:null,download:y.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:y.number,enableBackground:null,end:null,event:null,exponent:y.number,externalResourcesRequired:null,fill:null,fillOpacity:y.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:y.commaSeparated,g2:y.commaSeparated,glyphName:y.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:y.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:y.number,horizOriginX:y.number,horizOriginY:y.number,id:null,ideographic:y.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:y.number,k:y.number,k1:y.number,k2:y.number,k3:y.number,k4:y.number,kernelMatrix:y.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:y.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:y.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:y.number,overlineThickness:y.number,paintOrder:null,panose1:null,path:null,pathLength:y.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:y.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:y.number,pointsAtY:y.number,pointsAtZ:y.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:y.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:y.commaOrSpaceSeparated,rev:y.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:y.commaOrSpaceSeparated,requiredFeatures:y.commaOrSpaceSeparated,requiredFonts:y.commaOrSpaceSeparated,requiredFormats:y.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:y.number,specularExponent:y.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:y.number,strikethroughThickness:y.number,string:null,stroke:null,strokeDashArray:y.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:y.number,strokeOpacity:y.number,strokeWidth:null,style:null,surfaceScale:y.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:y.commaOrSpaceSeparated,tabIndex:y.number,tableValues:null,target:null,targetX:y.number,targetY:y.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:y.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:y.number,underlineThickness:y.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:y.number,values:null,vAlphabetic:y.number,vMathematical:y.number,vectorEffect:null,vHanging:y.number,vIdeographic:y.number,version:null,vertAdvY:y.number,vertOriginX:y.number,vertOriginY:y.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:y.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:F}),pe=C({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(Ce,j){return"xlink:"+j.slice(5).toLowerCase()}}),Ee=C({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:U}),se=C({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(Ce,j){return"xml:"+j.slice(3).toLowerCase()}}),Se=p([f,te,pe,Ee,se],"html"),be=p([f,ne,pe,Ee,se],"svg")},86825:function(S,s,t){"use strict";t.d(s,{s:function(){return f}});var i=t(53538),p=t(25629),g=t(13830);const h=/[A-Z]/g,C=/-[a-z]/g,y=/^data[-\w.:]+$/i;function f(te,ne){const pe=(0,g.F)(ne);let Ee=ne,se=p.k;if(pe in te.normal)return te.property[te.normal[pe]];if(pe.length>4&&pe.slice(0,4)==="data"&&y.test(ne)){if(ne.charAt(4)==="-"){const Se=ne.slice(5).replace(C,U);Ee="data"+Se.charAt(0).toUpperCase()+Se.slice(1)}else{const Se=ne.slice(4);if(!C.test(Se)){let be=Se.replace(h,F);be.charAt(0)!=="-"&&(be="-"+be),ne="data"+be}}se=i.I}return new se(Ee,ne)}function F(te){return"-"+te.toLowerCase()}function U(te){return te.charAt(1).toUpperCase()}},13830:function(S,s,t){"use strict";t.d(s,{F:function(){return i}});function i(p){return p.toLowerCase()}},53538:function(S,s,t){"use strict";t.d(s,{I:function(){return h}});var i=t(25629),p=t(71337);const g=Object.keys(p);class h extends i.k{constructor(f,F,U,te){let ne=-1;if(super(f,F),C(this,"space",te),typeof U=="number")for(;++ne0){const m=d.length>1?d:d[0];m&&(o.children=m)}}function ct(o,d,m){return E;function E(I,k,M,q){const Me=Array.isArray(M.children)?m:d;return q?Me(k,M,q):Me(k,M)}}function Xe(o,d){return m;function m(E,I,k,M){const q=Array.isArray(k.children),Be=(0,B.Pk)(E);return d(I,k,M,q,{columnNumber:Be?Be.column-1:void 0,fileName:o,lineNumber:Be?Be.line:void 0},void 0)}}function tn(o,d){const m={};let E,I;for(I in d.properties)if(I!=="children"&&ye.call(d.properties,I)){const k=dn(o,I,d.properties[I]);if(k){const[M,q]=k;o.tableCellAlignToStyle&&M==="align"&&typeof q=="string"&&rt.has(d.tagName)?E=q:m[M]=q}}if(E){const k=m.style||(m.style={});k[o.stylePropertyNameCase==="css"?"text-align":"textAlign"]=E}return m}function zt(o,d){const m={};for(const E of d.attributes)if(E.type==="mdxJsxExpressionAttribute")if(E.data&&E.data.estree&&o.evaluater){const k=E.data.estree.body[0];(0,p.ok)(k.type==="ExpressionStatement");const M=k.expression;(0,p.ok)(M.type==="ObjectExpression");const q=M.properties[0];(0,p.ok)(q.type==="SpreadElement"),Object.assign(m,o.evaluater.evaluateExpression(q.argument))}else Xt(o,d.position);else{const I=E.name;let k;if(E.value&&typeof E.value=="object")if(E.value.data&&E.value.data.estree&&o.evaluater){const q=E.value.data.estree.body[0];(0,p.ok)(q.type==="ExpressionStatement"),k=o.evaluater.evaluateExpression(q.expression)}else Xt(o,d.position);else k=E.value===null?!0:E.value;m[I]=k}return m}function un(o,d){const m=[];let E=-1;const I=o.passKeys?new Map:fe;for(;++EI?0:I+d:d=d>I?I:d,m=m>0?m:0,E.length<1e4)M=Array.from(E),M.unshift(d,m),o.splice(...M);else for(m&&o.splice(d,m);k0?(Q(o,o.length,0,d),o):d}class ht{constructor(d){this.left=d?[...d]:[],this.right=[]}get(d){if(d<0||d>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+d+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return dthis.left.length?this.right.slice(this.right.length-E+this.left.length,this.right.length-d+this.left.length).reverse():this.left.slice(d).concat(this.right.slice(this.right.length-E+this.left.length).reverse())}splice(d,m,E){const I=m||0;this.setCursor(Math.trunc(d));const k=this.right.splice(this.right.length-I,Number.POSITIVE_INFINITY);return E&&at(this.left,E),k.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(d){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(d)}pushMany(d){this.setCursor(Number.POSITIVE_INFINITY),at(this.left,d)}unshift(d){this.setCursor(0),this.right.push(d)}unshiftMany(d){this.setCursor(0),at(this.right,d.reverse())}setCursor(d){if(!(d===this.left.length||d>this.left.length&&this.right.length===0||d<0&&this.left.length===0))if(dM))return;const Qn=d.events.length;let fr=Qn,Sn,cr;for(;fr--;)if(d.events[fr][0]==="exit"&&d.events[fr][1].type==="chunkFlow"){if(Sn){cr=d.events[fr][1].end;break}Sn=!0}for(Gt(E),Ht=Qn;Hton;){const Xn=m[Dn];d.containerState=Xn[1],Xn[0].exit.call(d,o)}m.length=on}function rn(){I.write([null]),k=void 0,I=void 0,d.containerState._closeFlow=void 0}}function Cn(o,d,m){return(0,tt.f)(o,o.attempt(this.parser.constructs.document,d,m),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Mt={partial:!0,tokenize:Hn};function Hn(o,d,m){return E;function E(k){return(0,Re.xz)(k)?(0,tt.f)(o,I,"linePrefix")(k):I(k)}function I(k){return k===null||(0,Re.Ch)(k)?d(k):m(k)}}const On={resolve:zn,tokenize:dr},kn={partial:!0,tokenize:Jn};function zn(o){return Et(o),o}function dr(o,d){let m;return E;function E(q){return o.enter("content"),m=o.enter("chunkContent",{contentType:"content"}),I(q)}function I(q){return q===null?k(q):(0,Re.Ch)(q)?o.check(kn,M,k)(q):(o.consume(q),I)}function k(q){return o.exit("chunkContent"),o.exit("content"),d(q)}function M(q){return o.consume(q),o.exit("chunkContent"),m.next=o.enter("chunkContent",{contentType:"content",previous:m}),m=m.next,I}}function Jn(o,d,m){const E=this;return I;function I(M){return o.exit("chunkContent"),o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),(0,tt.f)(o,k,"linePrefix")}function k(M){if(M===null||(0,Re.Ch)(M))return m(M);const q=E.events[E.events.length-1];return!E.parser.constructs.disable.null.includes("codeIndented")&&q&&q[1].type==="linePrefix"&&q[2].sliceSerialize(q[1],!0).length>=4?d(M):o.interrupt(E.parser.constructs.flow,m,d)(M)}}const Cr={tokenize:Hr};function Hr(o){const d=this,m=o.attempt(Mt,E,o.attempt(this.parser.constructs.flowInitial,I,(0,tt.f)(o,o.attempt(this.parser.constructs.flow,I,o.attempt(On,I)),"linePrefix")));return m;function E(k){if(k===null){o.consume(k);return}return o.enter("lineEndingBlank"),o.consume(k),o.exit("lineEndingBlank"),d.currentConstruct=void 0,m}function I(k){if(k===null){o.consume(k);return}return o.enter("lineEnding"),o.consume(k),o.exit("lineEnding"),d.currentConstruct=void 0,m}}const _n={resolveAll:Yr()},ar=Ar("string"),Gn=Ar("text");function Ar(o){return{resolveAll:Yr(o==="text"?Kr:void 0),tokenize:d};function d(m){const E=this,I=this.parser.constructs[o],k=m.attempt(I,M,q);return M;function M(de){return Me(de)?k(de):q(de)}function q(de){if(de===null){m.consume(de);return}return m.enter("data"),m.consume(de),Be}function Be(de){return Me(de)?(m.exit("data"),k(de)):(m.consume(de),Be)}function Me(de){if(de===null)return!0;const Ue=I[de];let De=-1;if(Ue)for(;++De=3&&(Me===null||(0,Re.Ch)(Me))?(o.exit("thematicBreak"),d(Me)):m(Me)}function Be(Me){return Me===I?(o.consume(Me),E++,Be):(o.exit("thematicBreakSequence"),(0,Re.xz)(Me)?(0,tt.f)(o,q,"whitespace")(Me):q(Me))}}const Wn={continuation:{tokenize:It},exit:Qt,name:"list",tokenize:hr},Vn={partial:!0,tokenize:qt},sa={partial:!0,tokenize:ut};function hr(o,d,m){const E=this,I=E.events[E.events.length-1];let k=I&&I[1].type==="linePrefix"?I[2].sliceSerialize(I[1],!0).length:0,M=0;return q;function q(ge){const Bt=E.containerState.type||(ge===42||ge===43||ge===45?"listUnordered":"listOrdered");if(Bt==="listUnordered"?!E.containerState.marker||ge===E.containerState.marker:(0,Re.pY)(ge)){if(E.containerState.type||(E.containerState.type=Bt,o.enter(Bt,{_container:!0})),Bt==="listUnordered")return o.enter("listItemPrefix"),ge===42||ge===45?o.check(Nr,m,Me)(ge):Me(ge);if(!E.interrupt||ge===49)return o.enter("listItemPrefix"),o.enter("listItemValue"),Be(ge)}return m(ge)}function Be(ge){return(0,Re.pY)(ge)&&++M<10?(o.consume(ge),Be):(!E.interrupt||M<2)&&(E.containerState.marker?ge===E.containerState.marker:ge===41||ge===46)?(o.exit("listItemValue"),Me(ge)):m(ge)}function Me(ge){return o.enter("listItemMarker"),o.consume(ge),o.exit("listItemMarker"),E.containerState.marker=E.containerState.marker||ge,o.check(Mt,E.interrupt?m:de,o.attempt(Vn,De,Ue))}function de(ge){return E.containerState.initialBlankLine=!0,k++,De(ge)}function Ue(ge){return(0,Re.xz)(ge)?(o.enter("listItemPrefixWhitespace"),o.consume(ge),o.exit("listItemPrefixWhitespace"),De):m(ge)}function De(ge){return E.containerState.size=k+E.sliceSerialize(o.exit("listItemPrefix"),!0).length,d(ge)}}function It(o,d,m){const E=this;return E.containerState._closeFlow=void 0,o.check(Mt,I,k);function I(q){return E.containerState.furtherBlankLines=E.containerState.furtherBlankLines||E.containerState.initialBlankLine,(0,tt.f)(o,d,"listItemIndent",E.containerState.size+1)(q)}function k(q){return E.containerState.furtherBlankLines||!(0,Re.xz)(q)?(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,M(q)):(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,o.attempt(sa,d,M)(q))}function M(q){return E.containerState._closeFlow=!0,E.interrupt=void 0,(0,tt.f)(o,o.attempt(Wn,d,m),"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q)}}function ut(o,d,m){const E=this;return(0,tt.f)(o,I,"listItemIndent",E.containerState.size+1);function I(k){const M=E.events[E.events.length-1];return M&&M[1].type==="listItemIndent"&&M[2].sliceSerialize(M[1],!0).length===E.containerState.size?d(k):m(k)}}function Qt(o){o.exit(this.containerState.type)}function qt(o,d,m){const E=this;return(0,tt.f)(o,I,"listItemPrefixWhitespace",E.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function I(k){const M=E.events[E.events.length-1];return!(0,Re.xz)(k)&&M&&M[1].type==="listItemPrefixWhitespace"?d(k):m(k)}}const Tt={continuation:{tokenize:gt},exit:hn,name:"blockQuote",tokenize:mn};function mn(o,d,m){const E=this;return I;function I(M){if(M===62){const q=E.containerState;return q.open||(o.enter("blockQuote",{_container:!0}),q.open=!0),o.enter("blockQuotePrefix"),o.enter("blockQuoteMarker"),o.consume(M),o.exit("blockQuoteMarker"),k}return m(M)}function k(M){return(0,Re.xz)(M)?(o.enter("blockQuotePrefixWhitespace"),o.consume(M),o.exit("blockQuotePrefixWhitespace"),o.exit("blockQuotePrefix"),d):(o.exit("blockQuotePrefix"),d(M))}}function gt(o,d,m){const E=this;return I;function I(M){return(0,Re.xz)(M)?(0,tt.f)(o,k,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):k(M)}function k(M){return o.attempt(Tt,d,m)(M)}}function hn(o){o.exit("blockQuote")}function Oe(o,d,m,E,I,k,M,q,Be){const Me=Be||Number.POSITIVE_INFINITY;let de=0;return Ue;function Ue(Gt){return Gt===60?(o.enter(E),o.enter(I),o.enter(k),o.consume(Gt),o.exit(k),De):Gt===null||Gt===32||Gt===41||(0,Re.Av)(Gt)?m(Gt):(o.enter(E),o.enter(M),o.enter(q),o.enter("chunkString",{contentType:"string"}),en(Gt))}function De(Gt){return Gt===62?(o.enter(k),o.consume(Gt),o.exit(k),o.exit(I),o.exit(E),d):(o.enter(q),o.enter("chunkString",{contentType:"string"}),ge(Gt))}function ge(Gt){return Gt===62?(o.exit("chunkString"),o.exit(q),De(Gt)):Gt===null||Gt===60||(0,Re.Ch)(Gt)?m(Gt):(o.consume(Gt),Gt===92?Bt:ge)}function Bt(Gt){return Gt===60||Gt===62||Gt===92?(o.consume(Gt),ge):ge(Gt)}function en(Gt){return!de&&(Gt===null||Gt===41||(0,Re.z3)(Gt))?(o.exit("chunkString"),o.exit(q),o.exit(M),o.exit(E),d(Gt)):de999||ge===null||ge===91||ge===93&&!Be||ge===94&&!q&&"_hiddenFootnoteSupport"in M.parser.constructs?m(ge):ge===93?(o.exit(k),o.enter(I),o.consume(ge),o.exit(I),o.exit(E),d):(0,Re.Ch)(ge)?(o.enter("lineEnding"),o.consume(ge),o.exit("lineEnding"),de):(o.enter("chunkString",{contentType:"string"}),Ue(ge))}function Ue(ge){return ge===null||ge===91||ge===93||(0,Re.Ch)(ge)||q++>999?(o.exit("chunkString"),de(ge)):(o.consume(ge),Be||(Be=!(0,Re.xz)(ge)),ge===92?De:Ue)}function De(ge){return ge===91||ge===92||ge===93?(o.consume(ge),q++,Ue):Ue(ge)}}function c(o,d,m,E,I,k){let M;return q;function q(De){return De===34||De===39||De===40?(o.enter(E),o.enter(I),o.consume(De),o.exit(I),M=De===40?41:De,Be):m(De)}function Be(De){return De===M?(o.enter(I),o.consume(De),o.exit(I),o.exit(E),d):(o.enter(k),Me(De))}function Me(De){return De===M?(o.exit(k),Be(M)):De===null?m(De):(0,Re.Ch)(De)?(o.enter("lineEnding"),o.consume(De),o.exit("lineEnding"),(0,tt.f)(o,Me,"linePrefix")):(o.enter("chunkString",{contentType:"string"}),de(De))}function de(De){return De===M||De===null||(0,Re.Ch)(De)?(o.exit("chunkString"),Me(De)):(o.consume(De),De===92?Ue:de)}function Ue(De){return De===M||De===92?(o.consume(De),de):de(De)}}function pt(o,d){let m;return E;function E(I){return(0,Re.Ch)(I)?(o.enter("lineEnding"),o.consume(I),o.exit("lineEnding"),m=!0,E):(0,Re.xz)(I)?(0,tt.f)(o,E,m?"linePrefix":"lineSuffix")(I):d(I)}}function Dt(o){return o.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ke={name:"definition",tokenize:Rt},kt={partial:!0,tokenize:gn};function Rt(o,d,m){const E=this;let I;return k;function k(ge){return o.enter("definition"),M(ge)}function M(ge){return oe.call(E,o,q,m,"definitionLabel","definitionLabelMarker","definitionLabelString")(ge)}function q(ge){return I=Dt(E.sliceSerialize(E.events[E.events.length-1][1]).slice(1,-1)),ge===58?(o.enter("definitionMarker"),o.consume(ge),o.exit("definitionMarker"),Be):m(ge)}function Be(ge){return(0,Re.z3)(ge)?pt(o,Me)(ge):Me(ge)}function Me(ge){return Oe(o,de,m,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(ge)}function de(ge){return o.attempt(kt,Ue,Ue)(ge)}function Ue(ge){return(0,Re.xz)(ge)?(0,tt.f)(o,De,"whitespace")(ge):De(ge)}function De(ge){return ge===null||(0,Re.Ch)(ge)?(o.exit("definition"),E.parser.defined.push(I),d(ge)):m(ge)}}function gn(o,d,m){return E;function E(q){return(0,Re.z3)(q)?pt(o,I)(q):m(q)}function I(q){return c(o,k,m,"definitionTitle","definitionTitleMarker","definitionTitleString")(q)}function k(q){return(0,Re.xz)(q)?(0,tt.f)(o,M,"whitespace")(q):M(q)}function M(q){return q===null||(0,Re.Ch)(q)?d(q):m(q)}}const vn={name:"codeIndented",tokenize:Ln},ce={partial:!0,tokenize:nr};function Ln(o,d,m){const E=this;return I;function I(Me){return o.enter("codeIndented"),(0,tt.f)(o,k,"linePrefix",5)(Me)}function k(Me){const de=E.events[E.events.length-1];return de&&de[1].type==="linePrefix"&&de[2].sliceSerialize(de[1],!0).length>=4?M(Me):m(Me)}function M(Me){return Me===null?Be(Me):(0,Re.Ch)(Me)?o.attempt(ce,M,Be)(Me):(o.enter("codeFlowValue"),q(Me))}function q(Me){return Me===null||(0,Re.Ch)(Me)?(o.exit("codeFlowValue"),M(Me)):(o.consume(Me),q)}function Be(Me){return o.exit("codeIndented"),d(Me)}}function nr(o,d,m){const E=this;return I;function I(M){return E.parser.lazy[E.now().line]?m(M):(0,Re.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),I):(0,tt.f)(o,k,"linePrefix",5)(M)}function k(M){const q=E.events[E.events.length-1];return q&&q[1].type==="linePrefix"&&q[2].sliceSerialize(q[1],!0).length>=4?d(M):(0,Re.Ch)(M)?I(M):m(M)}}const or={name:"headingAtx",resolve:Zn,tokenize:T};function Zn(o,d){let m=o.length-2,E=3,I,k;return o[E][1].type==="whitespace"&&(E+=2),m-2>E&&o[m][1].type==="whitespace"&&(m-=2),o[m][1].type==="atxHeadingSequence"&&(E===m-1||m-4>E&&o[m-2][1].type==="whitespace")&&(m-=E+1===m?2:4),m>E&&(I={type:"atxHeadingText",start:o[E][1].start,end:o[m][1].end},k={type:"chunkText",start:o[E][1].start,end:o[m][1].end,contentType:"text"},Q(o,E,m-E+1,[["enter",I,d],["enter",k,d],["exit",k,d],["exit",I,d]])),o}function T(o,d,m){let E=0;return I;function I(de){return o.enter("atxHeading"),k(de)}function k(de){return o.enter("atxHeadingSequence"),M(de)}function M(de){return de===35&&E++<6?(o.consume(de),M):de===null||(0,Re.z3)(de)?(o.exit("atxHeadingSequence"),q(de)):m(de)}function q(de){return de===35?(o.enter("atxHeadingSequence"),Be(de)):de===null||(0,Re.Ch)(de)?(o.exit("atxHeading"),d(de)):(0,Re.xz)(de)?(0,tt.f)(o,q,"whitespace")(de):(o.enter("atxHeadingText"),Me(de))}function Be(de){return de===35?(o.consume(de),Be):(o.exit("atxHeadingSequence"),q(de))}function Me(de){return de===null||de===35||(0,Re.z3)(de)?(o.exit("atxHeadingText"),q(de)):(o.consume(de),Me)}}const A={name:"setextUnderline",resolveTo:Pt,tokenize:z};function Pt(o,d){let m=o.length,E,I,k;for(;m--;)if(o[m][0]==="enter"){if(o[m][1].type==="content"){E=m;break}o[m][1].type==="paragraph"&&(I=m)}else o[m][1].type==="content"&&o.splice(m,1),!k&&o[m][1].type==="definition"&&(k=m);const M={type:"setextHeading",start:ur({},o[E][1].start),end:ur({},o[o.length-1][1].end)};return o[I][1].type="setextHeadingText",k?(o.splice(I,0,["enter",M,d]),o.splice(k+1,0,["exit",o[E][1],d]),o[E][1].end=ur({},o[k][1].end)):o[E][1]=M,o.push(["exit",M,d]),o}function z(o,d,m){const E=this;let I;return k;function k(Me){let de=E.events.length,Ue;for(;de--;)if(E.events[de][1].type!=="lineEnding"&&E.events[de][1].type!=="linePrefix"&&E.events[de][1].type!=="content"){Ue=E.events[de][1].type==="paragraph";break}return!E.parser.lazy[E.now().line]&&(E.interrupt||Ue)?(o.enter("setextHeadingLine"),I=Me,M(Me)):m(Me)}function M(Me){return o.enter("setextHeadingLineSequence"),q(Me)}function q(Me){return Me===I?(o.consume(Me),q):(o.exit("setextHeadingLineSequence"),(0,Re.xz)(Me)?(0,tt.f)(o,Be,"lineSuffix")(Me):Be(Me))}function Be(Me){return Me===null||(0,Re.Ch)(Me)?(o.exit("setextHeadingLine"),d(Me)):m(Me)}}const Ie=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Un=["pre","script","style","textarea"],Vt={concrete:!0,name:"htmlFlow",resolveTo:xn,tokenize:Ir},pr={partial:!0,tokenize:ba},wr={partial:!0,tokenize:yr};function xn(o){let d=o.length;for(;d--&&!(o[d][0]==="enter"&&o[d][1].type==="htmlFlow"););return d>1&&o[d-2][1].type==="linePrefix"&&(o[d][1].start=o[d-2][1].start,o[d+1][1].start=o[d-2][1].start,o.splice(d-2,2)),o}function Ir(o,d,m){const E=this;let I,k,M,q,Be;return Me;function Me(je){return de(je)}function de(je){return o.enter("htmlFlow"),o.enter("htmlFlowData"),o.consume(je),Ue}function Ue(je){return je===33?(o.consume(je),De):je===47?(o.consume(je),k=!0,en):je===63?(o.consume(je),I=3,E.interrupt?d:Ae):(0,Re.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function De(je){return je===45?(o.consume(je),I=2,ge):je===91?(o.consume(je),I=5,q=0,Bt):(0,Re.jv)(je)?(o.consume(je),I=4,E.interrupt?d:Ae):m(je)}function ge(je){return je===45?(o.consume(je),E.interrupt?d:Ae):m(je)}function Bt(je){const Jr="CDATA[";return je===Jr.charCodeAt(q++)?(o.consume(je),q===Jr.length?E.interrupt?d:qn:Bt):m(je)}function en(je){return(0,Re.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function bn(je){if(je===null||je===47||je===62||(0,Re.z3)(je)){const Jr=je===47,ma=M.toLowerCase();return!Jr&&!k&&Un.includes(ma)?(I=1,E.interrupt?d(je):qn(je)):Ie.includes(M.toLowerCase())?(I=6,Jr?(o.consume(je),Gt):E.interrupt?d(je):qn(je)):(I=7,E.interrupt&&!E.parser.lazy[E.now().line]?m(je):k?rn(je):on(je))}return je===45||(0,Re.H$)(je)?(o.consume(je),M+=String.fromCharCode(je),bn):m(je)}function Gt(je){return je===62?(o.consume(je),E.interrupt?d:qn):m(je)}function rn(je){return(0,Re.xz)(je)?(o.consume(je),rn):cr(je)}function on(je){return je===47?(o.consume(je),cr):je===58||je===95||(0,Re.jv)(je)?(o.consume(je),Dn):(0,Re.xz)(je)?(o.consume(je),on):cr(je)}function Dn(je){return je===45||je===46||je===58||je===95||(0,Re.H$)(je)?(o.consume(je),Dn):Xn(je)}function Xn(je){return je===61?(o.consume(je),Ht):(0,Re.xz)(je)?(o.consume(je),Xn):on(je)}function Ht(je){return je===null||je===60||je===61||je===62||je===96?m(je):je===34||je===39?(o.consume(je),Be=je,Qn):(0,Re.xz)(je)?(o.consume(je),Ht):fr(je)}function Qn(je){return je===Be?(o.consume(je),Be=null,Sn):je===null||(0,Re.Ch)(je)?m(je):(o.consume(je),Qn)}function fr(je){return je===null||je===34||je===39||je===47||je===60||je===61||je===62||je===96||(0,Re.z3)(je)?Xn(je):(o.consume(je),fr)}function Sn(je){return je===47||je===62||(0,Re.xz)(je)?on(je):m(je)}function cr(je){return je===62?(o.consume(je),er):m(je)}function er(je){return je===null||(0,Re.Ch)(je)?qn(je):(0,Re.xz)(je)?(o.consume(je),er):m(je)}function qn(je){return je===45&&I===2?(o.consume(je),fn):je===60&&I===1?(o.consume(je),En):je===62&&I===4?(o.consume(je),Pn):je===63&&I===3?(o.consume(je),Ae):je===93&&I===5?(o.consume(je),rr):(0,Re.Ch)(je)&&(I===6||I===7)?(o.exit("htmlFlowData"),o.check(pr,sr,Tn)(je)):je===null||(0,Re.Ch)(je)?(o.exit("htmlFlowData"),Tn(je)):(o.consume(je),qn)}function Tn(je){return o.check(wr,jn,sr)(je)}function jn(je){return o.enter("lineEnding"),o.consume(je),o.exit("lineEnding"),an}function an(je){return je===null||(0,Re.Ch)(je)?Tn(je):(o.enter("htmlFlowData"),qn(je))}function fn(je){return je===45?(o.consume(je),Ae):qn(je)}function En(je){return je===47?(o.consume(je),M="",yn):qn(je)}function yn(je){if(je===62){const Jr=M.toLowerCase();return Un.includes(Jr)?(o.consume(je),Pn):qn(je)}return(0,Re.jv)(je)&&M.length<8?(o.consume(je),M+=String.fromCharCode(je),yn):qn(je)}function rr(je){return je===93?(o.consume(je),Ae):qn(je)}function Ae(je){return je===62?(o.consume(je),Pn):je===45&&I===2?(o.consume(je),Ae):qn(je)}function Pn(je){return je===null||(0,Re.Ch)(je)?(o.exit("htmlFlowData"),sr(je)):(o.consume(je),Pn)}function sr(je){return o.exit("htmlFlow"),d(je)}}function yr(o,d,m){const E=this;return I;function I(M){return(0,Re.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),k):m(M)}function k(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}function ba(o,d,m){return E;function E(I){return o.enter("lineEnding"),o.consume(I),o.exit("lineEnding"),o.attempt(Mt,d,m)}}const Fe={partial:!0,tokenize:ta},Xr={concrete:!0,name:"codeFenced",tokenize:Qe};function Qe(o,d,m){const E=this,I={partial:!0,tokenize:Xn};let k=0,M=0,q;return Be;function Be(Ht){return Me(Ht)}function Me(Ht){const Qn=E.events[E.events.length-1];return k=Qn&&Qn[1].type==="linePrefix"?Qn[2].sliceSerialize(Qn[1],!0).length:0,q=Ht,o.enter("codeFenced"),o.enter("codeFencedFence"),o.enter("codeFencedFenceSequence"),de(Ht)}function de(Ht){return Ht===q?(M++,o.consume(Ht),de):M<3?m(Ht):(o.exit("codeFencedFenceSequence"),(0,Re.xz)(Ht)?(0,tt.f)(o,Ue,"whitespace")(Ht):Ue(Ht))}function Ue(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("codeFencedFence"),E.interrupt?d(Ht):o.check(Fe,en,Dn)(Ht)):(o.enter("codeFencedFenceInfo"),o.enter("chunkString",{contentType:"string"}),De(Ht))}function De(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),Ue(Ht)):(0,Re.xz)(Ht)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),(0,tt.f)(o,ge,"whitespace")(Ht)):Ht===96&&Ht===q?m(Ht):(o.consume(Ht),De)}function ge(Ht){return Ht===null||(0,Re.Ch)(Ht)?Ue(Ht):(o.enter("codeFencedFenceMeta"),o.enter("chunkString",{contentType:"string"}),Bt(Ht))}function Bt(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("chunkString"),o.exit("codeFencedFenceMeta"),Ue(Ht)):Ht===96&&Ht===q?m(Ht):(o.consume(Ht),Bt)}function en(Ht){return o.attempt(I,Dn,bn)(Ht)}function bn(Ht){return o.enter("lineEnding"),o.consume(Ht),o.exit("lineEnding"),Gt}function Gt(Ht){return k>0&&(0,Re.xz)(Ht)?(0,tt.f)(o,rn,"linePrefix",k+1)(Ht):rn(Ht)}function rn(Ht){return Ht===null||(0,Re.Ch)(Ht)?o.check(Fe,en,Dn)(Ht):(o.enter("codeFlowValue"),on(Ht))}function on(Ht){return Ht===null||(0,Re.Ch)(Ht)?(o.exit("codeFlowValue"),rn(Ht)):(o.consume(Ht),on)}function Dn(Ht){return o.exit("codeFenced"),d(Ht)}function Xn(Ht,Qn,fr){let Sn=0;return cr;function cr(an){return Ht.enter("lineEnding"),Ht.consume(an),Ht.exit("lineEnding"),er}function er(an){return Ht.enter("codeFencedFence"),(0,Re.xz)(an)?(0,tt.f)(Ht,qn,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(an):qn(an)}function qn(an){return an===q?(Ht.enter("codeFencedFenceSequence"),Tn(an)):fr(an)}function Tn(an){return an===q?(Sn++,Ht.consume(an),Tn):Sn>=M?(Ht.exit("codeFencedFenceSequence"),(0,Re.xz)(an)?(0,tt.f)(Ht,jn,"whitespace")(an):jn(an)):fr(an)}function jn(an){return an===null||(0,Re.Ch)(an)?(Ht.exit("codeFencedFence"),Qn(an)):fr(an)}}}function ta(o,d,m){const E=this;return I;function I(M){return M===null?m(M):(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),k)}function k(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}const gr=document.createElement("i");function Ca(o){const d="&"+o+";";gr.innerHTML=d;const m=gr.textContent;return m.charCodeAt(m.length-1)===59&&o!=="semi"||m===d?!1:m}const Fr={name:"characterReference",tokenize:Mr};function Mr(o,d,m){const E=this;let I=0,k,M;return q;function q(Ue){return o.enter("characterReference"),o.enter("characterReferenceMarker"),o.consume(Ue),o.exit("characterReferenceMarker"),Be}function Be(Ue){return Ue===35?(o.enter("characterReferenceMarkerNumeric"),o.consume(Ue),o.exit("characterReferenceMarkerNumeric"),Me):(o.enter("characterReferenceValue"),k=31,M=Re.H$,de(Ue))}function Me(Ue){return Ue===88||Ue===120?(o.enter("characterReferenceMarkerHexadecimal"),o.consume(Ue),o.exit("characterReferenceMarkerHexadecimal"),o.enter("characterReferenceValue"),k=6,M=Re.AF,de):(o.enter("characterReferenceValue"),k=7,M=Re.pY,de(Ue))}function de(Ue){if(Ue===59&&I){const De=o.exit("characterReferenceValue");return M===Re.H$&&!Ca(E.sliceSerialize(De))?m(Ue):(o.enter("characterReferenceMarker"),o.consume(Ue),o.exit("characterReferenceMarker"),o.exit("characterReference"),d)}return M(Ue)&&I++1&&o[m][1].end.offset-o[m][1].start.offset>1?2:1;const Ue=ur({},o[E][1].end),De=ur({},o[m][1].start);Na(Ue,-Be),Na(De,Be),M={type:Be>1?"strongSequence":"emphasisSequence",start:Ue,end:ur({},o[E][1].end)},q={type:Be>1?"strongSequence":"emphasisSequence",start:ur({},o[m][1].start),end:De},k={type:Be>1?"strongText":"emphasisText",start:ur({},o[E][1].end),end:ur({},o[m][1].start)},I={type:Be>1?"strong":"emphasis",start:ur({},M.start),end:ur({},q.end)},o[E][1].end=ur({},M.start),o[m][1].start=ur({},q.end),Me=[],o[E][1].end.offset-o[E][1].start.offset&&(Me=Le(Me,[["enter",o[E][1],d],["exit",o[E][1],d]])),Me=Le(Me,[["enter",I,d],["enter",M,d],["exit",M,d],["enter",k,d]]),Me=Le(Me,Sr(d.parser.constructs.insideSpan.null,o.slice(E+1,m),d)),Me=Le(Me,[["exit",k,d],["enter",q,d],["exit",q,d],["exit",I,d]]),o[m][1].end.offset-o[m][1].start.offset?(de=2,Me=Le(Me,[["enter",o[m][1],d],["exit",o[m][1],d]])):de=0,Q(o,E-1,m-E+3,Me),m=E+Me.length-de-2;break}}for(m=-1;++m-1){const q=M[0];typeof q=="string"?M[0]=q.slice(E):M.shift()}k>0&&M.push(o[I].slice(0,k))}return M}function Mi(o,d){let m=-1;const E=[];let I;for(;++m13&&m<32||m>126&&m<160||m>55295&&m<57344||m>64975&&m<65008||(m&65535)===65535||(m&65535)===65534||m>1114111?"\uFFFD":String.fromCodePoint(m)}const ri=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function No(o){return o.replace(ri,Ni)}function Ni(o,d,m){if(d)return d;if(m.charCodeAt(0)===35){const I=m.charCodeAt(1),k=I===120||I===88;return Zr(m.slice(k?2:1),k?16:10)}return Ca(m)||o}const wo={}.hasOwnProperty;function zo(o,d,m){return typeof d!="string"&&(m=d,d=void 0),fa(m)(mt(wn(m).document().write(Yi()(o,d,!0))))}function fa(o){const d={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:k(b),autolinkProtocol:Sn,autolinkEmail:Sn,atxHeading:k(ha),blockQuote:k(Sa),characterEscape:Sn,characterReference:Sn,codeFenced:k(Ga),codeFencedFenceInfo:M,codeFencedFenceMeta:M,codeIndented:k(Ga,M),codeText:k(xr,M),codeTextData:Sn,data:Sn,codeFlowValue:Sn,definition:k(Or),definitionDestinationString:M,definitionLabelString:M,definitionTitleString:M,emphasis:k(Wr),hardBreakEscape:k(Ta),hardBreakTrailing:k(Ta),htmlFlow:k(e,M),htmlFlowData:Sn,htmlText:k(e,M),htmlTextData:Sn,image:k(r),label:M,link:k(b),listItem:k(We),listItemValue:De,listOrdered:k(K,Ue),listUnordered:k(K),paragraph:k(yt),reference:je,referenceString:M,resourceDestinationString:M,resourceTitleString:M,setextHeading:k(ha),strong:k(Yt),thematicBreak:k(Bn)},exit:{atxHeading:Be(),atxHeadingSequence:Xn,autolink:Be(),autolinkEmail:zr,autolinkProtocol:aa,blockQuote:Be(),characterEscapeValue:cr,characterReferenceMarkerHexadecimal:ma,characterReferenceMarkerNumeric:ma,characterReferenceValue:Ma,characterReference:ca,codeFenced:Be(bn),codeFencedFence:en,codeFencedFenceInfo:ge,codeFencedFenceMeta:Bt,codeFlowValue:cr,codeIndented:Be(Gt),codeText:Be(an),codeTextData:cr,data:cr,definition:Be(),definitionDestinationString:Dn,definitionLabelString:rn,definitionTitleString:on,emphasis:Be(),hardBreakEscape:Be(qn),hardBreakTrailing:Be(qn),htmlFlow:Be(Tn),htmlFlowData:cr,htmlText:Be(jn),htmlTextData:cr,image:Be(En),label:rr,labelText:yn,lineEnding:er,link:Be(fn),listItem:Be(),listOrdered:Be(),listUnordered:Be(),paragraph:Be(),referenceString:Jr,resourceDestinationString:Ae,resourceTitleString:Pn,resource:sr,setextHeading:Be(fr),setextHeadingLineSequence:Qn,setextHeadingText:Ht,strong:Be(),thematicBreak:Be()}};Xi(d,(o||{}).mdastExtensions||[]);const m={};return E;function E(Nt){let nn={type:"root",children:[]};const Mn={stack:[nn],tokenStack:[],config:d,enter:q,exit:Me,buffer:M,resume:de,data:m},Kn=[];let Br=-1;for(;++Br0){const Ba=Mn.tokenStack[Mn.tokenStack.length-1];(Ba[1]||ai).call(Mn,void 0,Ba[0])}for(nn.position={start:Aa(Nt.length>0?Nt[0][1].start:{line:1,column:1,offset:0}),end:Aa(Nt.length>0?Nt[Nt.length-2][1].end:{line:1,column:1,offset:0})},Br=-1;++Br-1&&E>M||I>-1&&E>I||k>-1&&E>k||d.test(m.slice(0,E))?m:""}function ii(o){const d=[];let m=-1,E=0,I=0;for(;++m55295&&k<57344){const q=o.charCodeAt(m+1);k<56320&&q>56319&&q<57344?(M=String.fromCharCode(k,q),I=1):M="\uFFFD"}else M=String.fromCharCode(k);M&&(d.push(o.slice(E,m),encodeURIComponent(M)),E=m+I+1,M=""),I&&(m+=I,I=0)}return d.join("")+o.slice(E)}function Ro(o,d){const m=[{type:"text",value:"\u21A9"}];return d>1&&m.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(d)}]}),m}function Oa(o,d){return"Back to reference "+(o+1)+(d>1?"-"+d:"")}function za(o){const d=typeof o.options.clobberPrefix=="string"?o.options.clobberPrefix:"user-content-",m=o.options.footnoteBackContent||Ro,E=o.options.footnoteBackLabel||Oa,I=o.options.footnoteLabel||"Footnotes",k=o.options.footnoteLabelTagName||"h2",M=o.options.footnoteLabelProperties||{className:["sr-only"]},q=[];let Be=-1;for(;++Be0&&Bt.push({type:"text",value:" "});let rn=typeof m=="string"?m:m(Be,ge);typeof rn=="string"&&(rn={type:"text",value:rn}),Bt.push({type:"element",tagName:"a",properties:{href:"#"+d+"fnref-"+De+(ge>1?"-"+ge:""),dataFootnoteBackref:"",ariaLabel:typeof E=="string"?E:E(Be,ge),className:["data-footnote-backref"]},children:Array.isArray(rn)?rn:[rn]})}const bn=de[de.length-1];if(bn&&bn.type==="element"&&bn.tagName==="p"){const rn=bn.children[bn.children.length-1];rn&&rn.type==="text"?rn.value+=" ":bn.children.push({type:"text",value:" "}),bn.children.push(...Bt)}else de.push(...Bt);const Gt={type:"element",tagName:"li",properties:{id:d+"fn-"+De},children:o.wrap(de,!0)};o.patch(Me,Gt),q.push(Gt)}if(q.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:k,properties:Io(ur({},(0,Pr.ZP)(M)),{id:"footnote-label"}),children:[{type:"text",value:I}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:o.wrap(q,!0)},{type:"text",value:` @@ -142,9 +142,9 @@ `});++E0&&m.push({type:"text",value:` `}),m}function ao(o){let d=0,m=o.charCodeAt(d);for(;m===9||m===32;)d++,m=o.charCodeAt(d);return o.slice(d)}function Mo(o,d){const m=Wo(o,d),E=m.one(o,void 0),I=za(m),k=Array.isArray(E)?{type:"root",children:E}:E||{type:"root",children:[]};return I&&((0,p.ok)("children"in k),k.children.push({type:"text",value:` -`},I)),k}function Yo(o,d){return o&&"run"in o?function(m,E){return ms(this,null,function*(){const I=Mo(m,ur({file:E},d));yield o.run(I,E)})}:function(m,E){return Mo(m,ur({file:E},o||d))}}function So(o){if(o)throw o}var Oi=t(58847);function ki(o){if(typeof o!="object"||o===null)return!1;const d=Object.getPrototypeOf(o);return(d===null||d===Object.prototype||Object.getPrototypeOf(d)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)}function io(){const o=[],d={run:m,use:E};return d;function m(...I){let k=-1;const M=I.pop();if(typeof M!="function")throw new TypeError("Expected function as last argument, not "+M);q(null,...I);function q(Be,...Me){const de=o[++k];let Ue=-1;if(Be){M(Be);return}for(;++UeM.length;let Be;q&&M.push(I);try{Be=o.apply(this,M)}catch(Me){const de=Me;if(q&&m)throw de;return I(de)}q||(Be&&Be.then&&typeof Be.then=="function"?Be.then(k,I):Be instanceof Error?I(Be):k(Be))}function I(M,...q){m||(m=!0,d(M,...q))}function k(M){I(null,M)}}const si={basename:Po,dirname:oo,extname:To,join:Bo,sep:"/"};function Po(o,d){if(d!==void 0&&typeof d!="string")throw new TypeError('"ext" argument must be a string');$i(o);let m=0,E=-1,I=o.length,k;if(d===void 0||d.length===0||d.length>o.length){for(;I--;)if(o.codePointAt(I)===47){if(k){m=I+1;break}}else E<0&&(k=!0,E=I+1);return E<0?"":o.slice(m,E)}if(d===o)return"";let M=-1,q=d.length-1;for(;I--;)if(o.codePointAt(I)===47){if(k){m=I+1;break}}else M<0&&(k=!0,M=I+1),q>-1&&(o.codePointAt(I)===d.codePointAt(q--)?q<0&&(E=I):(q=-1,E=M));return m===E?E=M:E<0&&(E=o.length),o.slice(m,E)}function oo(o){if($i(o),o.length===0)return".";let d=-1,m=o.length,E;for(;--m;)if(o.codePointAt(m)===47){if(E){d=m;break}}else E||(E=!0);return d<0?o.codePointAt(0)===47?"/":".":d===1&&o.codePointAt(0)===47?"//":o.slice(0,d)}function To(o){$i(o);let d=o.length,m=-1,E=0,I=-1,k=0,M;for(;d--;){const q=o.codePointAt(d);if(q===47){if(M){E=d+1;break}continue}m<0&&(M=!0,m=d+1),q===46?I<0?I=d:k!==1&&(k=1):I>-1&&(k=-1)}return I<0||m<0||k===0||k===1&&I===m-1&&I===E+1?"":o.slice(I,m)}function Bo(...o){let d=-1,m;for(;++d0&&o.codePointAt(o.length-1)===47&&(m+="/"),d?"/"+m:m}function rs(o,d){let m="",E=0,I=-1,k=0,M=-1,q,Be;for(;++M<=o.length;){if(M2){if(Be=m.lastIndexOf("/"),Be!==m.length-1){Be<0?(m="",E=0):(m=m.slice(0,Be),E=m.length-1-m.lastIndexOf("/")),I=M,k=0;continue}}else if(m.length>0){m="",E=0,I=M,k=0;continue}}d&&(m=m.length>0?m+"/..":"..",E=2)}else m.length>0?m+="/"+o.slice(I+1,M):m=o.slice(I+1,M),E=M-I-1;I=M,k=0}else q===46&&k>-1?k++:k=-1}return m}function $i(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}const Xo={cwd:xo};function xo(){return"/"}function lo(o){return!!(o!==null&&typeof o=="object"&&"href"in o&&o.href&&"protocol"in o&&o.protocol&&o.auth===void 0)}function mi(o){if(typeof o=="string")o=new URL(o);else if(!lo(o)){const d=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+o+"`");throw d.code="ERR_INVALID_ARG_TYPE",d}if(o.protocol!=="file:"){const d=new TypeError("The URL must be of scheme file");throw d.code="ERR_INVALID_URL_SCHEME",d}return uo(o)}function uo(o){if(o.hostname!==""){const E=new TypeError('File URL host must be "localhost" or empty on darwin');throw E.code="ERR_INVALID_FILE_URL_HOST",E}const d=o.pathname;let m=-1;for(;++m0){let[ge,...Bt]=de;const en=E[De][1];ki(en)&&ki(ge)&&(ge=Oi(!0,en,ge)),E[De]=[Me,ge,...Bt]}}}}const Hi=new Co().freeze();function Ti(o,d){if(typeof d!="function")throw new TypeError("Cannot `"+o+"` without `parser`")}function zi(o,d){if(typeof d!="function")throw new TypeError("Cannot `"+o+"` without `compiler`")}function Ua(o,d){if(d)throw new Error("Cannot call `"+o+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Za(o){if(!ki(o)||typeof o.type!="string")throw new TypeError("Expected node, got `"+o+"`")}function $o(o,d,m){if(!m)throw new Error("`"+o+"` finished async. Use `"+d+"` instead")}function xi(o){return R(o)?o:new Fo(o)}function R(o){return!!(o&&typeof o=="object"&&"message"in o&&"messages"in o)}function L(o){return typeof o=="string"||ae(o)}function ae(o){return!!(o&&typeof o=="object"&&"byteLength"in o&&"byteOffset"in o)}const me="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",xe=[],Ne={allowDangerousHtml:!0},w=/^(https?|ircs?|mailto|xmpp)$/i,et=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Ye(o){const d=bt(o),m=$t(o);return Ut(d.runSync(d.parse(m),m),o)}function ft(o){return ms(this,null,function*(){const d=bt(o),m=$t(o),E=yield d.run(d.parse(m),m);return Ut(E,o)})}function Ct(o){const d=bt(o),[m,E]=useState(void 0),[I,k]=useState(void 0);if(useEffect(function(){const M=$t(o);d.run(d.parse(M),M,function(q,Be){E(q),k(Be)})},[o.children,o.rehypePlugins,o.remarkPlugins,o.remarkRehypeOptions]),m)throw m;return I?Ut(I,o):createElement(Fragment)}function bt(o){const d=o.rehypePlugins||xe,m=o.remarkPlugins||xe,E=o.remarkRehypeOptions?ur(ur({},o.remarkRehypeOptions),Ne):Ne;return Hi().use(_i).use(m).use(Yo,E).use(d)}function $t(o){const d=o.children||"",m=new Fo;return typeof d=="string"?m.value=d:(0,p.t1)("Unexpected value `"+d+"` for `children` prop, expected `string`"),m}function Ut(o,d){const m=d.allowedElements,E=d.allowElement,I=d.components,k=d.disallowedElements,M=d.skipHtml,q=d.unwrapDisallowed,Be=d.urlTransform||Ft;for(const de of et)Object.hasOwn(d,de.from)&&(0,p.t1)("Unexpected `"+de.from+"` prop, "+(de.to?"use `"+de.to+"` instead":"remove it")+" (see <"+me+"#"+de.id+"> for more info)");return m&&k&&(0,p.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),d.className&&(o={type:"element",tagName:"div",properties:{className:d.className},children:o.type==="root"?o.children:[o]}),(0,mo.Vn)(o,Me),$e(o,{Fragment:N.Fragment,components:I,ignoreInvalidStyle:!0,jsx:N.jsx,jsxs:N.jsxs,passKeys:!0,passNode:!0});function Me(de,Ue,De){if(de.type==="raw"&&De&&typeof Ue=="number")return M?De.children.splice(Ue,1):De.children[Ue]={type:"text",value:de.value},Ue;if(de.type==="element"){let ge;for(ge in ie)if(Object.hasOwn(ie,ge)&&Object.hasOwn(de.properties,ge)){const Bt=de.properties[ge],en=ie[ge];(en===null||en.includes(de.tagName))&&(de.properties[ge]=Be(String(Bt||""),ge,de))}}if(de.type==="element"){let ge=m?!m.includes(de.tagName):k?k.includes(de.tagName):!1;if(!ge&&E&&typeof Ue=="number"&&(ge=!E(de,Ue,De)),ge&&De&&typeof Ue=="number")return q&&de.children?De.children.splice(Ue,1,...de.children):De.children.splice(Ue,1),Ue}}}function Ft(o){const d=o.indexOf(":"),m=o.indexOf("?"),E=o.indexOf("#"),I=o.indexOf("/");return d===-1||I!==-1&&d>I||m!==-1&&d>m||E!==-1&&d>E||w.test(o.slice(0,d))?o:""}},13058:function(S,s,t){"use strict";t.d(s,{Z:function(){return xa}});var i=t(81994),p=t(43309);function g(l,n){return h(l,n||{})||{type:"root",children:[]}}function h(l,n){const a=C(l,n);return a&&n.afterTransform&&n.afterTransform(l,a),a}function C(l,n){switch(l.nodeType){case 1:return te(l,n);case 3:return F(l);case 8:return U(l);case 9:return y(l,n);case 10:return f();case 11:return y(l,n);default:return}}function y(l,n){return{type:"root",children:ne(l,n)}}function f(){return{type:"doctype"}}function F(l){return{type:"text",value:l.nodeValue||""}}function U(l){return{type:"comment",value:l.nodeValue||""}}function te(l,n){const a=l.namespaceURI,u=a===p.t.svg?i.s:i.h,v=a===p.t.html?l.tagName.toLowerCase():l.tagName,x=a===p.t.html&&v==="template"?l.content:l,P=l.getAttributeNames(),re={};let ue=-1;for(;++ueVe&&(Ve=lt):lt&&(Ve!==void 0&&Ve>-1&&ue.push(` +`},I)),k}function Yo(o,d){return o&&"run"in o?function(m,E){return ms(this,null,function*(){const I=Mo(m,ur({file:E},d));yield o.run(I,E)})}:function(m,E){return Mo(m,ur({file:E},o||d))}}function So(o){if(o)throw o}var Oi=t(58847);function ki(o){if(typeof o!="object"||o===null)return!1;const d=Object.getPrototypeOf(o);return(d===null||d===Object.prototype||Object.getPrototypeOf(d)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)}function io(){const o=[],d={run:m,use:E};return d;function m(...I){let k=-1;const M=I.pop();if(typeof M!="function")throw new TypeError("Expected function as last argument, not "+M);q(null,...I);function q(Be,...Me){const de=o[++k];let Ue=-1;if(Be){M(Be);return}for(;++UeM.length;let Be;q&&M.push(I);try{Be=o.apply(this,M)}catch(Me){const de=Me;if(q&&m)throw de;return I(de)}q||(Be&&Be.then&&typeof Be.then=="function"?Be.then(k,I):Be instanceof Error?I(Be):k(Be))}function I(M,...q){m||(m=!0,d(M,...q))}function k(M){I(null,M)}}const si={basename:Po,dirname:oo,extname:To,join:Bo,sep:"/"};function Po(o,d){if(d!==void 0&&typeof d!="string")throw new TypeError('"ext" argument must be a string');$i(o);let m=0,E=-1,I=o.length,k;if(d===void 0||d.length===0||d.length>o.length){for(;I--;)if(o.codePointAt(I)===47){if(k){m=I+1;break}}else E<0&&(k=!0,E=I+1);return E<0?"":o.slice(m,E)}if(d===o)return"";let M=-1,q=d.length-1;for(;I--;)if(o.codePointAt(I)===47){if(k){m=I+1;break}}else M<0&&(k=!0,M=I+1),q>-1&&(o.codePointAt(I)===d.codePointAt(q--)?q<0&&(E=I):(q=-1,E=M));return m===E?E=M:E<0&&(E=o.length),o.slice(m,E)}function oo(o){if($i(o),o.length===0)return".";let d=-1,m=o.length,E;for(;--m;)if(o.codePointAt(m)===47){if(E){d=m;break}}else E||(E=!0);return d<0?o.codePointAt(0)===47?"/":".":d===1&&o.codePointAt(0)===47?"//":o.slice(0,d)}function To(o){$i(o);let d=o.length,m=-1,E=0,I=-1,k=0,M;for(;d--;){const q=o.codePointAt(d);if(q===47){if(M){E=d+1;break}continue}m<0&&(M=!0,m=d+1),q===46?I<0?I=d:k!==1&&(k=1):I>-1&&(k=-1)}return I<0||m<0||k===0||k===1&&I===m-1&&I===E+1?"":o.slice(I,m)}function Bo(...o){let d=-1,m;for(;++d0&&o.codePointAt(o.length-1)===47&&(m+="/"),d?"/"+m:m}function rs(o,d){let m="",E=0,I=-1,k=0,M=-1,q,Be;for(;++M<=o.length;){if(M2){if(Be=m.lastIndexOf("/"),Be!==m.length-1){Be<0?(m="",E=0):(m=m.slice(0,Be),E=m.length-1-m.lastIndexOf("/")),I=M,k=0;continue}}else if(m.length>0){m="",E=0,I=M,k=0;continue}}d&&(m=m.length>0?m+"/..":"..",E=2)}else m.length>0?m+="/"+o.slice(I+1,M):m=o.slice(I+1,M),E=M-I-1;I=M,k=0}else q===46&&k>-1?k++:k=-1}return m}function $i(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}const Xo={cwd:xo};function xo(){return"/"}function lo(o){return!!(o!==null&&typeof o=="object"&&"href"in o&&o.href&&"protocol"in o&&o.protocol&&o.auth===void 0)}function mi(o){if(typeof o=="string")o=new URL(o);else if(!lo(o)){const d=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+o+"`");throw d.code="ERR_INVALID_ARG_TYPE",d}if(o.protocol!=="file:"){const d=new TypeError("The URL must be of scheme file");throw d.code="ERR_INVALID_URL_SCHEME",d}return uo(o)}function uo(o){if(o.hostname!==""){const E=new TypeError('File URL host must be "localhost" or empty on darwin');throw E.code="ERR_INVALID_FILE_URL_HOST",E}const d=o.pathname;let m=-1;for(;++m0){let[ge,...Bt]=de;const en=E[De][1];ki(en)&&ki(ge)&&(ge=Oi(!0,en,ge)),E[De]=[Me,ge,...Bt]}}}}const Hi=new Co().freeze();function Ti(o,d){if(typeof d!="function")throw new TypeError("Cannot `"+o+"` without `parser`")}function zi(o,d){if(typeof d!="function")throw new TypeError("Cannot `"+o+"` without `compiler`")}function Ua(o,d){if(d)throw new Error("Cannot call `"+o+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Za(o){if(!ki(o)||typeof o.type!="string")throw new TypeError("Expected node, got `"+o+"`")}function $o(o,d,m){if(!m)throw new Error("`"+o+"` finished async. Use `"+d+"` instead")}function xi(o){return R(o)?o:new Fo(o)}function R(o){return!!(o&&typeof o=="object"&&"message"in o&&"messages"in o)}function L(o){return typeof o=="string"||ae(o)}function ae(o){return!!(o&&typeof o=="object"&&"byteLength"in o&&"byteOffset"in o)}const me="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",xe=[],we={allowDangerousHtml:!0},w=/^(https?|ircs?|mailto|xmpp)$/i,et=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Ye(o){const d=bt(o),m=$t(o);return Ut(d.runSync(d.parse(m),m),o)}function ft(o){return ms(this,null,function*(){const d=bt(o),m=$t(o),E=yield d.run(d.parse(m),m);return Ut(E,o)})}function Ct(o){const d=bt(o),[m,E]=useState(void 0),[I,k]=useState(void 0);if(useEffect(function(){const M=$t(o);d.run(d.parse(M),M,function(q,Be){E(q),k(Be)})},[o.children,o.rehypePlugins,o.remarkPlugins,o.remarkRehypeOptions]),m)throw m;return I?Ut(I,o):createElement(Fragment)}function bt(o){const d=o.rehypePlugins||xe,m=o.remarkPlugins||xe,E=o.remarkRehypeOptions?ur(ur({},o.remarkRehypeOptions),we):we;return Hi().use(_i).use(m).use(Yo,E).use(d)}function $t(o){const d=o.children||"",m=new Fo;return typeof d=="string"?m.value=d:(0,p.t1)("Unexpected value `"+d+"` for `children` prop, expected `string`"),m}function Ut(o,d){const m=d.allowedElements,E=d.allowElement,I=d.components,k=d.disallowedElements,M=d.skipHtml,q=d.unwrapDisallowed,Be=d.urlTransform||Ft;for(const de of et)Object.hasOwn(d,de.from)&&(0,p.t1)("Unexpected `"+de.from+"` prop, "+(de.to?"use `"+de.to+"` instead":"remove it")+" (see <"+me+"#"+de.id+"> for more info)");return m&&k&&(0,p.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),d.className&&(o={type:"element",tagName:"div",properties:{className:d.className},children:o.type==="root"?o.children:[o]}),(0,mo.Vn)(o,Me),$e(o,{Fragment:N.Fragment,components:I,ignoreInvalidStyle:!0,jsx:N.jsx,jsxs:N.jsxs,passKeys:!0,passNode:!0});function Me(de,Ue,De){if(de.type==="raw"&&De&&typeof Ue=="number")return M?De.children.splice(Ue,1):De.children[Ue]={type:"text",value:de.value},Ue;if(de.type==="element"){let ge;for(ge in ie)if(Object.hasOwn(ie,ge)&&Object.hasOwn(de.properties,ge)){const Bt=de.properties[ge],en=ie[ge];(en===null||en.includes(de.tagName))&&(de.properties[ge]=Be(String(Bt||""),ge,de))}}if(de.type==="element"){let ge=m?!m.includes(de.tagName):k?k.includes(de.tagName):!1;if(!ge&&E&&typeof Ue=="number"&&(ge=!E(de,Ue,De)),ge&&De&&typeof Ue=="number")return q&&de.children?De.children.splice(Ue,1,...de.children):De.children.splice(Ue,1),Ue}}}function Ft(o){const d=o.indexOf(":"),m=o.indexOf("?"),E=o.indexOf("#"),I=o.indexOf("/");return d===-1||I!==-1&&d>I||m!==-1&&d>m||E!==-1&&d>E||w.test(o.slice(0,d))?o:""}},55939:function(S,s,t){"use strict";t.d(s,{Z:function(){return xa}});var i=t(81994),p=t(43309);function g(l,n){return h(l,n||{})||{type:"root",children:[]}}function h(l,n){const a=C(l,n);return a&&n.afterTransform&&n.afterTransform(l,a),a}function C(l,n){switch(l.nodeType){case 1:return te(l,n);case 3:return F(l);case 8:return U(l);case 9:return y(l,n);case 10:return f();case 11:return y(l,n);default:return}}function y(l,n){return{type:"root",children:ne(l,n)}}function f(){return{type:"doctype"}}function F(l){return{type:"text",value:l.nodeValue||""}}function U(l){return{type:"comment",value:l.nodeValue||""}}function te(l,n){const a=l.namespaceURI,u=a===p.t.svg?i.s:i.h,v=a===p.t.html?l.tagName.toLowerCase():l.tagName,x=a===p.t.html&&v==="template"?l.content:l,P=l.getAttributeNames(),re={};let ue=-1;for(;++ueVe&&(Ve=lt):lt&&(Ve!==void 0&&Ve>-1&&ue.push(` `.repeat(Ve)||" "),Ve=-1,ue.push(lt))}return ue.join("")}function $e(l,n,a){return l.type==="element"?it(l,n,a):l.type==="text"?a.whitespace==="normal"?ot(l,a):_t(l):[]}function it(l,n,a){const u=wt(l,a),v=l.children||[];let x=-1,P=[];if(He(l))return P;let re,ue;for(X(l)||D(l)&&be(n,l,D)?ue=` -`:fe(l)?(re=2,ue=2):rt(l)&&(re=1,ue=1);++x15?Ve="\u2026"+re.slice(v-15,v):Ve=re.slice(0,v);var lt;x+15":">","<":"<",'"':""","'":"'"},xt=/[&><"']/g;function Xt(l){return String(l).replace(xt,n=>At[n])}var jt=function l(n){return n.type==="ordgroup"||n.type==="color"?n.body.length===1?l(n.body[0]):n:n.type==="font"?l(n.body):n},ke=function(n){var a=jt(n);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},_e=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},ie=function(n){var a=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(n);return a?a[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(a[1])?null:a[1].toLowerCase():"_relative"},N={contains:tn,deflt:zt,escape:Xt,hyphenate:dn,getBaseElem:jt,isCharacterBox:ke,protocolFromUrl:ie},Te={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:l=>"#"+l},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(l,n)=>(n.push(l),n)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:l=>Math.max(0,l),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:l=>Math.max(0,l),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:l=>Math.max(0,l),cli:"-e, --max-expand ",cliProcessor:l=>l==="Infinity"?1/0:parseInt(l)},globalGroup:{type:"boolean",cli:!1}};function st(l){if(l.default)return l.default;var n=l.type,a=Array.isArray(n)?n[0]:n;if(typeof a!="string")return a.enum[0];switch(a){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class V{constructor(n){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,n=n||{};for(var a in Te)if(Te.hasOwnProperty(a)){var u=Te[a];this[a]=n[a]!==void 0?u.processor?u.processor(n[a]):n[a]:st(u)}}reportNonstrict(n,a,u){var v=this.strict;if(typeof v=="function"&&(v=v(n,a,u)),!(!v||v==="ignore")){if(v===!0||v==="error")throw new Xe("LaTeX-incompatible input and strict mode is set to 'error': "+(a+" ["+n+"]"),u);v==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(a+" ["+n+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+a+" ["+n+"]"))}}useStrictBehavior(n,a,u){var v=this.strict;if(typeof v=="function")try{v=v(n,a,u)}catch(x){v="error"}return!v||v==="ignore"?!1:v===!0||v==="error"?!0:v==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(a+" ["+n+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+a+" ["+n+"]")),!1)}isTrusted(n){if(n.url&&!n.protocol){var a=N.protocolFromUrl(n.url);if(a==null)return!1;n.protocol=a}var u=typeof this.trust=="function"?this.trust(n):this.trust;return!!u}}class H{constructor(n,a,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=n,this.size=a,this.cramped=u}sup(){return mt[ee[this.id]]}sub(){return mt[Ge[this.id]]}fracNum(){return mt[Je[this.id]]}fracDen(){return mt[qe[this.id]]}cramp(){return mt[_[this.id]]}text(){return mt[Ot[this.id]]}isTight(){return this.size>=2}}var Pe=0,he=1,Q=2,Le=3,ht=4,at=5,Et=6,dt=7,mt=[new H(Pe,0,!1),new H(he,0,!0),new H(Q,1,!1),new H(Le,1,!0),new H(ht,2,!1),new H(at,2,!0),new H(Et,3,!1),new H(dt,3,!0)],ee=[ht,at,ht,at,Et,dt,Et,dt],Ge=[at,at,at,at,dt,dt,dt,dt],Je=[Q,Le,ht,at,Et,dt,Et,dt],qe=[Le,Le,at,at,dt,dt,dt,dt],_=[he,he,Le,Le,at,at,dt,dt],Ot=[Pe,he,Q,Le,Q,Le,Q,Le],tt={DISPLAY:mt[Pe],TEXT:mt[Q],SCRIPT:mt[ht],SCRIPTSCRIPT:mt[Et]},Re=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Jt(l){for(var n=0;n=v[0]&&l<=v[1])return a.name}return null}var cn=[];Re.forEach(l=>l.blocks.forEach(n=>cn.push(...n)));function sn(l){for(var n=0;n=cn[n]&&l<=cn[n+1])return!0;return!1}var Ze=80,Rn=function(n,a){return"M95,"+(622+n+a)+` +`:fe(l)?(re=2,ue=2):rt(l)&&(re=1,ue=1);++x15?Ve="\u2026"+re.slice(v-15,v):Ve=re.slice(0,v);var lt;x+15":">","<":"<",'"':""","'":"'"},xt=/[&><"']/g;function Xt(l){return String(l).replace(xt,n=>At[n])}var jt=function l(n){return n.type==="ordgroup"||n.type==="color"?n.body.length===1?l(n.body[0]):n:n.type==="font"?l(n.body):n},ke=function(n){var a=jt(n);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},_e=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},ie=function(n){var a=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(n);return a?a[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(a[1])?null:a[1].toLowerCase():"_relative"},N={contains:tn,deflt:zt,escape:Xt,hyphenate:dn,getBaseElem:jt,isCharacterBox:ke,protocolFromUrl:ie},Te={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:l=>"#"+l},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(l,n)=>(n.push(l),n)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:l=>Math.max(0,l),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:l=>Math.max(0,l),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:l=>Math.max(0,l),cli:"-e, --max-expand ",cliProcessor:l=>l==="Infinity"?1/0:parseInt(l)},globalGroup:{type:"boolean",cli:!1}};function st(l){if(l.default)return l.default;var n=l.type,a=Array.isArray(n)?n[0]:n;if(typeof a!="string")return a.enum[0];switch(a){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class V{constructor(n){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,n=n||{};for(var a in Te)if(Te.hasOwnProperty(a)){var u=Te[a];this[a]=n[a]!==void 0?u.processor?u.processor(n[a]):n[a]:st(u)}}reportNonstrict(n,a,u){var v=this.strict;if(typeof v=="function"&&(v=v(n,a,u)),!(!v||v==="ignore")){if(v===!0||v==="error")throw new Xe("LaTeX-incompatible input and strict mode is set to 'error': "+(a+" ["+n+"]"),u);v==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(a+" ["+n+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+a+" ["+n+"]"))}}useStrictBehavior(n,a,u){var v=this.strict;if(typeof v=="function")try{v=v(n,a,u)}catch(x){v="error"}return!v||v==="ignore"?!1:v===!0||v==="error"?!0:v==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(a+" ["+n+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+a+" ["+n+"]")),!1)}isTrusted(n){if(n.url&&!n.protocol){var a=N.protocolFromUrl(n.url);if(a==null)return!1;n.protocol=a}var u=typeof this.trust=="function"?this.trust(n):this.trust;return!!u}}class H{constructor(n,a,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=n,this.size=a,this.cramped=u}sup(){return mt[ee[this.id]]}sub(){return mt[Ge[this.id]]}fracNum(){return mt[Je[this.id]]}fracDen(){return mt[qe[this.id]]}cramp(){return mt[_[this.id]]}text(){return mt[Ot[this.id]]}isTight(){return this.size>=2}}var Pe=0,he=1,Q=2,Le=3,ht=4,at=5,Et=6,dt=7,mt=[new H(Pe,0,!1),new H(he,0,!0),new H(Q,1,!1),new H(Le,1,!0),new H(ht,2,!1),new H(at,2,!0),new H(Et,3,!1),new H(dt,3,!0)],ee=[ht,at,ht,at,Et,dt,Et,dt],Ge=[at,at,at,at,dt,dt,dt,dt],Je=[Q,Le,ht,at,Et,dt,Et,dt],qe=[Le,Le,at,at,dt,dt,dt,dt],_=[he,he,Le,Le,at,at,dt,dt],Ot=[Pe,he,Q,Le,Q,Le,Q,Le],tt={DISPLAY:mt[Pe],TEXT:mt[Q],SCRIPT:mt[ht],SCRIPTSCRIPT:mt[Et]},Re=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Jt(l){for(var n=0;n=v[0]&&l<=v[1])return a.name}return null}var cn=[];Re.forEach(l=>l.blocks.forEach(n=>cn.push(...n)));function sn(l){for(var n=0;n=cn[n]&&l<=cn[n+1])return!0;return!1}var Ze=80,Rn=function(n,a){return"M95,"+(622+n+a)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -399,15 +399,15 @@ c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(a+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class _n{constructor(n){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=n,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(n){return N.contains(this.classes,n)}toNode(){for(var n=document.createDocumentFragment(),a=0;aa.toText();return this.children.map(n).join("")}}var ar={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Gn={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ar={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Yr(l,n){ar[l]=n}function Kr(l,n,a){if(!ar[n])throw new Error("Font metrics not found for font: "+n+".");var u=l.charCodeAt(0),v=ar[n][u];if(!v&&l[0]in Ar&&(u=Ar[l[0]].charCodeAt(0),v=ar[n][u]),!v&&a==="text"&&sn(u)&&(v=ar[n][77]),v)return{depth:v[0],height:v[1],italic:v[2],skew:v[3],width:v[4]}}var Nr={};function ir(l){var n;if(l>=5?n=0:l>=3?n=1:n=2,!Nr[n]){var a=Nr[n]={cssEmPerMu:Gn.quad[n]/18};for(var u in Gn)Gn.hasOwnProperty(u)&&(a[u]=Gn[u][n])}return Nr[n]}var Wn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Vn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],sa=function(n,a){return a.size<2?n:Wn[n-1][a.size-1]};class hr{constructor(n){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=n.style,this.color=n.color,this.size=n.size||hr.BASESIZE,this.textSize=n.textSize||this.size,this.phantom=!!n.phantom,this.font=n.font||"",this.fontFamily=n.fontFamily||"",this.fontWeight=n.fontWeight||"",this.fontShape=n.fontShape||"",this.sizeMultiplier=Vn[this.size-1],this.maxSize=n.maxSize,this.minRuleThickness=n.minRuleThickness,this._fontMetrics=void 0}extend(n){var a={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var u in n)n.hasOwnProperty(u)&&(a[u]=n[u]);return new hr(a)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:sa(this.textSize,n)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(n){return this.size===n&&this.textSize===n?this:this.extend({style:this.style.text(),size:n,textSize:n,sizeMultiplier:Vn[n-1]})}havingBaseStyle(n){n=n||this.style.text();var a=sa(hr.BASESIZE,n);return this.size===a&&this.textSize===hr.BASESIZE&&this.style===n?this:this.extend({style:n,size:a})}havingBaseSizing(){var n;switch(this.style.id){case 4:case 5:n=3;break;case 6:case 7:n=1;break;default:n=6}return this.extend({style:this.style.text(),size:n})}withColor(n){return this.extend({color:n})}withPhantom(){return this.extend({phantom:!0})}withFont(n){return this.extend({font:n})}withTextFontFamily(n){return this.extend({fontFamily:n,font:""})}withTextFontWeight(n){return this.extend({fontWeight:n,font:""})}withTextFontShape(n){return this.extend({fontShape:n,font:""})}sizingClasses(n){return n.size!==this.size?["sizing","reset-size"+n.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==hr.BASESIZE?["sizing","reset-size"+this.size,"size"+hr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=ir(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}hr.BASESIZE=6;var It={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},ut={ex:!0,em:!0,mu:!0},Qt=function(n){return typeof n!="string"&&(n=n.unit),n in It||n in ut||n==="ex"},qt=function(n,a){var u;if(n.unit in It)u=It[n.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(n.unit==="mu")u=a.fontMetrics().cssEmPerMu;else{var v;if(a.style.isTight()?v=a.havingStyle(a.style.text()):v=a,n.unit==="ex")u=v.fontMetrics().xHeight;else if(n.unit==="em")u=v.fontMetrics().quad;else throw new Xe("Invalid unit: '"+n.unit+"'");v!==a&&(u*=v.sizeMultiplier/a.sizeMultiplier)}return Math.min(n.number*u,a.maxSize)},Tt=function(n){return+n.toFixed(4)+"em"},mn=function(n){return n.filter(a=>a).join(" ")},gt=function(n,a,u){if(this.classes=n||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=u||{},a){a.style.isTight()&&this.classes.push("mtight");var v=a.getColor();v&&(this.style.color=v)}},hn=function(n){var a=document.createElement(n);a.className=mn(this.classes);for(var u in this.style)this.style.hasOwnProperty(u)&&(a.style[u]=this.style[u]);for(var v in this.attributes)this.attributes.hasOwnProperty(v)&&a.setAttribute(v,this.attributes[v]);for(var x=0;x/=\x00-\x1f]/,oe=function(n){var a="<"+n;this.classes.length&&(a+=' class="'+N.escape(mn(this.classes))+'"');var u="";for(var v in this.style)this.style.hasOwnProperty(v)&&(u+=N.hyphenate(v)+":"+this.style[v]+";");u&&(a+=' style="'+N.escape(u)+'"');for(var x in this.attributes)if(this.attributes.hasOwnProperty(x)){if(Oe.test(x))throw new Xe("Invalid attribute name '"+x+"'");a+=" "+x+'="'+N.escape(this.attributes[x])+'"'}a+=">";for(var P=0;P",a};class c{constructor(n,a,u,v){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,gt.call(this,n,u,v),this.children=a||[]}setAttribute(n,a){this.attributes[n]=a}hasClass(n){return N.contains(this.classes,n)}toNode(){return hn.call(this,"span")}toMarkup(){return oe.call(this,"span")}}class pt{constructor(n,a,u,v){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,gt.call(this,a,v),this.children=u||[],this.setAttribute("href",n)}setAttribute(n,a){this.attributes[n]=a}hasClass(n){return N.contains(this.classes,n)}toNode(){return hn.call(this,"a")}toMarkup(){return oe.call(this,"a")}}class Dt{constructor(n,a,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=a,this.src=n,this.classes=["mord"],this.style=u}hasClass(n){return N.contains(this.classes,n)}toNode(){var n=document.createElement("img");n.src=this.src,n.alt=this.alt,n.className="mord";for(var a in this.style)this.style.hasOwnProperty(a)&&(n.style[a]=this.style[a]);return n}toMarkup(){var n=''+N.escape(this.alt)+'0&&(a=document.createElement("span"),a.style.marginRight=Tt(this.italic)),this.classes.length>0&&(a=a||document.createElement("span"),a.className=mn(this.classes));for(var u in this.style)this.style.hasOwnProperty(u)&&(a=a||document.createElement("span"),a.style[u]=this.style[u]);return a?(a.appendChild(n),a):n}toMarkup(){var n=!1,a="0&&(u+="margin-right:"+this.italic+"em;");for(var v in this.style)this.style.hasOwnProperty(v)&&(u+=N.hyphenate(v)+":"+this.style[v]+";");u&&(n=!0,a+=' style="'+N.escape(u)+'"');var x=N.escape(this.text);return n?(a+=">",a+=x,a+="",a):x}}class Rt{constructor(n,a){this.children=void 0,this.attributes=void 0,this.children=n||[],this.attributes=a||{}}toNode(){var n="http://www.w3.org/2000/svg",a=document.createElementNS(n,"svg");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&a.setAttribute(u,this.attributes[u]);for(var v=0;v':''}}class vn{constructor(n){this.attributes=void 0,this.attributes=n||{}}toNode(){var n="http://www.w3.org/2000/svg",a=document.createElementNS(n,"line");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&a.setAttribute(u,this.attributes[u]);return a}toMarkup(){var n=" but got "+String(l)+".")}var nr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},or={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Zn={math:{},text:{}};function T(l,n,a,u,v,x){Zn[l][v]={font:n,group:a,replace:u},x&&u&&(Zn[l][u]=Zn[l][v])}var A="math",Pt="text",z="main",Ie="ams",Un="accent-token",Vt="bin",pr="close",wr="inner",xn="mathord",Ir="op-token",yr="open",ba="punct",Fe="rel",Xr="spacing",Qe="textord";T(A,z,Fe,"\u2261","\\equiv",!0),T(A,z,Fe,"\u227A","\\prec",!0),T(A,z,Fe,"\u227B","\\succ",!0),T(A,z,Fe,"\u223C","\\sim",!0),T(A,z,Fe,"\u22A5","\\perp"),T(A,z,Fe,"\u2AAF","\\preceq",!0),T(A,z,Fe,"\u2AB0","\\succeq",!0),T(A,z,Fe,"\u2243","\\simeq",!0),T(A,z,Fe,"\u2223","\\mid",!0),T(A,z,Fe,"\u226A","\\ll",!0),T(A,z,Fe,"\u226B","\\gg",!0),T(A,z,Fe,"\u224D","\\asymp",!0),T(A,z,Fe,"\u2225","\\parallel"),T(A,z,Fe,"\u22C8","\\bowtie",!0),T(A,z,Fe,"\u2323","\\smile",!0),T(A,z,Fe,"\u2291","\\sqsubseteq",!0),T(A,z,Fe,"\u2292","\\sqsupseteq",!0),T(A,z,Fe,"\u2250","\\doteq",!0),T(A,z,Fe,"\u2322","\\frown",!0),T(A,z,Fe,"\u220B","\\ni",!0),T(A,z,Fe,"\u221D","\\propto",!0),T(A,z,Fe,"\u22A2","\\vdash",!0),T(A,z,Fe,"\u22A3","\\dashv",!0),T(A,z,Fe,"\u220B","\\owns"),T(A,z,ba,".","\\ldotp"),T(A,z,ba,"\u22C5","\\cdotp"),T(A,z,Qe,"#","\\#"),T(Pt,z,Qe,"#","\\#"),T(A,z,Qe,"&","\\&"),T(Pt,z,Qe,"&","\\&"),T(A,z,Qe,"\u2135","\\aleph",!0),T(A,z,Qe,"\u2200","\\forall",!0),T(A,z,Qe,"\u210F","\\hbar",!0),T(A,z,Qe,"\u2203","\\exists",!0),T(A,z,Qe,"\u2207","\\nabla",!0),T(A,z,Qe,"\u266D","\\flat",!0),T(A,z,Qe,"\u2113","\\ell",!0),T(A,z,Qe,"\u266E","\\natural",!0),T(A,z,Qe,"\u2663","\\clubsuit",!0),T(A,z,Qe,"\u2118","\\wp",!0),T(A,z,Qe,"\u266F","\\sharp",!0),T(A,z,Qe,"\u2662","\\diamondsuit",!0),T(A,z,Qe,"\u211C","\\Re",!0),T(A,z,Qe,"\u2661","\\heartsuit",!0),T(A,z,Qe,"\u2111","\\Im",!0),T(A,z,Qe,"\u2660","\\spadesuit",!0),T(A,z,Qe,"\xA7","\\S",!0),T(Pt,z,Qe,"\xA7","\\S"),T(A,z,Qe,"\xB6","\\P",!0),T(Pt,z,Qe,"\xB6","\\P"),T(A,z,Qe,"\u2020","\\dag"),T(Pt,z,Qe,"\u2020","\\dag"),T(Pt,z,Qe,"\u2020","\\textdagger"),T(A,z,Qe,"\u2021","\\ddag"),T(Pt,z,Qe,"\u2021","\\ddag"),T(Pt,z,Qe,"\u2021","\\textdaggerdbl"),T(A,z,pr,"\u23B1","\\rmoustache",!0),T(A,z,yr,"\u23B0","\\lmoustache",!0),T(A,z,pr,"\u27EF","\\rgroup",!0),T(A,z,yr,"\u27EE","\\lgroup",!0),T(A,z,Vt,"\u2213","\\mp",!0),T(A,z,Vt,"\u2296","\\ominus",!0),T(A,z,Vt,"\u228E","\\uplus",!0),T(A,z,Vt,"\u2293","\\sqcap",!0),T(A,z,Vt,"\u2217","\\ast"),T(A,z,Vt,"\u2294","\\sqcup",!0),T(A,z,Vt,"\u25EF","\\bigcirc",!0),T(A,z,Vt,"\u2219","\\bullet",!0),T(A,z,Vt,"\u2021","\\ddagger"),T(A,z,Vt,"\u2240","\\wr",!0),T(A,z,Vt,"\u2A3F","\\amalg"),T(A,z,Vt,"&","\\And"),T(A,z,Fe,"\u27F5","\\longleftarrow",!0),T(A,z,Fe,"\u21D0","\\Leftarrow",!0),T(A,z,Fe,"\u27F8","\\Longleftarrow",!0),T(A,z,Fe,"\u27F6","\\longrightarrow",!0),T(A,z,Fe,"\u21D2","\\Rightarrow",!0),T(A,z,Fe,"\u27F9","\\Longrightarrow",!0),T(A,z,Fe,"\u2194","\\leftrightarrow",!0),T(A,z,Fe,"\u27F7","\\longleftrightarrow",!0),T(A,z,Fe,"\u21D4","\\Leftrightarrow",!0),T(A,z,Fe,"\u27FA","\\Longleftrightarrow",!0),T(A,z,Fe,"\u21A6","\\mapsto",!0),T(A,z,Fe,"\u27FC","\\longmapsto",!0),T(A,z,Fe,"\u2197","\\nearrow",!0),T(A,z,Fe,"\u21A9","\\hookleftarrow",!0),T(A,z,Fe,"\u21AA","\\hookrightarrow",!0),T(A,z,Fe,"\u2198","\\searrow",!0),T(A,z,Fe,"\u21BC","\\leftharpoonup",!0),T(A,z,Fe,"\u21C0","\\rightharpoonup",!0),T(A,z,Fe,"\u2199","\\swarrow",!0),T(A,z,Fe,"\u21BD","\\leftharpoondown",!0),T(A,z,Fe,"\u21C1","\\rightharpoondown",!0),T(A,z,Fe,"\u2196","\\nwarrow",!0),T(A,z,Fe,"\u21CC","\\rightleftharpoons",!0),T(A,Ie,Fe,"\u226E","\\nless",!0),T(A,Ie,Fe,"\uE010","\\@nleqslant"),T(A,Ie,Fe,"\uE011","\\@nleqq"),T(A,Ie,Fe,"\u2A87","\\lneq",!0),T(A,Ie,Fe,"\u2268","\\lneqq",!0),T(A,Ie,Fe,"\uE00C","\\@lvertneqq"),T(A,Ie,Fe,"\u22E6","\\lnsim",!0),T(A,Ie,Fe,"\u2A89","\\lnapprox",!0),T(A,Ie,Fe,"\u2280","\\nprec",!0),T(A,Ie,Fe,"\u22E0","\\npreceq",!0),T(A,Ie,Fe,"\u22E8","\\precnsim",!0),T(A,Ie,Fe,"\u2AB9","\\precnapprox",!0),T(A,Ie,Fe,"\u2241","\\nsim",!0),T(A,Ie,Fe,"\uE006","\\@nshortmid"),T(A,Ie,Fe,"\u2224","\\nmid",!0),T(A,Ie,Fe,"\u22AC","\\nvdash",!0),T(A,Ie,Fe,"\u22AD","\\nvDash",!0),T(A,Ie,Fe,"\u22EA","\\ntriangleleft"),T(A,Ie,Fe,"\u22EC","\\ntrianglelefteq",!0),T(A,Ie,Fe,"\u228A","\\subsetneq",!0),T(A,Ie,Fe,"\uE01A","\\@varsubsetneq"),T(A,Ie,Fe,"\u2ACB","\\subsetneqq",!0),T(A,Ie,Fe,"\uE017","\\@varsubsetneqq"),T(A,Ie,Fe,"\u226F","\\ngtr",!0),T(A,Ie,Fe,"\uE00F","\\@ngeqslant"),T(A,Ie,Fe,"\uE00E","\\@ngeqq"),T(A,Ie,Fe,"\u2A88","\\gneq",!0),T(A,Ie,Fe,"\u2269","\\gneqq",!0),T(A,Ie,Fe,"\uE00D","\\@gvertneqq"),T(A,Ie,Fe,"\u22E7","\\gnsim",!0),T(A,Ie,Fe,"\u2A8A","\\gnapprox",!0),T(A,Ie,Fe,"\u2281","\\nsucc",!0),T(A,Ie,Fe,"\u22E1","\\nsucceq",!0),T(A,Ie,Fe,"\u22E9","\\succnsim",!0),T(A,Ie,Fe,"\u2ABA","\\succnapprox",!0),T(A,Ie,Fe,"\u2246","\\ncong",!0),T(A,Ie,Fe,"\uE007","\\@nshortparallel"),T(A,Ie,Fe,"\u2226","\\nparallel",!0),T(A,Ie,Fe,"\u22AF","\\nVDash",!0),T(A,Ie,Fe,"\u22EB","\\ntriangleright"),T(A,Ie,Fe,"\u22ED","\\ntrianglerighteq",!0),T(A,Ie,Fe,"\uE018","\\@nsupseteqq"),T(A,Ie,Fe,"\u228B","\\supsetneq",!0),T(A,Ie,Fe,"\uE01B","\\@varsupsetneq"),T(A,Ie,Fe,"\u2ACC","\\supsetneqq",!0),T(A,Ie,Fe,"\uE019","\\@varsupsetneqq"),T(A,Ie,Fe,"\u22AE","\\nVdash",!0),T(A,Ie,Fe,"\u2AB5","\\precneqq",!0),T(A,Ie,Fe,"\u2AB6","\\succneqq",!0),T(A,Ie,Fe,"\uE016","\\@nsubseteqq"),T(A,Ie,Vt,"\u22B4","\\unlhd"),T(A,Ie,Vt,"\u22B5","\\unrhd"),T(A,Ie,Fe,"\u219A","\\nleftarrow",!0),T(A,Ie,Fe,"\u219B","\\nrightarrow",!0),T(A,Ie,Fe,"\u21CD","\\nLeftarrow",!0),T(A,Ie,Fe,"\u21CF","\\nRightarrow",!0),T(A,Ie,Fe,"\u21AE","\\nleftrightarrow",!0),T(A,Ie,Fe,"\u21CE","\\nLeftrightarrow",!0),T(A,Ie,Fe,"\u25B3","\\vartriangle"),T(A,Ie,Qe,"\u210F","\\hslash"),T(A,Ie,Qe,"\u25BD","\\triangledown"),T(A,Ie,Qe,"\u25CA","\\lozenge"),T(A,Ie,Qe,"\u24C8","\\circledS"),T(A,Ie,Qe,"\xAE","\\circledR"),T(Pt,Ie,Qe,"\xAE","\\circledR"),T(A,Ie,Qe,"\u2221","\\measuredangle",!0),T(A,Ie,Qe,"\u2204","\\nexists"),T(A,Ie,Qe,"\u2127","\\mho"),T(A,Ie,Qe,"\u2132","\\Finv",!0),T(A,Ie,Qe,"\u2141","\\Game",!0),T(A,Ie,Qe,"\u2035","\\backprime"),T(A,Ie,Qe,"\u25B2","\\blacktriangle"),T(A,Ie,Qe,"\u25BC","\\blacktriangledown"),T(A,Ie,Qe,"\u25A0","\\blacksquare"),T(A,Ie,Qe,"\u29EB","\\blacklozenge"),T(A,Ie,Qe,"\u2605","\\bigstar"),T(A,Ie,Qe,"\u2222","\\sphericalangle",!0),T(A,Ie,Qe,"\u2201","\\complement",!0),T(A,Ie,Qe,"\xF0","\\eth",!0),T(Pt,z,Qe,"\xF0","\xF0"),T(A,Ie,Qe,"\u2571","\\diagup"),T(A,Ie,Qe,"\u2572","\\diagdown"),T(A,Ie,Qe,"\u25A1","\\square"),T(A,Ie,Qe,"\u25A1","\\Box"),T(A,Ie,Qe,"\u25CA","\\Diamond"),T(A,Ie,Qe,"\xA5","\\yen",!0),T(Pt,Ie,Qe,"\xA5","\\yen",!0),T(A,Ie,Qe,"\u2713","\\checkmark",!0),T(Pt,Ie,Qe,"\u2713","\\checkmark"),T(A,Ie,Qe,"\u2136","\\beth",!0),T(A,Ie,Qe,"\u2138","\\daleth",!0),T(A,Ie,Qe,"\u2137","\\gimel",!0),T(A,Ie,Qe,"\u03DD","\\digamma",!0),T(A,Ie,Qe,"\u03F0","\\varkappa"),T(A,Ie,yr,"\u250C","\\@ulcorner",!0),T(A,Ie,pr,"\u2510","\\@urcorner",!0),T(A,Ie,yr,"\u2514","\\@llcorner",!0),T(A,Ie,pr,"\u2518","\\@lrcorner",!0),T(A,Ie,Fe,"\u2266","\\leqq",!0),T(A,Ie,Fe,"\u2A7D","\\leqslant",!0),T(A,Ie,Fe,"\u2A95","\\eqslantless",!0),T(A,Ie,Fe,"\u2272","\\lesssim",!0),T(A,Ie,Fe,"\u2A85","\\lessapprox",!0),T(A,Ie,Fe,"\u224A","\\approxeq",!0),T(A,Ie,Vt,"\u22D6","\\lessdot"),T(A,Ie,Fe,"\u22D8","\\lll",!0),T(A,Ie,Fe,"\u2276","\\lessgtr",!0),T(A,Ie,Fe,"\u22DA","\\lesseqgtr",!0),T(A,Ie,Fe,"\u2A8B","\\lesseqqgtr",!0),T(A,Ie,Fe,"\u2251","\\doteqdot"),T(A,Ie,Fe,"\u2253","\\risingdotseq",!0),T(A,Ie,Fe,"\u2252","\\fallingdotseq",!0),T(A,Ie,Fe,"\u223D","\\backsim",!0),T(A,Ie,Fe,"\u22CD","\\backsimeq",!0),T(A,Ie,Fe,"\u2AC5","\\subseteqq",!0),T(A,Ie,Fe,"\u22D0","\\Subset",!0),T(A,Ie,Fe,"\u228F","\\sqsubset",!0),T(A,Ie,Fe,"\u227C","\\preccurlyeq",!0),T(A,Ie,Fe,"\u22DE","\\curlyeqprec",!0),T(A,Ie,Fe,"\u227E","\\precsim",!0),T(A,Ie,Fe,"\u2AB7","\\precapprox",!0),T(A,Ie,Fe,"\u22B2","\\vartriangleleft"),T(A,Ie,Fe,"\u22B4","\\trianglelefteq"),T(A,Ie,Fe,"\u22A8","\\vDash",!0),T(A,Ie,Fe,"\u22AA","\\Vvdash",!0),T(A,Ie,Fe,"\u2323","\\smallsmile"),T(A,Ie,Fe,"\u2322","\\smallfrown"),T(A,Ie,Fe,"\u224F","\\bumpeq",!0),T(A,Ie,Fe,"\u224E","\\Bumpeq",!0),T(A,Ie,Fe,"\u2267","\\geqq",!0),T(A,Ie,Fe,"\u2A7E","\\geqslant",!0),T(A,Ie,Fe,"\u2A96","\\eqslantgtr",!0),T(A,Ie,Fe,"\u2273","\\gtrsim",!0),T(A,Ie,Fe,"\u2A86","\\gtrapprox",!0),T(A,Ie,Vt,"\u22D7","\\gtrdot"),T(A,Ie,Fe,"\u22D9","\\ggg",!0),T(A,Ie,Fe,"\u2277","\\gtrless",!0),T(A,Ie,Fe,"\u22DB","\\gtreqless",!0),T(A,Ie,Fe,"\u2A8C","\\gtreqqless",!0),T(A,Ie,Fe,"\u2256","\\eqcirc",!0),T(A,Ie,Fe,"\u2257","\\circeq",!0),T(A,Ie,Fe,"\u225C","\\triangleq",!0),T(A,Ie,Fe,"\u223C","\\thicksim"),T(A,Ie,Fe,"\u2248","\\thickapprox"),T(A,Ie,Fe,"\u2AC6","\\supseteqq",!0),T(A,Ie,Fe,"\u22D1","\\Supset",!0),T(A,Ie,Fe,"\u2290","\\sqsupset",!0),T(A,Ie,Fe,"\u227D","\\succcurlyeq",!0),T(A,Ie,Fe,"\u22DF","\\curlyeqsucc",!0),T(A,Ie,Fe,"\u227F","\\succsim",!0),T(A,Ie,Fe,"\u2AB8","\\succapprox",!0),T(A,Ie,Fe,"\u22B3","\\vartriangleright"),T(A,Ie,Fe,"\u22B5","\\trianglerighteq"),T(A,Ie,Fe,"\u22A9","\\Vdash",!0),T(A,Ie,Fe,"\u2223","\\shortmid"),T(A,Ie,Fe,"\u2225","\\shortparallel"),T(A,Ie,Fe,"\u226C","\\between",!0),T(A,Ie,Fe,"\u22D4","\\pitchfork",!0),T(A,Ie,Fe,"\u221D","\\varpropto"),T(A,Ie,Fe,"\u25C0","\\blacktriangleleft"),T(A,Ie,Fe,"\u2234","\\therefore",!0),T(A,Ie,Fe,"\u220D","\\backepsilon"),T(A,Ie,Fe,"\u25B6","\\blacktriangleright"),T(A,Ie,Fe,"\u2235","\\because",!0),T(A,Ie,Fe,"\u22D8","\\llless"),T(A,Ie,Fe,"\u22D9","\\gggtr"),T(A,Ie,Vt,"\u22B2","\\lhd"),T(A,Ie,Vt,"\u22B3","\\rhd"),T(A,Ie,Fe,"\u2242","\\eqsim",!0),T(A,z,Fe,"\u22C8","\\Join"),T(A,Ie,Fe,"\u2251","\\Doteq",!0),T(A,Ie,Vt,"\u2214","\\dotplus",!0),T(A,Ie,Vt,"\u2216","\\smallsetminus"),T(A,Ie,Vt,"\u22D2","\\Cap",!0),T(A,Ie,Vt,"\u22D3","\\Cup",!0),T(A,Ie,Vt,"\u2A5E","\\doublebarwedge",!0),T(A,Ie,Vt,"\u229F","\\boxminus",!0),T(A,Ie,Vt,"\u229E","\\boxplus",!0),T(A,Ie,Vt,"\u22C7","\\divideontimes",!0),T(A,Ie,Vt,"\u22C9","\\ltimes",!0),T(A,Ie,Vt,"\u22CA","\\rtimes",!0),T(A,Ie,Vt,"\u22CB","\\leftthreetimes",!0),T(A,Ie,Vt,"\u22CC","\\rightthreetimes",!0),T(A,Ie,Vt,"\u22CF","\\curlywedge",!0),T(A,Ie,Vt,"\u22CE","\\curlyvee",!0),T(A,Ie,Vt,"\u229D","\\circleddash",!0),T(A,Ie,Vt,"\u229B","\\circledast",!0),T(A,Ie,Vt,"\u22C5","\\centerdot"),T(A,Ie,Vt,"\u22BA","\\intercal",!0),T(A,Ie,Vt,"\u22D2","\\doublecap"),T(A,Ie,Vt,"\u22D3","\\doublecup"),T(A,Ie,Vt,"\u22A0","\\boxtimes",!0),T(A,Ie,Fe,"\u21E2","\\dashrightarrow",!0),T(A,Ie,Fe,"\u21E0","\\dashleftarrow",!0),T(A,Ie,Fe,"\u21C7","\\leftleftarrows",!0),T(A,Ie,Fe,"\u21C6","\\leftrightarrows",!0),T(A,Ie,Fe,"\u21DA","\\Lleftarrow",!0),T(A,Ie,Fe,"\u219E","\\twoheadleftarrow",!0),T(A,Ie,Fe,"\u21A2","\\leftarrowtail",!0),T(A,Ie,Fe,"\u21AB","\\looparrowleft",!0),T(A,Ie,Fe,"\u21CB","\\leftrightharpoons",!0),T(A,Ie,Fe,"\u21B6","\\curvearrowleft",!0),T(A,Ie,Fe,"\u21BA","\\circlearrowleft",!0),T(A,Ie,Fe,"\u21B0","\\Lsh",!0),T(A,Ie,Fe,"\u21C8","\\upuparrows",!0),T(A,Ie,Fe,"\u21BF","\\upharpoonleft",!0),T(A,Ie,Fe,"\u21C3","\\downharpoonleft",!0),T(A,z,Fe,"\u22B6","\\origof",!0),T(A,z,Fe,"\u22B7","\\imageof",!0),T(A,Ie,Fe,"\u22B8","\\multimap",!0),T(A,Ie,Fe,"\u21AD","\\leftrightsquigarrow",!0),T(A,Ie,Fe,"\u21C9","\\rightrightarrows",!0),T(A,Ie,Fe,"\u21C4","\\rightleftarrows",!0),T(A,Ie,Fe,"\u21A0","\\twoheadrightarrow",!0),T(A,Ie,Fe,"\u21A3","\\rightarrowtail",!0),T(A,Ie,Fe,"\u21AC","\\looparrowright",!0),T(A,Ie,Fe,"\u21B7","\\curvearrowright",!0),T(A,Ie,Fe,"\u21BB","\\circlearrowright",!0),T(A,Ie,Fe,"\u21B1","\\Rsh",!0),T(A,Ie,Fe,"\u21CA","\\downdownarrows",!0),T(A,Ie,Fe,"\u21BE","\\upharpoonright",!0),T(A,Ie,Fe,"\u21C2","\\downharpoonright",!0),T(A,Ie,Fe,"\u21DD","\\rightsquigarrow",!0),T(A,Ie,Fe,"\u21DD","\\leadsto"),T(A,Ie,Fe,"\u21DB","\\Rrightarrow",!0),T(A,Ie,Fe,"\u21BE","\\restriction"),T(A,z,Qe,"\u2018","`"),T(A,z,Qe,"$","\\$"),T(Pt,z,Qe,"$","\\$"),T(Pt,z,Qe,"$","\\textdollar"),T(A,z,Qe,"%","\\%"),T(Pt,z,Qe,"%","\\%"),T(A,z,Qe,"_","\\_"),T(Pt,z,Qe,"_","\\_"),T(Pt,z,Qe,"_","\\textunderscore"),T(A,z,Qe,"\u2220","\\angle",!0),T(A,z,Qe,"\u221E","\\infty",!0),T(A,z,Qe,"\u2032","\\prime"),T(A,z,Qe,"\u25B3","\\triangle"),T(A,z,Qe,"\u0393","\\Gamma",!0),T(A,z,Qe,"\u0394","\\Delta",!0),T(A,z,Qe,"\u0398","\\Theta",!0),T(A,z,Qe,"\u039B","\\Lambda",!0),T(A,z,Qe,"\u039E","\\Xi",!0),T(A,z,Qe,"\u03A0","\\Pi",!0),T(A,z,Qe,"\u03A3","\\Sigma",!0),T(A,z,Qe,"\u03A5","\\Upsilon",!0),T(A,z,Qe,"\u03A6","\\Phi",!0),T(A,z,Qe,"\u03A8","\\Psi",!0),T(A,z,Qe,"\u03A9","\\Omega",!0),T(A,z,Qe,"A","\u0391"),T(A,z,Qe,"B","\u0392"),T(A,z,Qe,"E","\u0395"),T(A,z,Qe,"Z","\u0396"),T(A,z,Qe,"H","\u0397"),T(A,z,Qe,"I","\u0399"),T(A,z,Qe,"K","\u039A"),T(A,z,Qe,"M","\u039C"),T(A,z,Qe,"N","\u039D"),T(A,z,Qe,"O","\u039F"),T(A,z,Qe,"P","\u03A1"),T(A,z,Qe,"T","\u03A4"),T(A,z,Qe,"X","\u03A7"),T(A,z,Qe,"\xAC","\\neg",!0),T(A,z,Qe,"\xAC","\\lnot"),T(A,z,Qe,"\u22A4","\\top"),T(A,z,Qe,"\u22A5","\\bot"),T(A,z,Qe,"\u2205","\\emptyset"),T(A,Ie,Qe,"\u2205","\\varnothing"),T(A,z,xn,"\u03B1","\\alpha",!0),T(A,z,xn,"\u03B2","\\beta",!0),T(A,z,xn,"\u03B3","\\gamma",!0),T(A,z,xn,"\u03B4","\\delta",!0),T(A,z,xn,"\u03F5","\\epsilon",!0),T(A,z,xn,"\u03B6","\\zeta",!0),T(A,z,xn,"\u03B7","\\eta",!0),T(A,z,xn,"\u03B8","\\theta",!0),T(A,z,xn,"\u03B9","\\iota",!0),T(A,z,xn,"\u03BA","\\kappa",!0),T(A,z,xn,"\u03BB","\\lambda",!0),T(A,z,xn,"\u03BC","\\mu",!0),T(A,z,xn,"\u03BD","\\nu",!0),T(A,z,xn,"\u03BE","\\xi",!0),T(A,z,xn,"\u03BF","\\omicron",!0),T(A,z,xn,"\u03C0","\\pi",!0),T(A,z,xn,"\u03C1","\\rho",!0),T(A,z,xn,"\u03C3","\\sigma",!0),T(A,z,xn,"\u03C4","\\tau",!0),T(A,z,xn,"\u03C5","\\upsilon",!0),T(A,z,xn,"\u03D5","\\phi",!0),T(A,z,xn,"\u03C7","\\chi",!0),T(A,z,xn,"\u03C8","\\psi",!0),T(A,z,xn,"\u03C9","\\omega",!0),T(A,z,xn,"\u03B5","\\varepsilon",!0),T(A,z,xn,"\u03D1","\\vartheta",!0),T(A,z,xn,"\u03D6","\\varpi",!0),T(A,z,xn,"\u03F1","\\varrho",!0),T(A,z,xn,"\u03C2","\\varsigma",!0),T(A,z,xn,"\u03C6","\\varphi",!0),T(A,z,Vt,"\u2217","*",!0),T(A,z,Vt,"+","+"),T(A,z,Vt,"\u2212","-",!0),T(A,z,Vt,"\u22C5","\\cdot",!0),T(A,z,Vt,"\u2218","\\circ",!0),T(A,z,Vt,"\xF7","\\div",!0),T(A,z,Vt,"\xB1","\\pm",!0),T(A,z,Vt,"\xD7","\\times",!0),T(A,z,Vt,"\u2229","\\cap",!0),T(A,z,Vt,"\u222A","\\cup",!0),T(A,z,Vt,"\u2216","\\setminus",!0),T(A,z,Vt,"\u2227","\\land"),T(A,z,Vt,"\u2228","\\lor"),T(A,z,Vt,"\u2227","\\wedge",!0),T(A,z,Vt,"\u2228","\\vee",!0),T(A,z,Qe,"\u221A","\\surd"),T(A,z,yr,"\u27E8","\\langle",!0),T(A,z,yr,"\u2223","\\lvert"),T(A,z,yr,"\u2225","\\lVert"),T(A,z,pr,"?","?"),T(A,z,pr,"!","!"),T(A,z,pr,"\u27E9","\\rangle",!0),T(A,z,pr,"\u2223","\\rvert"),T(A,z,pr,"\u2225","\\rVert"),T(A,z,Fe,"=","="),T(A,z,Fe,":",":"),T(A,z,Fe,"\u2248","\\approx",!0),T(A,z,Fe,"\u2245","\\cong",!0),T(A,z,Fe,"\u2265","\\ge"),T(A,z,Fe,"\u2265","\\geq",!0),T(A,z,Fe,"\u2190","\\gets"),T(A,z,Fe,">","\\gt",!0),T(A,z,Fe,"\u2208","\\in",!0),T(A,z,Fe,"\uE020","\\@not"),T(A,z,Fe,"\u2282","\\subset",!0),T(A,z,Fe,"\u2283","\\supset",!0),T(A,z,Fe,"\u2286","\\subseteq",!0),T(A,z,Fe,"\u2287","\\supseteq",!0),T(A,Ie,Fe,"\u2288","\\nsubseteq",!0),T(A,Ie,Fe,"\u2289","\\nsupseteq",!0),T(A,z,Fe,"\u22A8","\\models"),T(A,z,Fe,"\u2190","\\leftarrow",!0),T(A,z,Fe,"\u2264","\\le"),T(A,z,Fe,"\u2264","\\leq",!0),T(A,z,Fe,"<","\\lt",!0),T(A,z,Fe,"\u2192","\\rightarrow",!0),T(A,z,Fe,"\u2192","\\to"),T(A,Ie,Fe,"\u2271","\\ngeq",!0),T(A,Ie,Fe,"\u2270","\\nleq",!0),T(A,z,Xr,"\xA0","\\ "),T(A,z,Xr,"\xA0","\\space"),T(A,z,Xr,"\xA0","\\nobreakspace"),T(Pt,z,Xr,"\xA0","\\ "),T(Pt,z,Xr,"\xA0"," "),T(Pt,z,Xr,"\xA0","\\space"),T(Pt,z,Xr,"\xA0","\\nobreakspace"),T(A,z,Xr,null,"\\nobreak"),T(A,z,Xr,null,"\\allowbreak"),T(A,z,ba,",",","),T(A,z,ba,";",";"),T(A,Ie,Vt,"\u22BC","\\barwedge",!0),T(A,Ie,Vt,"\u22BB","\\veebar",!0),T(A,z,Vt,"\u2299","\\odot",!0),T(A,z,Vt,"\u2295","\\oplus",!0),T(A,z,Vt,"\u2297","\\otimes",!0),T(A,z,Qe,"\u2202","\\partial",!0),T(A,z,Vt,"\u2298","\\oslash",!0),T(A,Ie,Vt,"\u229A","\\circledcirc",!0),T(A,Ie,Vt,"\u22A1","\\boxdot",!0),T(A,z,Vt,"\u25B3","\\bigtriangleup"),T(A,z,Vt,"\u25BD","\\bigtriangledown"),T(A,z,Vt,"\u2020","\\dagger"),T(A,z,Vt,"\u22C4","\\diamond"),T(A,z,Vt,"\u22C6","\\star"),T(A,z,Vt,"\u25C3","\\triangleleft"),T(A,z,Vt,"\u25B9","\\triangleright"),T(A,z,yr,"{","\\{"),T(Pt,z,Qe,"{","\\{"),T(Pt,z,Qe,"{","\\textbraceleft"),T(A,z,pr,"}","\\}"),T(Pt,z,Qe,"}","\\}"),T(Pt,z,Qe,"}","\\textbraceright"),T(A,z,yr,"{","\\lbrace"),T(A,z,pr,"}","\\rbrace"),T(A,z,yr,"[","\\lbrack",!0),T(Pt,z,Qe,"[","\\lbrack",!0),T(A,z,pr,"]","\\rbrack",!0),T(Pt,z,Qe,"]","\\rbrack",!0),T(A,z,yr,"(","\\lparen",!0),T(A,z,pr,")","\\rparen",!0),T(Pt,z,Qe,"<","\\textless",!0),T(Pt,z,Qe,">","\\textgreater",!0),T(A,z,yr,"\u230A","\\lfloor",!0),T(A,z,pr,"\u230B","\\rfloor",!0),T(A,z,yr,"\u2308","\\lceil",!0),T(A,z,pr,"\u2309","\\rceil",!0),T(A,z,Qe,"\\","\\backslash"),T(A,z,Qe,"\u2223","|"),T(A,z,Qe,"\u2223","\\vert"),T(Pt,z,Qe,"|","\\textbar",!0),T(A,z,Qe,"\u2225","\\|"),T(A,z,Qe,"\u2225","\\Vert"),T(Pt,z,Qe,"\u2225","\\textbardbl"),T(Pt,z,Qe,"~","\\textasciitilde"),T(Pt,z,Qe,"\\","\\textbackslash"),T(Pt,z,Qe,"^","\\textasciicircum"),T(A,z,Fe,"\u2191","\\uparrow",!0),T(A,z,Fe,"\u21D1","\\Uparrow",!0),T(A,z,Fe,"\u2193","\\downarrow",!0),T(A,z,Fe,"\u21D3","\\Downarrow",!0),T(A,z,Fe,"\u2195","\\updownarrow",!0),T(A,z,Fe,"\u21D5","\\Updownarrow",!0),T(A,z,Ir,"\u2210","\\coprod"),T(A,z,Ir,"\u22C1","\\bigvee"),T(A,z,Ir,"\u22C0","\\bigwedge"),T(A,z,Ir,"\u2A04","\\biguplus"),T(A,z,Ir,"\u22C2","\\bigcap"),T(A,z,Ir,"\u22C3","\\bigcup"),T(A,z,Ir,"\u222B","\\int"),T(A,z,Ir,"\u222B","\\intop"),T(A,z,Ir,"\u222C","\\iint"),T(A,z,Ir,"\u222D","\\iiint"),T(A,z,Ir,"\u220F","\\prod"),T(A,z,Ir,"\u2211","\\sum"),T(A,z,Ir,"\u2A02","\\bigotimes"),T(A,z,Ir,"\u2A01","\\bigoplus"),T(A,z,Ir,"\u2A00","\\bigodot"),T(A,z,Ir,"\u222E","\\oint"),T(A,z,Ir,"\u222F","\\oiint"),T(A,z,Ir,"\u2230","\\oiiint"),T(A,z,Ir,"\u2A06","\\bigsqcup"),T(A,z,Ir,"\u222B","\\smallint"),T(Pt,z,wr,"\u2026","\\textellipsis"),T(A,z,wr,"\u2026","\\mathellipsis"),T(Pt,z,wr,"\u2026","\\ldots",!0),T(A,z,wr,"\u2026","\\ldots",!0),T(A,z,wr,"\u22EF","\\@cdots",!0),T(A,z,wr,"\u22F1","\\ddots",!0),T(A,z,Qe,"\u22EE","\\varvdots"),T(Pt,z,Qe,"\u22EE","\\varvdots"),T(A,z,Un,"\u02CA","\\acute"),T(A,z,Un,"\u02CB","\\grave"),T(A,z,Un,"\xA8","\\ddot"),T(A,z,Un,"~","\\tilde"),T(A,z,Un,"\u02C9","\\bar"),T(A,z,Un,"\u02D8","\\breve"),T(A,z,Un,"\u02C7","\\check"),T(A,z,Un,"^","\\hat"),T(A,z,Un,"\u20D7","\\vec"),T(A,z,Un,"\u02D9","\\dot"),T(A,z,Un,"\u02DA","\\mathring"),T(A,z,xn,"\uE131","\\@imath"),T(A,z,xn,"\uE237","\\@jmath"),T(A,z,Qe,"\u0131","\u0131"),T(A,z,Qe,"\u0237","\u0237"),T(Pt,z,Qe,"\u0131","\\i",!0),T(Pt,z,Qe,"\u0237","\\j",!0),T(Pt,z,Qe,"\xDF","\\ss",!0),T(Pt,z,Qe,"\xE6","\\ae",!0),T(Pt,z,Qe,"\u0153","\\oe",!0),T(Pt,z,Qe,"\xF8","\\o",!0),T(Pt,z,Qe,"\xC6","\\AE",!0),T(Pt,z,Qe,"\u0152","\\OE",!0),T(Pt,z,Qe,"\xD8","\\O",!0),T(Pt,z,Un,"\u02CA","\\'"),T(Pt,z,Un,"\u02CB","\\`"),T(Pt,z,Un,"\u02C6","\\^"),T(Pt,z,Un,"\u02DC","\\~"),T(Pt,z,Un,"\u02C9","\\="),T(Pt,z,Un,"\u02D8","\\u"),T(Pt,z,Un,"\u02D9","\\."),T(Pt,z,Un,"\xB8","\\c"),T(Pt,z,Un,"\u02DA","\\r"),T(Pt,z,Un,"\u02C7","\\v"),T(Pt,z,Un,"\xA8",'\\"'),T(Pt,z,Un,"\u02DD","\\H"),T(Pt,z,Un,"\u25EF","\\textcircled");var ta={"--":!0,"---":!0,"``":!0,"''":!0};T(Pt,z,Qe,"\u2013","--",!0),T(Pt,z,Qe,"\u2013","\\textendash"),T(Pt,z,Qe,"\u2014","---",!0),T(Pt,z,Qe,"\u2014","\\textemdash"),T(Pt,z,Qe,"\u2018","`",!0),T(Pt,z,Qe,"\u2018","\\textquoteleft"),T(Pt,z,Qe,"\u2019","'",!0),T(Pt,z,Qe,"\u2019","\\textquoteright"),T(Pt,z,Qe,"\u201C","``",!0),T(Pt,z,Qe,"\u201C","\\textquotedblleft"),T(Pt,z,Qe,"\u201D","''",!0),T(Pt,z,Qe,"\u201D","\\textquotedblright"),T(A,z,Qe,"\xB0","\\degree",!0),T(Pt,z,Qe,"\xB0","\\degree"),T(Pt,z,Qe,"\xB0","\\textdegree",!0),T(A,z,Qe,"\xA3","\\pounds"),T(A,z,Qe,"\xA3","\\mathsterling",!0),T(Pt,z,Qe,"\xA3","\\pounds"),T(Pt,z,Qe,"\xA3","\\textsterling",!0),T(A,Ie,Qe,"\u2720","\\maltese"),T(Pt,Ie,Qe,"\u2720","\\maltese");for(var gr='0123456789/@."',Ca=0;Ca0)return Ra(x,Ve,v,a,P.concat(lt));if(ue){var St,Zt;if(ue==="boldsymbol"){var Wt=vi(x,v,a,P,u);St=Wt.fontName,Zt=[Wt.fontClass]}else re?(St=qr[ue].fontName,Zt=[ue]):(St=Dr(ue,a.fontWeight,a.fontShape),Zt=[ue,a.fontWeight,a.fontShape]);if(Ha(x,St,v).metrics)return Ra(x,St,v,a,P.concat(Zt));if(ta.hasOwnProperty(x)&&St.slice(0,10)==="Typewriter"){for(var pn=[],In=0;In{if(mn(l.classes)!==mn(n.classes)||l.skew!==n.skew||l.maxFontSize!==n.maxFontSize)return!1;if(l.classes.length===1){var a=l.classes[0];if(a==="mbin"||a==="mord")return!1}for(var u in l.style)if(l.style.hasOwnProperty(u)&&l.style[u]!==n.style[u])return!1;for(var v in n.style)if(n.style.hasOwnProperty(v)&&l.style[v]!==n.style[v])return!1;return!0},Fa=l=>{for(var n=0;na&&(a=P.height),P.depth>u&&(u=P.depth),P.maxFontSize>v&&(v=P.maxFontSize)}n.height=a,n.depth=u,n.maxFontSize=v},ua=function(n,a,u,v){var x=new c(n,a,u,v);return ka(x),x},Ai=(l,n,a,u)=>new c(l,n,a,u),Ii=function(n,a,u){var v=ua([n],[],a);return v.height=Math.max(u||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),v.style.borderBottomWidth=Tt(v.height),v.maxFontSize=1,v},Ki=function(n,a,u,v){var x=new pt(n,a,u,v);return ka(x),x},Ei=function(n){var a=new _n(n);return ka(a),a},vr=function(n,a){return n instanceof _n?ua([],[n],a):n},$r=function(n){if(n.positionType==="individualShift"){for(var a=n.children,u=[a[0]],v=-a[0].shift-a[0].elem.depth,x=v,P=1;P{var a=ua(["mspace"],[],n),u=qt(l,n);return a.style.marginRight=Tt(u),a},Dr=function(n,a,u){var v="";switch(n){case"amsrm":v="AMS";break;case"textrm":v="Main";break;case"textsf":v="SansSerif";break;case"texttt":v="Typewriter";break;default:v=n}var x;return a==="textbf"&&u==="textit"?x="BoldItalic":a==="textbf"?x="Bold":a==="textit"?x="Italic":x="Regular",v+"-"+x},qr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},ya={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},La=function(n,a){var[u,v,x]=ya[n],P=new gn(u),re=new Rt([P],{width:Tt(v),height:Tt(x),style:"width:"+Tt(v),viewBox:"0 0 "+1e3*v+" "+1e3*x,preserveAspectRatio:"xMinYMin"}),ue=Ai(["overlay"],[re],a);return ue.height=x,ue.style.height=Tt(x),ue.style.width=Tt(v),ue},vt={fontMap:qr,makeSymbol:Ra,mathsym:ti,makeSpan:ua,makeSvgSpan:Ai,makeLineSpan:Ii,makeAnchor:Ki,makeFragment:Ei,wrapFragment:vr,makeVList:Er,makeOrd:Ka,makeGlue:ve,staticSvg:La,svgData:ya,tryCombineChars:Fa},Vr={number:3,unit:"mu"},Ja={number:4,unit:"mu"},qa={number:5,unit:"mu"},Wi={mord:{mop:Vr,mbin:Ja,mrel:qa,minner:Vr},mop:{mord:Vr,mop:Vr,mrel:qa,minner:Vr},mbin:{mord:Ja,mop:Ja,mopen:Ja,minner:Ja},mrel:{mord:qa,mop:qa,mopen:qa,minner:qa},mopen:{},mclose:{mop:Vr,mbin:Ja,mrel:qa,minner:Vr},mpunct:{mord:Vr,mop:Vr,mrel:qa,mopen:Vr,mclose:Vr,mpunct:Vr,minner:Vr},minner:{mord:Vr,mop:Vr,mbin:Ja,mrel:qa,mopen:Vr,mpunct:Vr,minner:Vr}},Vi={mord:{mop:Vr},mop:{mord:Vr,mop:Vr},mbin:{},mrel:{},mopen:{},mclose:{mop:Vr},mpunct:{},minner:{mop:Vr}},Zi={},yi={},Mi={};function wn(l){for(var{type:n,names:a,props:u,handler:v,htmlBuilder:x,mathmlBuilder:P}=l,re={type:n,numArgs:u.numArgs,argTypes:u.argTypes,allowedInArgument:!!u.allowedInArgument,allowedInText:!!u.allowedInText,allowedInMath:u.allowedInMath===void 0?!0:u.allowedInMath,numOptionalArgs:u.numOptionalArgs||0,infix:!!u.infix,primitive:!!u.primitive,handler:v},ue=0;ue{var $n=In.classes[0],Fn=pn.classes[0];$n==="mbin"&&N.contains(Ni,Fn)?In.classes[0]="mord":Fn==="mbin"&&N.contains(No,$n)&&(pn.classes[0]="mord")},{node:St},Zt,Wt),Aa(x,(pn,In)=>{var $n=ai(In),Fn=ai(pn),mr=$n&&Fn?pn.hasClass("mtight")?Vi[$n][Fn]:Wi[$n][Fn]:null;if(mr)return vt.makeGlue(mr,Ve)},{node:St},Zt,Wt),x},Aa=function l(n,a,u,v,x){v&&n.push(v);for(var P=0;PZt=>{n.splice(St+1,0,Zt),P++})(P)}v&&n.pop()},Xi=function(n){return n instanceof _n||n instanceof pt||n instanceof c&&n.hasClass("enclosing")?n:null},fi=function l(n,a){var u=Xi(n);if(u){var v=u.children;if(v.length){if(a==="right")return l(v[v.length-1],"right");if(a==="left")return l(v[0],"left")}}return n},ai=function(n,a){return n?(a&&(n=fi(n,a)),zo[n.classes[0]]||null):null},_i=function(n,a){var u=["nulldelimiter"].concat(n.baseSizingClasses());return ri(a.concat(u))},Pr=function(n,a,u){if(!n)return ri();if(yi[n.type]){var v=yi[n.type](n,a);if(u&&a.size!==u.size){v=ri(a.sizingClasses(u),[v],a);var x=a.sizeMultiplier/u.sizeMultiplier;v.height*=x,v.depth*=x}return v}else throw new Xe("Got group of unknown type: '"+n.type+"'")};function Si(l,n){var a=ri(["base"],l,n),u=ri(["strut"]);return u.style.height=Tt(a.height+a.depth),a.depth&&(u.style.verticalAlign=Tt(-a.depth)),a.children.unshift(u),a}function ii(l,n){var a=null;l.length===1&&l[0].type==="tag"&&(a=l[0].tag,l=l[0].body);var u=fa(l,n,"root"),v;u.length===2&&u[1].hasClass("tag")&&(v=u.pop());for(var x=[],P=[],re=0;re0&&(x.push(Si(P,n)),P=[]),x.push(u[re]));P.length>0&&x.push(Si(P,n));var Ve;a?(Ve=Si(fa(a,n,!0)),Ve.classes=["tag"],x.push(Ve)):v&&x.push(v);var lt=ri(["katex-html"],x);if(lt.setAttribute("aria-hidden","true"),Ve){var St=Ve.children[0];St.style.height=Tt(lt.height+lt.depth),lt.depth&&(St.style.verticalAlign=Tt(-lt.depth))}return lt}function Ro(l){return new _n(l)}class Oa{constructor(n,a,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=n,this.attributes={},this.children=a||[],this.classes=u||[]}setAttribute(n,a){this.attributes[n]=a}getAttribute(n){return this.attributes[n]}toNode(){var n=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&n.setAttribute(a,this.attributes[a]);this.classes.length>0&&(n.className=mn(this.classes));for(var u=0;u0&&(n+=' class ="'+N.escape(mn(this.classes))+'"'),n+=">";for(var u=0;u",n}toText(){return this.children.map(n=>n.toText()).join("")}}class za{constructor(n){this.text=void 0,this.text=n}toNode(){return document.createTextNode(this.text)}toMarkup(){return N.escape(this.toText())}toText(){return this.text}}class mo{constructor(n){this.width=void 0,this.character=void 0,this.width=n,n>=.05555&&n<=.05556?this.character="\u200A":n>=.1666&&n<=.1667?this.character="\u2009":n>=.2222&&n<=.2223?this.character="\u2005":n>=.2777&&n<=.2778?this.character="\u2005\u200A":n>=-.05556&&n<=-.05555?this.character="\u200A\u2063":n>=-.1667&&n<=-.1666?this.character="\u2009\u2063":n>=-.2223&&n<=-.2222?this.character="\u205F\u2063":n>=-.2778&&n<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var n=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return n.setAttribute("width",Tt(this.width)),n}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var ln={MathNode:Oa,TextNode:za,SpaceNode:mo,newDocumentFragment:Ro},Wa=function(n,a,u){return Zn[a][n]&&Zn[a][n].replace&&n.charCodeAt(0)!==55349&&!(ta.hasOwnProperty(n)&&u&&(u.fontFamily&&u.fontFamily.slice(4,6)==="tt"||u.font&&u.font.slice(4,6)==="tt"))&&(n=Zn[a][n].replace),new ln.TextNode(n)},qi=function(n){return n.length===1?n[0]:new ln.MathNode("mrow",n)},Pi=function(n,a){if(a.fontFamily==="texttt")return"monospace";if(a.fontFamily==="textsf")return a.fontShape==="textit"&&a.fontWeight==="textbf"?"sans-serif-bold-italic":a.fontShape==="textit"?"sans-serif-italic":a.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(a.fontShape==="textit"&&a.fontWeight==="textbf")return"bold-italic";if(a.fontShape==="textit")return"italic";if(a.fontWeight==="textbf")return"bold";var u=a.font;if(!u||u==="mathnormal")return null;var v=n.mode;if(u==="mathit")return"italic";if(u==="boldsymbol")return n.type==="textord"?"bold":"bold-italic";if(u==="mathbf")return"bold";if(u==="mathbb")return"double-struck";if(u==="mathsfit")return"sans-serif-italic";if(u==="mathfrak")return"fraktur";if(u==="mathscr"||u==="mathcal")return"script";if(u==="mathsf")return"sans-serif";if(u==="mathtt")return"monospace";var x=n.text;if(N.contains(["\\imath","\\jmath"],x))return null;Zn[v][x]&&Zn[v][x].replace&&(x=Zn[v][x].replace);var P=vt.fontMap[u].fontName;return Kr(x,P,v)?vt.fontMap[u].variant:null};function ho(l){if(!l)return!1;if(l.type==="mi"&&l.children.length===1){var n=l.children[0];return n instanceof za&&n.text==="."}else if(l.type==="mo"&&l.children.length===1&&l.getAttribute("separator")==="true"&&l.getAttribute("lspace")==="0em"&&l.getAttribute("rspace")==="0em"){var a=l.children[0];return a instanceof za&&a.text===","}else return!1}var $a=function(n,a,u){if(n.length===1){var v=Qr(n[0],a);return u&&v instanceof Oa&&v.type==="mo"&&(v.setAttribute("lspace","0em"),v.setAttribute("rspace","0em")),[v]}for(var x=[],P,re=0;re=1&&(P.type==="mn"||ho(P))){var Ve=ue.children[0];Ve instanceof Oa&&Ve.type==="mn"&&(Ve.children=[...P.children,...Ve.children],x.pop())}else if(P.type==="mi"&&P.children.length===1){var lt=P.children[0];if(lt instanceof za&<.text==="\u0338"&&(ue.type==="mo"||ue.type==="mi"||ue.type==="mn")){var St=ue.children[0];St instanceof za&&St.text.length>0&&(St.text=St.text.slice(0,1)+"\u0338"+St.text.slice(1),x.pop())}}}x.push(ue),P=ue}return x},Pa=function(n,a,u){return qi($a(n,a,u))},Qr=function(n,a){if(!n)return new ln.MathNode("mrow");if(Mi[n.type]){var u=Mi[n.type](n,a);return u}else throw new Xe("Got group of unknown type: '"+n.type+"'")};function Bi(l,n,a,u,v){var x=$a(l,a),P;x.length===1&&x[0]instanceof Oa&&N.contains(["mrow","mtable"],x[0].type)?P=x[0]:P=new ln.MathNode("mrow",x);var re=new ln.MathNode("annotation",[new ln.TextNode(n)]);re.setAttribute("encoding","application/x-tex");var ue=new ln.MathNode("semantics",[P,re]),Ve=new ln.MathNode("math",[ue]);Ve.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),u&&Ve.setAttribute("display","block");var lt=v?"katex":"katex-mathml";return vt.makeSpan([lt],[Ve])}var Qi=function(n){return new hr({style:n.displayMode?tt.DISPLAY:tt.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},go=function(n,a){if(a.displayMode){var u=["katex-display"];a.leqno&&u.push("leqno"),a.fleqn&&u.push("fleqn"),n=vt.makeSpan(u,[n])}return n},Oo=function(n,a,u){var v=Qi(u),x;if(u.output==="mathml")return Bi(n,a,v,u.displayMode,!0);if(u.output==="html"){var P=ii(n,v);x=vt.makeSpan(["katex"],[P])}else{var re=Bi(n,a,v,u.displayMode,!1),ue=ii(n,v);x=vt.makeSpan(["katex"],[re,ue])}return go(x,u)},ts=function(n,a,u){var v=Qi(u),x=ii(n,v),P=vt.makeSpan(["katex"],[x]);return go(P,u)},Go={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},jo=function(n){var a=new ln.MathNode("mo",[new ln.TextNode(Go[n.replace(/^\\/,"")])]);return a.setAttribute("stretchy","true"),a},Ko={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},bo=function(n){return n.type==="ordgroup"?n.body.length:1},Fi=function(n,a){function u(){var re=4e5,ue=n.label.slice(1);if(N.contains(["widehat","widecheck","widetilde","utilde"],ue)){var Ve=n,lt=bo(Ve.base),St,Zt,Wt;if(lt>5)ue==="widehat"||ue==="widecheck"?(St=420,re=2364,Wt=.42,Zt=ue+"4"):(St=312,re=2340,Wt=.34,Zt="tilde4");else{var pn=[1,1,2,2,3,3][lt];ue==="widehat"||ue==="widecheck"?(re=[0,1062,2364,2364,2364][pn],St=[0,239,300,360,420][pn],Wt=[0,.24,.3,.3,.36,.42][pn],Zt=ue+pn):(re=[0,600,1033,2339,2340][pn],St=[0,260,286,306,312][pn],Wt=[0,.26,.286,.3,.306,.34][pn],Zt="tilde"+pn)}var In=new gn(Zt),$n=new Rt([In],{width:"100%",height:Tt(Wt),viewBox:"0 0 "+re+" "+St,preserveAspectRatio:"none"});return{span:vt.makeSvgSpan([],[$n],a),minWidth:0,height:Wt}}else{var Fn=[],mr=Ko[ue],[kr,ia,Ur]=mr,da=Ur/1e3,oa=kr.length,wa,ga;if(oa===1){var gi=mr[3];wa=["hide-tail"],ga=[gi]}else if(oa===2)wa=["halfarrow-left","halfarrow-right"],ga=["xMinYMin","xMaxYMin"];else if(oa===3)wa=["brace-left","brace-center","brace-right"],ga=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+oa+" children.");for(var ja=0;ja0&&(v.style.minWidth=Tt(x)),v},vo=function(n,a,u,v,x){var P,re=n.height+n.depth+u+v;if(/fbox|color|angl/.test(a)){if(P=vt.makeSpan(["stretchy",a],[],x),a==="fbox"){var ue=x.color&&x.getColor();ue&&(P.style.borderColor=ue)}}else{var Ve=[];/^[bx]cancel$/.test(a)&&Ve.push(new vn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&Ve.push(new vn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var lt=new Rt(Ve,{width:"100%",height:Tt(re)});P=vt.makeSvgSpan([],[lt],x)}return P.height=re,P.style.height=Tt(re),P},Va={encloseSpan:vo,mathMLnode:jo,svgSpan:Fi};function Tr(l,n){if(!l||l.type!==n)throw new Error("Expected node of type "+n+", but got "+(l?"node of type "+l.type:String(l)));return l}function Eo(l){var n=wi(l);if(!n)throw new Error("Expected node of symbol group type, but got "+(l?"node of type "+l.type:String(l)));return n}function wi(l){return l&&(l.type==="atom"||or.hasOwnProperty(l.type))?l:null}var Ji=(l,n)=>{var a,u,v;l&&l.type==="supsub"?(u=Tr(l.base,"accent"),a=u.base,l.base=a,v=Ln(Pr(l,n)),l.base=u):(u=Tr(l,"accent"),a=u.base);var x=Pr(a,n.havingCrampedStyle()),P=u.isShifty&&N.isCharacterBox(a),re=0;if(P){var ue=N.getBaseElem(a),Ve=Pr(ue,n.havingCrampedStyle());re=ce(Ve).skew}var lt=u.label==="\\c",St=lt?x.height+x.depth:Math.min(x.height,n.fontMetrics().xHeight),Zt;if(u.isStretchy)Zt=Va.svgSpan(u,n),Zt=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:x},{type:"elem",elem:Zt,wrapperClasses:["svg-align"],wrapperStyle:re>0?{width:"calc(100% - "+Tt(2*re)+")",marginLeft:Tt(2*re)}:void 0}]},n);else{var Wt,pn;u.label==="\\vec"?(Wt=vt.staticSvg("vec",n),pn=vt.svgData.vec[1]):(Wt=vt.makeOrd({mode:u.mode,text:u.label},n,"textord"),Wt=ce(Wt),Wt.italic=0,pn=Wt.width,lt&&(St+=Wt.depth)),Zt=vt.makeSpan(["accent-body"],[Wt]);var In=u.label==="\\textcircled";In&&(Zt.classes.push("accent-full"),St=x.height);var $n=re;In||($n-=pn/2),Zt.style.left=Tt($n),u.label==="\\textcircled"&&(Zt.style.top=".2em"),Zt=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:x},{type:"kern",size:-St},{type:"elem",elem:Zt}]},n)}var Fn=vt.makeSpan(["mord","accent"],[Zt],n);return v?(v.children[0]=Fn,v.height=Math.max(Fn.height,v.height),v.classes[0]="mord",v):Fn},eo=(l,n)=>{var a=l.isStretchy?Va.mathMLnode(l.label):new ln.MathNode("mo",[Wa(l.label,l.mode)]),u=new ln.MathNode("mover",[Qr(l.base,n),a]);return u.setAttribute("accent","true"),u},to=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(l=>"\\"+l).join("|"));wn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(l,n)=>{var a=Yi(n[0]),u=!to.test(l.funcName),v=!u||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:u,isShifty:v,base:a}},htmlBuilder:Ji,mathmlBuilder:eo}),wn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(l,n)=>{var a=n[0],u=l.parser.mode;return u==="math"&&(l.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+l.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:l.funcName,isStretchy:!1,isShifty:!0,base:a}},htmlBuilder:Ji,mathmlBuilder:eo}),wn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0];return{type:"accentUnder",mode:a.mode,label:u,base:v}},htmlBuilder:(l,n)=>{var a=Pr(l.base,n),u=Va.svgSpan(l,n),v=l.label==="\\utilde"?.12:0,x=vt.makeVList({positionType:"top",positionData:a.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:v},{type:"elem",elem:a}]},n);return vt.makeSpan(["mord","accentunder"],[x],n)},mathmlBuilder:(l,n)=>{var a=Va.mathMLnode(l.label),u=new ln.MathNode("munder",[Qr(l.base,n),a]);return u.setAttribute("accentunder","true"),u}});var Ri=l=>{var n=new ln.MathNode("mpadded",l?[l]:[]);return n.setAttribute("width","+0.6em"),n.setAttribute("lspace","0.3em"),n};wn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(l,n,a){var{parser:u,funcName:v}=l;return{type:"xArrow",mode:u.mode,label:v,body:n[0],below:a[0]}},htmlBuilder(l,n){var a=n.style,u=n.havingStyle(a.sup()),v=vt.wrapFragment(Pr(l.body,u,n),n),x=l.label.slice(0,2)==="\\x"?"x":"cd";v.classes.push(x+"-arrow-pad");var P;l.below&&(u=n.havingStyle(a.sub()),P=vt.wrapFragment(Pr(l.below,u,n),n),P.classes.push(x+"-arrow-pad"));var re=Va.svgSpan(l,n),ue=-n.fontMetrics().axisHeight+.5*re.height,Ve=-n.fontMetrics().axisHeight-.5*re.height-.111;(v.depth>.25||l.label==="\\xleftequilibrium")&&(Ve-=v.depth);var lt;if(P){var St=-n.fontMetrics().axisHeight+P.height+.5*re.height+.111;lt=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:v,shift:Ve},{type:"elem",elem:re,shift:ue},{type:"elem",elem:P,shift:St}]},n)}else lt=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:v,shift:Ve},{type:"elem",elem:re,shift:ue}]},n);return lt.children[0].children[0].children[1].classes.push("svg-align"),vt.makeSpan(["mrel","x-arrow"],[lt],n)},mathmlBuilder(l,n){var a=Va.mathMLnode(l.label);a.setAttribute("minsize",l.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(l.body){var v=Ri(Qr(l.body,n));if(l.below){var x=Ri(Qr(l.below,n));u=new ln.MathNode("munderover",[a,x,v])}else u=new ln.MathNode("mover",[a,v])}else if(l.below){var P=Ri(Qr(l.below,n));u=new ln.MathNode("munder",[a,P])}else u=Ri(),u=new ln.MathNode("mover",[a,u]);return u}});var ko=vt.makeSpan;function yo(l,n){var a=fa(l.body,n,!0);return ko([l.mclass],a,n)}function Lo(l,n){var a,u=$a(l.body,n);return l.mclass==="minner"?a=new ln.MathNode("mpadded",u):l.mclass==="mord"?l.isCharacterBox?(a=u[0],a.type="mi"):a=new ln.MathNode("mi",u):(l.isCharacterBox?(a=u[0],a.type="mo"):a=new ln.MathNode("mo",u),l.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):l.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):l.mclass==="mopen"||l.mclass==="mclose"?(a.attributes.lspace="0em",a.attributes.rspace="0em"):l.mclass==="minner"&&(a.attributes.lspace="0.0556em",a.attributes.width="+0.1111em")),a}wn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];return{type:"mclass",mode:a.mode,mclass:"m"+u.slice(5),body:Zr(v),isCharacterBox:N.isCharacterBox(v)}},htmlBuilder:yo,mathmlBuilder:Lo});var no=l=>{var n=l.type==="ordgroup"&&l.body.length?l.body[0]:l;return n.type==="atom"&&(n.family==="bin"||n.family==="rel")?"m"+n.family:"mord"};wn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(l,n){var{parser:a}=l;return{type:"mclass",mode:a.mode,mclass:no(n[0]),body:Zr(n[1]),isCharacterBox:N.isCharacterBox(n[1])}}}),wn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(l,n){var{parser:a,funcName:u}=l,v=n[1],x=n[0],P;u!=="\\stackrel"?P=no(v):P="mrel";var re={type:"op",mode:v.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:Zr(v)},ue={type:"supsub",mode:x.mode,base:re,sup:u==="\\underset"?null:x,sub:u==="\\underset"?x:null};return{type:"mclass",mode:a.mode,mclass:P,body:[ue],isCharacterBox:N.isCharacterBox(ue)}},htmlBuilder:yo,mathmlBuilder:Lo}),wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(l,n){var{parser:a}=l;return{type:"pmb",mode:a.mode,mclass:no(n[0]),body:Zr(n[0])}},htmlBuilder(l,n){var a=fa(l.body,n,!0),u=vt.makeSpan([l.mclass],a,n);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(l,n){var a=$a(l.body,n),u=new ln.MathNode("mstyle",a);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var ro={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},oi=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ia=l=>l.type==="textord"&&l.text==="@",Wo=(l,n)=>(l.type==="mathord"||l.type==="atom")&&l.text===n;function Vo(l,n,a){var u=ro[l];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return a.callFunction(u,[n[0]],[n[1]]);case"\\uparrow":case"\\downarrow":{var v=a.callFunction("\\\\cdleft",[n[0]],[]),x={type:"atom",text:u,mode:"math",family:"rel"},P=a.callFunction("\\Big",[x],[]),re=a.callFunction("\\\\cdright",[n[1]],[]),ue={type:"ordgroup",mode:"math",body:[v,P,re]};return a.callFunction("\\\\cdparent",[ue],[])}case"\\\\cdlongequal":return a.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Ve={type:"textord",text:"\\Vert",mode:"math"};return a.callFunction("\\Big",[Ve],[])}default:return{type:"textord",text:" ",mode:"math"}}}function ns(l){var n=[];for(l.gullet.beginGroup(),l.gullet.macros.set("\\cr","\\\\\\relax"),l.gullet.beginGroup();;){n.push(l.parseExpression(!1,"\\\\")),l.gullet.endGroup(),l.gullet.beginGroup();var a=l.fetch().text;if(a==="&"||a==="\\\\")l.consume();else if(a==="\\end"){n[n.length-1].length===0&&n.pop();break}else throw new Xe("Expected \\\\ or \\cr or \\end",l.nextToken)}for(var u=[],v=[u],x=0;x-1))if("<>AV".indexOf(Ve)>-1)for(var St=0;St<2;St++){for(var Zt=!0,Wt=ue+1;WtAV=|." after @',P[ue]);var pn=Vo(Ve,lt,l),In={type:"styling",body:[pn],mode:"math",style:"display"};u.push(In),re=oi()}x%2===0?u.push(re):u.shift(),u=[],v.push(u)}l.gullet.endGroup(),l.gullet.endGroup();var $n=new Array(v[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:v,arraystretch:1,addJot:!0,rowGaps:[null],cols:$n,colSeparationType:"CD",hLinesBeforeRow:new Array(v.length+1).fill([])}}wn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(l,n){var{parser:a,funcName:u}=l;return{type:"cdlabel",mode:a.mode,side:u.slice(4),label:n[0]}},htmlBuilder(l,n){var a=n.havingStyle(n.style.sup()),u=vt.wrapFragment(Pr(l.label,a,n),n);return u.classes.push("cd-label-"+l.side),u.style.bottom=Tt(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(l,n){var a=new ln.MathNode("mrow",[Qr(l.label,n)]);return a=new ln.MathNode("mpadded",[a]),a.setAttribute("width","0"),l.side==="left"&&a.setAttribute("lspace","-1width"),a.setAttribute("voffset","0.7em"),a=new ln.MathNode("mstyle",[a]),a.setAttribute("displaystyle","false"),a.setAttribute("scriptlevel","1"),a}}),wn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(l,n){var{parser:a}=l;return{type:"cdlabelparent",mode:a.mode,fragment:n[0]}},htmlBuilder(l,n){var a=vt.wrapFragment(Pr(l.fragment,n),n);return a.classes.push("cd-vert-arrow"),a},mathmlBuilder(l,n){return new ln.MathNode("mrow",[Qr(l.fragment,n)])}}),wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(l,n){for(var{parser:a}=l,u=Tr(n[0],"ordgroup"),v=u.body,x="",P=0;P=1114111)throw new Xe("\\@char with invalid code point "+x);return ue<=65535?Ve=String.fromCharCode(ue):(ue-=65536,Ve=String.fromCharCode((ue>>10)+55296,(ue&1023)+56320)),{type:"textord",mode:a.mode,text:Ve}}});var Do=(l,n)=>{var a=fa(l.body,n.withColor(l.color),!1);return vt.makeFragment(a)},Zo=(l,n)=>{var a=$a(l.body,n.withColor(l.color)),u=new ln.MathNode("mstyle",a);return u.setAttribute("mathcolor",l.color),u};wn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(l,n){var{parser:a}=l,u=Tr(n[0],"color-token").color,v=n[1];return{type:"color",mode:a.mode,color:u,body:Zr(v)}},htmlBuilder:Do,mathmlBuilder:Zo}),wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(l,n){var{parser:a,breakOnTokenText:u}=l,v=Tr(n[0],"color-token").color;a.gullet.macros.set("\\current@color",v);var x=a.parseExpression(!0,u);return{type:"color",mode:a.mode,color:v,body:x}},htmlBuilder:Do,mathmlBuilder:Zo}),wn({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(l,n,a){var{parser:u}=l,v=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,x=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:x,size:v&&Tr(v,"size").value}},htmlBuilder(l,n){var a=vt.makeSpan(["mspace"],[],n);return l.newLine&&(a.classes.push("newline"),l.size&&(a.style.marginTop=Tt(qt(l.size,n)))),a},mathmlBuilder(l,n){var a=new ln.MathNode("mspace");return l.newLine&&(a.setAttribute("linebreak","newline"),l.size&&a.setAttribute("height",Tt(qt(l.size,n)))),a}});var ao={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Mo=l=>{var n=l.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new Xe("Expected a control sequence",l);return n},Yo=l=>{var n=l.gullet.popToken();return n.text==="="&&(n=l.gullet.popToken(),n.text===" "&&(n=l.gullet.popToken())),n},So=(l,n,a,u)=>{var v=l.gullet.macros.get(a.text);v==null&&(a.noexpand=!0,v={tokens:[a],numArgs:0,unexpandable:!l.gullet.isExpandable(a.text)}),l.gullet.macros.set(n,v,u)};wn({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(l){var{parser:n,funcName:a}=l;n.consumeSpaces();var u=n.fetch();if(ao[u.text])return(a==="\\global"||a==="\\\\globallong")&&(u.text=ao[u.text]),Tr(n.parseFunction(),"internal");throw new Xe("Invalid token after macro prefix",u)}}),wn({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){var{parser:n,funcName:a}=l,u=n.gullet.popToken(),v=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(v))throw new Xe("Expected a control sequence",u);for(var x=0,P,re=[[]];n.gullet.future().text!=="{";)if(u=n.gullet.popToken(),u.text==="#"){if(n.gullet.future().text==="{"){P=n.gullet.future(),re[x].push("{");break}if(u=n.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new Xe('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==x+1)throw new Xe('Argument number "'+u.text+'" out of order');x++,re.push([])}else{if(u.text==="EOF")throw new Xe("Expected a macro definition");re[x].push(u.text)}var{tokens:ue}=n.gullet.consumeArg();return P&&ue.unshift(P),(a==="\\edef"||a==="\\xdef")&&(ue=n.gullet.expandTokens(ue),ue.reverse()),n.gullet.macros.set(v,{tokens:ue,numArgs:x,delimiters:re},a===ao[a]),{type:"internal",mode:n.mode}}}),wn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){var{parser:n,funcName:a}=l,u=Mo(n.gullet.popToken());n.gullet.consumeSpaces();var v=Yo(n);return So(n,u,v,a==="\\\\globallet"),{type:"internal",mode:n.mode}}}),wn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){var{parser:n,funcName:a}=l,u=Mo(n.gullet.popToken()),v=n.gullet.popToken(),x=n.gullet.popToken();return So(n,u,x,a==="\\\\globalfuture"),n.gullet.pushToken(x),n.gullet.pushToken(v),{type:"internal",mode:n.mode}}});var Oi=function(n,a,u){var v=Zn.math[n]&&Zn.math[n].replace,x=Kr(v||n,a,u);if(!x)throw new Error("Unsupported symbol "+n+" and font size "+a+".");return x},ki=function(n,a,u,v){var x=u.havingBaseStyle(a),P=vt.makeSpan(v.concat(x.sizingClasses(u)),[n],u),re=x.sizeMultiplier/u.sizeMultiplier;return P.height*=re,P.depth*=re,P.maxFontSize=x.sizeMultiplier,P},io=function(n,a,u){var v=a.havingBaseStyle(u),x=(1-a.sizeMultiplier/v.sizeMultiplier)*a.fontMetrics().axisHeight;n.classes.push("delimcenter"),n.style.top=Tt(x),n.height-=x,n.depth+=x},_o=function(n,a,u,v,x,P){var re=vt.makeSymbol(n,"Main-Regular",x,v),ue=ki(re,a,v,P);return u&&io(ue,v,a),ue},si=function(n,a,u,v){return vt.makeSymbol(n,"Size"+a+"-Regular",u,v)},Po=function(n,a,u,v,x,P){var re=si(n,a,x,v),ue=ki(vt.makeSpan(["delimsizing","size"+a],[re],v),tt.TEXT,v,P);return u&&io(ue,v,tt.TEXT),ue},oo=function(n,a,u){var v;a==="Size1-Regular"?v="delim-size1":v="delim-size4";var x=vt.makeSpan(["delimsizinginner",v],[vt.makeSpan([],[vt.makeSymbol(n,a,u)])]);return{type:"elem",elem:x}},To=function(n,a,u){var v=ar["Size4-Regular"][n.charCodeAt(0)]?ar["Size4-Regular"][n.charCodeAt(0)][4]:ar["Size1-Regular"][n.charCodeAt(0)][4],x=new gn("inner",Jn(n,Math.round(1e3*a))),P=new Rt([x],{width:Tt(v),height:Tt(a),style:"width:"+Tt(v),viewBox:"0 0 "+1e3*v+" "+Math.round(1e3*a),preserveAspectRatio:"xMinYMin"}),re=vt.makeSvgSpan([],[P],u);return re.height=a,re.style.height=Tt(a),re.style.width=Tt(v),{type:"elem",elem:re}},Bo=.008,so={type:"kern",size:-1*Bo},rs=["|","\\lvert","\\rvert","\\vert"],$i=["\\|","\\lVert","\\rVert","\\Vert"],Xo=function(n,a,u,v,x,P){var re,ue,Ve,lt,St="",Zt=0;re=Ve=lt=n,ue=null;var Wt="Size1-Regular";n==="\\uparrow"?Ve=lt="\u23D0":n==="\\Uparrow"?Ve=lt="\u2016":n==="\\downarrow"?re=Ve="\u23D0":n==="\\Downarrow"?re=Ve="\u2016":n==="\\updownarrow"?(re="\\uparrow",Ve="\u23D0",lt="\\downarrow"):n==="\\Updownarrow"?(re="\\Uparrow",Ve="\u2016",lt="\\Downarrow"):N.contains(rs,n)?(Ve="\u2223",St="vert",Zt=333):N.contains($i,n)?(Ve="\u2225",St="doublevert",Zt=556):n==="["||n==="\\lbrack"?(re="\u23A1",Ve="\u23A2",lt="\u23A3",Wt="Size4-Regular",St="lbrack",Zt=667):n==="]"||n==="\\rbrack"?(re="\u23A4",Ve="\u23A5",lt="\u23A6",Wt="Size4-Regular",St="rbrack",Zt=667):n==="\\lfloor"||n==="\u230A"?(Ve=re="\u23A2",lt="\u23A3",Wt="Size4-Regular",St="lfloor",Zt=667):n==="\\lceil"||n==="\u2308"?(re="\u23A1",Ve=lt="\u23A2",Wt="Size4-Regular",St="lceil",Zt=667):n==="\\rfloor"||n==="\u230B"?(Ve=re="\u23A5",lt="\u23A6",Wt="Size4-Regular",St="rfloor",Zt=667):n==="\\rceil"||n==="\u2309"?(re="\u23A4",Ve=lt="\u23A5",Wt="Size4-Regular",St="rceil",Zt=667):n==="("||n==="\\lparen"?(re="\u239B",Ve="\u239C",lt="\u239D",Wt="Size4-Regular",St="lparen",Zt=875):n===")"||n==="\\rparen"?(re="\u239E",Ve="\u239F",lt="\u23A0",Wt="Size4-Regular",St="rparen",Zt=875):n==="\\{"||n==="\\lbrace"?(re="\u23A7",ue="\u23A8",lt="\u23A9",Ve="\u23AA",Wt="Size4-Regular"):n==="\\}"||n==="\\rbrace"?(re="\u23AB",ue="\u23AC",lt="\u23AD",Ve="\u23AA",Wt="Size4-Regular"):n==="\\lgroup"||n==="\u27EE"?(re="\u23A7",lt="\u23A9",Ve="\u23AA",Wt="Size4-Regular"):n==="\\rgroup"||n==="\u27EF"?(re="\u23AB",lt="\u23AD",Ve="\u23AA",Wt="Size4-Regular"):n==="\\lmoustache"||n==="\u23B0"?(re="\u23A7",lt="\u23AD",Ve="\u23AA",Wt="Size4-Regular"):(n==="\\rmoustache"||n==="\u23B1")&&(re="\u23AB",lt="\u23A9",Ve="\u23AA",Wt="Size4-Regular");var pn=Oi(re,Wt,x),In=pn.height+pn.depth,$n=Oi(Ve,Wt,x),Fn=$n.height+$n.depth,mr=Oi(lt,Wt,x),kr=mr.height+mr.depth,ia=0,Ur=1;if(ue!==null){var da=Oi(ue,Wt,x);ia=da.height+da.depth,Ur=2}var oa=In+kr+ia,wa=Math.max(0,Math.ceil((a-oa)/(Ur*Fn))),ga=oa+wa*Ur*Fn,gi=v.fontMetrics().axisHeight;u&&(gi*=v.sizeMultiplier);var ja=ga/2-gi,Da=[];if(St.length>0){var fo=ga-In-kr,Qa=Math.round(ga*1e3),bi=Hr(St,Math.round(fo*1e3)),Gi=new gn(St,bi),Uo=(Zt/1e3).toFixed(3)+"em",Ao=(Qa/1e3).toFixed(3)+"em",Qo=new Rt([Gi],{width:Uo,height:Ao,viewBox:"0 0 "+Zt+" "+Qa}),ji=vt.makeSvgSpan([],[Qo],v);ji.height=Qa/1e3,ji.style.width=Uo,ji.style.height=Ao,Da.push({type:"elem",elem:ji})}else{if(Da.push(oo(lt,Wt,x)),Da.push(so),ue===null){var Di=ga-In-kr+2*Bo;Da.push(To(Ve,Di,v))}else{var li=(ga-In-kr-ia)/2+2*Bo;Da.push(To(Ve,li,v)),Da.push(so),Da.push(oo(ue,Wt,x)),Da.push(so),Da.push(To(Ve,li,v))}Da.push(so),Da.push(oo(re,Wt,x))}var Jo=v.havingBaseStyle(tt.TEXT),jr=vt.makeVList({positionType:"bottom",positionData:ja,children:Da},Jo);return ki(vt.makeSpan(["delimsizing","mult"],[jr],Jo),tt.TEXT,v,P)},xo=80,lo=.08,mi=function(n,a,u,v,x){var P=dr(n,v,u),re=new gn(n,P),ue=new Rt([re],{width:"400em",height:Tt(a),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return vt.makeSvgSpan(["hide-tail"],[ue],x)},uo=function(n,a){var u=a.havingBaseSizing(),v=Hi("\\surd",n*u.sizeMultiplier,po,u),x=u.sizeMultiplier,P=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),re,ue=0,Ve=0,lt=0,St;return v.type==="small"?(lt=1e3+1e3*P+xo,n<1?x=1:n<1.4&&(x=.7),ue=(1+P+lo)/x,Ve=(1+P)/x,re=mi("sqrtMain",ue,lt,P,a),re.style.minWidth="0.853em",St=.833/x):v.type==="large"?(lt=(1e3+xo)*ei[v.size],Ve=(ei[v.size]+P)/x,ue=(ei[v.size]+P+lo)/x,re=mi("sqrtSize"+v.size,ue,lt,P,a),re.style.minWidth="1.02em",St=1/x):(ue=n+P+lo,Ve=n+P,lt=Math.floor(1e3*n+P)+xo,re=mi("sqrtTall",ue,lt,P,a),re.style.minWidth="0.742em",St=1.056),re.height=Ve,re.style.height=Tt(ue),{span:re,advanceWidth:St,ruleWidth:(a.fontMetrics().sqrtRuleThickness+P)*x}},hi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Fo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ui=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ei=[0,1.2,1.8,2.4,3],co=function(n,a,u,v,x){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),N.contains(hi,n)||N.contains(Ui,n))return Po(n,a,!1,u,v,x);if(N.contains(Fo,n))return Xo(n,ei[a],!1,u,v,x);throw new Xe("Illegal delimiter: '"+n+"'")},as=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],qo=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"stack"}],po=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Co=function(n){if(n.type==="small")return"Main-Regular";if(n.type==="large")return"Size"+n.size+"-Regular";if(n.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+n.type+"' here.")},Hi=function(n,a,u,v){for(var x=Math.min(2,3-v.style.size),P=x;Pa)return u[P]}return u[u.length-1]},Ti=function(n,a,u,v,x,P){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var re;N.contains(Ui,n)?re=as:N.contains(hi,n)?re=po:re=qo;var ue=Hi(n,a,re,v);return ue.type==="small"?_o(n,ue.style,u,v,x,P):ue.type==="large"?Po(n,ue.size,u,v,x,P):Xo(n,a,u,v,x,P)},zi=function(n,a,u,v,x,P){var re=v.fontMetrics().axisHeight*v.sizeMultiplier,ue=901,Ve=5/v.fontMetrics().ptPerEm,lt=Math.max(a-re,u+re),St=Math.max(lt/500*ue,2*lt-Ve);return Ti(n,St,!0,v,x,P)},Ua={sqrtImage:uo,sizedDelim:co,sizeToMaxHeight:ei,customSizedDelim:Ti,leftRightDelim:zi},Za={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},$o=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function xi(l,n){var a=wi(l);if(a&&N.contains($o,a.text))return a;throw a?new Xe("Invalid delimiter '"+a.text+"' after '"+n.funcName+"'",l):new Xe("Invalid delimiter type '"+l.type+"'",l)}wn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(l,n)=>{var a=xi(n[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Za[l.funcName].size,mclass:Za[l.funcName].mclass,delim:a.text}},htmlBuilder:(l,n)=>l.delim==="."?vt.makeSpan([l.mclass]):Ua.sizedDelim(l.delim,l.size,n,l.mode,[l.mclass]),mathmlBuilder:l=>{var n=[];l.delim!=="."&&n.push(Wa(l.delim,l.mode));var a=new ln.MathNode("mo",n);l.mclass==="mopen"||l.mclass==="mclose"?a.setAttribute("fence","true"):a.setAttribute("fence","false"),a.setAttribute("stretchy","true");var u=Tt(Ua.sizeToMaxHeight[l.size]);return a.setAttribute("minsize",u),a.setAttribute("maxsize",u),a}});function R(l){if(!l.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}wn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var a=l.parser.gullet.macros.get("\\current@color");if(a&&typeof a!="string")throw new Xe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:xi(n[0],l).text,color:a}}}),wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var a=xi(n[0],l),u=l.parser;++u.leftrightDepth;var v=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var x=Tr(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:v,left:a.text,right:x.delim,rightColor:x.color}},htmlBuilder:(l,n)=>{R(l);for(var a=fa(l.body,n,!0,["mopen","mclose"]),u=0,v=0,x=!1,P=0;P{R(l);var a=$a(l.body,n);if(l.left!=="."){var u=new ln.MathNode("mo",[Wa(l.left,l.mode)]);u.setAttribute("fence","true"),a.unshift(u)}if(l.right!=="."){var v=new ln.MathNode("mo",[Wa(l.right,l.mode)]);v.setAttribute("fence","true"),l.rightColor&&v.setAttribute("mathcolor",l.rightColor),a.push(v)}return qi(a)}}),wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var a=xi(n[0],l);if(!l.parser.leftrightDepth)throw new Xe("\\middle without preceding \\left",a);return{type:"middle",mode:l.parser.mode,delim:a.text}},htmlBuilder:(l,n)=>{var a;if(l.delim===".")a=_i(n,[]);else{a=Ua.sizedDelim(l.delim,1,n,l.mode,[]);var u={delim:l.delim,options:n};a.isMiddle=u}return a},mathmlBuilder:(l,n)=>{var a=l.delim==="\\vert"||l.delim==="|"?Wa("|","text"):Wa(l.delim,l.mode),u=new ln.MathNode("mo",[a]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var L=(l,n)=>{var a=vt.wrapFragment(Pr(l.body,n),n),u=l.label.slice(1),v=n.sizeMultiplier,x,P=0,re=N.isCharacterBox(l.body);if(u==="sout")x=vt.makeSpan(["stretchy","sout"]),x.height=n.fontMetrics().defaultRuleThickness/v,P=-.5*n.fontMetrics().xHeight;else if(u==="phase"){var ue=qt({number:.6,unit:"pt"},n),Ve=qt({number:.35,unit:"ex"},n),lt=n.havingBaseSizing();v=v/lt.sizeMultiplier;var St=a.height+a.depth+ue+Ve;a.style.paddingLeft=Tt(St/2+ue);var Zt=Math.floor(1e3*St*v),Wt=kn(Zt),pn=new Rt([new gn("phase",Wt)],{width:"400em",height:Tt(Zt/1e3),viewBox:"0 0 400000 "+Zt,preserveAspectRatio:"xMinYMin slice"});x=vt.makeSvgSpan(["hide-tail"],[pn],n),x.style.height=Tt(St),P=a.depth+ue+Ve}else{/cancel/.test(u)?re||a.classes.push("cancel-pad"):u==="angl"?a.classes.push("anglpad"):a.classes.push("boxpad");var In=0,$n=0,Fn=0;/box/.test(u)?(Fn=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),In=n.fontMetrics().fboxsep+(u==="colorbox"?0:Fn),$n=In):u==="angl"?(Fn=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),In=4*Fn,$n=Math.max(0,.25-a.depth)):(In=re?.2:0,$n=In),x=Va.encloseSpan(a,u,In,$n,n),/fbox|boxed|fcolorbox/.test(u)?(x.style.borderStyle="solid",x.style.borderWidth=Tt(Fn)):u==="angl"&&Fn!==.049&&(x.style.borderTopWidth=Tt(Fn),x.style.borderRightWidth=Tt(Fn)),P=a.depth+$n,l.backgroundColor&&(x.style.backgroundColor=l.backgroundColor,l.borderColor&&(x.style.borderColor=l.borderColor))}var mr;if(l.backgroundColor)mr=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:x,shift:P},{type:"elem",elem:a,shift:0}]},n);else{var kr=/cancel|phase/.test(u)?["svg-align"]:[];mr=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:x,shift:P,wrapperClasses:kr}]},n)}return/cancel/.test(u)&&(mr.height=a.height,mr.depth=a.depth),/cancel/.test(u)&&!re?vt.makeSpan(["mord","cancel-lap"],[mr],n):vt.makeSpan(["mord"],[mr],n)},ae=(l,n)=>{var a=0,u=new ln.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Qr(l.body,n)]);switch(l.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(a=n.fontMetrics().fboxsep*n.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*a+"pt"),u.setAttribute("height","+"+2*a+"pt"),u.setAttribute("lspace",a+"pt"),u.setAttribute("voffset",a+"pt"),l.label==="\\fcolorbox"){var v=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness);u.setAttribute("style","border: "+v+"em solid "+String(l.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&u.setAttribute("mathbackground",l.backgroundColor),u};wn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(l,n,a){var{parser:u,funcName:v}=l,x=Tr(n[0],"color-token").color,P=n[1];return{type:"enclose",mode:u.mode,label:v,backgroundColor:x,body:P}},htmlBuilder:L,mathmlBuilder:ae}),wn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(l,n,a){var{parser:u,funcName:v}=l,x=Tr(n[0],"color-token").color,P=Tr(n[1],"color-token").color,re=n[2];return{type:"enclose",mode:u.mode,label:v,backgroundColor:P,borderColor:x,body:re}},htmlBuilder:L,mathmlBuilder:ae}),wn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(l,n){var{parser:a}=l;return{type:"enclose",mode:a.mode,label:"\\fbox",body:n[0]}}}),wn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];return{type:"enclose",mode:a.mode,label:u,body:v}},htmlBuilder:L,mathmlBuilder:ae}),wn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(l,n){var{parser:a}=l;return{type:"enclose",mode:a.mode,label:"\\angl",body:n[0]}}});var me={};function xe(l){for(var{type:n,names:a,props:u,handler:v,htmlBuilder:x,mathmlBuilder:P}=l,re={type:n,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:v},ue=0;ue{var n=l.parser.settings;if(!n.displayMode)throw new Xe("{"+l.envName+"} can be used only in display mode.")};function ft(l){if(l.indexOf("ed")===-1)return l.indexOf("*")===-1}function Ct(l,n,a){var{hskipBeforeAndAfter:u,addJot:v,cols:x,arraystretch:P,colSeparationType:re,autoTag:ue,singleRow:Ve,emptySingleRow:lt,maxNumCols:St,leqno:Zt}=n;if(l.gullet.beginGroup(),Ve||l.gullet.macros.set("\\cr","\\\\\\relax"),!P){var Wt=l.gullet.expandMacroAsText("\\arraystretch");if(Wt==null)P=1;else if(P=parseFloat(Wt),!P||P<0)throw new Xe("Invalid \\arraystretch: "+Wt)}l.gullet.beginGroup();var pn=[],In=[pn],$n=[],Fn=[],mr=ue!=null?[]:void 0;function kr(){ue&&l.gullet.macros.set("\\@eqnsw","1",!0)}function ia(){mr&&(l.gullet.macros.get("\\df@tag")?(mr.push(l.subparse([new ct("\\df@tag")])),l.gullet.macros.set("\\df@tag",void 0,!0)):mr.push(!!ue&&l.gullet.macros.get("\\@eqnsw")==="1"))}for(kr(),Fn.push(et(l));;){var Ur=l.parseExpression(!1,Ve?"\\end":"\\\\");l.gullet.endGroup(),l.gullet.beginGroup(),Ur={type:"ordgroup",mode:l.mode,body:Ur},a&&(Ur={type:"styling",mode:l.mode,style:a,body:[Ur]}),pn.push(Ur);var da=l.fetch().text;if(da==="&"){if(St&&pn.length===St){if(Ve||re)throw new Xe("Too many tab characters: &",l.nextToken);l.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}l.consume()}else if(da==="\\end"){ia(),pn.length===1&&Ur.type==="styling"&&Ur.body[0].body.length===0&&(In.length>1||!lt)&&In.pop(),Fn.length0&&(kr+=.25),Ve.push({pos:kr,isDashed:ls[us]})}for(ia(P[0]),u=0;u0&&(ja+=mr,oals))for(u=0;u=re)){var ci=void 0;(v>0||n.hskipBeforeAndAfter)&&(ci=N.deflt(li.pregap,Zt),ci!==0&&(bi=vt.makeSpan(["arraycolsep"],[]),bi.style.width=Tt(ci),Qa.push(bi)));var di=[];for(u=0;u0){for(var os=vt.makeLineSpan("hline",a,lt),ss=vt.makeLineSpan("hdashline",a,lt),ds=[{type:"elem",elem:ue,shift:0}];Ve.length>0;){var hs=Ve.pop(),gs=hs.pos-Da;hs.isDashed?ds.push({type:"elem",elem:ss,shift:gs}):ds.push({type:"elem",elem:os,shift:gs})}ue=vt.makeVList({positionType:"individualShift",children:ds},a)}if(Uo.length===0)return vt.makeSpan(["mord"],[ue],a);var ps=vt.makeVList({positionType:"individualShift",children:Uo},a);return ps=vt.makeSpan(["tag"],[ps],a),vt.makeFragment([ue,ps])},Ut={c:"center ",l:"left ",r:"right "},Ft=function(n,a){for(var u=[],v=new ln.MathNode("mtd",[],["mtr-glue"]),x=new ln.MathNode("mtd",[],["mml-eqn-num"]),P=0;P0){var pn=n.cols,In="",$n=!1,Fn=0,mr=pn.length;pn[0].type==="separator"&&(Zt+="top ",Fn=1),pn[pn.length-1].type==="separator"&&(Zt+="bottom ",mr-=1);for(var kr=Fn;kr0?"left ":"",Zt+=wa[wa.length-1].length>0?"right ":"";for(var ga=1;ga-1?"alignat":"align",x=n.envName==="split",P=Ct(n.parser,{cols:u,addJot:!0,autoTag:x?void 0:ft(n.envName),emptySingleRow:!0,colSeparationType:v,maxNumCols:x?2:void 0,leqno:n.parser.settings.leqno},"display"),re,ue=0,Ve={type:"ordgroup",mode:n.mode,body:[]};if(a[0]&&a[0].type==="ordgroup"){for(var lt="",St=0;St0&&Wt&&($n=1),u[pn]={type:"align",align:In,pregap:$n,postgap:0}}return P.colSeparationType=Wt?"align":"alignat",P};xe({type:"array",names:["array","darray"],props:{numArgs:1},handler(l,n){var a=wi(n[0]),u=a?[n[0]]:Tr(n[0],"ordgroup").body,v=u.map(function(P){var re=Eo(P),ue=re.text;if("lcr".indexOf(ue)!==-1)return{type:"align",align:ue};if(ue==="|")return{type:"separator",separator:"|"};if(ue===":")return{type:"separator",separator:":"};throw new Xe("Unknown column alignment: "+ue,P)}),x={cols:v,hskipBeforeAndAfter:!0,maxNumCols:v.length};return Ct(l.parser,x,bt(l.envName))},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(l){var n={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[l.envName.replace("*","")],a="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:a}]};if(l.envName.charAt(l.envName.length-1)==="*"){var v=l.parser;if(v.consumeSpaces(),v.fetch().text==="["){if(v.consume(),v.consumeSpaces(),a=v.fetch().text,"lcr".indexOf(a)===-1)throw new Xe("Expected l or c or r",v.nextToken);v.consume(),v.consumeSpaces(),v.expect("]"),v.consume(),u.cols=[{type:"align",align:a}]}}var x=Ct(l.parser,u,bt(l.envName)),P=Math.max(0,...x.body.map(re=>re.length));return x.cols=new Array(P).fill({type:"align",align:a}),n?{type:"leftright",mode:l.mode,body:[x],left:n[0],right:n[1],rightColor:void 0}:x},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(l){var n={arraystretch:.5},a=Ct(l.parser,n,"script");return a.colSeparationType="small",a},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["subarray"],props:{numArgs:1},handler(l,n){var a=wi(n[0]),u=a?[n[0]]:Tr(n[0],"ordgroup").body,v=u.map(function(P){var re=Eo(P),ue=re.text;if("lc".indexOf(ue)!==-1)return{type:"align",align:ue};throw new Xe("Unknown column alignment: "+ue,P)});if(v.length>1)throw new Xe("{subarray} can contain only one column");var x={cols:v,hskipBeforeAndAfter:!1,arraystretch:.5};if(x=Ct(l.parser,x,"script"),x.body.length>0&&x.body[0].length>1)throw new Xe("{subarray} can contain only one column");return x},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(l){var n={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},a=Ct(l.parser,n,bt(l.envName));return{type:"leftright",mode:l.mode,body:[a],left:l.envName.indexOf("r")>-1?".":"\\{",right:l.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:o,htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(l){N.contains(["gather","gather*"],l.envName)&&Ye(l);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ft(l.envName),emptySingleRow:!0,leqno:l.parser.settings.leqno};return Ct(l.parser,n,"display")},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:o,htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(l){Ye(l);var n={autoTag:ft(l.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:l.parser.settings.leqno};return Ct(l.parser,n,"display")},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["CD"],props:{numArgs:0},handler(l){return Ye(l),ns(l.parser)},htmlBuilder:$t,mathmlBuilder:Ft}),w("\\nonumber","\\gdef\\@eqnsw{0}"),w("\\notag","\\nonumber"),wn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(l,n){throw new Xe(l.funcName+" valid only within array environment")}});var d=me;wn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];if(v.type!=="ordgroup")throw new Xe("Invalid environment name",v);for(var x="",P=0;P{var a=l.font,u=n.withFont(a);return Pr(l.body,u)},E=(l,n)=>{var a=l.font,u=n.withFont(a);return Qr(l.body,u)},I={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};wn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=Yi(n[0]),x=u;return x in I&&(x=I[x]),{type:"font",mode:a.mode,font:x.slice(1),body:v}},htmlBuilder:m,mathmlBuilder:E}),wn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(l,n)=>{var{parser:a}=l,u=n[0],v=N.isCharacterBox(u);return{type:"mclass",mode:a.mode,mclass:no(u),body:[{type:"font",mode:a.mode,font:"boldsymbol",body:u}],isCharacterBox:v}}}),wn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(l,n)=>{var{parser:a,funcName:u,breakOnTokenText:v}=l,{mode:x}=a,P=a.parseExpression(!0,v),re="math"+u.slice(1);return{type:"font",mode:x,font:re,body:{type:"ordgroup",mode:a.mode,body:P}}},htmlBuilder:m,mathmlBuilder:E});var k=(l,n)=>{var a=n;return l==="display"?a=a.id>=tt.SCRIPT.id?a.text():tt.DISPLAY:l==="text"&&a.size===tt.DISPLAY.size?a=tt.TEXT:l==="script"?a=tt.SCRIPT:l==="scriptscript"&&(a=tt.SCRIPTSCRIPT),a},M=(l,n)=>{var a=k(l.size,n.style),u=a.fracNum(),v=a.fracDen(),x;x=n.havingStyle(u);var P=Pr(l.numer,x,n);if(l.continued){var re=8.5/n.fontMetrics().ptPerEm,ue=3.5/n.fontMetrics().ptPerEm;P.height=P.height0?pn=3*Zt:pn=7*Zt,In=n.fontMetrics().denom1):(St>0?(Wt=n.fontMetrics().num2,pn=Zt):(Wt=n.fontMetrics().num3,pn=3*Zt),In=n.fontMetrics().denom2);var $n;if(lt){var mr=n.fontMetrics().axisHeight;Wt-P.depth-(mr+.5*St){var a=new ln.MathNode("mfrac",[Qr(l.numer,n),Qr(l.denom,n)]);if(!l.hasBarLine)a.setAttribute("linethickness","0px");else if(l.barSize){var u=qt(l.barSize,n);a.setAttribute("linethickness",Tt(u))}var v=k(l.size,n.style);if(v.size!==n.style.size){a=new ln.MathNode("mstyle",[a]);var x=v.size===tt.DISPLAY.size?"true":"false";a.setAttribute("displaystyle",x),a.setAttribute("scriptlevel","0")}if(l.leftDelim!=null||l.rightDelim!=null){var P=[];if(l.leftDelim!=null){var re=new ln.MathNode("mo",[new ln.TextNode(l.leftDelim.replace("\\",""))]);re.setAttribute("fence","true"),P.push(re)}if(P.push(a),l.rightDelim!=null){var ue=new ln.MathNode("mo",[new ln.TextNode(l.rightDelim.replace("\\",""))]);ue.setAttribute("fence","true"),P.push(ue)}return qi(P)}return a};wn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0],x=n[1],P,re=null,ue=null,Ve="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":P=!0;break;case"\\\\atopfrac":P=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":P=!1,re="(",ue=")";break;case"\\\\bracefrac":P=!1,re="\\{",ue="\\}";break;case"\\\\brackfrac":P=!1,re="[",ue="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":Ve="display";break;case"\\tfrac":case"\\tbinom":Ve="text";break}return{type:"genfrac",mode:a.mode,continued:!1,numer:v,denom:x,hasBarLine:P,leftDelim:re,rightDelim:ue,size:Ve,barSize:null}},htmlBuilder:M,mathmlBuilder:q}),wn({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0],x=n[1];return{type:"genfrac",mode:a.mode,continued:!0,numer:v,denom:x,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),wn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(l){var{parser:n,funcName:a,token:u}=l,v;switch(a){case"\\over":v="\\frac";break;case"\\choose":v="\\binom";break;case"\\atop":v="\\\\atopfrac";break;case"\\brace":v="\\\\bracefrac";break;case"\\brack":v="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:v,token:u}}});var Be=["display","text","script","scriptscript"],Me=function(n){var a=null;return n.length>0&&(a=n,a=a==="."?null:a),a};wn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(l,n){var{parser:a}=l,u=n[4],v=n[5],x=Yi(n[0]),P=x.type==="atom"&&x.family==="open"?Me(x.text):null,re=Yi(n[1]),ue=re.type==="atom"&&re.family==="close"?Me(re.text):null,Ve=Tr(n[2],"size"),lt,St=null;Ve.isBlank?lt=!0:(St=Ve.value,lt=St.number>0);var Zt="auto",Wt=n[3];if(Wt.type==="ordgroup"){if(Wt.body.length>0){var pn=Tr(Wt.body[0],"textord");Zt=Be[Number(pn.text)]}}else Wt=Tr(Wt,"textord"),Zt=Be[Number(Wt.text)];return{type:"genfrac",mode:a.mode,numer:u,denom:v,continued:!1,hasBarLine:lt,barSize:St,leftDelim:P,rightDelim:ue,size:Zt}},htmlBuilder:M,mathmlBuilder:q}),wn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(l,n){var{parser:a,funcName:u,token:v}=l;return{type:"infix",mode:a.mode,replaceWith:"\\\\abovefrac",size:Tr(n[0],"size").value,token:v}}}),wn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0],x=_e(Tr(n[1],"infix").size),P=n[2],re=x.number>0;return{type:"genfrac",mode:a.mode,numer:v,denom:P,continued:!1,hasBarLine:re,barSize:x,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:M,mathmlBuilder:q});var de=(l,n)=>{var a=n.style,u,v;l.type==="supsub"?(u=l.sup?Pr(l.sup,n.havingStyle(a.sup()),n):Pr(l.sub,n.havingStyle(a.sub()),n),v=Tr(l.base,"horizBrace")):v=Tr(l,"horizBrace");var x=Pr(v.base,n.havingBaseStyle(tt.DISPLAY)),P=Va.svgSpan(v,n),re;if(v.isOver?(re=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:x},{type:"kern",size:.1},{type:"elem",elem:P}]},n),re.children[0].children[0].children[1].classes.push("svg-align")):(re=vt.makeVList({positionType:"bottom",positionData:x.depth+.1+P.height,children:[{type:"elem",elem:P},{type:"kern",size:.1},{type:"elem",elem:x}]},n),re.children[0].children[0].children[0].classes.push("svg-align")),u){var ue=vt.makeSpan(["mord",v.isOver?"mover":"munder"],[re],n);v.isOver?re=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ue},{type:"kern",size:.2},{type:"elem",elem:u}]},n):re=vt.makeVList({positionType:"bottom",positionData:ue.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:ue}]},n)}return vt.makeSpan(["mord",v.isOver?"mover":"munder"],[re],n)},Ue=(l,n)=>{var a=Va.mathMLnode(l.label);return new ln.MathNode(l.isOver?"mover":"munder",[Qr(l.base,n),a])};wn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(l,n){var{parser:a,funcName:u}=l;return{type:"horizBrace",mode:a.mode,label:u,isOver:/^\\over/.test(u),base:n[0]}},htmlBuilder:de,mathmlBuilder:Ue}),wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[1],v=Tr(n[0],"url").url;return a.settings.isTrusted({command:"\\href",url:v})?{type:"href",mode:a.mode,href:v,body:Zr(u)}:a.formatUnsupportedCmd("\\href")},htmlBuilder:(l,n)=>{var a=fa(l.body,n,!1);return vt.makeAnchor(l.href,[],a,n)},mathmlBuilder:(l,n)=>{var a=Pa(l.body,n);return a instanceof Oa||(a=new Oa("mrow",[a])),a.setAttribute("href",l.href),a}}),wn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=Tr(n[0],"url").url;if(!a.settings.isTrusted({command:"\\url",url:u}))return a.formatUnsupportedCmd("\\url");for(var v=[],x=0;x{var{parser:a,funcName:u,token:v}=l,x=Tr(n[0],"raw").string,P=n[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var re,ue={};switch(u){case"\\htmlClass":ue.class=x,re={command:"\\htmlClass",class:x};break;case"\\htmlId":ue.id=x,re={command:"\\htmlId",id:x};break;case"\\htmlStyle":ue.style=x,re={command:"\\htmlStyle",style:x};break;case"\\htmlData":{for(var Ve=x.split(","),lt=0;lt{var a=fa(l.body,n,!1),u=["enclosing"];l.attributes.class&&u.push(...l.attributes.class.trim().split(/\s+/));var v=vt.makeSpan(u,a,n);for(var x in l.attributes)x!=="class"&&l.attributes.hasOwnProperty(x)&&v.setAttribute(x,l.attributes[x]);return v},mathmlBuilder:(l,n)=>Pa(l.body,n)}),wn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l;return{type:"htmlmathml",mode:a.mode,html:Zr(n[0]),mathml:Zr(n[1])}},htmlBuilder:(l,n)=>{var a=fa(l.html,n,!1);return vt.makeFragment(a)},mathmlBuilder:(l,n)=>Pa(l.mathml,n)});var De=function(n){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(n))return{number:+n,unit:"bp"};var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n);if(!a)throw new Xe("Invalid size: '"+n+"' in \\includegraphics");var u={number:+(a[1]+a[2]),unit:a[3]};if(!Qt(u))throw new Xe("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};wn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(l,n,a)=>{var{parser:u}=l,v={number:0,unit:"em"},x={number:.9,unit:"em"},P={number:0,unit:"em"},re="";if(a[0])for(var ue=Tr(a[0],"raw").string,Ve=ue.split(","),lt=0;lt{var a=qt(l.height,n),u=0;l.totalheight.number>0&&(u=qt(l.totalheight,n)-a);var v=0;l.width.number>0&&(v=qt(l.width,n));var x={height:Tt(a+u)};v>0&&(x.width=Tt(v)),u>0&&(x.verticalAlign=Tt(-u));var P=new Dt(l.src,l.alt,x);return P.height=a,P.depth=u,P},mathmlBuilder:(l,n)=>{var a=new ln.MathNode("mglyph",[]);a.setAttribute("alt",l.alt);var u=qt(l.height,n),v=0;if(l.totalheight.number>0&&(v=qt(l.totalheight,n)-u,a.setAttribute("valign",Tt(-v))),a.setAttribute("height",Tt(u+v)),l.width.number>0){var x=qt(l.width,n);a.setAttribute("width",Tt(x))}return a.setAttribute("src",l.src),a}}),wn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(l,n){var{parser:a,funcName:u}=l,v=Tr(n[0],"size");if(a.settings.strict){var x=u[1]==="m",P=v.value.unit==="mu";x?(P||a.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+v.value.unit+" units")),a.mode!=="math"&&a.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):P&&a.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:a.mode,dimension:v.value}},htmlBuilder(l,n){return vt.makeGlue(l.dimension,n)},mathmlBuilder(l,n){var a=qt(l.dimension,n);return new ln.SpaceNode(a)}}),wn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0];return{type:"lap",mode:a.mode,alignment:u.slice(5),body:v}},htmlBuilder:(l,n)=>{var a;l.alignment==="clap"?(a=vt.makeSpan([],[Pr(l.body,n)]),a=vt.makeSpan(["inner"],[a],n)):a=vt.makeSpan(["inner"],[Pr(l.body,n)]);var u=vt.makeSpan(["fix"],[]),v=vt.makeSpan([l.alignment],[a,u],n),x=vt.makeSpan(["strut"]);return x.style.height=Tt(v.height+v.depth),v.depth&&(x.style.verticalAlign=Tt(-v.depth)),v.children.unshift(x),v=vt.makeSpan(["thinbox"],[v],n),vt.makeSpan(["mord","vbox"],[v],n)},mathmlBuilder:(l,n)=>{var a=new ln.MathNode("mpadded",[Qr(l.body,n)]);if(l.alignment!=="rlap"){var u=l.alignment==="llap"?"-1":"-0.5";a.setAttribute("lspace",u+"width")}return a.setAttribute("width","0px"),a}}),wn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,n){var{funcName:a,parser:u}=l,v=u.mode;u.switchMode("math");var x=a==="\\("?"\\)":"$",P=u.parseExpression(!1,x);return u.expect(x),u.switchMode(v),{type:"styling",mode:u.mode,style:"text",body:P}}}),wn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,n){throw new Xe("Mismatched "+l.funcName)}});var ge=(l,n)=>{switch(n.style.size){case tt.DISPLAY.size:return l.display;case tt.TEXT.size:return l.text;case tt.SCRIPT.size:return l.script;case tt.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};wn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(l,n)=>{var{parser:a}=l;return{type:"mathchoice",mode:a.mode,display:Zr(n[0]),text:Zr(n[1]),script:Zr(n[2]),scriptscript:Zr(n[3])}},htmlBuilder:(l,n)=>{var a=ge(l,n),u=fa(a,n,!1);return vt.makeFragment(u)},mathmlBuilder:(l,n)=>{var a=ge(l,n);return Pa(a,n)}});var Bt=(l,n,a,u,v,x,P)=>{l=vt.makeSpan([],[l]);var re=a&&N.isCharacterBox(a),ue,Ve;if(n){var lt=Pr(n,u.havingStyle(v.sup()),u);Ve={elem:lt,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-lt.depth)}}if(a){var St=Pr(a,u.havingStyle(v.sub()),u);ue={elem:St,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-St.height)}}var Zt;if(Ve&&ue){var Wt=u.fontMetrics().bigOpSpacing5+ue.elem.height+ue.elem.depth+ue.kern+l.depth+P;Zt=vt.makeVList({positionType:"bottom",positionData:Wt,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:ue.elem,marginLeft:Tt(-x)},{type:"kern",size:ue.kern},{type:"elem",elem:l},{type:"kern",size:Ve.kern},{type:"elem",elem:Ve.elem,marginLeft:Tt(x)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(ue){var pn=l.height-P;Zt=vt.makeVList({positionType:"top",positionData:pn,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:ue.elem,marginLeft:Tt(-x)},{type:"kern",size:ue.kern},{type:"elem",elem:l}]},u)}else if(Ve){var In=l.depth+P;Zt=vt.makeVList({positionType:"bottom",positionData:In,children:[{type:"elem",elem:l},{type:"kern",size:Ve.kern},{type:"elem",elem:Ve.elem,marginLeft:Tt(x)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return l;var $n=[Zt];if(ue&&x!==0&&!re){var Fn=vt.makeSpan(["mspace"],[],u);Fn.style.marginRight=Tt(x),$n.unshift(Fn)}return vt.makeSpan(["mop","op-limits"],$n,u)},en=["\\smallint"],bn=(l,n)=>{var a,u,v=!1,x;l.type==="supsub"?(a=l.sup,u=l.sub,x=Tr(l.base,"op"),v=!0):x=Tr(l,"op");var P=n.style,re=!1;P.size===tt.DISPLAY.size&&x.symbol&&!N.contains(en,x.name)&&(re=!0);var ue;if(x.symbol){var Ve=re?"Size2-Regular":"Size1-Regular",lt="";if((x.name==="\\oiint"||x.name==="\\oiiint")&&(lt=x.name.slice(1),x.name=lt==="oiint"?"\\iint":"\\iiint"),ue=vt.makeSymbol(x.name,Ve,"math",n,["mop","op-symbol",re?"large-op":"small-op"]),lt.length>0){var St=ue.italic,Zt=vt.staticSvg(lt+"Size"+(re?"2":"1"),n);ue=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ue,shift:0},{type:"elem",elem:Zt,shift:re?.08:0}]},n),x.name="\\"+lt,ue.classes.unshift("mop"),ue.italic=St}}else if(x.body){var Wt=fa(x.body,n,!0);Wt.length===1&&Wt[0]instanceof kt?(ue=Wt[0],ue.classes[0]="mop"):ue=vt.makeSpan(["mop"],Wt,n)}else{for(var pn=[],In=1;In{var a;if(l.symbol)a=new Oa("mo",[Wa(l.name,l.mode)]),N.contains(en,l.name)&&a.setAttribute("largeop","false");else if(l.body)a=new Oa("mo",$a(l.body,n));else{a=new Oa("mi",[new za(l.name.slice(1))]);var u=new Oa("mo",[Wa("\u2061","text")]);l.parentIsSupSub?a=new Oa("mrow",[a,u]):a=Ro([a,u])}return a},rn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};wn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=u;return v.length===1&&(v=rn[v]),{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:v}},htmlBuilder:bn,mathmlBuilder:Gt}),wn({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Zr(u)}},htmlBuilder:bn,mathmlBuilder:Gt});var on={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};wn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(l){var{parser:n,funcName:a}=l;return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:a}},htmlBuilder:bn,mathmlBuilder:Gt}),wn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(l){var{parser:n,funcName:a}=l;return{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:a}},htmlBuilder:bn,mathmlBuilder:Gt}),wn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(l){var{parser:n,funcName:a}=l,u=a;return u.length===1&&(u=on[u]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:bn,mathmlBuilder:Gt});var Dn=(l,n)=>{var a,u,v=!1,x;l.type==="supsub"?(a=l.sup,u=l.sub,x=Tr(l.base,"operatorname"),v=!0):x=Tr(l,"operatorname");var P;if(x.body.length>0){for(var re=x.body.map(St=>{var Zt=St.text;return typeof Zt=="string"?{type:"textord",mode:St.mode,text:Zt}:St}),ue=fa(re,n.withFont("mathrm"),!0),Ve=0;Ve{for(var a=$a(l.body,n.withFont("mathrm")),u=!0,v=0;vlt.toText()).join("");a=[new ln.TextNode(re)]}var ue=new ln.MathNode("mi",a);ue.setAttribute("mathvariant","normal");var Ve=new ln.MathNode("mo",[Wa("\u2061","text")]);return l.parentIsSupSub?new ln.MathNode("mrow",[ue,Ve]):ln.newDocumentFragment([ue,Ve])};wn({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0];return{type:"operatorname",mode:a.mode,body:Zr(v),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Dn,mathmlBuilder:Xn}),w("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ni({type:"ordgroup",htmlBuilder(l,n){return l.semisimple?vt.makeFragment(fa(l.body,n,!1)):vt.makeSpan(["mord"],fa(l.body,n,!0),n)},mathmlBuilder(l,n){return Pa(l.body,n,!0)}}),wn({type:"overline",names:["\\overline"],props:{numArgs:1},handler(l,n){var{parser:a}=l,u=n[0];return{type:"overline",mode:a.mode,body:u}},htmlBuilder(l,n){var a=Pr(l.body,n.havingCrampedStyle()),u=vt.makeLineSpan("overline-line",n),v=n.fontMetrics().defaultRuleThickness,x=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:3*v},{type:"elem",elem:u},{type:"kern",size:v}]},n);return vt.makeSpan(["mord","overline"],[x],n)},mathmlBuilder(l,n){var a=new ln.MathNode("mo",[new ln.TextNode("\u203E")]);a.setAttribute("stretchy","true");var u=new ln.MathNode("mover",[Qr(l.body,n),a]);return u.setAttribute("accent","true"),u}}),wn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"phantom",mode:a.mode,body:Zr(u)}},htmlBuilder:(l,n)=>{var a=fa(l.body,n.withPhantom(),!1);return vt.makeFragment(a)},mathmlBuilder:(l,n)=>{var a=$a(l.body,n);return new ln.MathNode("mphantom",a)}}),wn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"hphantom",mode:a.mode,body:u}},htmlBuilder:(l,n)=>{var a=vt.makeSpan([],[Pr(l.body,n.withPhantom())]);if(a.height=0,a.depth=0,a.children)for(var u=0;u{var a=$a(Zr(l.body),n),u=new ln.MathNode("mphantom",a),v=new ln.MathNode("mpadded",[u]);return v.setAttribute("height","0px"),v.setAttribute("depth","0px"),v}}),wn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"vphantom",mode:a.mode,body:u}},htmlBuilder:(l,n)=>{var a=vt.makeSpan(["inner"],[Pr(l.body,n.withPhantom())]),u=vt.makeSpan(["fix"],[]);return vt.makeSpan(["mord","rlap"],[a,u],n)},mathmlBuilder:(l,n)=>{var a=$a(Zr(l.body),n),u=new ln.MathNode("mphantom",a),v=new ln.MathNode("mpadded",[u]);return v.setAttribute("width","0px"),v}}),wn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(l,n){var{parser:a}=l,u=Tr(n[0],"size").value,v=n[1];return{type:"raisebox",mode:a.mode,dy:u,body:v}},htmlBuilder(l,n){var a=Pr(l.body,n),u=qt(l.dy,n);return vt.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a}]},n)},mathmlBuilder(l,n){var a=new ln.MathNode("mpadded",[Qr(l.body,n)]),u=l.dy.number+l.dy.unit;return a.setAttribute("voffset",u),a}}),wn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(l){var{parser:n}=l;return{type:"internal",mode:n.mode}}}),wn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(l,n,a){var{parser:u}=l,v=a[0],x=Tr(n[0],"size"),P=Tr(n[1],"size");return{type:"rule",mode:u.mode,shift:v&&Tr(v,"size").value,width:x.value,height:P.value}},htmlBuilder(l,n){var a=vt.makeSpan(["mord","rule"],[],n),u=qt(l.width,n),v=qt(l.height,n),x=l.shift?qt(l.shift,n):0;return a.style.borderRightWidth=Tt(u),a.style.borderTopWidth=Tt(v),a.style.bottom=Tt(x),a.width=u,a.height=v+x,a.depth=-x,a.maxFontSize=v*1.125*n.sizeMultiplier,a},mathmlBuilder(l,n){var a=qt(l.width,n),u=qt(l.height,n),v=l.shift?qt(l.shift,n):0,x=n.color&&n.getColor()||"black",P=new ln.MathNode("mspace");P.setAttribute("mathbackground",x),P.setAttribute("width",Tt(a)),P.setAttribute("height",Tt(u));var re=new ln.MathNode("mpadded",[P]);return v>=0?re.setAttribute("height",Tt(v)):(re.setAttribute("height",Tt(v)),re.setAttribute("depth",Tt(-v))),re.setAttribute("voffset",Tt(v)),re}});function Ht(l,n,a){for(var u=fa(l,n,!1),v=n.sizeMultiplier/a.sizeMultiplier,x=0;x{var a=n.havingSize(l.size);return Ht(l.body,a,n)};wn({type:"sizing",names:Qn,props:{numArgs:0,allowedInText:!0},handler:(l,n)=>{var{breakOnTokenText:a,funcName:u,parser:v}=l,x=v.parseExpression(!1,a);return{type:"sizing",mode:v.mode,size:Qn.indexOf(u)+1,body:x}},htmlBuilder:fr,mathmlBuilder:(l,n)=>{var a=n.havingSize(l.size),u=$a(l.body,a),v=new ln.MathNode("mstyle",u);return v.setAttribute("mathsize",Tt(a.sizeMultiplier)),v}}),wn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(l,n,a)=>{var{parser:u}=l,v=!1,x=!1,P=a[0]&&Tr(a[0],"ordgroup");if(P)for(var re="",ue=0;ue{var a=vt.makeSpan([],[Pr(l.body,n)]);if(!l.smashHeight&&!l.smashDepth)return a;if(l.smashHeight&&(a.height=0,a.children))for(var u=0;u{var a=new ln.MathNode("mpadded",[Qr(l.body,n)]);return l.smashHeight&&a.setAttribute("height","0px"),l.smashDepth&&a.setAttribute("depth","0px"),a}}),wn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(l,n,a){var{parser:u}=l,v=a[0],x=n[0];return{type:"sqrt",mode:u.mode,body:x,index:v}},htmlBuilder(l,n){var a=Pr(l.body,n.havingCrampedStyle());a.height===0&&(a.height=n.fontMetrics().xHeight),a=vt.wrapFragment(a,n);var u=n.fontMetrics(),v=u.defaultRuleThickness,x=v;n.style.ida.height+a.depth+P&&(P=(P+St-a.height-a.depth)/2);var Zt=ue.height-a.height-P-Ve;a.style.paddingLeft=Tt(lt);var Wt=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:-(a.height+Zt)},{type:"elem",elem:ue},{type:"kern",size:Ve}]},n);if(l.index){var pn=n.havingStyle(tt.SCRIPTSCRIPT),In=Pr(l.index,pn,n),$n=.6*(Wt.height-Wt.depth),Fn=vt.makeVList({positionType:"shift",positionData:-$n,children:[{type:"elem",elem:In}]},n),mr=vt.makeSpan(["root"],[Fn]);return vt.makeSpan(["mord","sqrt"],[mr,Wt],n)}else return vt.makeSpan(["mord","sqrt"],[Wt],n)},mathmlBuilder(l,n){var{body:a,index:u}=l;return u?new ln.MathNode("mroot",[Qr(a,n),Qr(u,n)]):new ln.MathNode("msqrt",[Qr(a,n)])}});var Sn={display:tt.DISPLAY,text:tt.TEXT,script:tt.SCRIPT,scriptscript:tt.SCRIPTSCRIPT};wn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l,n){var{breakOnTokenText:a,funcName:u,parser:v}=l,x=v.parseExpression(!0,a),P=u.slice(1,u.length-5);return{type:"styling",mode:v.mode,style:P,body:x}},htmlBuilder(l,n){var a=Sn[l.style],u=n.havingStyle(a).withFont("");return Ht(l.body,u,n)},mathmlBuilder(l,n){var a=Sn[l.style],u=n.havingStyle(a),v=$a(l.body,u),x=new ln.MathNode("mstyle",v),P={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},re=P[l.style];return x.setAttribute("scriptlevel",re[0]),x.setAttribute("displaystyle",re[1]),x}});var cr=function(n,a){var u=n.base;if(u)if(u.type==="op"){var v=u.limits&&(a.style.size===tt.DISPLAY.size||u.alwaysHandleSupSub);return v?bn:null}else if(u.type==="operatorname"){var x=u.alwaysHandleSupSub&&(a.style.size===tt.DISPLAY.size||u.limits);return x?Dn:null}else{if(u.type==="accent")return N.isCharacterBox(u.base)?Ji:null;if(u.type==="horizBrace"){var P=!n.sub;return P===u.isOver?de:null}else return null}else return null};ni({type:"supsub",htmlBuilder(l,n){var a=cr(l,n);if(a)return a(l,n);var{base:u,sup:v,sub:x}=l,P=Pr(u,n),re,ue,Ve=n.fontMetrics(),lt=0,St=0,Zt=u&&N.isCharacterBox(u);if(v){var Wt=n.havingStyle(n.style.sup());re=Pr(v,Wt,n),Zt||(lt=P.height-Wt.fontMetrics().supDrop*Wt.sizeMultiplier/n.sizeMultiplier)}if(x){var pn=n.havingStyle(n.style.sub());ue=Pr(x,pn,n),Zt||(St=P.depth+pn.fontMetrics().subDrop*pn.sizeMultiplier/n.sizeMultiplier)}var In;n.style===tt.DISPLAY?In=Ve.sup1:n.style.cramped?In=Ve.sup3:In=Ve.sup2;var $n=n.sizeMultiplier,Fn=Tt(.5/Ve.ptPerEm/$n),mr=null;if(ue){var kr=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(P instanceof kt||kr)&&(mr=Tt(-P.italic))}var ia;if(re&&ue){lt=Math.max(lt,In,re.depth+.25*Ve.xHeight),St=Math.max(St,Ve.sub2);var Ur=Ve.defaultRuleThickness,da=4*Ur;if(lt-re.depth-(ue.height-St)0&&(lt+=oa,St-=oa)}var wa=[{type:"elem",elem:ue,shift:St,marginRight:Fn,marginLeft:mr},{type:"elem",elem:re,shift:-lt,marginRight:Fn}];ia=vt.makeVList({positionType:"individualShift",children:wa},n)}else if(ue){St=Math.max(St,Ve.sub1,ue.height-.8*Ve.xHeight);var ga=[{type:"elem",elem:ue,marginLeft:mr,marginRight:Fn}];ia=vt.makeVList({positionType:"shift",positionData:St,children:ga},n)}else if(re)lt=Math.max(lt,In,re.depth+.25*Ve.xHeight),ia=vt.makeVList({positionType:"shift",positionData:-lt,children:[{type:"elem",elem:re,marginRight:Fn}]},n);else throw new Error("supsub must have either sup or sub.");var gi=ai(P,"right")||"mord";return vt.makeSpan([gi],[P,vt.makeSpan(["msupsub"],[ia])],n)},mathmlBuilder(l,n){var a=!1,u,v;l.base&&l.base.type==="horizBrace"&&(v=!!l.sup,v===l.base.isOver&&(a=!0,u=l.base.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);var x=[Qr(l.base,n)];l.sub&&x.push(Qr(l.sub,n)),l.sup&&x.push(Qr(l.sup,n));var P;if(a)P=u?"mover":"munder";else if(l.sub)if(l.sup){var Ve=l.base;Ve&&Ve.type==="op"&&Ve.limits&&n.style===tt.DISPLAY||Ve&&Ve.type==="operatorname"&&Ve.alwaysHandleSupSub&&(n.style===tt.DISPLAY||Ve.limits)?P="munderover":P="msubsup"}else{var ue=l.base;ue&&ue.type==="op"&&ue.limits&&(n.style===tt.DISPLAY||ue.alwaysHandleSupSub)||ue&&ue.type==="operatorname"&&ue.alwaysHandleSupSub&&(ue.limits||n.style===tt.DISPLAY)?P="munder":P="msub"}else{var re=l.base;re&&re.type==="op"&&re.limits&&(n.style===tt.DISPLAY||re.alwaysHandleSupSub)||re&&re.type==="operatorname"&&re.alwaysHandleSupSub&&(re.limits||n.style===tt.DISPLAY)?P="mover":P="msup"}return new ln.MathNode(P,x)}}),ni({type:"atom",htmlBuilder(l,n){return vt.mathsym(l.text,l.mode,n,["m"+l.family])},mathmlBuilder(l,n){var a=new ln.MathNode("mo",[Wa(l.text,l.mode)]);if(l.family==="bin"){var u=Pi(l,n);u==="bold-italic"&&a.setAttribute("mathvariant",u)}else l.family==="punct"?a.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&a.setAttribute("stretchy","false");return a}});var er={mi:"italic",mn:"normal",mtext:"normal"};ni({type:"mathord",htmlBuilder(l,n){return vt.makeOrd(l,n,"mathord")},mathmlBuilder(l,n){var a=new ln.MathNode("mi",[Wa(l.text,l.mode,n)]),u=Pi(l,n)||"italic";return u!==er[a.type]&&a.setAttribute("mathvariant",u),a}}),ni({type:"textord",htmlBuilder(l,n){return vt.makeOrd(l,n,"textord")},mathmlBuilder(l,n){var a=Wa(l.text,l.mode,n),u=Pi(l,n)||"normal",v;return l.mode==="text"?v=new ln.MathNode("mtext",[a]):/[0-9]/.test(l.text)?v=new ln.MathNode("mn",[a]):l.text==="\\prime"?v=new ln.MathNode("mo",[a]):v=new ln.MathNode("mi",[a]),u!==er[v.type]&&v.setAttribute("mathvariant",u),v}});var qn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Tn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ni({type:"spacing",htmlBuilder(l,n){if(Tn.hasOwnProperty(l.text)){var a=Tn[l.text].className||"";if(l.mode==="text"){var u=vt.makeOrd(l,n,"textord");return u.classes.push(a),u}else return vt.makeSpan(["mspace",a],[vt.mathsym(l.text,l.mode,n)],n)}else{if(qn.hasOwnProperty(l.text))return vt.makeSpan(["mspace",qn[l.text]],[],n);throw new Xe('Unknown type of space "'+l.text+'"')}},mathmlBuilder(l,n){var a;if(Tn.hasOwnProperty(l.text))a=new ln.MathNode("mtext",[new ln.TextNode("\xA0")]);else{if(qn.hasOwnProperty(l.text))return new ln.MathNode("mspace");throw new Xe('Unknown type of space "'+l.text+'"')}return a}});var jn=()=>{var l=new ln.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};ni({type:"tag",mathmlBuilder(l,n){var a=new ln.MathNode("mtable",[new ln.MathNode("mtr",[jn(),new ln.MathNode("mtd",[Pa(l.body,n)]),jn(),new ln.MathNode("mtd",[Pa(l.tag,n)])])]);return a.setAttribute("width","100%"),a}});var an={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},fn={"\\textbf":"textbf","\\textmd":"textmd"},En={"\\textit":"textit","\\textup":"textup"},yn=(l,n)=>{var a=l.font;if(a){if(an[a])return n.withTextFontFamily(an[a]);if(fn[a])return n.withTextFontWeight(fn[a]);if(a==="\\emph")return n.fontShape==="textit"?n.withTextFontShape("textup"):n.withTextFontShape("textit")}else return n;return n.withTextFontShape(En[a])};wn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];return{type:"text",mode:a.mode,body:Zr(v),font:u}},htmlBuilder(l,n){var a=yn(l,n),u=fa(l.body,a,!0);return vt.makeSpan(["mord","text"],u,a)},mathmlBuilder(l,n){var a=yn(l,n);return Pa(l.body,a)}}),wn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(l,n){var{parser:a}=l;return{type:"underline",mode:a.mode,body:n[0]}},htmlBuilder(l,n){var a=Pr(l.body,n),u=vt.makeLineSpan("underline-line",n),v=n.fontMetrics().defaultRuleThickness,x=vt.makeVList({positionType:"top",positionData:a.height,children:[{type:"kern",size:v},{type:"elem",elem:u},{type:"kern",size:3*v},{type:"elem",elem:a}]},n);return vt.makeSpan(["mord","underline"],[x],n)},mathmlBuilder(l,n){var a=new ln.MathNode("mo",[new ln.TextNode("\u203E")]);a.setAttribute("stretchy","true");var u=new ln.MathNode("munder",[Qr(l.body,n),a]);return u.setAttribute("accentunder","true"),u}}),wn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(l,n){var{parser:a}=l;return{type:"vcenter",mode:a.mode,body:n[0]}},htmlBuilder(l,n){var a=Pr(l.body,n),u=n.fontMetrics().axisHeight,v=.5*(a.height-u-(a.depth+u));return vt.makeVList({positionType:"shift",positionData:v,children:[{type:"elem",elem:a}]},n)},mathmlBuilder(l,n){return new ln.MathNode("mpadded",[Qr(l.body,n)],["vcenter"])}}),wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(l,n,a){throw new Xe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(l,n){for(var a=rr(l),u=[],v=n.havingStyle(n.style.text()),x=0;xl.body.replace(/ /g,l.star?"\u2423":"\xA0"),Ae=Zi,Pn=`[ \r + `+oa+" children.");for(var ja=0;ja0&&(v.style.minWidth=Tt(x)),v},vo=function(n,a,u,v,x){var P,re=n.height+n.depth+u+v;if(/fbox|color|angl/.test(a)){if(P=vt.makeSpan(["stretchy",a],[],x),a==="fbox"){var ue=x.color&&x.getColor();ue&&(P.style.borderColor=ue)}}else{var Ve=[];/^[bx]cancel$/.test(a)&&Ve.push(new vn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&Ve.push(new vn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var lt=new Rt(Ve,{width:"100%",height:Tt(re)});P=vt.makeSvgSpan([],[lt],x)}return P.height=re,P.style.height=Tt(re),P},Va={encloseSpan:vo,mathMLnode:jo,svgSpan:Fi};function Tr(l,n){if(!l||l.type!==n)throw new Error("Expected node of type "+n+", but got "+(l?"node of type "+l.type:String(l)));return l}function Eo(l){var n=wi(l);if(!n)throw new Error("Expected node of symbol group type, but got "+(l?"node of type "+l.type:String(l)));return n}function wi(l){return l&&(l.type==="atom"||or.hasOwnProperty(l.type))?l:null}var Ji=(l,n)=>{var a,u,v;l&&l.type==="supsub"?(u=Tr(l.base,"accent"),a=u.base,l.base=a,v=Ln(Pr(l,n)),l.base=u):(u=Tr(l,"accent"),a=u.base);var x=Pr(a,n.havingCrampedStyle()),P=u.isShifty&&N.isCharacterBox(a),re=0;if(P){var ue=N.getBaseElem(a),Ve=Pr(ue,n.havingCrampedStyle());re=ce(Ve).skew}var lt=u.label==="\\c",St=lt?x.height+x.depth:Math.min(x.height,n.fontMetrics().xHeight),Zt;if(u.isStretchy)Zt=Va.svgSpan(u,n),Zt=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:x},{type:"elem",elem:Zt,wrapperClasses:["svg-align"],wrapperStyle:re>0?{width:"calc(100% - "+Tt(2*re)+")",marginLeft:Tt(2*re)}:void 0}]},n);else{var Wt,pn;u.label==="\\vec"?(Wt=vt.staticSvg("vec",n),pn=vt.svgData.vec[1]):(Wt=vt.makeOrd({mode:u.mode,text:u.label},n,"textord"),Wt=ce(Wt),Wt.italic=0,pn=Wt.width,lt&&(St+=Wt.depth)),Zt=vt.makeSpan(["accent-body"],[Wt]);var In=u.label==="\\textcircled";In&&(Zt.classes.push("accent-full"),St=x.height);var $n=re;In||($n-=pn/2),Zt.style.left=Tt($n),u.label==="\\textcircled"&&(Zt.style.top=".2em"),Zt=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:x},{type:"kern",size:-St},{type:"elem",elem:Zt}]},n)}var Fn=vt.makeSpan(["mord","accent"],[Zt],n);return v?(v.children[0]=Fn,v.height=Math.max(Fn.height,v.height),v.classes[0]="mord",v):Fn},eo=(l,n)=>{var a=l.isStretchy?Va.mathMLnode(l.label):new ln.MathNode("mo",[Wa(l.label,l.mode)]),u=new ln.MathNode("mover",[Qr(l.base,n),a]);return u.setAttribute("accent","true"),u},to=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(l=>"\\"+l).join("|"));wn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(l,n)=>{var a=Yi(n[0]),u=!to.test(l.funcName),v=!u||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:u,isShifty:v,base:a}},htmlBuilder:Ji,mathmlBuilder:eo}),wn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(l,n)=>{var a=n[0],u=l.parser.mode;return u==="math"&&(l.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+l.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:l.funcName,isStretchy:!1,isShifty:!0,base:a}},htmlBuilder:Ji,mathmlBuilder:eo}),wn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0];return{type:"accentUnder",mode:a.mode,label:u,base:v}},htmlBuilder:(l,n)=>{var a=Pr(l.base,n),u=Va.svgSpan(l,n),v=l.label==="\\utilde"?.12:0,x=vt.makeVList({positionType:"top",positionData:a.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:v},{type:"elem",elem:a}]},n);return vt.makeSpan(["mord","accentunder"],[x],n)},mathmlBuilder:(l,n)=>{var a=Va.mathMLnode(l.label),u=new ln.MathNode("munder",[Qr(l.base,n),a]);return u.setAttribute("accentunder","true"),u}});var Ri=l=>{var n=new ln.MathNode("mpadded",l?[l]:[]);return n.setAttribute("width","+0.6em"),n.setAttribute("lspace","0.3em"),n};wn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(l,n,a){var{parser:u,funcName:v}=l;return{type:"xArrow",mode:u.mode,label:v,body:n[0],below:a[0]}},htmlBuilder(l,n){var a=n.style,u=n.havingStyle(a.sup()),v=vt.wrapFragment(Pr(l.body,u,n),n),x=l.label.slice(0,2)==="\\x"?"x":"cd";v.classes.push(x+"-arrow-pad");var P;l.below&&(u=n.havingStyle(a.sub()),P=vt.wrapFragment(Pr(l.below,u,n),n),P.classes.push(x+"-arrow-pad"));var re=Va.svgSpan(l,n),ue=-n.fontMetrics().axisHeight+.5*re.height,Ve=-n.fontMetrics().axisHeight-.5*re.height-.111;(v.depth>.25||l.label==="\\xleftequilibrium")&&(Ve-=v.depth);var lt;if(P){var St=-n.fontMetrics().axisHeight+P.height+.5*re.height+.111;lt=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:v,shift:Ve},{type:"elem",elem:re,shift:ue},{type:"elem",elem:P,shift:St}]},n)}else lt=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:v,shift:Ve},{type:"elem",elem:re,shift:ue}]},n);return lt.children[0].children[0].children[1].classes.push("svg-align"),vt.makeSpan(["mrel","x-arrow"],[lt],n)},mathmlBuilder(l,n){var a=Va.mathMLnode(l.label);a.setAttribute("minsize",l.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(l.body){var v=Ri(Qr(l.body,n));if(l.below){var x=Ri(Qr(l.below,n));u=new ln.MathNode("munderover",[a,x,v])}else u=new ln.MathNode("mover",[a,v])}else if(l.below){var P=Ri(Qr(l.below,n));u=new ln.MathNode("munder",[a,P])}else u=Ri(),u=new ln.MathNode("mover",[a,u]);return u}});var ko=vt.makeSpan;function yo(l,n){var a=fa(l.body,n,!0);return ko([l.mclass],a,n)}function Lo(l,n){var a,u=$a(l.body,n);return l.mclass==="minner"?a=new ln.MathNode("mpadded",u):l.mclass==="mord"?l.isCharacterBox?(a=u[0],a.type="mi"):a=new ln.MathNode("mi",u):(l.isCharacterBox?(a=u[0],a.type="mo"):a=new ln.MathNode("mo",u),l.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):l.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):l.mclass==="mopen"||l.mclass==="mclose"?(a.attributes.lspace="0em",a.attributes.rspace="0em"):l.mclass==="minner"&&(a.attributes.lspace="0.0556em",a.attributes.width="+0.1111em")),a}wn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];return{type:"mclass",mode:a.mode,mclass:"m"+u.slice(5),body:Zr(v),isCharacterBox:N.isCharacterBox(v)}},htmlBuilder:yo,mathmlBuilder:Lo});var no=l=>{var n=l.type==="ordgroup"&&l.body.length?l.body[0]:l;return n.type==="atom"&&(n.family==="bin"||n.family==="rel")?"m"+n.family:"mord"};wn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(l,n){var{parser:a}=l;return{type:"mclass",mode:a.mode,mclass:no(n[0]),body:Zr(n[1]),isCharacterBox:N.isCharacterBox(n[1])}}}),wn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(l,n){var{parser:a,funcName:u}=l,v=n[1],x=n[0],P;u!=="\\stackrel"?P=no(v):P="mrel";var re={type:"op",mode:v.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:Zr(v)},ue={type:"supsub",mode:x.mode,base:re,sup:u==="\\underset"?null:x,sub:u==="\\underset"?x:null};return{type:"mclass",mode:a.mode,mclass:P,body:[ue],isCharacterBox:N.isCharacterBox(ue)}},htmlBuilder:yo,mathmlBuilder:Lo}),wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(l,n){var{parser:a}=l;return{type:"pmb",mode:a.mode,mclass:no(n[0]),body:Zr(n[0])}},htmlBuilder(l,n){var a=fa(l.body,n,!0),u=vt.makeSpan([l.mclass],a,n);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(l,n){var a=$a(l.body,n),u=new ln.MathNode("mstyle",a);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var ro={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},oi=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ia=l=>l.type==="textord"&&l.text==="@",Wo=(l,n)=>(l.type==="mathord"||l.type==="atom")&&l.text===n;function Vo(l,n,a){var u=ro[l];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return a.callFunction(u,[n[0]],[n[1]]);case"\\uparrow":case"\\downarrow":{var v=a.callFunction("\\\\cdleft",[n[0]],[]),x={type:"atom",text:u,mode:"math",family:"rel"},P=a.callFunction("\\Big",[x],[]),re=a.callFunction("\\\\cdright",[n[1]],[]),ue={type:"ordgroup",mode:"math",body:[v,P,re]};return a.callFunction("\\\\cdparent",[ue],[])}case"\\\\cdlongequal":return a.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Ve={type:"textord",text:"\\Vert",mode:"math"};return a.callFunction("\\Big",[Ve],[])}default:return{type:"textord",text:" ",mode:"math"}}}function ns(l){var n=[];for(l.gullet.beginGroup(),l.gullet.macros.set("\\cr","\\\\\\relax"),l.gullet.beginGroup();;){n.push(l.parseExpression(!1,"\\\\")),l.gullet.endGroup(),l.gullet.beginGroup();var a=l.fetch().text;if(a==="&"||a==="\\\\")l.consume();else if(a==="\\end"){n[n.length-1].length===0&&n.pop();break}else throw new Xe("Expected \\\\ or \\cr or \\end",l.nextToken)}for(var u=[],v=[u],x=0;x-1))if("<>AV".indexOf(Ve)>-1)for(var St=0;St<2;St++){for(var Zt=!0,Wt=ue+1;WtAV=|." after @',P[ue]);var pn=Vo(Ve,lt,l),In={type:"styling",body:[pn],mode:"math",style:"display"};u.push(In),re=oi()}x%2===0?u.push(re):u.shift(),u=[],v.push(u)}l.gullet.endGroup(),l.gullet.endGroup();var $n=new Array(v[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:v,arraystretch:1,addJot:!0,rowGaps:[null],cols:$n,colSeparationType:"CD",hLinesBeforeRow:new Array(v.length+1).fill([])}}wn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(l,n){var{parser:a,funcName:u}=l;return{type:"cdlabel",mode:a.mode,side:u.slice(4),label:n[0]}},htmlBuilder(l,n){var a=n.havingStyle(n.style.sup()),u=vt.wrapFragment(Pr(l.label,a,n),n);return u.classes.push("cd-label-"+l.side),u.style.bottom=Tt(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(l,n){var a=new ln.MathNode("mrow",[Qr(l.label,n)]);return a=new ln.MathNode("mpadded",[a]),a.setAttribute("width","0"),l.side==="left"&&a.setAttribute("lspace","-1width"),a.setAttribute("voffset","0.7em"),a=new ln.MathNode("mstyle",[a]),a.setAttribute("displaystyle","false"),a.setAttribute("scriptlevel","1"),a}}),wn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(l,n){var{parser:a}=l;return{type:"cdlabelparent",mode:a.mode,fragment:n[0]}},htmlBuilder(l,n){var a=vt.wrapFragment(Pr(l.fragment,n),n);return a.classes.push("cd-vert-arrow"),a},mathmlBuilder(l,n){return new ln.MathNode("mrow",[Qr(l.fragment,n)])}}),wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(l,n){for(var{parser:a}=l,u=Tr(n[0],"ordgroup"),v=u.body,x="",P=0;P=1114111)throw new Xe("\\@char with invalid code point "+x);return ue<=65535?Ve=String.fromCharCode(ue):(ue-=65536,Ve=String.fromCharCode((ue>>10)+55296,(ue&1023)+56320)),{type:"textord",mode:a.mode,text:Ve}}});var Do=(l,n)=>{var a=fa(l.body,n.withColor(l.color),!1);return vt.makeFragment(a)},Zo=(l,n)=>{var a=$a(l.body,n.withColor(l.color)),u=new ln.MathNode("mstyle",a);return u.setAttribute("mathcolor",l.color),u};wn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(l,n){var{parser:a}=l,u=Tr(n[0],"color-token").color,v=n[1];return{type:"color",mode:a.mode,color:u,body:Zr(v)}},htmlBuilder:Do,mathmlBuilder:Zo}),wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(l,n){var{parser:a,breakOnTokenText:u}=l,v=Tr(n[0],"color-token").color;a.gullet.macros.set("\\current@color",v);var x=a.parseExpression(!0,u);return{type:"color",mode:a.mode,color:v,body:x}},htmlBuilder:Do,mathmlBuilder:Zo}),wn({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(l,n,a){var{parser:u}=l,v=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,x=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:x,size:v&&Tr(v,"size").value}},htmlBuilder(l,n){var a=vt.makeSpan(["mspace"],[],n);return l.newLine&&(a.classes.push("newline"),l.size&&(a.style.marginTop=Tt(qt(l.size,n)))),a},mathmlBuilder(l,n){var a=new ln.MathNode("mspace");return l.newLine&&(a.setAttribute("linebreak","newline"),l.size&&a.setAttribute("height",Tt(qt(l.size,n)))),a}});var ao={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Mo=l=>{var n=l.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new Xe("Expected a control sequence",l);return n},Yo=l=>{var n=l.gullet.popToken();return n.text==="="&&(n=l.gullet.popToken(),n.text===" "&&(n=l.gullet.popToken())),n},So=(l,n,a,u)=>{var v=l.gullet.macros.get(a.text);v==null&&(a.noexpand=!0,v={tokens:[a],numArgs:0,unexpandable:!l.gullet.isExpandable(a.text)}),l.gullet.macros.set(n,v,u)};wn({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(l){var{parser:n,funcName:a}=l;n.consumeSpaces();var u=n.fetch();if(ao[u.text])return(a==="\\global"||a==="\\\\globallong")&&(u.text=ao[u.text]),Tr(n.parseFunction(),"internal");throw new Xe("Invalid token after macro prefix",u)}}),wn({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){var{parser:n,funcName:a}=l,u=n.gullet.popToken(),v=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(v))throw new Xe("Expected a control sequence",u);for(var x=0,P,re=[[]];n.gullet.future().text!=="{";)if(u=n.gullet.popToken(),u.text==="#"){if(n.gullet.future().text==="{"){P=n.gullet.future(),re[x].push("{");break}if(u=n.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new Xe('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==x+1)throw new Xe('Argument number "'+u.text+'" out of order');x++,re.push([])}else{if(u.text==="EOF")throw new Xe("Expected a macro definition");re[x].push(u.text)}var{tokens:ue}=n.gullet.consumeArg();return P&&ue.unshift(P),(a==="\\edef"||a==="\\xdef")&&(ue=n.gullet.expandTokens(ue),ue.reverse()),n.gullet.macros.set(v,{tokens:ue,numArgs:x,delimiters:re},a===ao[a]),{type:"internal",mode:n.mode}}}),wn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){var{parser:n,funcName:a}=l,u=Mo(n.gullet.popToken());n.gullet.consumeSpaces();var v=Yo(n);return So(n,u,v,a==="\\\\globallet"),{type:"internal",mode:n.mode}}}),wn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){var{parser:n,funcName:a}=l,u=Mo(n.gullet.popToken()),v=n.gullet.popToken(),x=n.gullet.popToken();return So(n,u,x,a==="\\\\globalfuture"),n.gullet.pushToken(x),n.gullet.pushToken(v),{type:"internal",mode:n.mode}}});var Oi=function(n,a,u){var v=Zn.math[n]&&Zn.math[n].replace,x=Kr(v||n,a,u);if(!x)throw new Error("Unsupported symbol "+n+" and font size "+a+".");return x},ki=function(n,a,u,v){var x=u.havingBaseStyle(a),P=vt.makeSpan(v.concat(x.sizingClasses(u)),[n],u),re=x.sizeMultiplier/u.sizeMultiplier;return P.height*=re,P.depth*=re,P.maxFontSize=x.sizeMultiplier,P},io=function(n,a,u){var v=a.havingBaseStyle(u),x=(1-a.sizeMultiplier/v.sizeMultiplier)*a.fontMetrics().axisHeight;n.classes.push("delimcenter"),n.style.top=Tt(x),n.height-=x,n.depth+=x},_o=function(n,a,u,v,x,P){var re=vt.makeSymbol(n,"Main-Regular",x,v),ue=ki(re,a,v,P);return u&&io(ue,v,a),ue},si=function(n,a,u,v){return vt.makeSymbol(n,"Size"+a+"-Regular",u,v)},Po=function(n,a,u,v,x,P){var re=si(n,a,x,v),ue=ki(vt.makeSpan(["delimsizing","size"+a],[re],v),tt.TEXT,v,P);return u&&io(ue,v,tt.TEXT),ue},oo=function(n,a,u){var v;a==="Size1-Regular"?v="delim-size1":v="delim-size4";var x=vt.makeSpan(["delimsizinginner",v],[vt.makeSpan([],[vt.makeSymbol(n,a,u)])]);return{type:"elem",elem:x}},To=function(n,a,u){var v=ar["Size4-Regular"][n.charCodeAt(0)]?ar["Size4-Regular"][n.charCodeAt(0)][4]:ar["Size1-Regular"][n.charCodeAt(0)][4],x=new gn("inner",Jn(n,Math.round(1e3*a))),P=new Rt([x],{width:Tt(v),height:Tt(a),style:"width:"+Tt(v),viewBox:"0 0 "+1e3*v+" "+Math.round(1e3*a),preserveAspectRatio:"xMinYMin"}),re=vt.makeSvgSpan([],[P],u);return re.height=a,re.style.height=Tt(a),re.style.width=Tt(v),{type:"elem",elem:re}},Bo=.008,so={type:"kern",size:-1*Bo},rs=["|","\\lvert","\\rvert","\\vert"],$i=["\\|","\\lVert","\\rVert","\\Vert"],Xo=function(n,a,u,v,x,P){var re,ue,Ve,lt,St="",Zt=0;re=Ve=lt=n,ue=null;var Wt="Size1-Regular";n==="\\uparrow"?Ve=lt="\u23D0":n==="\\Uparrow"?Ve=lt="\u2016":n==="\\downarrow"?re=Ve="\u23D0":n==="\\Downarrow"?re=Ve="\u2016":n==="\\updownarrow"?(re="\\uparrow",Ve="\u23D0",lt="\\downarrow"):n==="\\Updownarrow"?(re="\\Uparrow",Ve="\u2016",lt="\\Downarrow"):N.contains(rs,n)?(Ve="\u2223",St="vert",Zt=333):N.contains($i,n)?(Ve="\u2225",St="doublevert",Zt=556):n==="["||n==="\\lbrack"?(re="\u23A1",Ve="\u23A2",lt="\u23A3",Wt="Size4-Regular",St="lbrack",Zt=667):n==="]"||n==="\\rbrack"?(re="\u23A4",Ve="\u23A5",lt="\u23A6",Wt="Size4-Regular",St="rbrack",Zt=667):n==="\\lfloor"||n==="\u230A"?(Ve=re="\u23A2",lt="\u23A3",Wt="Size4-Regular",St="lfloor",Zt=667):n==="\\lceil"||n==="\u2308"?(re="\u23A1",Ve=lt="\u23A2",Wt="Size4-Regular",St="lceil",Zt=667):n==="\\rfloor"||n==="\u230B"?(Ve=re="\u23A5",lt="\u23A6",Wt="Size4-Regular",St="rfloor",Zt=667):n==="\\rceil"||n==="\u2309"?(re="\u23A4",Ve=lt="\u23A5",Wt="Size4-Regular",St="rceil",Zt=667):n==="("||n==="\\lparen"?(re="\u239B",Ve="\u239C",lt="\u239D",Wt="Size4-Regular",St="lparen",Zt=875):n===")"||n==="\\rparen"?(re="\u239E",Ve="\u239F",lt="\u23A0",Wt="Size4-Regular",St="rparen",Zt=875):n==="\\{"||n==="\\lbrace"?(re="\u23A7",ue="\u23A8",lt="\u23A9",Ve="\u23AA",Wt="Size4-Regular"):n==="\\}"||n==="\\rbrace"?(re="\u23AB",ue="\u23AC",lt="\u23AD",Ve="\u23AA",Wt="Size4-Regular"):n==="\\lgroup"||n==="\u27EE"?(re="\u23A7",lt="\u23A9",Ve="\u23AA",Wt="Size4-Regular"):n==="\\rgroup"||n==="\u27EF"?(re="\u23AB",lt="\u23AD",Ve="\u23AA",Wt="Size4-Regular"):n==="\\lmoustache"||n==="\u23B0"?(re="\u23A7",lt="\u23AD",Ve="\u23AA",Wt="Size4-Regular"):(n==="\\rmoustache"||n==="\u23B1")&&(re="\u23AB",lt="\u23A9",Ve="\u23AA",Wt="Size4-Regular");var pn=Oi(re,Wt,x),In=pn.height+pn.depth,$n=Oi(Ve,Wt,x),Fn=$n.height+$n.depth,mr=Oi(lt,Wt,x),kr=mr.height+mr.depth,ia=0,Ur=1;if(ue!==null){var da=Oi(ue,Wt,x);ia=da.height+da.depth,Ur=2}var oa=In+kr+ia,wa=Math.max(0,Math.ceil((a-oa)/(Ur*Fn))),ga=oa+wa*Ur*Fn,gi=v.fontMetrics().axisHeight;u&&(gi*=v.sizeMultiplier);var ja=ga/2-gi,Da=[];if(St.length>0){var fo=ga-In-kr,Qa=Math.round(ga*1e3),bi=Hr(St,Math.round(fo*1e3)),Gi=new gn(St,bi),Uo=(Zt/1e3).toFixed(3)+"em",Ao=(Qa/1e3).toFixed(3)+"em",Qo=new Rt([Gi],{width:Uo,height:Ao,viewBox:"0 0 "+Zt+" "+Qa}),ji=vt.makeSvgSpan([],[Qo],v);ji.height=Qa/1e3,ji.style.width=Uo,ji.style.height=Ao,Da.push({type:"elem",elem:ji})}else{if(Da.push(oo(lt,Wt,x)),Da.push(so),ue===null){var Di=ga-In-kr+2*Bo;Da.push(To(Ve,Di,v))}else{var li=(ga-In-kr-ia)/2+2*Bo;Da.push(To(Ve,li,v)),Da.push(so),Da.push(oo(ue,Wt,x)),Da.push(so),Da.push(To(Ve,li,v))}Da.push(so),Da.push(oo(re,Wt,x))}var Jo=v.havingBaseStyle(tt.TEXT),jr=vt.makeVList({positionType:"bottom",positionData:ja,children:Da},Jo);return ki(vt.makeSpan(["delimsizing","mult"],[jr],Jo),tt.TEXT,v,P)},xo=80,lo=.08,mi=function(n,a,u,v,x){var P=dr(n,v,u),re=new gn(n,P),ue=new Rt([re],{width:"400em",height:Tt(a),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return vt.makeSvgSpan(["hide-tail"],[ue],x)},uo=function(n,a){var u=a.havingBaseSizing(),v=Hi("\\surd",n*u.sizeMultiplier,po,u),x=u.sizeMultiplier,P=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),re,ue=0,Ve=0,lt=0,St;return v.type==="small"?(lt=1e3+1e3*P+xo,n<1?x=1:n<1.4&&(x=.7),ue=(1+P+lo)/x,Ve=(1+P)/x,re=mi("sqrtMain",ue,lt,P,a),re.style.minWidth="0.853em",St=.833/x):v.type==="large"?(lt=(1e3+xo)*ei[v.size],Ve=(ei[v.size]+P)/x,ue=(ei[v.size]+P+lo)/x,re=mi("sqrtSize"+v.size,ue,lt,P,a),re.style.minWidth="1.02em",St=1/x):(ue=n+P+lo,Ve=n+P,lt=Math.floor(1e3*n+P)+xo,re=mi("sqrtTall",ue,lt,P,a),re.style.minWidth="0.742em",St=1.056),re.height=Ve,re.style.height=Tt(ue),{span:re,advanceWidth:St,ruleWidth:(a.fontMetrics().sqrtRuleThickness+P)*x}},hi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Fo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ui=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ei=[0,1.2,1.8,2.4,3],co=function(n,a,u,v,x){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),N.contains(hi,n)||N.contains(Ui,n))return Po(n,a,!1,u,v,x);if(N.contains(Fo,n))return Xo(n,ei[a],!1,u,v,x);throw new Xe("Illegal delimiter: '"+n+"'")},as=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],qo=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"stack"}],po=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Co=function(n){if(n.type==="small")return"Main-Regular";if(n.type==="large")return"Size"+n.size+"-Regular";if(n.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+n.type+"' here.")},Hi=function(n,a,u,v){for(var x=Math.min(2,3-v.style.size),P=x;Pa)return u[P]}return u[u.length-1]},Ti=function(n,a,u,v,x,P){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var re;N.contains(Ui,n)?re=as:N.contains(hi,n)?re=po:re=qo;var ue=Hi(n,a,re,v);return ue.type==="small"?_o(n,ue.style,u,v,x,P):ue.type==="large"?Po(n,ue.size,u,v,x,P):Xo(n,a,u,v,x,P)},zi=function(n,a,u,v,x,P){var re=v.fontMetrics().axisHeight*v.sizeMultiplier,ue=901,Ve=5/v.fontMetrics().ptPerEm,lt=Math.max(a-re,u+re),St=Math.max(lt/500*ue,2*lt-Ve);return Ti(n,St,!0,v,x,P)},Ua={sqrtImage:uo,sizedDelim:co,sizeToMaxHeight:ei,customSizedDelim:Ti,leftRightDelim:zi},Za={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},$o=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function xi(l,n){var a=wi(l);if(a&&N.contains($o,a.text))return a;throw a?new Xe("Invalid delimiter '"+a.text+"' after '"+n.funcName+"'",l):new Xe("Invalid delimiter type '"+l.type+"'",l)}wn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(l,n)=>{var a=xi(n[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Za[l.funcName].size,mclass:Za[l.funcName].mclass,delim:a.text}},htmlBuilder:(l,n)=>l.delim==="."?vt.makeSpan([l.mclass]):Ua.sizedDelim(l.delim,l.size,n,l.mode,[l.mclass]),mathmlBuilder:l=>{var n=[];l.delim!=="."&&n.push(Wa(l.delim,l.mode));var a=new ln.MathNode("mo",n);l.mclass==="mopen"||l.mclass==="mclose"?a.setAttribute("fence","true"):a.setAttribute("fence","false"),a.setAttribute("stretchy","true");var u=Tt(Ua.sizeToMaxHeight[l.size]);return a.setAttribute("minsize",u),a.setAttribute("maxsize",u),a}});function R(l){if(!l.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}wn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var a=l.parser.gullet.macros.get("\\current@color");if(a&&typeof a!="string")throw new Xe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:xi(n[0],l).text,color:a}}}),wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var a=xi(n[0],l),u=l.parser;++u.leftrightDepth;var v=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var x=Tr(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:v,left:a.text,right:x.delim,rightColor:x.color}},htmlBuilder:(l,n)=>{R(l);for(var a=fa(l.body,n,!0,["mopen","mclose"]),u=0,v=0,x=!1,P=0;P{R(l);var a=$a(l.body,n);if(l.left!=="."){var u=new ln.MathNode("mo",[Wa(l.left,l.mode)]);u.setAttribute("fence","true"),a.unshift(u)}if(l.right!=="."){var v=new ln.MathNode("mo",[Wa(l.right,l.mode)]);v.setAttribute("fence","true"),l.rightColor&&v.setAttribute("mathcolor",l.rightColor),a.push(v)}return qi(a)}}),wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var a=xi(n[0],l);if(!l.parser.leftrightDepth)throw new Xe("\\middle without preceding \\left",a);return{type:"middle",mode:l.parser.mode,delim:a.text}},htmlBuilder:(l,n)=>{var a;if(l.delim===".")a=_i(n,[]);else{a=Ua.sizedDelim(l.delim,1,n,l.mode,[]);var u={delim:l.delim,options:n};a.isMiddle=u}return a},mathmlBuilder:(l,n)=>{var a=l.delim==="\\vert"||l.delim==="|"?Wa("|","text"):Wa(l.delim,l.mode),u=new ln.MathNode("mo",[a]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var L=(l,n)=>{var a=vt.wrapFragment(Pr(l.body,n),n),u=l.label.slice(1),v=n.sizeMultiplier,x,P=0,re=N.isCharacterBox(l.body);if(u==="sout")x=vt.makeSpan(["stretchy","sout"]),x.height=n.fontMetrics().defaultRuleThickness/v,P=-.5*n.fontMetrics().xHeight;else if(u==="phase"){var ue=qt({number:.6,unit:"pt"},n),Ve=qt({number:.35,unit:"ex"},n),lt=n.havingBaseSizing();v=v/lt.sizeMultiplier;var St=a.height+a.depth+ue+Ve;a.style.paddingLeft=Tt(St/2+ue);var Zt=Math.floor(1e3*St*v),Wt=kn(Zt),pn=new Rt([new gn("phase",Wt)],{width:"400em",height:Tt(Zt/1e3),viewBox:"0 0 400000 "+Zt,preserveAspectRatio:"xMinYMin slice"});x=vt.makeSvgSpan(["hide-tail"],[pn],n),x.style.height=Tt(St),P=a.depth+ue+Ve}else{/cancel/.test(u)?re||a.classes.push("cancel-pad"):u==="angl"?a.classes.push("anglpad"):a.classes.push("boxpad");var In=0,$n=0,Fn=0;/box/.test(u)?(Fn=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),In=n.fontMetrics().fboxsep+(u==="colorbox"?0:Fn),$n=In):u==="angl"?(Fn=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),In=4*Fn,$n=Math.max(0,.25-a.depth)):(In=re?.2:0,$n=In),x=Va.encloseSpan(a,u,In,$n,n),/fbox|boxed|fcolorbox/.test(u)?(x.style.borderStyle="solid",x.style.borderWidth=Tt(Fn)):u==="angl"&&Fn!==.049&&(x.style.borderTopWidth=Tt(Fn),x.style.borderRightWidth=Tt(Fn)),P=a.depth+$n,l.backgroundColor&&(x.style.backgroundColor=l.backgroundColor,l.borderColor&&(x.style.borderColor=l.borderColor))}var mr;if(l.backgroundColor)mr=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:x,shift:P},{type:"elem",elem:a,shift:0}]},n);else{var kr=/cancel|phase/.test(u)?["svg-align"]:[];mr=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:x,shift:P,wrapperClasses:kr}]},n)}return/cancel/.test(u)&&(mr.height=a.height,mr.depth=a.depth),/cancel/.test(u)&&!re?vt.makeSpan(["mord","cancel-lap"],[mr],n):vt.makeSpan(["mord"],[mr],n)},ae=(l,n)=>{var a=0,u=new ln.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Qr(l.body,n)]);switch(l.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(a=n.fontMetrics().fboxsep*n.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*a+"pt"),u.setAttribute("height","+"+2*a+"pt"),u.setAttribute("lspace",a+"pt"),u.setAttribute("voffset",a+"pt"),l.label==="\\fcolorbox"){var v=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness);u.setAttribute("style","border: "+v+"em solid "+String(l.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&u.setAttribute("mathbackground",l.backgroundColor),u};wn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(l,n,a){var{parser:u,funcName:v}=l,x=Tr(n[0],"color-token").color,P=n[1];return{type:"enclose",mode:u.mode,label:v,backgroundColor:x,body:P}},htmlBuilder:L,mathmlBuilder:ae}),wn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(l,n,a){var{parser:u,funcName:v}=l,x=Tr(n[0],"color-token").color,P=Tr(n[1],"color-token").color,re=n[2];return{type:"enclose",mode:u.mode,label:v,backgroundColor:P,borderColor:x,body:re}},htmlBuilder:L,mathmlBuilder:ae}),wn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(l,n){var{parser:a}=l;return{type:"enclose",mode:a.mode,label:"\\fbox",body:n[0]}}}),wn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];return{type:"enclose",mode:a.mode,label:u,body:v}},htmlBuilder:L,mathmlBuilder:ae}),wn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(l,n){var{parser:a}=l;return{type:"enclose",mode:a.mode,label:"\\angl",body:n[0]}}});var me={};function xe(l){for(var{type:n,names:a,props:u,handler:v,htmlBuilder:x,mathmlBuilder:P}=l,re={type:n,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:v},ue=0;ue{var n=l.parser.settings;if(!n.displayMode)throw new Xe("{"+l.envName+"} can be used only in display mode.")};function ft(l){if(l.indexOf("ed")===-1)return l.indexOf("*")===-1}function Ct(l,n,a){var{hskipBeforeAndAfter:u,addJot:v,cols:x,arraystretch:P,colSeparationType:re,autoTag:ue,singleRow:Ve,emptySingleRow:lt,maxNumCols:St,leqno:Zt}=n;if(l.gullet.beginGroup(),Ve||l.gullet.macros.set("\\cr","\\\\\\relax"),!P){var Wt=l.gullet.expandMacroAsText("\\arraystretch");if(Wt==null)P=1;else if(P=parseFloat(Wt),!P||P<0)throw new Xe("Invalid \\arraystretch: "+Wt)}l.gullet.beginGroup();var pn=[],In=[pn],$n=[],Fn=[],mr=ue!=null?[]:void 0;function kr(){ue&&l.gullet.macros.set("\\@eqnsw","1",!0)}function ia(){mr&&(l.gullet.macros.get("\\df@tag")?(mr.push(l.subparse([new ct("\\df@tag")])),l.gullet.macros.set("\\df@tag",void 0,!0)):mr.push(!!ue&&l.gullet.macros.get("\\@eqnsw")==="1"))}for(kr(),Fn.push(et(l));;){var Ur=l.parseExpression(!1,Ve?"\\end":"\\\\");l.gullet.endGroup(),l.gullet.beginGroup(),Ur={type:"ordgroup",mode:l.mode,body:Ur},a&&(Ur={type:"styling",mode:l.mode,style:a,body:[Ur]}),pn.push(Ur);var da=l.fetch().text;if(da==="&"){if(St&&pn.length===St){if(Ve||re)throw new Xe("Too many tab characters: &",l.nextToken);l.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}l.consume()}else if(da==="\\end"){ia(),pn.length===1&&Ur.type==="styling"&&Ur.body[0].body.length===0&&(In.length>1||!lt)&&In.pop(),Fn.length0&&(kr+=.25),Ve.push({pos:kr,isDashed:ls[us]})}for(ia(P[0]),u=0;u0&&(ja+=mr,oals))for(u=0;u=re)){var ci=void 0;(v>0||n.hskipBeforeAndAfter)&&(ci=N.deflt(li.pregap,Zt),ci!==0&&(bi=vt.makeSpan(["arraycolsep"],[]),bi.style.width=Tt(ci),Qa.push(bi)));var di=[];for(u=0;u0){for(var os=vt.makeLineSpan("hline",a,lt),ss=vt.makeLineSpan("hdashline",a,lt),ds=[{type:"elem",elem:ue,shift:0}];Ve.length>0;){var hs=Ve.pop(),gs=hs.pos-Da;hs.isDashed?ds.push({type:"elem",elem:ss,shift:gs}):ds.push({type:"elem",elem:os,shift:gs})}ue=vt.makeVList({positionType:"individualShift",children:ds},a)}if(Uo.length===0)return vt.makeSpan(["mord"],[ue],a);var ps=vt.makeVList({positionType:"individualShift",children:Uo},a);return ps=vt.makeSpan(["tag"],[ps],a),vt.makeFragment([ue,ps])},Ut={c:"center ",l:"left ",r:"right "},Ft=function(n,a){for(var u=[],v=new ln.MathNode("mtd",[],["mtr-glue"]),x=new ln.MathNode("mtd",[],["mml-eqn-num"]),P=0;P0){var pn=n.cols,In="",$n=!1,Fn=0,mr=pn.length;pn[0].type==="separator"&&(Zt+="top ",Fn=1),pn[pn.length-1].type==="separator"&&(Zt+="bottom ",mr-=1);for(var kr=Fn;kr0?"left ":"",Zt+=wa[wa.length-1].length>0?"right ":"";for(var ga=1;ga-1?"alignat":"align",x=n.envName==="split",P=Ct(n.parser,{cols:u,addJot:!0,autoTag:x?void 0:ft(n.envName),emptySingleRow:!0,colSeparationType:v,maxNumCols:x?2:void 0,leqno:n.parser.settings.leqno},"display"),re,ue=0,Ve={type:"ordgroup",mode:n.mode,body:[]};if(a[0]&&a[0].type==="ordgroup"){for(var lt="",St=0;St0&&Wt&&($n=1),u[pn]={type:"align",align:In,pregap:$n,postgap:0}}return P.colSeparationType=Wt?"align":"alignat",P};xe({type:"array",names:["array","darray"],props:{numArgs:1},handler(l,n){var a=wi(n[0]),u=a?[n[0]]:Tr(n[0],"ordgroup").body,v=u.map(function(P){var re=Eo(P),ue=re.text;if("lcr".indexOf(ue)!==-1)return{type:"align",align:ue};if(ue==="|")return{type:"separator",separator:"|"};if(ue===":")return{type:"separator",separator:":"};throw new Xe("Unknown column alignment: "+ue,P)}),x={cols:v,hskipBeforeAndAfter:!0,maxNumCols:v.length};return Ct(l.parser,x,bt(l.envName))},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(l){var n={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[l.envName.replace("*","")],a="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:a}]};if(l.envName.charAt(l.envName.length-1)==="*"){var v=l.parser;if(v.consumeSpaces(),v.fetch().text==="["){if(v.consume(),v.consumeSpaces(),a=v.fetch().text,"lcr".indexOf(a)===-1)throw new Xe("Expected l or c or r",v.nextToken);v.consume(),v.consumeSpaces(),v.expect("]"),v.consume(),u.cols=[{type:"align",align:a}]}}var x=Ct(l.parser,u,bt(l.envName)),P=Math.max(0,...x.body.map(re=>re.length));return x.cols=new Array(P).fill({type:"align",align:a}),n?{type:"leftright",mode:l.mode,body:[x],left:n[0],right:n[1],rightColor:void 0}:x},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(l){var n={arraystretch:.5},a=Ct(l.parser,n,"script");return a.colSeparationType="small",a},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["subarray"],props:{numArgs:1},handler(l,n){var a=wi(n[0]),u=a?[n[0]]:Tr(n[0],"ordgroup").body,v=u.map(function(P){var re=Eo(P),ue=re.text;if("lc".indexOf(ue)!==-1)return{type:"align",align:ue};throw new Xe("Unknown column alignment: "+ue,P)});if(v.length>1)throw new Xe("{subarray} can contain only one column");var x={cols:v,hskipBeforeAndAfter:!1,arraystretch:.5};if(x=Ct(l.parser,x,"script"),x.body.length>0&&x.body[0].length>1)throw new Xe("{subarray} can contain only one column");return x},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(l){var n={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},a=Ct(l.parser,n,bt(l.envName));return{type:"leftright",mode:l.mode,body:[a],left:l.envName.indexOf("r")>-1?".":"\\{",right:l.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:o,htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(l){N.contains(["gather","gather*"],l.envName)&&Ye(l);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ft(l.envName),emptySingleRow:!0,leqno:l.parser.settings.leqno};return Ct(l.parser,n,"display")},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:o,htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(l){Ye(l);var n={autoTag:ft(l.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:l.parser.settings.leqno};return Ct(l.parser,n,"display")},htmlBuilder:$t,mathmlBuilder:Ft}),xe({type:"array",names:["CD"],props:{numArgs:0},handler(l){return Ye(l),ns(l.parser)},htmlBuilder:$t,mathmlBuilder:Ft}),w("\\nonumber","\\gdef\\@eqnsw{0}"),w("\\notag","\\nonumber"),wn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(l,n){throw new Xe(l.funcName+" valid only within array environment")}});var d=me;wn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];if(v.type!=="ordgroup")throw new Xe("Invalid environment name",v);for(var x="",P=0;P{var a=l.font,u=n.withFont(a);return Pr(l.body,u)},E=(l,n)=>{var a=l.font,u=n.withFont(a);return Qr(l.body,u)},I={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};wn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=Yi(n[0]),x=u;return x in I&&(x=I[x]),{type:"font",mode:a.mode,font:x.slice(1),body:v}},htmlBuilder:m,mathmlBuilder:E}),wn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(l,n)=>{var{parser:a}=l,u=n[0],v=N.isCharacterBox(u);return{type:"mclass",mode:a.mode,mclass:no(u),body:[{type:"font",mode:a.mode,font:"boldsymbol",body:u}],isCharacterBox:v}}}),wn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(l,n)=>{var{parser:a,funcName:u,breakOnTokenText:v}=l,{mode:x}=a,P=a.parseExpression(!0,v),re="math"+u.slice(1);return{type:"font",mode:x,font:re,body:{type:"ordgroup",mode:a.mode,body:P}}},htmlBuilder:m,mathmlBuilder:E});var k=(l,n)=>{var a=n;return l==="display"?a=a.id>=tt.SCRIPT.id?a.text():tt.DISPLAY:l==="text"&&a.size===tt.DISPLAY.size?a=tt.TEXT:l==="script"?a=tt.SCRIPT:l==="scriptscript"&&(a=tt.SCRIPTSCRIPT),a},M=(l,n)=>{var a=k(l.size,n.style),u=a.fracNum(),v=a.fracDen(),x;x=n.havingStyle(u);var P=Pr(l.numer,x,n);if(l.continued){var re=8.5/n.fontMetrics().ptPerEm,ue=3.5/n.fontMetrics().ptPerEm;P.height=P.height0?pn=3*Zt:pn=7*Zt,In=n.fontMetrics().denom1):(St>0?(Wt=n.fontMetrics().num2,pn=Zt):(Wt=n.fontMetrics().num3,pn=3*Zt),In=n.fontMetrics().denom2);var $n;if(lt){var mr=n.fontMetrics().axisHeight;Wt-P.depth-(mr+.5*St){var a=new ln.MathNode("mfrac",[Qr(l.numer,n),Qr(l.denom,n)]);if(!l.hasBarLine)a.setAttribute("linethickness","0px");else if(l.barSize){var u=qt(l.barSize,n);a.setAttribute("linethickness",Tt(u))}var v=k(l.size,n.style);if(v.size!==n.style.size){a=new ln.MathNode("mstyle",[a]);var x=v.size===tt.DISPLAY.size?"true":"false";a.setAttribute("displaystyle",x),a.setAttribute("scriptlevel","0")}if(l.leftDelim!=null||l.rightDelim!=null){var P=[];if(l.leftDelim!=null){var re=new ln.MathNode("mo",[new ln.TextNode(l.leftDelim.replace("\\",""))]);re.setAttribute("fence","true"),P.push(re)}if(P.push(a),l.rightDelim!=null){var ue=new ln.MathNode("mo",[new ln.TextNode(l.rightDelim.replace("\\",""))]);ue.setAttribute("fence","true"),P.push(ue)}return qi(P)}return a};wn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0],x=n[1],P,re=null,ue=null,Ve="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":P=!0;break;case"\\\\atopfrac":P=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":P=!1,re="(",ue=")";break;case"\\\\bracefrac":P=!1,re="\\{",ue="\\}";break;case"\\\\brackfrac":P=!1,re="[",ue="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":Ve="display";break;case"\\tfrac":case"\\tbinom":Ve="text";break}return{type:"genfrac",mode:a.mode,continued:!1,numer:v,denom:x,hasBarLine:P,leftDelim:re,rightDelim:ue,size:Ve,barSize:null}},htmlBuilder:M,mathmlBuilder:q}),wn({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0],x=n[1];return{type:"genfrac",mode:a.mode,continued:!0,numer:v,denom:x,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),wn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(l){var{parser:n,funcName:a,token:u}=l,v;switch(a){case"\\over":v="\\frac";break;case"\\choose":v="\\binom";break;case"\\atop":v="\\\\atopfrac";break;case"\\brace":v="\\\\bracefrac";break;case"\\brack":v="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:v,token:u}}});var Be=["display","text","script","scriptscript"],Me=function(n){var a=null;return n.length>0&&(a=n,a=a==="."?null:a),a};wn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(l,n){var{parser:a}=l,u=n[4],v=n[5],x=Yi(n[0]),P=x.type==="atom"&&x.family==="open"?Me(x.text):null,re=Yi(n[1]),ue=re.type==="atom"&&re.family==="close"?Me(re.text):null,Ve=Tr(n[2],"size"),lt,St=null;Ve.isBlank?lt=!0:(St=Ve.value,lt=St.number>0);var Zt="auto",Wt=n[3];if(Wt.type==="ordgroup"){if(Wt.body.length>0){var pn=Tr(Wt.body[0],"textord");Zt=Be[Number(pn.text)]}}else Wt=Tr(Wt,"textord"),Zt=Be[Number(Wt.text)];return{type:"genfrac",mode:a.mode,numer:u,denom:v,continued:!1,hasBarLine:lt,barSize:St,leftDelim:P,rightDelim:ue,size:Zt}},htmlBuilder:M,mathmlBuilder:q}),wn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(l,n){var{parser:a,funcName:u,token:v}=l;return{type:"infix",mode:a.mode,replaceWith:"\\\\abovefrac",size:Tr(n[0],"size").value,token:v}}}),wn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0],x=_e(Tr(n[1],"infix").size),P=n[2],re=x.number>0;return{type:"genfrac",mode:a.mode,numer:v,denom:P,continued:!1,hasBarLine:re,barSize:x,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:M,mathmlBuilder:q});var de=(l,n)=>{var a=n.style,u,v;l.type==="supsub"?(u=l.sup?Pr(l.sup,n.havingStyle(a.sup()),n):Pr(l.sub,n.havingStyle(a.sub()),n),v=Tr(l.base,"horizBrace")):v=Tr(l,"horizBrace");var x=Pr(v.base,n.havingBaseStyle(tt.DISPLAY)),P=Va.svgSpan(v,n),re;if(v.isOver?(re=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:x},{type:"kern",size:.1},{type:"elem",elem:P}]},n),re.children[0].children[0].children[1].classes.push("svg-align")):(re=vt.makeVList({positionType:"bottom",positionData:x.depth+.1+P.height,children:[{type:"elem",elem:P},{type:"kern",size:.1},{type:"elem",elem:x}]},n),re.children[0].children[0].children[0].classes.push("svg-align")),u){var ue=vt.makeSpan(["mord",v.isOver?"mover":"munder"],[re],n);v.isOver?re=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ue},{type:"kern",size:.2},{type:"elem",elem:u}]},n):re=vt.makeVList({positionType:"bottom",positionData:ue.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:ue}]},n)}return vt.makeSpan(["mord",v.isOver?"mover":"munder"],[re],n)},Ue=(l,n)=>{var a=Va.mathMLnode(l.label);return new ln.MathNode(l.isOver?"mover":"munder",[Qr(l.base,n),a])};wn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(l,n){var{parser:a,funcName:u}=l;return{type:"horizBrace",mode:a.mode,label:u,isOver:/^\\over/.test(u),base:n[0]}},htmlBuilder:de,mathmlBuilder:Ue}),wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[1],v=Tr(n[0],"url").url;return a.settings.isTrusted({command:"\\href",url:v})?{type:"href",mode:a.mode,href:v,body:Zr(u)}:a.formatUnsupportedCmd("\\href")},htmlBuilder:(l,n)=>{var a=fa(l.body,n,!1);return vt.makeAnchor(l.href,[],a,n)},mathmlBuilder:(l,n)=>{var a=Pa(l.body,n);return a instanceof Oa||(a=new Oa("mrow",[a])),a.setAttribute("href",l.href),a}}),wn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=Tr(n[0],"url").url;if(!a.settings.isTrusted({command:"\\url",url:u}))return a.formatUnsupportedCmd("\\url");for(var v=[],x=0;x{var{parser:a,funcName:u,token:v}=l,x=Tr(n[0],"raw").string,P=n[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var re,ue={};switch(u){case"\\htmlClass":ue.class=x,re={command:"\\htmlClass",class:x};break;case"\\htmlId":ue.id=x,re={command:"\\htmlId",id:x};break;case"\\htmlStyle":ue.style=x,re={command:"\\htmlStyle",style:x};break;case"\\htmlData":{for(var Ve=x.split(","),lt=0;lt{var a=fa(l.body,n,!1),u=["enclosing"];l.attributes.class&&u.push(...l.attributes.class.trim().split(/\s+/));var v=vt.makeSpan(u,a,n);for(var x in l.attributes)x!=="class"&&l.attributes.hasOwnProperty(x)&&v.setAttribute(x,l.attributes[x]);return v},mathmlBuilder:(l,n)=>Pa(l.body,n)}),wn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l;return{type:"htmlmathml",mode:a.mode,html:Zr(n[0]),mathml:Zr(n[1])}},htmlBuilder:(l,n)=>{var a=fa(l.html,n,!1);return vt.makeFragment(a)},mathmlBuilder:(l,n)=>Pa(l.mathml,n)});var De=function(n){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(n))return{number:+n,unit:"bp"};var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n);if(!a)throw new Xe("Invalid size: '"+n+"' in \\includegraphics");var u={number:+(a[1]+a[2]),unit:a[3]};if(!Qt(u))throw new Xe("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};wn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(l,n,a)=>{var{parser:u}=l,v={number:0,unit:"em"},x={number:.9,unit:"em"},P={number:0,unit:"em"},re="";if(a[0])for(var ue=Tr(a[0],"raw").string,Ve=ue.split(","),lt=0;lt{var a=qt(l.height,n),u=0;l.totalheight.number>0&&(u=qt(l.totalheight,n)-a);var v=0;l.width.number>0&&(v=qt(l.width,n));var x={height:Tt(a+u)};v>0&&(x.width=Tt(v)),u>0&&(x.verticalAlign=Tt(-u));var P=new Dt(l.src,l.alt,x);return P.height=a,P.depth=u,P},mathmlBuilder:(l,n)=>{var a=new ln.MathNode("mglyph",[]);a.setAttribute("alt",l.alt);var u=qt(l.height,n),v=0;if(l.totalheight.number>0&&(v=qt(l.totalheight,n)-u,a.setAttribute("valign",Tt(-v))),a.setAttribute("height",Tt(u+v)),l.width.number>0){var x=qt(l.width,n);a.setAttribute("width",Tt(x))}return a.setAttribute("src",l.src),a}}),wn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(l,n){var{parser:a,funcName:u}=l,v=Tr(n[0],"size");if(a.settings.strict){var x=u[1]==="m",P=v.value.unit==="mu";x?(P||a.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+v.value.unit+" units")),a.mode!=="math"&&a.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):P&&a.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:a.mode,dimension:v.value}},htmlBuilder(l,n){return vt.makeGlue(l.dimension,n)},mathmlBuilder(l,n){var a=qt(l.dimension,n);return new ln.SpaceNode(a)}}),wn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0];return{type:"lap",mode:a.mode,alignment:u.slice(5),body:v}},htmlBuilder:(l,n)=>{var a;l.alignment==="clap"?(a=vt.makeSpan([],[Pr(l.body,n)]),a=vt.makeSpan(["inner"],[a],n)):a=vt.makeSpan(["inner"],[Pr(l.body,n)]);var u=vt.makeSpan(["fix"],[]),v=vt.makeSpan([l.alignment],[a,u],n),x=vt.makeSpan(["strut"]);return x.style.height=Tt(v.height+v.depth),v.depth&&(x.style.verticalAlign=Tt(-v.depth)),v.children.unshift(x),v=vt.makeSpan(["thinbox"],[v],n),vt.makeSpan(["mord","vbox"],[v],n)},mathmlBuilder:(l,n)=>{var a=new ln.MathNode("mpadded",[Qr(l.body,n)]);if(l.alignment!=="rlap"){var u=l.alignment==="llap"?"-1":"-0.5";a.setAttribute("lspace",u+"width")}return a.setAttribute("width","0px"),a}}),wn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,n){var{funcName:a,parser:u}=l,v=u.mode;u.switchMode("math");var x=a==="\\("?"\\)":"$",P=u.parseExpression(!1,x);return u.expect(x),u.switchMode(v),{type:"styling",mode:u.mode,style:"text",body:P}}}),wn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,n){throw new Xe("Mismatched "+l.funcName)}});var ge=(l,n)=>{switch(n.style.size){case tt.DISPLAY.size:return l.display;case tt.TEXT.size:return l.text;case tt.SCRIPT.size:return l.script;case tt.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};wn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(l,n)=>{var{parser:a}=l;return{type:"mathchoice",mode:a.mode,display:Zr(n[0]),text:Zr(n[1]),script:Zr(n[2]),scriptscript:Zr(n[3])}},htmlBuilder:(l,n)=>{var a=ge(l,n),u=fa(a,n,!1);return vt.makeFragment(u)},mathmlBuilder:(l,n)=>{var a=ge(l,n);return Pa(a,n)}});var Bt=(l,n,a,u,v,x,P)=>{l=vt.makeSpan([],[l]);var re=a&&N.isCharacterBox(a),ue,Ve;if(n){var lt=Pr(n,u.havingStyle(v.sup()),u);Ve={elem:lt,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-lt.depth)}}if(a){var St=Pr(a,u.havingStyle(v.sub()),u);ue={elem:St,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-St.height)}}var Zt;if(Ve&&ue){var Wt=u.fontMetrics().bigOpSpacing5+ue.elem.height+ue.elem.depth+ue.kern+l.depth+P;Zt=vt.makeVList({positionType:"bottom",positionData:Wt,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:ue.elem,marginLeft:Tt(-x)},{type:"kern",size:ue.kern},{type:"elem",elem:l},{type:"kern",size:Ve.kern},{type:"elem",elem:Ve.elem,marginLeft:Tt(x)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(ue){var pn=l.height-P;Zt=vt.makeVList({positionType:"top",positionData:pn,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:ue.elem,marginLeft:Tt(-x)},{type:"kern",size:ue.kern},{type:"elem",elem:l}]},u)}else if(Ve){var In=l.depth+P;Zt=vt.makeVList({positionType:"bottom",positionData:In,children:[{type:"elem",elem:l},{type:"kern",size:Ve.kern},{type:"elem",elem:Ve.elem,marginLeft:Tt(x)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return l;var $n=[Zt];if(ue&&x!==0&&!re){var Fn=vt.makeSpan(["mspace"],[],u);Fn.style.marginRight=Tt(x),$n.unshift(Fn)}return vt.makeSpan(["mop","op-limits"],$n,u)},en=["\\smallint"],bn=(l,n)=>{var a,u,v=!1,x;l.type==="supsub"?(a=l.sup,u=l.sub,x=Tr(l.base,"op"),v=!0):x=Tr(l,"op");var P=n.style,re=!1;P.size===tt.DISPLAY.size&&x.symbol&&!N.contains(en,x.name)&&(re=!0);var ue;if(x.symbol){var Ve=re?"Size2-Regular":"Size1-Regular",lt="";if((x.name==="\\oiint"||x.name==="\\oiiint")&&(lt=x.name.slice(1),x.name=lt==="oiint"?"\\iint":"\\iiint"),ue=vt.makeSymbol(x.name,Ve,"math",n,["mop","op-symbol",re?"large-op":"small-op"]),lt.length>0){var St=ue.italic,Zt=vt.staticSvg(lt+"Size"+(re?"2":"1"),n);ue=vt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ue,shift:0},{type:"elem",elem:Zt,shift:re?.08:0}]},n),x.name="\\"+lt,ue.classes.unshift("mop"),ue.italic=St}}else if(x.body){var Wt=fa(x.body,n,!0);Wt.length===1&&Wt[0]instanceof kt?(ue=Wt[0],ue.classes[0]="mop"):ue=vt.makeSpan(["mop"],Wt,n)}else{for(var pn=[],In=1;In{var a;if(l.symbol)a=new Oa("mo",[Wa(l.name,l.mode)]),N.contains(en,l.name)&&a.setAttribute("largeop","false");else if(l.body)a=new Oa("mo",$a(l.body,n));else{a=new Oa("mi",[new za(l.name.slice(1))]);var u=new Oa("mo",[Wa("\u2061","text")]);l.parentIsSupSub?a=new Oa("mrow",[a,u]):a=Ro([a,u])}return a},rn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};wn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=u;return v.length===1&&(v=rn[v]),{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:v}},htmlBuilder:bn,mathmlBuilder:Gt}),wn({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Zr(u)}},htmlBuilder:bn,mathmlBuilder:Gt});var on={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};wn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(l){var{parser:n,funcName:a}=l;return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:a}},htmlBuilder:bn,mathmlBuilder:Gt}),wn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(l){var{parser:n,funcName:a}=l;return{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:a}},htmlBuilder:bn,mathmlBuilder:Gt}),wn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(l){var{parser:n,funcName:a}=l,u=a;return u.length===1&&(u=on[u]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:bn,mathmlBuilder:Gt});var Dn=(l,n)=>{var a,u,v=!1,x;l.type==="supsub"?(a=l.sup,u=l.sub,x=Tr(l.base,"operatorname"),v=!0):x=Tr(l,"operatorname");var P;if(x.body.length>0){for(var re=x.body.map(St=>{var Zt=St.text;return typeof Zt=="string"?{type:"textord",mode:St.mode,text:Zt}:St}),ue=fa(re,n.withFont("mathrm"),!0),Ve=0;Ve{for(var a=$a(l.body,n.withFont("mathrm")),u=!0,v=0;vlt.toText()).join("");a=[new ln.TextNode(re)]}var ue=new ln.MathNode("mi",a);ue.setAttribute("mathvariant","normal");var Ve=new ln.MathNode("mo",[Wa("\u2061","text")]);return l.parentIsSupSub?new ln.MathNode("mrow",[ue,Ve]):ln.newDocumentFragment([ue,Ve])};wn({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(l,n)=>{var{parser:a,funcName:u}=l,v=n[0];return{type:"operatorname",mode:a.mode,body:Zr(v),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Dn,mathmlBuilder:Xn}),w("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ni({type:"ordgroup",htmlBuilder(l,n){return l.semisimple?vt.makeFragment(fa(l.body,n,!1)):vt.makeSpan(["mord"],fa(l.body,n,!0),n)},mathmlBuilder(l,n){return Pa(l.body,n,!0)}}),wn({type:"overline",names:["\\overline"],props:{numArgs:1},handler(l,n){var{parser:a}=l,u=n[0];return{type:"overline",mode:a.mode,body:u}},htmlBuilder(l,n){var a=Pr(l.body,n.havingCrampedStyle()),u=vt.makeLineSpan("overline-line",n),v=n.fontMetrics().defaultRuleThickness,x=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:3*v},{type:"elem",elem:u},{type:"kern",size:v}]},n);return vt.makeSpan(["mord","overline"],[x],n)},mathmlBuilder(l,n){var a=new ln.MathNode("mo",[new ln.TextNode("\u203E")]);a.setAttribute("stretchy","true");var u=new ln.MathNode("mover",[Qr(l.body,n),a]);return u.setAttribute("accent","true"),u}}),wn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"phantom",mode:a.mode,body:Zr(u)}},htmlBuilder:(l,n)=>{var a=fa(l.body,n.withPhantom(),!1);return vt.makeFragment(a)},mathmlBuilder:(l,n)=>{var a=$a(l.body,n);return new ln.MathNode("mphantom",a)}}),wn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"hphantom",mode:a.mode,body:u}},htmlBuilder:(l,n)=>{var a=vt.makeSpan([],[Pr(l.body,n.withPhantom())]);if(a.height=0,a.depth=0,a.children)for(var u=0;u{var a=$a(Zr(l.body),n),u=new ln.MathNode("mphantom",a),v=new ln.MathNode("mpadded",[u]);return v.setAttribute("height","0px"),v.setAttribute("depth","0px"),v}}),wn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,n)=>{var{parser:a}=l,u=n[0];return{type:"vphantom",mode:a.mode,body:u}},htmlBuilder:(l,n)=>{var a=vt.makeSpan(["inner"],[Pr(l.body,n.withPhantom())]),u=vt.makeSpan(["fix"],[]);return vt.makeSpan(["mord","rlap"],[a,u],n)},mathmlBuilder:(l,n)=>{var a=$a(Zr(l.body),n),u=new ln.MathNode("mphantom",a),v=new ln.MathNode("mpadded",[u]);return v.setAttribute("width","0px"),v}}),wn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(l,n){var{parser:a}=l,u=Tr(n[0],"size").value,v=n[1];return{type:"raisebox",mode:a.mode,dy:u,body:v}},htmlBuilder(l,n){var a=Pr(l.body,n),u=qt(l.dy,n);return vt.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a}]},n)},mathmlBuilder(l,n){var a=new ln.MathNode("mpadded",[Qr(l.body,n)]),u=l.dy.number+l.dy.unit;return a.setAttribute("voffset",u),a}}),wn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(l){var{parser:n}=l;return{type:"internal",mode:n.mode}}}),wn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(l,n,a){var{parser:u}=l,v=a[0],x=Tr(n[0],"size"),P=Tr(n[1],"size");return{type:"rule",mode:u.mode,shift:v&&Tr(v,"size").value,width:x.value,height:P.value}},htmlBuilder(l,n){var a=vt.makeSpan(["mord","rule"],[],n),u=qt(l.width,n),v=qt(l.height,n),x=l.shift?qt(l.shift,n):0;return a.style.borderRightWidth=Tt(u),a.style.borderTopWidth=Tt(v),a.style.bottom=Tt(x),a.width=u,a.height=v+x,a.depth=-x,a.maxFontSize=v*1.125*n.sizeMultiplier,a},mathmlBuilder(l,n){var a=qt(l.width,n),u=qt(l.height,n),v=l.shift?qt(l.shift,n):0,x=n.color&&n.getColor()||"black",P=new ln.MathNode("mspace");P.setAttribute("mathbackground",x),P.setAttribute("width",Tt(a)),P.setAttribute("height",Tt(u));var re=new ln.MathNode("mpadded",[P]);return v>=0?re.setAttribute("height",Tt(v)):(re.setAttribute("height",Tt(v)),re.setAttribute("depth",Tt(-v))),re.setAttribute("voffset",Tt(v)),re}});function Ht(l,n,a){for(var u=fa(l,n,!1),v=n.sizeMultiplier/a.sizeMultiplier,x=0;x{var a=n.havingSize(l.size);return Ht(l.body,a,n)};wn({type:"sizing",names:Qn,props:{numArgs:0,allowedInText:!0},handler:(l,n)=>{var{breakOnTokenText:a,funcName:u,parser:v}=l,x=v.parseExpression(!1,a);return{type:"sizing",mode:v.mode,size:Qn.indexOf(u)+1,body:x}},htmlBuilder:fr,mathmlBuilder:(l,n)=>{var a=n.havingSize(l.size),u=$a(l.body,a),v=new ln.MathNode("mstyle",u);return v.setAttribute("mathsize",Tt(a.sizeMultiplier)),v}}),wn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(l,n,a)=>{var{parser:u}=l,v=!1,x=!1,P=a[0]&&Tr(a[0],"ordgroup");if(P)for(var re="",ue=0;ue{var a=vt.makeSpan([],[Pr(l.body,n)]);if(!l.smashHeight&&!l.smashDepth)return a;if(l.smashHeight&&(a.height=0,a.children))for(var u=0;u{var a=new ln.MathNode("mpadded",[Qr(l.body,n)]);return l.smashHeight&&a.setAttribute("height","0px"),l.smashDepth&&a.setAttribute("depth","0px"),a}}),wn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(l,n,a){var{parser:u}=l,v=a[0],x=n[0];return{type:"sqrt",mode:u.mode,body:x,index:v}},htmlBuilder(l,n){var a=Pr(l.body,n.havingCrampedStyle());a.height===0&&(a.height=n.fontMetrics().xHeight),a=vt.wrapFragment(a,n);var u=n.fontMetrics(),v=u.defaultRuleThickness,x=v;n.style.ida.height+a.depth+P&&(P=(P+St-a.height-a.depth)/2);var Zt=ue.height-a.height-P-Ve;a.style.paddingLeft=Tt(lt);var Wt=vt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:-(a.height+Zt)},{type:"elem",elem:ue},{type:"kern",size:Ve}]},n);if(l.index){var pn=n.havingStyle(tt.SCRIPTSCRIPT),In=Pr(l.index,pn,n),$n=.6*(Wt.height-Wt.depth),Fn=vt.makeVList({positionType:"shift",positionData:-$n,children:[{type:"elem",elem:In}]},n),mr=vt.makeSpan(["root"],[Fn]);return vt.makeSpan(["mord","sqrt"],[mr,Wt],n)}else return vt.makeSpan(["mord","sqrt"],[Wt],n)},mathmlBuilder(l,n){var{body:a,index:u}=l;return u?new ln.MathNode("mroot",[Qr(a,n),Qr(u,n)]):new ln.MathNode("msqrt",[Qr(a,n)])}});var Sn={display:tt.DISPLAY,text:tt.TEXT,script:tt.SCRIPT,scriptscript:tt.SCRIPTSCRIPT};wn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l,n){var{breakOnTokenText:a,funcName:u,parser:v}=l,x=v.parseExpression(!0,a),P=u.slice(1,u.length-5);return{type:"styling",mode:v.mode,style:P,body:x}},htmlBuilder(l,n){var a=Sn[l.style],u=n.havingStyle(a).withFont("");return Ht(l.body,u,n)},mathmlBuilder(l,n){var a=Sn[l.style],u=n.havingStyle(a),v=$a(l.body,u),x=new ln.MathNode("mstyle",v),P={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},re=P[l.style];return x.setAttribute("scriptlevel",re[0]),x.setAttribute("displaystyle",re[1]),x}});var cr=function(n,a){var u=n.base;if(u)if(u.type==="op"){var v=u.limits&&(a.style.size===tt.DISPLAY.size||u.alwaysHandleSupSub);return v?bn:null}else if(u.type==="operatorname"){var x=u.alwaysHandleSupSub&&(a.style.size===tt.DISPLAY.size||u.limits);return x?Dn:null}else{if(u.type==="accent")return N.isCharacterBox(u.base)?Ji:null;if(u.type==="horizBrace"){var P=!n.sub;return P===u.isOver?de:null}else return null}else return null};ni({type:"supsub",htmlBuilder(l,n){var a=cr(l,n);if(a)return a(l,n);var{base:u,sup:v,sub:x}=l,P=Pr(u,n),re,ue,Ve=n.fontMetrics(),lt=0,St=0,Zt=u&&N.isCharacterBox(u);if(v){var Wt=n.havingStyle(n.style.sup());re=Pr(v,Wt,n),Zt||(lt=P.height-Wt.fontMetrics().supDrop*Wt.sizeMultiplier/n.sizeMultiplier)}if(x){var pn=n.havingStyle(n.style.sub());ue=Pr(x,pn,n),Zt||(St=P.depth+pn.fontMetrics().subDrop*pn.sizeMultiplier/n.sizeMultiplier)}var In;n.style===tt.DISPLAY?In=Ve.sup1:n.style.cramped?In=Ve.sup3:In=Ve.sup2;var $n=n.sizeMultiplier,Fn=Tt(.5/Ve.ptPerEm/$n),mr=null;if(ue){var kr=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(P instanceof kt||kr)&&(mr=Tt(-P.italic))}var ia;if(re&&ue){lt=Math.max(lt,In,re.depth+.25*Ve.xHeight),St=Math.max(St,Ve.sub2);var Ur=Ve.defaultRuleThickness,da=4*Ur;if(lt-re.depth-(ue.height-St)0&&(lt+=oa,St-=oa)}var wa=[{type:"elem",elem:ue,shift:St,marginRight:Fn,marginLeft:mr},{type:"elem",elem:re,shift:-lt,marginRight:Fn}];ia=vt.makeVList({positionType:"individualShift",children:wa},n)}else if(ue){St=Math.max(St,Ve.sub1,ue.height-.8*Ve.xHeight);var ga=[{type:"elem",elem:ue,marginLeft:mr,marginRight:Fn}];ia=vt.makeVList({positionType:"shift",positionData:St,children:ga},n)}else if(re)lt=Math.max(lt,In,re.depth+.25*Ve.xHeight),ia=vt.makeVList({positionType:"shift",positionData:-lt,children:[{type:"elem",elem:re,marginRight:Fn}]},n);else throw new Error("supsub must have either sup or sub.");var gi=ai(P,"right")||"mord";return vt.makeSpan([gi],[P,vt.makeSpan(["msupsub"],[ia])],n)},mathmlBuilder(l,n){var a=!1,u,v;l.base&&l.base.type==="horizBrace"&&(v=!!l.sup,v===l.base.isOver&&(a=!0,u=l.base.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);var x=[Qr(l.base,n)];l.sub&&x.push(Qr(l.sub,n)),l.sup&&x.push(Qr(l.sup,n));var P;if(a)P=u?"mover":"munder";else if(l.sub)if(l.sup){var Ve=l.base;Ve&&Ve.type==="op"&&Ve.limits&&n.style===tt.DISPLAY||Ve&&Ve.type==="operatorname"&&Ve.alwaysHandleSupSub&&(n.style===tt.DISPLAY||Ve.limits)?P="munderover":P="msubsup"}else{var ue=l.base;ue&&ue.type==="op"&&ue.limits&&(n.style===tt.DISPLAY||ue.alwaysHandleSupSub)||ue&&ue.type==="operatorname"&&ue.alwaysHandleSupSub&&(ue.limits||n.style===tt.DISPLAY)?P="munder":P="msub"}else{var re=l.base;re&&re.type==="op"&&re.limits&&(n.style===tt.DISPLAY||re.alwaysHandleSupSub)||re&&re.type==="operatorname"&&re.alwaysHandleSupSub&&(re.limits||n.style===tt.DISPLAY)?P="mover":P="msup"}return new ln.MathNode(P,x)}}),ni({type:"atom",htmlBuilder(l,n){return vt.mathsym(l.text,l.mode,n,["m"+l.family])},mathmlBuilder(l,n){var a=new ln.MathNode("mo",[Wa(l.text,l.mode)]);if(l.family==="bin"){var u=Pi(l,n);u==="bold-italic"&&a.setAttribute("mathvariant",u)}else l.family==="punct"?a.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&a.setAttribute("stretchy","false");return a}});var er={mi:"italic",mn:"normal",mtext:"normal"};ni({type:"mathord",htmlBuilder(l,n){return vt.makeOrd(l,n,"mathord")},mathmlBuilder(l,n){var a=new ln.MathNode("mi",[Wa(l.text,l.mode,n)]),u=Pi(l,n)||"italic";return u!==er[a.type]&&a.setAttribute("mathvariant",u),a}}),ni({type:"textord",htmlBuilder(l,n){return vt.makeOrd(l,n,"textord")},mathmlBuilder(l,n){var a=Wa(l.text,l.mode,n),u=Pi(l,n)||"normal",v;return l.mode==="text"?v=new ln.MathNode("mtext",[a]):/[0-9]/.test(l.text)?v=new ln.MathNode("mn",[a]):l.text==="\\prime"?v=new ln.MathNode("mo",[a]):v=new ln.MathNode("mi",[a]),u!==er[v.type]&&v.setAttribute("mathvariant",u),v}});var qn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Tn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ni({type:"spacing",htmlBuilder(l,n){if(Tn.hasOwnProperty(l.text)){var a=Tn[l.text].className||"";if(l.mode==="text"){var u=vt.makeOrd(l,n,"textord");return u.classes.push(a),u}else return vt.makeSpan(["mspace",a],[vt.mathsym(l.text,l.mode,n)],n)}else{if(qn.hasOwnProperty(l.text))return vt.makeSpan(["mspace",qn[l.text]],[],n);throw new Xe('Unknown type of space "'+l.text+'"')}},mathmlBuilder(l,n){var a;if(Tn.hasOwnProperty(l.text))a=new ln.MathNode("mtext",[new ln.TextNode("\xA0")]);else{if(qn.hasOwnProperty(l.text))return new ln.MathNode("mspace");throw new Xe('Unknown type of space "'+l.text+'"')}return a}});var jn=()=>{var l=new ln.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};ni({type:"tag",mathmlBuilder(l,n){var a=new ln.MathNode("mtable",[new ln.MathNode("mtr",[jn(),new ln.MathNode("mtd",[Pa(l.body,n)]),jn(),new ln.MathNode("mtd",[Pa(l.tag,n)])])]);return a.setAttribute("width","100%"),a}});var an={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},fn={"\\textbf":"textbf","\\textmd":"textmd"},En={"\\textit":"textit","\\textup":"textup"},yn=(l,n)=>{var a=l.font;if(a){if(an[a])return n.withTextFontFamily(an[a]);if(fn[a])return n.withTextFontWeight(fn[a]);if(a==="\\emph")return n.fontShape==="textit"?n.withTextFontShape("textup"):n.withTextFontShape("textit")}else return n;return n.withTextFontShape(En[a])};wn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(l,n){var{parser:a,funcName:u}=l,v=n[0];return{type:"text",mode:a.mode,body:Zr(v),font:u}},htmlBuilder(l,n){var a=yn(l,n),u=fa(l.body,a,!0);return vt.makeSpan(["mord","text"],u,a)},mathmlBuilder(l,n){var a=yn(l,n);return Pa(l.body,a)}}),wn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(l,n){var{parser:a}=l;return{type:"underline",mode:a.mode,body:n[0]}},htmlBuilder(l,n){var a=Pr(l.body,n),u=vt.makeLineSpan("underline-line",n),v=n.fontMetrics().defaultRuleThickness,x=vt.makeVList({positionType:"top",positionData:a.height,children:[{type:"kern",size:v},{type:"elem",elem:u},{type:"kern",size:3*v},{type:"elem",elem:a}]},n);return vt.makeSpan(["mord","underline"],[x],n)},mathmlBuilder(l,n){var a=new ln.MathNode("mo",[new ln.TextNode("\u203E")]);a.setAttribute("stretchy","true");var u=new ln.MathNode("munder",[Qr(l.body,n),a]);return u.setAttribute("accentunder","true"),u}}),wn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(l,n){var{parser:a}=l;return{type:"vcenter",mode:a.mode,body:n[0]}},htmlBuilder(l,n){var a=Pr(l.body,n),u=n.fontMetrics().axisHeight,v=.5*(a.height-u-(a.depth+u));return vt.makeVList({positionType:"shift",positionData:v,children:[{type:"elem",elem:a}]},n)},mathmlBuilder(l,n){return new ln.MathNode("mpadded",[Qr(l.body,n)],["vcenter"])}}),wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(l,n,a){throw new Xe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(l,n){for(var a=rr(l),u=[],v=n.havingStyle(n.style.text()),x=0;xl.body.replace(/ /g,l.star?"\u2423":"\xA0"),Ae=Zi,Pn=`[ \r ]`,sr="\\\\[a-zA-Z@]+",je="\\\\[^\uD800-\uDFFF]",Jr="("+sr+")"+Pn+"*",ma=`\\\\( |[ \r ]+ -?)[ \r ]*`,Ma="[\u0300-\u036F]",ca=new RegExp(Ma+"+$"),aa="("+Pn+"+)|"+(ma+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ma+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ma+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Jr)+("|"+je+")");class zr{constructor(n,a){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=n,this.settings=a,this.tokenRegex=new RegExp(aa,"g"),this.catcodes={"%":14,"~":13}}setCatcode(n,a){this.catcodes[n]=a}lex(){var n=this.input,a=this.tokenRegex.lastIndex;if(a===n.length)return new ct("EOF",new we(this,a,a));var u=this.tokenRegex.exec(n);if(u===null||u.index!==a)throw new Xe("Unexpected character: '"+n[a]+"'",new ct(n[a],new we(this,a,a+1)));var v=u[6]||u[3]||(u[2]?"\\ ":" ");if(this.catcodes[v]===14){var x=n.indexOf(` -`,this.tokenRegex.lastIndex);return x===-1?(this.tokenRegex.lastIndex=n.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=x+1,this.lex()}return new ct(v,new we(this,a,this.tokenRegex.lastIndex))}}class Sa{constructor(n,a){n===void 0&&(n={}),a===void 0&&(a={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=a,this.builtins=n,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Xe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var n=this.undefStack.pop();for(var a in n)n.hasOwnProperty(a)&&(n[a]==null?delete this.current[a]:this.current[a]=n[a])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(n){return this.current.hasOwnProperty(n)||this.builtins.hasOwnProperty(n)}get(n){return this.current.hasOwnProperty(n)?this.current[n]:this.builtins[n]}set(n,a,u){if(u===void 0&&(u=!1),u){for(var v=0;v0&&(this.undefStack[this.undefStack.length-1][n]=a)}else{var x=this.undefStack[this.undefStack.length-1];x&&!x.hasOwnProperty(n)&&(x[n]=this.current[n])}a==null?delete this.current[n]:this.current[n]=a}}var Ga=Ne;w("\\noexpand",function(l){var n=l.popToken();return l.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}}),w("\\expandafter",function(l){var n=l.popToken();return l.expandOnce(!0),{tokens:[n],numArgs:0}}),w("\\@firstoftwo",function(l){var n=l.consumeArgs(2);return{tokens:n[0],numArgs:0}}),w("\\@secondoftwo",function(l){var n=l.consumeArgs(2);return{tokens:n[1],numArgs:0}}),w("\\@ifnextchar",function(l){var n=l.consumeArgs(3);l.consumeSpaces();var a=l.future();return n[0].length===1&&n[0][0].text===a.text?{tokens:n[1],numArgs:0}:{tokens:n[2],numArgs:0}}),w("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),w("\\TextOrMath",function(l){var n=l.consumeArgs(2);return l.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var xr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};w("\\char",function(l){var n=l.popToken(),a,u="";if(n.text==="'")a=8,n=l.popToken();else if(n.text==='"')a=16,n=l.popToken();else if(n.text==="`")if(n=l.popToken(),n.text[0]==="\\")u=n.text.charCodeAt(1);else{if(n.text==="EOF")throw new Xe("\\char` missing argument");u=n.text.charCodeAt(0)}else a=10;if(a){if(u=xr[n.text],u==null||u>=a)throw new Xe("Invalid base-"+a+" digit "+n.text);for(var v;(v=xr[l.future().text])!=null&&v{var v=l.consumeArg().tokens;if(v.length!==1)throw new Xe("\\newcommand's first argument must be a macro name");var x=v[0].text,P=l.isDefined(x);if(P&&!n)throw new Xe("\\newcommand{"+x+"} attempting to redefine "+(x+"; use \\renewcommand"));if(!P&&!a)throw new Xe("\\renewcommand{"+x+"} when command "+x+" does not yet exist; use \\newcommand");var re=0;if(v=l.consumeArg().tokens,v.length===1&&v[0].text==="["){for(var ue="",Ve=l.expandNextToken();Ve.text!=="]"&&Ve.text!=="EOF";)ue+=Ve.text,Ve=l.expandNextToken();if(!ue.match(/^\s*[0-9]+\s*$/))throw new Xe("Invalid number of arguments: "+ue);re=parseInt(ue),v=l.consumeArg().tokens}return P&&u||l.macros.set(x,{tokens:v,numArgs:re}),""};w("\\newcommand",l=>Or(l,!1,!0,!1)),w("\\renewcommand",l=>Or(l,!0,!1,!1)),w("\\providecommand",l=>Or(l,!0,!0,!0)),w("\\message",l=>{var n=l.consumeArgs(1)[0];return console.log(n.reverse().map(a=>a.text).join("")),""}),w("\\errmessage",l=>{var n=l.consumeArgs(1)[0];return console.error(n.reverse().map(a=>a.text).join("")),""}),w("\\show",l=>{var n=l.popToken(),a=n.text;return console.log(n,l.macros.get(a),Ae[a],Zn.math[a],Zn.text[a]),""}),w("\\bgroup","{"),w("\\egroup","}"),w("~","\\nobreakspace"),w("\\lq","`"),w("\\rq","'"),w("\\aa","\\r a"),w("\\AA","\\r A"),w("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),w("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),w("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),w("\u212C","\\mathscr{B}"),w("\u2130","\\mathscr{E}"),w("\u2131","\\mathscr{F}"),w("\u210B","\\mathscr{H}"),w("\u2110","\\mathscr{I}"),w("\u2112","\\mathscr{L}"),w("\u2133","\\mathscr{M}"),w("\u211B","\\mathscr{R}"),w("\u212D","\\mathfrak{C}"),w("\u210C","\\mathfrak{H}"),w("\u2128","\\mathfrak{Z}"),w("\\Bbbk","\\Bbb{k}"),w("\xB7","\\cdotp"),w("\\llap","\\mathllap{\\textrm{#1}}"),w("\\rlap","\\mathrlap{\\textrm{#1}}"),w("\\clap","\\mathclap{\\textrm{#1}}"),w("\\mathstrut","\\vphantom{(}"),w("\\underbar","\\underline{\\text{#1}}"),w("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),w("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),w("\\ne","\\neq"),w("\u2260","\\neq"),w("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),w("\u2209","\\notin"),w("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),w("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),w("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),w("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),w("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),w("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),w("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),w("\u27C2","\\perp"),w("\u203C","\\mathclose{!\\mkern-0.8mu!}"),w("\u220C","\\notni"),w("\u231C","\\ulcorner"),w("\u231D","\\urcorner"),w("\u231E","\\llcorner"),w("\u231F","\\lrcorner"),w("\xA9","\\copyright"),w("\xAE","\\textregistered"),w("\uFE0F","\\textregistered"),w("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),w("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),w("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),w("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),w("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),w("\u22EE","\\vdots"),w("\\varGamma","\\mathit{\\Gamma}"),w("\\varDelta","\\mathit{\\Delta}"),w("\\varTheta","\\mathit{\\Theta}"),w("\\varLambda","\\mathit{\\Lambda}"),w("\\varXi","\\mathit{\\Xi}"),w("\\varPi","\\mathit{\\Pi}"),w("\\varSigma","\\mathit{\\Sigma}"),w("\\varUpsilon","\\mathit{\\Upsilon}"),w("\\varPhi","\\mathit{\\Phi}"),w("\\varPsi","\\mathit{\\Psi}"),w("\\varOmega","\\mathit{\\Omega}"),w("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),w("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),w("\\boxed","\\fbox{$\\displaystyle{#1}$}"),w("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),w("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),w("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),w("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),w("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Wr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};w("\\dots",function(l){var n="\\dotso",a=l.expandAfterFuture().text;return a in Wr?n=Wr[a]:(a.slice(0,4)==="\\not"||a in Zn.math&&N.contains(["bin","rel"],Zn.math[a].group))&&(n="\\dotsb"),n});var ha={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};w("\\dotso",function(l){var n=l.future().text;return n in ha?"\\ldots\\,":"\\ldots"}),w("\\dotsc",function(l){var n=l.future().text;return n in ha&&n!==","?"\\ldots\\,":"\\ldots"}),w("\\cdots",function(l){var n=l.future().text;return n in ha?"\\@cdots\\,":"\\@cdots"}),w("\\dotsb","\\cdots"),w("\\dotsm","\\cdots"),w("\\dotsi","\\!\\cdots"),w("\\dotsx","\\ldots\\,"),w("\\DOTSI","\\relax"),w("\\DOTSB","\\relax"),w("\\DOTSX","\\relax"),w("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),w("\\,","\\tmspace+{3mu}{.1667em}"),w("\\thinspace","\\,"),w("\\>","\\mskip{4mu}"),w("\\:","\\tmspace+{4mu}{.2222em}"),w("\\medspace","\\:"),w("\\;","\\tmspace+{5mu}{.2777em}"),w("\\thickspace","\\;"),w("\\!","\\tmspace-{3mu}{.1667em}"),w("\\negthinspace","\\!"),w("\\negmedspace","\\tmspace-{4mu}{.2222em}"),w("\\negthickspace","\\tmspace-{5mu}{.277em}"),w("\\enspace","\\kern.5em "),w("\\enskip","\\hskip.5em\\relax"),w("\\quad","\\hskip1em\\relax"),w("\\qquad","\\hskip2em\\relax"),w("\\tag","\\@ifstar\\tag@literal\\tag@paren"),w("\\tag@paren","\\tag@literal{({#1})}"),w("\\tag@literal",l=>{if(l.macros.get("\\df@tag"))throw new Xe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),w("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),w("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),w("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),w("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),w("\\newline","\\\\\\relax"),w("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ta=Tt(ar["Main-Regular"][84][1]-.7*ar["Main-Regular"][65][1]);w("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ta+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),w("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ta+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),w("\\hspace","\\@ifstar\\@hspacer\\@hspace"),w("\\@hspace","\\hskip #1\\relax"),w("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),w("\\ordinarycolon",":"),w("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),w("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),w("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),w("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),w("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),w("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),w("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),w("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),w("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),w("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),w("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),w("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),w("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),w("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),w("\u2237","\\dblcolon"),w("\u2239","\\eqcolon"),w("\u2254","\\coloneqq"),w("\u2255","\\eqqcolon"),w("\u2A74","\\Coloneqq"),w("\\ratio","\\vcentcolon"),w("\\coloncolon","\\dblcolon"),w("\\colonequals","\\coloneqq"),w("\\coloncolonequals","\\Coloneqq"),w("\\equalscolon","\\eqqcolon"),w("\\equalscoloncolon","\\Eqqcolon"),w("\\colonminus","\\coloneq"),w("\\coloncolonminus","\\Coloneq"),w("\\minuscolon","\\eqcolon"),w("\\minuscoloncolon","\\Eqcolon"),w("\\coloncolonapprox","\\Colonapprox"),w("\\coloncolonsim","\\Colonsim"),w("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),w("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),w("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),w("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),w("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),w("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),w("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),w("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),w("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),w("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),w("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),w("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),w("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),w("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),w("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),w("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),w("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),w("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),w("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),w("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),w("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),w("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),w("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),w("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),w("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),w("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),w("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),w("\\imath","\\html@mathml{\\@imath}{\u0131}"),w("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),w("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),w("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),w("\u27E6","\\llbracket"),w("\u27E7","\\rrbracket"),w("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),w("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),w("\u2983","\\lBrace"),w("\u2984","\\rBrace"),w("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),w("\u29B5","\\minuso"),w("\\darr","\\downarrow"),w("\\dArr","\\Downarrow"),w("\\Darr","\\Downarrow"),w("\\lang","\\langle"),w("\\rang","\\rangle"),w("\\uarr","\\uparrow"),w("\\uArr","\\Uparrow"),w("\\Uarr","\\Uparrow"),w("\\N","\\mathbb{N}"),w("\\R","\\mathbb{R}"),w("\\Z","\\mathbb{Z}"),w("\\alef","\\aleph"),w("\\alefsym","\\aleph"),w("\\Alpha","\\mathrm{A}"),w("\\Beta","\\mathrm{B}"),w("\\bull","\\bullet"),w("\\Chi","\\mathrm{X}"),w("\\clubs","\\clubsuit"),w("\\cnums","\\mathbb{C}"),w("\\Complex","\\mathbb{C}"),w("\\Dagger","\\ddagger"),w("\\diamonds","\\diamondsuit"),w("\\empty","\\emptyset"),w("\\Epsilon","\\mathrm{E}"),w("\\Eta","\\mathrm{H}"),w("\\exist","\\exists"),w("\\harr","\\leftrightarrow"),w("\\hArr","\\Leftrightarrow"),w("\\Harr","\\Leftrightarrow"),w("\\hearts","\\heartsuit"),w("\\image","\\Im"),w("\\infin","\\infty"),w("\\Iota","\\mathrm{I}"),w("\\isin","\\in"),w("\\Kappa","\\mathrm{K}"),w("\\larr","\\leftarrow"),w("\\lArr","\\Leftarrow"),w("\\Larr","\\Leftarrow"),w("\\lrarr","\\leftrightarrow"),w("\\lrArr","\\Leftrightarrow"),w("\\Lrarr","\\Leftrightarrow"),w("\\Mu","\\mathrm{M}"),w("\\natnums","\\mathbb{N}"),w("\\Nu","\\mathrm{N}"),w("\\Omicron","\\mathrm{O}"),w("\\plusmn","\\pm"),w("\\rarr","\\rightarrow"),w("\\rArr","\\Rightarrow"),w("\\Rarr","\\Rightarrow"),w("\\real","\\Re"),w("\\reals","\\mathbb{R}"),w("\\Reals","\\mathbb{R}"),w("\\Rho","\\mathrm{P}"),w("\\sdot","\\cdot"),w("\\sect","\\S"),w("\\spades","\\spadesuit"),w("\\sub","\\subset"),w("\\sube","\\subseteq"),w("\\supe","\\supseteq"),w("\\Tau","\\mathrm{T}"),w("\\thetasym","\\vartheta"),w("\\weierp","\\wp"),w("\\Zeta","\\mathrm{Z}"),w("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),w("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),w("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),w("\\bra","\\mathinner{\\langle{#1}|}"),w("\\ket","\\mathinner{|{#1}\\rangle}"),w("\\braket","\\mathinner{\\langle{#1}\\rangle}"),w("\\Bra","\\left\\langle#1\\right|"),w("\\Ket","\\left|#1\\right\\rangle");var e=l=>n=>{var a=n.consumeArg().tokens,u=n.consumeArg().tokens,v=n.consumeArg().tokens,x=n.consumeArg().tokens,P=n.macros.get("|"),re=n.macros.get("\\|");n.macros.beginGroup();var ue=St=>Zt=>{l&&(Zt.macros.set("|",P),v.length&&Zt.macros.set("\\|",re));var Wt=St;if(!St&&v.length){var pn=Zt.future();pn.text==="|"&&(Zt.popToken(),Wt=!0)}return{tokens:Wt?v:u,numArgs:0}};n.macros.set("|",ue(!1)),v.length&&n.macros.set("\\|",ue(!0));var Ve=n.consumeArg().tokens,lt=n.expandTokens([...x,...Ve,...a]);return n.macros.endGroup(),{tokens:lt.reverse(),numArgs:0}};w("\\bra@ket",e(!1)),w("\\bra@set",e(!0)),w("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),w("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),w("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),w("\\angln","{\\angl n}"),w("\\blue","\\textcolor{##6495ed}{#1}"),w("\\orange","\\textcolor{##ffa500}{#1}"),w("\\pink","\\textcolor{##ff00af}{#1}"),w("\\red","\\textcolor{##df0030}{#1}"),w("\\green","\\textcolor{##28ae7b}{#1}"),w("\\gray","\\textcolor{gray}{#1}"),w("\\purple","\\textcolor{##9d38bd}{#1}"),w("\\blueA","\\textcolor{##ccfaff}{#1}"),w("\\blueB","\\textcolor{##80f6ff}{#1}"),w("\\blueC","\\textcolor{##63d9ea}{#1}"),w("\\blueD","\\textcolor{##11accd}{#1}"),w("\\blueE","\\textcolor{##0c7f99}{#1}"),w("\\tealA","\\textcolor{##94fff5}{#1}"),w("\\tealB","\\textcolor{##26edd5}{#1}"),w("\\tealC","\\textcolor{##01d1c1}{#1}"),w("\\tealD","\\textcolor{##01a995}{#1}"),w("\\tealE","\\textcolor{##208170}{#1}"),w("\\greenA","\\textcolor{##b6ffb0}{#1}"),w("\\greenB","\\textcolor{##8af281}{#1}"),w("\\greenC","\\textcolor{##74cf70}{#1}"),w("\\greenD","\\textcolor{##1fab54}{#1}"),w("\\greenE","\\textcolor{##0d923f}{#1}"),w("\\goldA","\\textcolor{##ffd0a9}{#1}"),w("\\goldB","\\textcolor{##ffbb71}{#1}"),w("\\goldC","\\textcolor{##ff9c39}{#1}"),w("\\goldD","\\textcolor{##e07d10}{#1}"),w("\\goldE","\\textcolor{##a75a05}{#1}"),w("\\redA","\\textcolor{##fca9a9}{#1}"),w("\\redB","\\textcolor{##ff8482}{#1}"),w("\\redC","\\textcolor{##f9685d}{#1}"),w("\\redD","\\textcolor{##e84d39}{#1}"),w("\\redE","\\textcolor{##bc2612}{#1}"),w("\\maroonA","\\textcolor{##ffbde0}{#1}"),w("\\maroonB","\\textcolor{##ff92c6}{#1}"),w("\\maroonC","\\textcolor{##ed5fa6}{#1}"),w("\\maroonD","\\textcolor{##ca337c}{#1}"),w("\\maroonE","\\textcolor{##9e034e}{#1}"),w("\\purpleA","\\textcolor{##ddd7ff}{#1}"),w("\\purpleB","\\textcolor{##c6b9fc}{#1}"),w("\\purpleC","\\textcolor{##aa87ff}{#1}"),w("\\purpleD","\\textcolor{##7854ab}{#1}"),w("\\purpleE","\\textcolor{##543b78}{#1}"),w("\\mintA","\\textcolor{##f5f9e8}{#1}"),w("\\mintB","\\textcolor{##edf2df}{#1}"),w("\\mintC","\\textcolor{##e0e5cc}{#1}"),w("\\grayA","\\textcolor{##f6f7f7}{#1}"),w("\\grayB","\\textcolor{##f0f1f2}{#1}"),w("\\grayC","\\textcolor{##e3e5e6}{#1}"),w("\\grayD","\\textcolor{##d6d8da}{#1}"),w("\\grayE","\\textcolor{##babec2}{#1}"),w("\\grayF","\\textcolor{##888d93}{#1}"),w("\\grayG","\\textcolor{##626569}{#1}"),w("\\grayH","\\textcolor{##3b3e40}{#1}"),w("\\grayI","\\textcolor{##21242c}{#1}"),w("\\kaBlue","\\textcolor{##314453}{#1}"),w("\\kaGreen","\\textcolor{##71B307}{#1}");var r={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class b{constructor(n,a,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=a,this.expansionCount=0,this.feed(n),this.macros=new Sa(Ga,a.macros),this.mode=u,this.stack=[]}feed(n){this.lexer=new zr(n,this.settings)}switchMode(n){this.mode=n}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(n){this.stack.push(n)}pushTokens(n){this.stack.push(...n)}scanArgument(n){var a,u,v;if(n){if(this.consumeSpaces(),this.future().text!=="[")return null;a=this.popToken(),{tokens:v,end:u}=this.consumeArg(["]"])}else({tokens:v,start:a,end:u}=this.consumeArg());return this.pushToken(new ct("EOF",u.loc)),this.pushTokens(v),a.range(u,"")}consumeSpaces(){for(;;){var n=this.future();if(n.text===" ")this.stack.pop();else break}}consumeArg(n){var a=[],u=n&&n.length>0;u||this.consumeSpaces();var v=this.future(),x,P=0,re=0;do{if(x=this.popToken(),a.push(x),x.text==="{")++P;else if(x.text==="}"){if(--P,P===-1)throw new Xe("Extra }",x)}else if(x.text==="EOF")throw new Xe("Unexpected end of input in a macro argument, expected '"+(n&&u?n[re]:"}")+"'",x);if(n&&u)if((P===0||P===1&&n[re]==="{")&&x.text===n[re]){if(++re,re===n.length){a.splice(-re,re);break}}else re=0}while(P!==0||u);return v.text==="{"&&a[a.length-1].text==="}"&&(a.pop(),a.shift()),a.reverse(),{tokens:a,start:v,end:x}}consumeArgs(n,a){if(a){if(a.length!==n+1)throw new Xe("The length of delimiters doesn't match the number of args!");for(var u=a[0],v=0;vthis.settings.maxExpand)throw new Xe("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(n){var a=this.popToken(),u=a.text,v=a.noexpand?null:this._getExpansion(u);if(v==null||n&&v.unexpandable){if(n&&v==null&&u[0]==="\\"&&!this.isDefined(u))throw new Xe("Undefined control sequence: "+u);return this.pushToken(a),!1}this.countExpansion(1);var x=v.tokens,P=this.consumeArgs(v.numArgs,v.delimiters);if(v.numArgs){x=x.slice();for(var re=x.length-1;re>=0;--re){var ue=x[re];if(ue.text==="#"){if(re===0)throw new Xe("Incomplete placeholder at end of macro body",ue);if(ue=x[--re],ue.text==="#")x.splice(re+1,1);else if(/^[1-9]$/.test(ue.text))x.splice(re,2,...P[+ue.text-1]);else throw new Xe("Not a valid argument number",ue)}}}return this.pushTokens(x),x.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var n=this.stack.pop();return n.treatAsRelax&&(n.text="\\relax"),n}throw new Error}expandMacro(n){return this.macros.has(n)?this.expandTokens([new ct(n)]):void 0}expandTokens(n){var a=[],u=this.stack.length;for(this.pushTokens(n);this.stack.length>u;)if(this.expandOnce(!0)===!1){var v=this.stack.pop();v.treatAsRelax&&(v.noexpand=!1,v.treatAsRelax=!1),a.push(v)}return this.countExpansion(a.length),a}expandMacroAsText(n){var a=this.expandMacro(n);return a&&a.map(u=>u.text).join("")}_getExpansion(n){var a=this.macros.get(n);if(a==null)return a;if(n.length===1){var u=this.lexer.catcodes[n];if(u!=null&&u!==13)return}var v=typeof a=="function"?a(this):a;if(typeof v=="string"){var x=0;if(v.indexOf("#")!==-1)for(var P=v.replace(/##/g,"");P.indexOf("#"+(x+1))!==-1;)++x;for(var re=new zr(v,this.settings),ue=[],Ve=re.lex();Ve.text!=="EOF";)ue.push(Ve),Ve=re.lex();ue.reverse();var lt={tokens:ue,numArgs:x};return lt}return v}isDefined(n){return this.macros.has(n)||Ae.hasOwnProperty(n)||Zn.math.hasOwnProperty(n)||Zn.text.hasOwnProperty(n)||r.hasOwnProperty(n)}isExpandable(n){var a=this.macros.get(n);return a!=null?typeof a=="string"||typeof a=="function"||!a.unexpandable:Ae.hasOwnProperty(n)&&!Ae[n].primitive}}var K=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,We=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),yt={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},Yt={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class An{constructor(n,a){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new b(n,a,this.mode),this.settings=a,this.leftrightDepth=0}expect(n,a){if(a===void 0&&(a=!0),this.fetch().text!==n)throw new Xe("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());a&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(n){this.mode=n,this.gullet.switchMode(n)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}}subparse(n){var a=this.nextToken;this.consume(),this.gullet.pushToken(new ct("}")),this.gullet.pushTokens(n);var u=this.parseExpression(!1);return this.expect("}"),this.nextToken=a,u}parseExpression(n,a){for(var u=[];;){this.mode==="math"&&this.consumeSpaces();var v=this.fetch();if(An.endOfExpression.indexOf(v.text)!==-1||a&&v.text===a||n&&Ae[v.text]&&Ae[v.text].infix)break;var x=this.parseAtom(a);if(x){if(x.type==="internal")continue}else break;u.push(x)}return this.mode==="text"&&this.formLigatures(u),this.handleInfixNodes(u)}handleInfixNodes(n){for(var a=-1,u,v=0;v=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+a[0]+'" used in math mode',n);var re=Zn[this.mode][a].group,ue=we.range(n),Ve;if(nr.hasOwnProperty(re)){var lt=re;Ve={type:"atom",mode:this.mode,family:lt,loc:ue,text:a}}else Ve={type:re,mode:this.mode,loc:ue,text:a};P=Ve}else if(a.charCodeAt(0)>=128)this.settings.strict&&(sn(a.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+a[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+a[0]+'"'+(" ("+a.charCodeAt(0)+")"),n)),P={type:"textord",mode:"text",loc:we.range(n),text:a};else return null;if(this.consume(),x)for(var St=0;St-1&&yt<=r.length){let Yt=0;for(;;){let An=b[Yt];if(An===void 0){const Bn=F(r,b[Yt-1]);An=Bn===-1?r.length+1:Bn+1,b[Yt]=An}if(An>yt)return{line:Yt+1,column:yt-(Yt>0?b[Yt-1]:0)+1,offset:yt};Yt++}}}function We(yt){if(yt&&typeof yt.line=="number"&&typeof yt.column=="number"&&!Number.isNaN(yt.line)&&!Number.isNaN(yt.column)){for(;b.length1?b[yt.line-2]:0)+yt.column-1;if(Yt4&&b.slice(0,4)==="data"&&At.test(r)){if(r.charAt(4)==="-"){const yt=r.slice(5).replace(xt,_e);K="data"+yt.charAt(0).toUpperCase()+yt.slice(1)}else{const yt=r.slice(4);if(!xt.test(yt)){let Yt=yt.replace(Xt,ke);Yt.charAt(0)!=="-"&&(Yt="-"+Yt),r="data"+Yt}}We=ot}return new We(K,r)}function ke(e){return"-"+e.toLowerCase()}function _e(e){return e.charAt(1).toUpperCase()}var ie=t(71523);const N={}.hasOwnProperty;function Te(e,r){const b=r||{};function K(We,...yt){let Yt=K.invalid;const An=K.handlers;if(We&&N.call(We,e)){const Bn=String(We[e]);Yt=N.call(An,Bn)?An[Bn]:K.unknown}if(Yt)return Yt.call(this,We,...yt)}return K.handlers=b.handlers||{},K.invalid=b.invalid,K.unknown=b.unknown,K}const st={},V={}.hasOwnProperty,H=Te("type",{handlers:{root:he,element:Et,text:ht,comment:at,doctype:Le}});function Pe(e,r){const K=(r||st).space;return H(e,K==="svg"?dn:un)}function he(e,r){const b={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return b.childNodes=mt(e.children,b,r),ee(e,b),b}function Q(e,r){const b={nodeName:"#document-fragment",childNodes:[]};return b.childNodes=mt(e.children,b,r),ee(e,b),b}function Le(e){const r={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ee(e,r),r}function ht(e){const r={nodeName:"#text",value:e.value,parentNode:null};return ee(e,r),r}function at(e){const r={nodeName:"#comment",data:e.value,parentNode:null};return ee(e,r),r}function Et(e,r){const b=r;let K=b;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&b.space==="html"&&(K=dn);const We=[];let yt;if(e.properties){for(yt in e.properties)if(yt!=="children"&&V.call(e.properties,yt)){const Bn=dt(K,yt,e.properties[yt]);Bn&&We.push(Bn)}}const Yt=K.space;(0,g.ok)(Yt);const An={nodeName:e.tagName,tagName:e.tagName,attrs:We,namespaceURI:U.t[Yt],childNodes:[],parentNode:null};return An.childNodes=mt(e.children,An,K),ee(e,An),e.tagName==="template"&&e.content&&(An.content=Q(e.content,K)),An}function dt(e,r,b){const K=jt(e,r);if(b===!1||b===null||b===void 0||typeof b=="number"&&Number.isNaN(b)||!b&&K.boolean)return;Array.isArray(b)&&(b=K.commaSeparated?(0,Z.P)(b):(0,ie.P)(b));const We={name:K.attribute,value:b===!0?"":String(b)};if(K.space&&K.space!=="html"&&K.space!=="svg"){const yt=We.name.indexOf(":");yt<0?We.prefix="":(We.name=We.name.slice(yt+1),We.prefix=K.attribute.slice(0,yt)),We.namespace=U.t[K.space]}return We}function mt(e,r,b){let K=-1;const We=[];if(e)for(;++K=55296&&e<=57343}function Re(e){return e>=56320&&e<=57343}function Jt(e,r){return(e-55296)*1024+9216+r}function cn(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function sn(e){return e>=64976&&e<=65007||Je.has(e)}var Ze;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Ze||(Ze={}));const Rn=65536;class Cn{constructor(r){this.handler=r,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Rn,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(r,b){const{line:K,col:We,offset:yt}=this,Yt=We+b,An=yt+b;return{code:r,startLine:K,endLine:K,startCol:Yt,endCol:Yt,startOffset:An,endOffset:An}}_err(r){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(r,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(r){if(this.pos!==this.html.length-1){const b=this.html.charCodeAt(this.pos+1);if(Re(b))return this.pos++,this._addGap(),Jt(r,b)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(Ze.surrogateInInputStream),r}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(r,b){this.html.length>0?this.html+=r:this.html=r,this.endOfChunkHit=!1,this.lastChunkWritten=b}insertHtmlAtCurrentPos(r){this.html=this.html.substring(0,this.pos+1)+r+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(r,b){if(this.pos+r.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(b)return this.html.startsWith(r,this.pos);for(let K=0;K=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;const K=this.html.charCodeAt(b);return K===_.CARRIAGE_RETURN?_.LINE_FEED:K}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let r=this.html.charCodeAt(this.pos);return r===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):r===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,tt(r)&&(r=this._processSurrogate(r)),this.handler.onParseError===null||r>31&&r<127||r===_.LINE_FEED||r===_.CARRIAGE_RETURN||r>159&&r<64976||this._checkForProblematicCharacters(r),r)}_checkForProblematicCharacters(r){cn(r)?this._err(Ze.controlCharacterInInputStream):sn(r)&&this._err(Ze.noncharacterInInputStream)}retreat(r){for(this.pos-=r;this.pos=0;b--)if(e.attrs[b].name===r)return e.attrs[b].value;return null}const On=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0))),kn=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var zn;const dr=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Jn=(zn=String.fromCodePoint)!==null&&zn!==void 0?zn:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),r+=String.fromCharCode(e),r};function Cr(e){var r;return e>=55296&&e<=57343||e>1114111?65533:(r=dr.get(e))!==null&&r!==void 0?r:e}function Hr(e){return Jn(Cr(e))}var _n;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(_n||(_n={}));const ar=32;var Gn;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Gn||(Gn={}));function Ar(e){return e>=_n.ZERO&&e<=_n.NINE}function Yr(e){return e>=_n.UPPER_A&&e<=_n.UPPER_F||e>=_n.LOWER_A&&e<=_n.LOWER_F}function Kr(e){return e>=_n.UPPER_A&&e<=_n.UPPER_Z||e>=_n.LOWER_A&&e<=_n.LOWER_Z||Ar(e)}function Nr(e){return e===_n.EQUALS||Kr(e)}var ir;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ir||(ir={}));var Wn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Wn||(Wn={}));class Vn{constructor(r,b,K){this.decodeTree=r,this.emitCodePoint=b,this.errors=K,this.state=ir.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wn.Strict}startEntity(r){this.decodeMode=r,this.state=ir.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(r,b){switch(this.state){case ir.EntityStart:return r.charCodeAt(b)===_n.NUM?(this.state=ir.NumericStart,this.consumed+=1,this.stateNumericStart(r,b+1)):(this.state=ir.NamedEntity,this.stateNamedEntity(r,b));case ir.NumericStart:return this.stateNumericStart(r,b);case ir.NumericDecimal:return this.stateNumericDecimal(r,b);case ir.NumericHex:return this.stateNumericHex(r,b);case ir.NamedEntity:return this.stateNamedEntity(r,b)}}stateNumericStart(r,b){return b>=r.length?-1:(r.charCodeAt(b)|ar)===_n.LOWER_X?(this.state=ir.NumericHex,this.consumed+=1,this.stateNumericHex(r,b+1)):(this.state=ir.NumericDecimal,this.stateNumericDecimal(r,b))}addToNumericResult(r,b,K,We){if(b!==K){const yt=K-b;this.result=this.result*Math.pow(We,yt)+Number.parseInt(r.substr(b,yt),We),this.consumed+=yt}}stateNumericHex(r,b){const K=b;for(;b>14;for(;b>14,yt!==0){if(Yt===_n.SEMI)return this.emitNamedEntityData(this.treeIndex,yt,this.consumed+this.excess);this.decodeMode!==Wn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var r;const{result:b,decodeTree:K}=this,We=(K[b]&Gn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(b,We,this.consumed),(r=this.errors)===null||r===void 0||r.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(r,b,K){const{decodeTree:We}=this;return this.emitCodePoint(b===1?We[r]&~Gn.VALUE_LENGTH:We[r+1],K),b===3&&this.emitCodePoint(We[r+2],K),K}end(){var r;switch(this.state){case ir.NamedEntity:return this.result!==0&&(this.decodeMode!==Wn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ir.NumericDecimal:return this.emitNumericEntity(0,2);case ir.NumericHex:return this.emitNumericEntity(0,3);case ir.NumericStart:return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ir.EntityStart:return 0}}}function sa(e){let r="";const b=new Vn(e,K=>r+=fromCodePoint(K));return function(We,yt){let Yt=0,An=0;for(;(An=We.indexOf("&",An))>=0;){r+=We.slice(Yt,An),b.startEntity(yt);const Nt=b.write(We,An+1);if(Nt<0){Yt=An+b.end();break}Yt=An+Nt,An=Nt===0?Yt+1:Yt}const Bn=r+We.slice(Yt);return r="",Bn}}function hr(e,r,b,K){const We=(r&Gn.BRANCH_LENGTH)>>7,yt=r&Gn.JUMP_TABLE;if(We===0)return yt!==0&&K===yt?b:-1;if(yt){const Bn=K-yt;return Bn<0||Bn>=We?-1:e[b+Bn]-1}let Yt=b,An=Yt+We-1;for(;Yt<=An;){const Bn=Yt+An>>>1,Nt=e[Bn];if(NtK)An=Bn-1;else return e[Bn+We]}return-1}const It=null,ut=null;function Qt(e,r=Wn.Legacy){return It(e,r)}function qt(e){return It(e,Wn.Attribute)}function Tt(e){return It(e,Wn.Strict)}function mn(e){return ut(e,Wn.Strict)}var gt;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(gt||(gt={}));var hn;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(hn||(hn={}));var Oe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Oe||(Oe={}));var oe;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(oe||(oe={}));var c;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(c||(c={}));const pt=new Map([[oe.A,c.A],[oe.ADDRESS,c.ADDRESS],[oe.ANNOTATION_XML,c.ANNOTATION_XML],[oe.APPLET,c.APPLET],[oe.AREA,c.AREA],[oe.ARTICLE,c.ARTICLE],[oe.ASIDE,c.ASIDE],[oe.B,c.B],[oe.BASE,c.BASE],[oe.BASEFONT,c.BASEFONT],[oe.BGSOUND,c.BGSOUND],[oe.BIG,c.BIG],[oe.BLOCKQUOTE,c.BLOCKQUOTE],[oe.BODY,c.BODY],[oe.BR,c.BR],[oe.BUTTON,c.BUTTON],[oe.CAPTION,c.CAPTION],[oe.CENTER,c.CENTER],[oe.CODE,c.CODE],[oe.COL,c.COL],[oe.COLGROUP,c.COLGROUP],[oe.DD,c.DD],[oe.DESC,c.DESC],[oe.DETAILS,c.DETAILS],[oe.DIALOG,c.DIALOG],[oe.DIR,c.DIR],[oe.DIV,c.DIV],[oe.DL,c.DL],[oe.DT,c.DT],[oe.EM,c.EM],[oe.EMBED,c.EMBED],[oe.FIELDSET,c.FIELDSET],[oe.FIGCAPTION,c.FIGCAPTION],[oe.FIGURE,c.FIGURE],[oe.FONT,c.FONT],[oe.FOOTER,c.FOOTER],[oe.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[oe.FORM,c.FORM],[oe.FRAME,c.FRAME],[oe.FRAMESET,c.FRAMESET],[oe.H1,c.H1],[oe.H2,c.H2],[oe.H3,c.H3],[oe.H4,c.H4],[oe.H5,c.H5],[oe.H6,c.H6],[oe.HEAD,c.HEAD],[oe.HEADER,c.HEADER],[oe.HGROUP,c.HGROUP],[oe.HR,c.HR],[oe.HTML,c.HTML],[oe.I,c.I],[oe.IMG,c.IMG],[oe.IMAGE,c.IMAGE],[oe.INPUT,c.INPUT],[oe.IFRAME,c.IFRAME],[oe.KEYGEN,c.KEYGEN],[oe.LABEL,c.LABEL],[oe.LI,c.LI],[oe.LINK,c.LINK],[oe.LISTING,c.LISTING],[oe.MAIN,c.MAIN],[oe.MALIGNMARK,c.MALIGNMARK],[oe.MARQUEE,c.MARQUEE],[oe.MATH,c.MATH],[oe.MENU,c.MENU],[oe.META,c.META],[oe.MGLYPH,c.MGLYPH],[oe.MI,c.MI],[oe.MO,c.MO],[oe.MN,c.MN],[oe.MS,c.MS],[oe.MTEXT,c.MTEXT],[oe.NAV,c.NAV],[oe.NOBR,c.NOBR],[oe.NOFRAMES,c.NOFRAMES],[oe.NOEMBED,c.NOEMBED],[oe.NOSCRIPT,c.NOSCRIPT],[oe.OBJECT,c.OBJECT],[oe.OL,c.OL],[oe.OPTGROUP,c.OPTGROUP],[oe.OPTION,c.OPTION],[oe.P,c.P],[oe.PARAM,c.PARAM],[oe.PLAINTEXT,c.PLAINTEXT],[oe.PRE,c.PRE],[oe.RB,c.RB],[oe.RP,c.RP],[oe.RT,c.RT],[oe.RTC,c.RTC],[oe.RUBY,c.RUBY],[oe.S,c.S],[oe.SCRIPT,c.SCRIPT],[oe.SEARCH,c.SEARCH],[oe.SECTION,c.SECTION],[oe.SELECT,c.SELECT],[oe.SOURCE,c.SOURCE],[oe.SMALL,c.SMALL],[oe.SPAN,c.SPAN],[oe.STRIKE,c.STRIKE],[oe.STRONG,c.STRONG],[oe.STYLE,c.STYLE],[oe.SUB,c.SUB],[oe.SUMMARY,c.SUMMARY],[oe.SUP,c.SUP],[oe.TABLE,c.TABLE],[oe.TBODY,c.TBODY],[oe.TEMPLATE,c.TEMPLATE],[oe.TEXTAREA,c.TEXTAREA],[oe.TFOOT,c.TFOOT],[oe.TD,c.TD],[oe.TH,c.TH],[oe.THEAD,c.THEAD],[oe.TITLE,c.TITLE],[oe.TR,c.TR],[oe.TRACK,c.TRACK],[oe.TT,c.TT],[oe.U,c.U],[oe.UL,c.UL],[oe.SVG,c.SVG],[oe.VAR,c.VAR],[oe.WBR,c.WBR],[oe.XMP,c.XMP]]);function Dt(e){var r;return(r=pt.get(e))!==null&&r!==void 0?r:c.UNKNOWN}const Ke=c,kt={[gt.HTML]:new Set([Ke.ADDRESS,Ke.APPLET,Ke.AREA,Ke.ARTICLE,Ke.ASIDE,Ke.BASE,Ke.BASEFONT,Ke.BGSOUND,Ke.BLOCKQUOTE,Ke.BODY,Ke.BR,Ke.BUTTON,Ke.CAPTION,Ke.CENTER,Ke.COL,Ke.COLGROUP,Ke.DD,Ke.DETAILS,Ke.DIR,Ke.DIV,Ke.DL,Ke.DT,Ke.EMBED,Ke.FIELDSET,Ke.FIGCAPTION,Ke.FIGURE,Ke.FOOTER,Ke.FORM,Ke.FRAME,Ke.FRAMESET,Ke.H1,Ke.H2,Ke.H3,Ke.H4,Ke.H5,Ke.H6,Ke.HEAD,Ke.HEADER,Ke.HGROUP,Ke.HR,Ke.HTML,Ke.IFRAME,Ke.IMG,Ke.INPUT,Ke.LI,Ke.LINK,Ke.LISTING,Ke.MAIN,Ke.MARQUEE,Ke.MENU,Ke.META,Ke.NAV,Ke.NOEMBED,Ke.NOFRAMES,Ke.NOSCRIPT,Ke.OBJECT,Ke.OL,Ke.P,Ke.PARAM,Ke.PLAINTEXT,Ke.PRE,Ke.SCRIPT,Ke.SECTION,Ke.SELECT,Ke.SOURCE,Ke.STYLE,Ke.SUMMARY,Ke.TABLE,Ke.TBODY,Ke.TD,Ke.TEMPLATE,Ke.TEXTAREA,Ke.TFOOT,Ke.TH,Ke.THEAD,Ke.TITLE,Ke.TR,Ke.TRACK,Ke.UL,Ke.WBR,Ke.XMP]),[gt.MATHML]:new Set([Ke.MI,Ke.MO,Ke.MN,Ke.MS,Ke.MTEXT,Ke.ANNOTATION_XML]),[gt.SVG]:new Set([Ke.TITLE,Ke.FOREIGN_OBJECT,Ke.DESC]),[gt.XLINK]:new Set,[gt.XML]:new Set,[gt.XMLNS]:new Set},Rt=new Set([Ke.H1,Ke.H2,Ke.H3,Ke.H4,Ke.H5,Ke.H6]),gn=new Set([oe.STYLE,oe.SCRIPT,oe.XMP,oe.IFRAME,oe.NOEMBED,oe.NOFRAMES,oe.PLAINTEXT]);function vn(e,r){return gn.has(e)||r&&e===oe.NOSCRIPT}var ce;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(ce||(ce={}));const Ln={DATA:ce.DATA,RCDATA:ce.RCDATA,RAWTEXT:ce.RAWTEXT,SCRIPT_DATA:ce.SCRIPT_DATA,PLAINTEXT:ce.PLAINTEXT,CDATA_SECTION:ce.CDATA_SECTION};function nr(e){return e>=_.DIGIT_0&&e<=_.DIGIT_9}function or(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_Z}function Zn(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_Z}function T(e){return Zn(e)||or(e)}function A(e){return T(e)||nr(e)}function Pt(e){return e+32}function z(e){return e===_.SPACE||e===_.LINE_FEED||e===_.TABULATION||e===_.FORM_FEED}function Ie(e){return z(e)||e===_.SOLIDUS||e===_.GREATER_THAN_SIGN}function Un(e){return e===_.NULL?Ze.nullCharacterReference:e>1114111?Ze.characterReferenceOutsideUnicodeRange:tt(e)?Ze.surrogateCharacterReference:sn(e)?Ze.noncharacterCharacterReference:cn(e)||e===_.CARRIAGE_RETURN?Ze.controlCharacterReference:null}class Vt{constructor(r,b){this.options=r,this.handler=b,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=ce.DATA,this.returnState=ce.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Cn(b),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Vn(On,(K,We)=>{this.preprocessor.pos=this.entityStartPos+We-1,this._flushCodePointConsumedAsCharacterReference(K)},b.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Ze.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:K=>{this._err(Ze.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+K)},validateNumericCharacterReference:K=>{const We=Un(K);We&&this._err(We,1)}}:void 0)}_err(r,b=0){var K,We;(We=(K=this.handler).onParseError)===null||We===void 0||We.call(K,this.preprocessor.getError(r,b))}getCurrentLocation(r){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-r,startOffset:this.preprocessor.offset-r,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const r=this._consume();this._ensureHibernation()||this._callState(r)}this.inLoop=!1}}pause(){this.paused=!0}resume(r){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||r==null||r())}write(r,b,K){this.active=!0,this.preprocessor.write(r,b),this._runParsingLoop(),this.paused||K==null||K()}insertHtmlAtCurrentPos(r){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(r),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(r){this.consumedAfterSnapshot+=r;for(let b=0;b0&&this._err(Ze.endTagWithAttributes),r.selfClosing&&this._err(Ze.endTagWithTrailingSolidus),this.handler.onEndTag(r)),this.preprocessor.dropParsedChunk()}emitCurrentComment(r){this.prepareToken(r),this.handler.onComment(r),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(r){this.prepareToken(r),this.handler.onDoctype(r),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(r){if(this.currentCharacterToken){switch(r&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=r.startLine,this.currentCharacterToken.location.endCol=r.startCol,this.currentCharacterToken.location.endOffset=r.startOffset),this.currentCharacterToken.type){case Mt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Mt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Mt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const r=this.getCurrentLocation(0);r&&(r.endLine=r.startLine,r.endCol=r.startCol,r.endOffset=r.startOffset),this._emitCurrentCharacterToken(r),this.handler.onEof({type:Mt.EOF,location:r}),this.active=!1}_appendCharToCurrentCharacterToken(r,b){if(this.currentCharacterToken)if(this.currentCharacterToken.type===r){this.currentCharacterToken.chars+=b;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(r,b)}_emitCodePoint(r){const b=z(r)?Mt.WHITESPACE_CHARACTER:r===_.NULL?Mt.NULL_CHARACTER:Mt.CHARACTER;this._appendCharToCurrentCharacterToken(b,String.fromCodePoint(r))}_emitChars(r){this._appendCharToCurrentCharacterToken(Mt.CHARACTER,r)}_startCharacterReference(){this.returnState=this.state,this.state=ce.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Wn.Attribute:Wn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===ce.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===ce.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===ce.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(r){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(r):this._emitCodePoint(r)}_callState(r){switch(this.state){case ce.DATA:{this._stateData(r);break}case ce.RCDATA:{this._stateRcdata(r);break}case ce.RAWTEXT:{this._stateRawtext(r);break}case ce.SCRIPT_DATA:{this._stateScriptData(r);break}case ce.PLAINTEXT:{this._statePlaintext(r);break}case ce.TAG_OPEN:{this._stateTagOpen(r);break}case ce.END_TAG_OPEN:{this._stateEndTagOpen(r);break}case ce.TAG_NAME:{this._stateTagName(r);break}case ce.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(r);break}case ce.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(r);break}case ce.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(r);break}case ce.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(r);break}case ce.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(r);break}case ce.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(r);break}case ce.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(r);break}case ce.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(r);break}case ce.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(r);break}case ce.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(r);break}case ce.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(r);break}case ce.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(r);break}case ce.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(r);break}case ce.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(r);break}case ce.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(r);break}case ce.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(r);break}case ce.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(r);break}case ce.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(r);break}case ce.ATTRIBUTE_NAME:{this._stateAttributeName(r);break}case ce.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(r);break}case ce.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(r);break}case ce.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(r);break}case ce.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(r);break}case ce.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(r);break}case ce.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(r);break}case ce.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(r);break}case ce.BOGUS_COMMENT:{this._stateBogusComment(r);break}case ce.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(r);break}case ce.COMMENT_START:{this._stateCommentStart(r);break}case ce.COMMENT_START_DASH:{this._stateCommentStartDash(r);break}case ce.COMMENT:{this._stateComment(r);break}case ce.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(r);break}case ce.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(r);break}case ce.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(r);break}case ce.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(r);break}case ce.COMMENT_END_DASH:{this._stateCommentEndDash(r);break}case ce.COMMENT_END:{this._stateCommentEnd(r);break}case ce.COMMENT_END_BANG:{this._stateCommentEndBang(r);break}case ce.DOCTYPE:{this._stateDoctype(r);break}case ce.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(r);break}case ce.DOCTYPE_NAME:{this._stateDoctypeName(r);break}case ce.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(r);break}case ce.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(r);break}case ce.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(r);break}case ce.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(r);break}case ce.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(r);break}case ce.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(r);break}case ce.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(r);break}case ce.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(r);break}case ce.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(r);break}case ce.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(r);break}case ce.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(r);break}case ce.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(r);break}case ce.BOGUS_DOCTYPE:{this._stateBogusDoctype(r);break}case ce.CDATA_SECTION:{this._stateCdataSection(r);break}case ce.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(r);break}case ce.CDATA_SECTION_END:{this._stateCdataSectionEnd(r);break}case ce.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case ce.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(r);break}default:throw new Error("Unknown state")}}_stateData(r){switch(r){case _.LESS_THAN_SIGN:{this.state=ce.TAG_OPEN;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitCodePoint(r);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRcdata(r){switch(r){case _.AMPERSAND:{this._startCharacterReference();break}case _.LESS_THAN_SIGN:{this.state=ce.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRawtext(r){switch(r){case _.LESS_THAN_SIGN:{this.state=ce.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateScriptData(r){switch(r){case _.LESS_THAN_SIGN:{this.state=ce.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_statePlaintext(r){switch(r){case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateTagOpen(r){if(T(r))this._createStartTagToken(),this.state=ce.TAG_NAME,this._stateTagName(r);else switch(r){case _.EXCLAMATION_MARK:{this.state=ce.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=ce.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(Ze.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=ce.BOGUS_COMMENT,this._stateBogusComment(r);break}case _.EOF:{this._err(Ze.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Ze.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=ce.DATA,this._stateData(r)}}_stateEndTagOpen(r){if(T(r))this._createEndTagToken(),this.state=ce.TAG_NAME,this._stateTagName(r);else switch(r){case _.GREATER_THAN_SIGN:{this._err(Ze.missingEndTagName),this.state=ce.DATA;break}case _.EOF:{this._err(Ze.eofBeforeTagName),this._emitChars("");break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this.state=ce.SCRIPT_DATA_ESCAPED,this._emitChars(qe);break}case _.EOF:{this._err(Ze.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ce.SCRIPT_DATA_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataEscapedLessThanSign(r){r===_.SOLIDUS?this.state=ce.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:T(r)?(this._emitChars("<"),this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(r)):(this._emitChars("<"),this.state=ce.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(r))}_stateScriptDataEscapedEndTagOpen(r){T(r)?(this.state=ce.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(r)):(this._emitChars("");break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qe);break}case _.EOF:{this._err(Ze.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataDoubleEscapedLessThanSign(r){r===_.SOLIDUS?(this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(r))}_stateScriptDataDoubleEscapeEnd(r){if(this.preprocessor.startsWith(Ot.SCRIPT,!1)&&Ie(this.preprocessor.peek(Ot.SCRIPT.length))){this._emitCodePoint(r);for(let b=0;b0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!0)}replace(r,b){const K=this._indexOf(r);this.items[K]=b,K===this.stackTop&&(this.current=b)}insertAfter(r,b,K){const We=this._indexOf(r)+1;this.items.splice(We,0,b),this.tagIDs.splice(We,0,K),this.stackTop++,We===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,We===this.stackTop)}popUntilTagNamePopped(r){let b=this.stackTop+1;do b=this.tagIDs.lastIndexOf(r,b-1);while(b>0&&this.treeAdapter.getNamespaceURI(this.items[b])!==gt.HTML);this.shortenToLength(Math.max(b,0))}shortenToLength(r){for(;this.stackTop>=r;){const b=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(b,this.stackTop=0;K--)if(r.has(this.tagIDs[K])&&this.treeAdapter.getNamespaceURI(this.items[K])===b)return K;return-1}clearBackTo(r,b){const K=this._indexOfTagNames(r,b);this.shortenToLength(K+1)}clearBackToTableContext(){this.clearBackTo(ta,gt.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Qe,gt.HTML)}clearBackToTableRowContext(){this.clearBackTo(Xr,gt.HTML)}remove(r){const b=this._indexOf(r);b>=0&&(b===this.stackTop?this.pop():(this.items.splice(b,1),this.tagIDs.splice(b,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.BODY?this.items[1]:null}contains(r){return this._indexOf(r)>-1}getCommonAncestor(r){const b=this._indexOf(r)-1;return b>=0?this.items[b]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===c.HTML}hasInDynamicScope(r,b){for(let K=this.stackTop;K>=0;K--){const We=this.tagIDs[K];switch(this.treeAdapter.getNamespaceURI(this.items[K])){case gt.HTML:{if(We===r)return!0;if(b.has(We))return!1;break}case gt.SVG:{if(Fe.has(We))return!1;break}case gt.MATHML:{if(ba.has(We))return!1;break}}}return!0}hasInScope(r){return this.hasInDynamicScope(r,xn)}hasInListItemScope(r){return this.hasInDynamicScope(r,Ir)}hasInButtonScope(r){return this.hasInDynamicScope(r,yr)}hasNumberedHeaderInScope(){for(let r=this.stackTop;r>=0;r--){const b=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case gt.HTML:{if(Rt.has(b))return!0;if(xn.has(b))return!1;break}case gt.SVG:{if(Fe.has(b))return!1;break}case gt.MATHML:{if(ba.has(b))return!1;break}}}return!0}hasInTableScope(r){for(let b=this.stackTop;b>=0;b--)if(this.treeAdapter.getNamespaceURI(this.items[b])===gt.HTML)switch(this.tagIDs[b]){case r:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===gt.HTML)switch(this.tagIDs[r]){case c.TBODY:case c.THEAD:case c.TFOOT:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasInSelectScope(r){for(let b=this.stackTop;b>=0;b--)if(this.treeAdapter.getNamespaceURI(this.items[b])===gt.HTML)switch(this.tagIDs[b]){case r:return!0;case c.OPTION:case c.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&pr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&wr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(r){for(;this.currentTagId!==void 0&&this.currentTagId!==r&&wr.has(this.currentTagId);)this.pop()}}const Fr=3;var Mr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Mr||(Mr={}));const na={type:Mr.Marker};class ra{constructor(r){this.treeAdapter=r,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(r,b){const K=[],We=b.length,yt=this.treeAdapter.getTagName(r),Yt=this.treeAdapter.getNamespaceURI(r);for(let An=0;An[Yt.name,Yt.value]));let yt=0;for(let Yt=0;YtWe.get(Bn.name)===Bn.value)&&(yt+=1,yt>=Fr&&this.entries.splice(An.idx,1))}}insertMarker(){this.entries.unshift(na)}pushElement(r,b){this._ensureNoahArkCondition(r),this.entries.unshift({type:Mr.Element,element:r,token:b})}insertElementAfterBookmark(r,b){const K=this.entries.indexOf(this.bookmark);this.entries.splice(K,0,{type:Mr.Element,element:r,token:b})}removeEntry(r){const b=this.entries.indexOf(r);b!==-1&&this.entries.splice(b,1)}clearToLastMarker(){const r=this.entries.indexOf(na);r===-1?this.entries.length=0:this.entries.splice(0,r+1)}getElementEntryInScopeWithTagName(r){const b=this.entries.find(K=>K.type===Mr.Marker||this.treeAdapter.getTagName(K.element)===r);return b&&b.type===Mr.Element?b:null}getElementEntry(r){return this.entries.find(b=>b.type===Mr.Element&&b.element===r)}}const lr={createDocument(){return{nodeName:"#document",mode:Oe.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,r,b){return{nodeName:e,tagName:e,attrs:b,namespaceURI:r,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,r){e.childNodes.push(r),r.parentNode=e},insertBefore(e,r,b){const K=e.childNodes.indexOf(b);e.childNodes.splice(K,0,r),r.parentNode=e},setTemplateContent(e,r){e.content=r},getTemplateContent(e){return e.content},setDocumentType(e,r,b,K){const We=e.childNodes.find(yt=>yt.nodeName==="#documentType");if(We)We.name=r,We.publicId=b,We.systemId=K;else{const yt={nodeName:"#documentType",name:r,publicId:b,systemId:K,parentNode:null};lr.appendChild(e,yt)}},setDocumentMode(e,r){e.mode=r},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const r=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(r,1),e.parentNode=null}},insertText(e,r){if(e.childNodes.length>0){const b=e.childNodes[e.childNodes.length-1];if(lr.isTextNode(b)){b.value+=r;return}}lr.appendChild(e,lr.createTextNode(r))},insertTextBefore(e,r,b){const K=e.childNodes[e.childNodes.indexOf(b)-1];K&&lr.isTextNode(K)?K.value+=r:lr.insertBefore(e,lr.createTextNode(r),b)},adoptAttributes(e,r){const b=new Set(e.attrs.map(K=>K.name));for(let K=0;Ke.startsWith(b))}function _r(e){return e.name===Yn&&e.publicId===null&&(e.systemId===null||e.systemId===Sr)}function Ea(e){if(e.name!==Yn)return Oe.QUIRKS;const{systemId:r}=e;if(r&&r.toLowerCase()===Nn)return Oe.QUIRKS;let{publicId:b}=e;if(b!==null){if(b=b.toLowerCase(),la.has(b))return Oe.QUIRKS;let K=r===null?Rr:Lr;if(br(b,K))return Oe.QUIRKS;if(K=r===null?pa:va,br(b,K))return Oe.LIMITED_QUIRKS}return Oe.NO_QUIRKS}const Xa={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pi="definitionurl",Ha="definitionURL",Ra=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),ti=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:gt.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:gt.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:gt.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:gt.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:gt.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:gt.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:gt.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:gt.XML}],["xml:space",{prefix:"xml",name:"space",namespace:gt.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:gt.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:gt.XMLNS}]]),vi=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Ka=new Set([c.B,c.BIG,c.BLOCKQUOTE,c.BODY,c.BR,c.CENTER,c.CODE,c.DD,c.DIV,c.DL,c.DT,c.EM,c.EMBED,c.H1,c.H2,c.H3,c.H4,c.H5,c.H6,c.HEAD,c.HR,c.I,c.IMG,c.LI,c.LISTING,c.MENU,c.META,c.NOBR,c.OL,c.P,c.PRE,c.RUBY,c.S,c.SMALL,c.SPAN,c.STRONG,c.STRIKE,c.SUB,c.SUP,c.TABLE,c.TT,c.U,c.UL,c.VAR]);function Na(e){const r=e.tagID;return r===c.FONT&&e.attrs.some(({name:K})=>K===hn.COLOR||K===hn.SIZE||K===hn.FACE)||Ka.has(r)}function Fa(e){for(let r=0;r0&&this._setContextModes(r,b)}onItemPop(r,b){var K,We;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(r,this.currentToken),(We=(K=this.treeAdapter).onItemPop)===null||We===void 0||We.call(K,r,this.openElements.current),b){let yt,Yt;this.openElements.stackTop===0&&this.fragmentContext?(yt=this.fragmentContext,Yt=this.fragmentContextID):{current:yt,currentTagId:Yt}=this.openElements,this._setContextModes(yt,Yt)}}_setContextModes(r,b){const K=r===this.document||r&&this.treeAdapter.getNamespaceURI(r)===gt.HTML;this.currentNotInHTML=!K,this.tokenizer.inForeignNode=!K&&r!==void 0&&b!==void 0&&!this._isIntegrationPoint(b,r)}_switchToTextParsing(r,b){this._insertElement(r,gt.HTML),this.tokenizer.state=b,this.originalInsertionMode=this.insertionMode,this.insertionMode=ve.TEXT}switchToPlaintextParsing(){this.insertionMode=ve.TEXT,this.originalInsertionMode=ve.IN_BODY,this.tokenizer.state=Ln.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let r=this.fragmentContext;for(;r;){if(this.treeAdapter.getTagName(r)===oe.FORM){this.formElement=r;break}r=this.treeAdapter.getParentNode(r)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==gt.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=Ln.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=Ln.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=Ln.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=Ln.PLAINTEXT;break}default:}}_setDocumentType(r){const b=r.name||"",K=r.publicId||"",We=r.systemId||"";if(this.treeAdapter.setDocumentType(this.document,b,K,We),r.location){const Yt=this.treeAdapter.getChildNodes(this.document).find(An=>this.treeAdapter.isDocumentTypeNode(An));Yt&&this.treeAdapter.setNodeSourceCodeLocation(Yt,r.location)}}_attachElementToTree(r,b){if(this.options.sourceCodeLocationInfo){const K=b&&Io(ur({},b),{startTag:b});this.treeAdapter.setNodeSourceCodeLocation(r,K)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(r);else{const K=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(K!=null?K:this.document,r)}}_appendElement(r,b){const K=this.treeAdapter.createElement(r.tagName,b,r.attrs);this._attachElementToTree(K,r.location)}_insertElement(r,b){const K=this.treeAdapter.createElement(r.tagName,b,r.attrs);this._attachElementToTree(K,r.location),this.openElements.push(K,r.tagID)}_insertFakeElement(r,b){const K=this.treeAdapter.createElement(r,gt.HTML,[]);this._attachElementToTree(K,null),this.openElements.push(K,b)}_insertTemplate(r){const b=this.treeAdapter.createElement(r.tagName,gt.HTML,r.attrs),K=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(b,K),this._attachElementToTree(b,r.location),this.openElements.push(b,r.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(K,null)}_insertFakeRootElement(){const r=this.treeAdapter.createElement(oe.HTML,gt.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null),this.treeAdapter.appendChild(this.openElements.current,r),this.openElements.push(r,c.HTML)}_appendCommentNode(r,b){const K=this.treeAdapter.createCommentNode(r.data);this.treeAdapter.appendChild(b,K),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(K,r.location)}_insertCharacters(r){let b,K;if(this._shouldFosterParentOnInsertion()?({parent:b,beforeElement:K}=this._findFosterParentingLocation(),K?this.treeAdapter.insertTextBefore(b,r.chars,K):this.treeAdapter.insertText(b,r.chars)):(b=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(b,r.chars)),!r.location)return;const We=this.treeAdapter.getChildNodes(b),yt=K?We.lastIndexOf(K):We.length,Yt=We[yt-1];if(this.treeAdapter.getNodeSourceCodeLocation(Yt)){const{endLine:Bn,endCol:Nt,endOffset:nn}=r.location;this.treeAdapter.updateNodeSourceCodeLocation(Yt,{endLine:Bn,endCol:Nt,endOffset:nn})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Yt,r.location)}_adoptNodes(r,b){for(let K=this.treeAdapter.getFirstChild(r);K;K=this.treeAdapter.getFirstChild(r))this.treeAdapter.detachNode(K),this.treeAdapter.appendChild(b,K)}_setEndLocation(r,b){if(this.treeAdapter.getNodeSourceCodeLocation(r)&&b.location){const K=b.location,We=this.treeAdapter.getTagName(r),yt=b.type===Mt.END_TAG&&We===b.tagName?{endTag:ur({},K),endLine:K.endLine,endCol:K.endCol,endOffset:K.endOffset}:{endLine:K.startLine,endCol:K.startCol,endOffset:K.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(r,yt)}}shouldProcessStartTagTokenInForeignContent(r){if(!this.currentNotInHTML)return!1;let b,K;return this.openElements.stackTop===0&&this.fragmentContext?(b=this.fragmentContext,K=this.fragmentContextID):{current:b,currentTagId:K}=this.openElements,r.tagID===c.SVG&&this.treeAdapter.getTagName(b)===oe.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(b)===gt.MATHML?!1:this.tokenizer.inForeignNode||(r.tagID===c.MGLYPH||r.tagID===c.MALIGNMARK)&&K!==void 0&&!this._isIntegrationPoint(K,b,gt.HTML)}_processToken(r){switch(r.type){case Mt.CHARACTER:{this.onCharacter(r);break}case Mt.NULL_CHARACTER:{this.onNullCharacter(r);break}case Mt.COMMENT:{this.onComment(r);break}case Mt.DOCTYPE:{this.onDoctype(r);break}case Mt.START_TAG:{this._processStartTag(r);break}case Mt.END_TAG:{this.onEndTag(r);break}case Mt.EOF:{this.onEof(r);break}case Mt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(r);break}}}_isIntegrationPoint(r,b,K){const We=this.treeAdapter.getNamespaceURI(b),yt=this.treeAdapter.getAttrList(b);return Ei(r,We,yt,K)}_reconstructActiveFormattingElements(){const r=this.activeFormattingElements.entries.length;if(r){const b=this.activeFormattingElements.entries.findIndex(We=>We.type===Mr.Marker||this.openElements.contains(We.element)),K=b===-1?r-1:b-1;for(let We=K;We>=0;We--){const yt=this.activeFormattingElements.entries[We];this._insertElement(yt.token,this.treeAdapter.getNamespaceURI(yt.element)),yt.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ve.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(c.P),this.openElements.popUntilTagNamePopped(c.P)}_resetInsertionMode(){for(let r=this.openElements.stackTop;r>=0;r--)switch(r===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[r]){case c.TR:{this.insertionMode=ve.IN_ROW;return}case c.TBODY:case c.THEAD:case c.TFOOT:{this.insertionMode=ve.IN_TABLE_BODY;return}case c.CAPTION:{this.insertionMode=ve.IN_CAPTION;return}case c.COLGROUP:{this.insertionMode=ve.IN_COLUMN_GROUP;return}case c.TABLE:{this.insertionMode=ve.IN_TABLE;return}case c.BODY:{this.insertionMode=ve.IN_BODY;return}case c.FRAMESET:{this.insertionMode=ve.IN_FRAMESET;return}case c.SELECT:{this._resetInsertionModeForSelect(r);return}case c.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case c.HTML:{this.insertionMode=this.headElement?ve.AFTER_HEAD:ve.BEFORE_HEAD;return}case c.TD:case c.TH:{if(r>0){this.insertionMode=ve.IN_CELL;return}break}case c.HEAD:{if(r>0){this.insertionMode=ve.IN_HEAD;return}break}}this.insertionMode=ve.IN_BODY}_resetInsertionModeForSelect(r){if(r>0)for(let b=r-1;b>0;b--){const K=this.openElements.tagIDs[b];if(K===c.TEMPLATE)break;if(K===c.TABLE){this.insertionMode=ve.IN_SELECT_IN_TABLE;return}}this.insertionMode=ve.IN_SELECT}_isElementCausesFosterParenting(r){return qr.has(r)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let r=this.openElements.stackTop;r>=0;r--){const b=this.openElements.items[r];switch(this.openElements.tagIDs[r]){case c.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(b)===gt.HTML)return{parent:this.treeAdapter.getTemplateContent(b),beforeElement:null};break}case c.TABLE:{const K=this.treeAdapter.getParentNode(b);return K?{parent:K,beforeElement:b}:{parent:this.openElements.items[r-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(r){const b=this._findFosterParentingLocation();b.beforeElement?this.treeAdapter.insertBefore(b.parent,r,b.beforeElement):this.treeAdapter.appendChild(b.parent,r)}_isSpecialElement(r,b){const K=this.treeAdapter.getNamespaceURI(r);return kt[K].has(b)}onCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){E(this,r);return}switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{Ni(this,r);break}case ve.BEFORE_HEAD:{fa(this,r);break}case ve.IN_HEAD:{ai(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Si(this,r);break}case ve.AFTER_HEAD:{Oa(this,r);break}case ve.IN_BODY:case ve.IN_CAPTION:case ve.IN_CELL:case ve.IN_TEMPLATE:{ln(this,r);break}case ve.TEXT:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:{this._insertCharacters(r);break}case ve.IN_TABLE:case ve.IN_TABLE_BODY:case ve.IN_ROW:{oo(this,r);break}case ve.IN_TABLE_TEXT:{Ui(this,r);break}case ve.IN_COLUMN_GROUP:{Hi(this,r);break}case ve.AFTER_BODY:{ft(this,r);break}case ve.AFTER_AFTER_BODY:{o(this,r);break}default:}}onNullCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){m(this,r);return}switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{Ni(this,r);break}case ve.BEFORE_HEAD:{fa(this,r);break}case ve.IN_HEAD:{ai(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Si(this,r);break}case ve.AFTER_HEAD:{Oa(this,r);break}case ve.TEXT:{this._insertCharacters(r);break}case ve.IN_TABLE:case ve.IN_TABLE_BODY:case ve.IN_ROW:{oo(this,r);break}case ve.IN_COLUMN_GROUP:{Hi(this,r);break}case ve.AFTER_BODY:{ft(this,r);break}case ve.AFTER_AFTER_BODY:{o(this,r);break}default:}}onComment(r){if(this.skipNextNewLine=!1,this.currentNotInHTML){yi(this,r);return}switch(this.insertionMode){case ve.INITIAL:case ve.BEFORE_HTML:case ve.BEFORE_HEAD:case ve.IN_HEAD:case ve.IN_HEAD_NO_SCRIPT:case ve.AFTER_HEAD:case ve.IN_BODY:case ve.IN_TABLE:case ve.IN_CAPTION:case ve.IN_COLUMN_GROUP:case ve.IN_TABLE_BODY:case ve.IN_ROW:case ve.IN_CELL:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:case ve.IN_TEMPLATE:case ve.IN_FRAMESET:case ve.AFTER_FRAMESET:{yi(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.AFTER_BODY:{Mi(this,r);break}case ve.AFTER_AFTER_BODY:case ve.AFTER_AFTER_FRAMESET:{wn(this,r);break}default:}}onDoctype(r){switch(this.skipNextNewLine=!1,this.insertionMode){case ve.INITIAL:{Yi(this,r);break}case ve.BEFORE_HEAD:case ve.IN_HEAD:case ve.IN_HEAD_NO_SCRIPT:case ve.AFTER_HEAD:{this._err(r,Ze.misplacedDoctype);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}default:}}onStartTag(r){this.skipNextNewLine=!1,this.currentToken=r,this._processStartTag(r),r.selfClosing&&!r.ackSelfClosing&&this._err(r,Ze.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(r){this.shouldProcessStartTagTokenInForeignContent(r)?k(this,r):this._startTagOutsideForeignContent(r)}_startTagOutsideForeignContent(r){switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{ri(this,r);break}case ve.BEFORE_HEAD:{wo(this,r);break}case ve.IN_HEAD:{Aa(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{_i(this,r);break}case ve.AFTER_HEAD:{ii(this,r);break}case ve.IN_BODY:{Ia(this,r);break}case ve.IN_TABLE:{mi(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.IN_CAPTION:{as(this,r);break}case ve.IN_COLUMN_GROUP:{po(this,r);break}case ve.IN_TABLE_BODY:{Ti(this,r);break}case ve.IN_ROW:{Ua(this,r);break}case ve.IN_CELL:{$o(this,r);break}case ve.IN_SELECT:{R(this,r);break}case ve.IN_SELECT_IN_TABLE:{ae(this,r);break}case ve.IN_TEMPLATE:{xe(this,r);break}case ve.AFTER_BODY:{et(this,r);break}case ve.IN_FRAMESET:{Ct(this,r);break}case ve.AFTER_FRAMESET:{$t(this,r);break}case ve.AFTER_AFTER_BODY:{Ft(this,r);break}case ve.AFTER_AFTER_FRAMESET:{d(this,r);break}default:}}onEndTag(r){this.skipNextNewLine=!1,this.currentToken=r,this.currentNotInHTML?M(this,r):this._endTagOutsideForeignContent(r)}_endTagOutsideForeignContent(r){switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{No(this,r);break}case ve.BEFORE_HEAD:{zo(this,r);break}case ve.IN_HEAD:{Xi(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Pr(this,r);break}case ve.AFTER_HEAD:{Ro(this,r);break}case ve.IN_BODY:{io(this,r);break}case ve.TEXT:{si(this,r);break}case ve.IN_TABLE:{uo(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.IN_CAPTION:{qo(this,r);break}case ve.IN_COLUMN_GROUP:{Co(this,r);break}case ve.IN_TABLE_BODY:{zi(this,r);break}case ve.IN_ROW:{Za(this,r);break}case ve.IN_CELL:{xi(this,r);break}case ve.IN_SELECT:{L(this,r);break}case ve.IN_SELECT_IN_TABLE:{me(this,r);break}case ve.IN_TEMPLATE:{Ne(this,r);break}case ve.AFTER_BODY:{Ye(this,r);break}case ve.IN_FRAMESET:{bt(this,r);break}case ve.AFTER_FRAMESET:{Ut(this,r);break}case ve.AFTER_AFTER_BODY:{o(this,r);break}default:}}onEof(r){switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{Ni(this,r);break}case ve.BEFORE_HEAD:{fa(this,r);break}case ve.IN_HEAD:{ai(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Si(this,r);break}case ve.AFTER_HEAD:{Oa(this,r);break}case ve.IN_BODY:case ve.IN_TABLE:case ve.IN_CAPTION:case ve.IN_COLUMN_GROUP:case ve.IN_TABLE_BODY:case ve.IN_ROW:case ve.IN_CELL:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:{_o(this,r);break}case ve.TEXT:{Po(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.IN_TEMPLATE:{w(this,r);break}case ve.AFTER_BODY:case ve.IN_FRAMESET:case ve.AFTER_FRAMESET:case ve.AFTER_AFTER_BODY:case ve.AFTER_AFTER_FRAMESET:{ni(this,r);break}default:}}onWhitespaceCharacter(r){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,r.chars.charCodeAt(0)===_.LINE_FEED)){if(r.chars.length===1)return;r.chars=r.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(r);return}switch(this.insertionMode){case ve.IN_HEAD:case ve.IN_HEAD_NO_SCRIPT:case ve.AFTER_HEAD:case ve.TEXT:case ve.IN_COLUMN_GROUP:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:case ve.IN_FRAMESET:case ve.AFTER_FRAMESET:{this._insertCharacters(r);break}case ve.IN_BODY:case ve.IN_CAPTION:case ve.IN_CELL:case ve.IN_TEMPLATE:case ve.AFTER_BODY:case ve.AFTER_AFTER_BODY:case ve.AFTER_AFTER_FRAMESET:{mo(this,r);break}case ve.IN_TABLE:case ve.IN_TABLE_BODY:case ve.IN_ROW:{oo(this,r);break}case ve.IN_TABLE_TEXT:{Fo(this,r);break}default:}}}function vt(e,r){let b=e.activeFormattingElements.getElementEntryInScopeWithTagName(r.tagName);return b?e.openElements.contains(b.element)?e.openElements.hasInScope(r.tagID)||(b=null):(e.activeFormattingElements.removeEntry(b),b=null):ki(e,r),b}function Vr(e,r){let b=null,K=e.openElements.stackTop;for(;K>=0;K--){const We=e.openElements.items[K];if(We===r.element)break;e._isSpecialElement(We,e.openElements.tagIDs[K])&&(b=We)}return b||(e.openElements.shortenToLength(Math.max(K,0)),e.activeFormattingElements.removeEntry(r)),b}function Ja(e,r,b){let K=r,We=e.openElements.getCommonAncestor(r);for(let yt=0,Yt=We;Yt!==b;yt++,Yt=We){We=e.openElements.getCommonAncestor(Yt);const An=e.activeFormattingElements.getElementEntry(Yt),Bn=An&&yt>=Er;!An||Bn?(Bn&&e.activeFormattingElements.removeEntry(An),e.openElements.remove(Yt)):(Yt=qa(e,An),K===r&&(e.activeFormattingElements.bookmark=An),e.treeAdapter.detachNode(K),e.treeAdapter.appendChild(Yt,K),K=Yt)}return K}function qa(e,r){const b=e.treeAdapter.getNamespaceURI(r.element),K=e.treeAdapter.createElement(r.token.tagName,b,r.token.attrs);return e.openElements.replace(r.element,K),r.element=K,K}function Wi(e,r,b){const K=e.treeAdapter.getTagName(r),We=Dt(K);if(e._isElementCausesFosterParenting(We))e._fosterParentElement(b);else{const yt=e.treeAdapter.getNamespaceURI(r);We===c.TEMPLATE&&yt===gt.HTML&&(r=e.treeAdapter.getTemplateContent(r)),e.treeAdapter.appendChild(r,b)}}function Vi(e,r,b){const K=e.treeAdapter.getNamespaceURI(b.element),{token:We}=b,yt=e.treeAdapter.createElement(We.tagName,K,We.attrs);e._adoptNodes(r,yt),e.treeAdapter.appendChild(r,yt),e.activeFormattingElements.insertElementAfterBookmark(yt,We),e.activeFormattingElements.removeEntry(b),e.openElements.remove(b.element),e.openElements.insertAfter(r,yt,We.tagID)}function Zi(e,r){for(let b=0;b<$r;b++){const K=vt(e,r);if(!K)break;const We=Vr(e,K);if(!We)break;e.activeFormattingElements.bookmark=K;const yt=Ja(e,We,K.element),Yt=e.openElements.getCommonAncestor(K.element);e.treeAdapter.detachNode(yt),Yt&&Wi(e,Yt,yt),Vi(e,We,K)}}function yi(e,r){e._appendCommentNode(r,e.openElements.currentTmplContentOrNode)}function Mi(e,r){e._appendCommentNode(r,e.openElements.items[0])}function wn(e,r){e._appendCommentNode(r,e.document)}function ni(e,r){if(e.stopped=!0,r.location){const b=e.fragmentContext?0:2;for(let K=e.openElements.stackTop;K>=b;K--)e._setEndLocation(e.openElements.items[K],r);if(!e.fragmentContext&&e.openElements.stackTop>=0){const K=e.openElements.items[0],We=e.treeAdapter.getNodeSourceCodeLocation(K);if(We&&!We.endTag&&(e._setEndLocation(K,r),e.openElements.stackTop>=1)){const yt=e.openElements.items[1],Yt=e.treeAdapter.getNodeSourceCodeLocation(yt);Yt&&!Yt.endTag&&e._setEndLocation(yt,r)}}}}function Yi(e,r){e._setDocumentType(r);const b=r.forceQuirks?Oe.QUIRKS:Ea(r);_r(r)||e._err(r,Ze.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,b),e.insertionMode=ve.BEFORE_HTML}function Zr(e,r){e._err(r,Ze.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Oe.QUIRKS),e.insertionMode=ve.BEFORE_HTML,e._processToken(r)}function ri(e,r){r.tagID===c.HTML?(e._insertElement(r,gt.HTML),e.insertionMode=ve.BEFORE_HEAD):Ni(e,r)}function No(e,r){const b=r.tagID;(b===c.HTML||b===c.HEAD||b===c.BODY||b===c.BR)&&Ni(e,r)}function Ni(e,r){e._insertFakeRootElement(),e.insertionMode=ve.BEFORE_HEAD,e._processToken(r)}function wo(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.HEAD:{e._insertElement(r,gt.HTML),e.headElement=e.openElements.current,e.insertionMode=ve.IN_HEAD;break}default:fa(e,r)}}function zo(e,r){const b=r.tagID;b===c.HEAD||b===c.BODY||b===c.HTML||b===c.BR?fa(e,r):e._err(r,Ze.endTagWithoutMatchingOpenElement)}function fa(e,r){e._insertFakeElement(oe.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=ve.IN_HEAD,e._processToken(r)}function Aa(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(r,gt.HTML),r.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(r,Ln.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(r,Ln.RAWTEXT):(e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(r,Ln.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(r,Ln.SCRIPT_DATA);break}case c.TEMPLATE:{e._insertTemplate(r),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=ve.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(ve.IN_TEMPLATE);break}case c.HEAD:{e._err(r,Ze.misplacedStartTagForHeadElement);break}default:ai(e,r)}}function Xi(e,r){switch(r.tagID){case c.HEAD:{e.openElements.pop(),e.insertionMode=ve.AFTER_HEAD;break}case c.BODY:case c.BR:case c.HTML:{ai(e,r);break}case c.TEMPLATE:{fi(e,r);break}default:e._err(r,Ze.endTagWithoutMatchingOpenElement)}}function fi(e,r){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(r,Ze.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(r,Ze.endTagWithoutMatchingOpenElement)}function ai(e,r){e.openElements.pop(),e.insertionMode=ve.AFTER_HEAD,e._processToken(r)}function _i(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{Aa(e,r);break}case c.NOSCRIPT:{e._err(r,Ze.nestedNoscriptInHead);break}default:Si(e,r)}}function Pr(e,r){switch(r.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=ve.IN_HEAD;break}case c.BR:{Si(e,r);break}default:e._err(r,Ze.endTagWithoutMatchingOpenElement)}}function Si(e,r){const b=r.type===Mt.EOF?Ze.openElementsLeftAfterEof:Ze.disallowedContentInNoscriptInHead;e._err(r,b),e.openElements.pop(),e.insertionMode=ve.IN_HEAD,e._processToken(r)}function ii(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.BODY:{e._insertElement(r,gt.HTML),e.framesetOk=!1,e.insertionMode=ve.IN_BODY;break}case c.FRAMESET:{e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_FRAMESET;break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{e._err(r,Ze.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),Aa(e,r),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(r,Ze.misplacedStartTagForHeadElement);break}default:Oa(e,r)}}function Ro(e,r){switch(r.tagID){case c.BODY:case c.HTML:case c.BR:{Oa(e,r);break}case c.TEMPLATE:{fi(e,r);break}default:e._err(r,Ze.endTagWithoutMatchingOpenElement)}}function Oa(e,r){e._insertFakeElement(oe.BODY,c.BODY),e.insertionMode=ve.IN_BODY,za(e,r)}function za(e,r){switch(r.type){case Mt.CHARACTER:{ln(e,r);break}case Mt.WHITESPACE_CHARACTER:{mo(e,r);break}case Mt.COMMENT:{yi(e,r);break}case Mt.START_TAG:{Ia(e,r);break}case Mt.END_TAG:{io(e,r);break}case Mt.EOF:{_o(e,r);break}default:}}function mo(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r)}function ln(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r),e.framesetOk=!1}function Wa(e,r){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],r.attrs)}function qi(e,r){const b=e.openElements.tryPeekProperlyNestedBodyElement();b&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(b,r.attrs))}function Pi(e,r){const b=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&b&&(e.treeAdapter.detachNode(b),e.openElements.popAllUpToHtmlElement(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_FRAMESET)}function ho(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML)}function $a(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Rt.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(r,gt.HTML)}function Pa(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Qr(e,r){const b=e.openElements.tmplCount>0;(!e.formElement||b)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),b||(e.formElement=e.openElements.current))}function Bi(e,r){e.framesetOk=!1;const b=r.tagID;for(let K=e.openElements.stackTop;K>=0;K--){const We=e.openElements.tagIDs[K];if(b===c.LI&&We===c.LI||(b===c.DD||b===c.DT)&&(We===c.DD||We===c.DT)){e.openElements.generateImpliedEndTagsWithExclusion(We),e.openElements.popUntilTagNamePopped(We);break}if(We!==c.ADDRESS&&We!==c.DIV&&We!==c.P&&e._isSpecialElement(e.openElements.items[K],We))break}e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML)}function Qi(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),e.tokenizer.state=Ln.PLAINTEXT}function go(e,r){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.framesetOk=!1}function Oo(e,r){const b=e.activeFormattingElements.getElementEntryInScopeWithTagName(oe.A);b&&(Zi(e,r),e.openElements.remove(b.element),e.activeFormattingElements.removeEntry(b)),e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function ts(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function Go(e,r){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(Zi(e,r),e._reconstructActiveFormattingElements()),e._insertElement(r,gt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function jo(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Ko(e,r){e.treeAdapter.getDocumentMode(e.document)!==Oe.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),e.framesetOk=!1,e.insertionMode=ve.IN_TABLE}function bo(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,gt.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function Fi(e){const r=Hn(e,hn.TYPE);return r!=null&&r.toLowerCase()===vr}function vo(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,gt.HTML),Fi(r)||(e.framesetOk=!1),r.ackSelfClosing=!0}function Va(e,r){e._appendElement(r,gt.HTML),r.ackSelfClosing=!0}function Tr(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(r,gt.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function Eo(e,r){r.tagName=oe.IMG,r.tagID=c.IMG,bo(e,r)}function wi(e,r){e._insertElement(r,gt.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ln.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=ve.TEXT}function Ji(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(r,Ln.RAWTEXT)}function eo(e,r){e.framesetOk=!1,e._switchToTextParsing(r,Ln.RAWTEXT)}function to(e,r){e._switchToTextParsing(r,Ln.RAWTEXT)}function Ri(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===ve.IN_TABLE||e.insertionMode===ve.IN_CAPTION||e.insertionMode===ve.IN_TABLE_BODY||e.insertionMode===ve.IN_ROW||e.insertionMode===ve.IN_CELL?ve.IN_SELECT_IN_TABLE:ve.IN_SELECT}function ko(e,r){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML)}function yo(e,r){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(r,gt.HTML)}function Lo(e,r){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(r,gt.HTML)}function no(e,r){e._reconstructActiveFormattingElements(),Fa(r),ua(r),r.selfClosing?e._appendElement(r,gt.MATHML):e._insertElement(r,gt.MATHML),r.ackSelfClosing=!0}function ro(e,r){e._reconstructActiveFormattingElements(),ka(r),ua(r),r.selfClosing?e._appendElement(r,gt.SVG):e._insertElement(r,gt.SVG),r.ackSelfClosing=!0}function oi(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML)}function Ia(e,r){switch(r.tagID){case c.I:case c.S:case c.B:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.SMALL:case c.STRIKE:case c.STRONG:{ts(e,r);break}case c.A:{Oo(e,r);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{$a(e,r);break}case c.P:case c.DL:case c.OL:case c.UL:case c.DIV:case c.DIR:case c.NAV:case c.MAIN:case c.MENU:case c.ASIDE:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.DETAILS:case c.ADDRESS:case c.ARTICLE:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{ho(e,r);break}case c.LI:case c.DD:case c.DT:{Bi(e,r);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{bo(e,r);break}case c.HR:{Tr(e,r);break}case c.RB:case c.RTC:{yo(e,r);break}case c.RT:case c.RP:{Lo(e,r);break}case c.PRE:case c.LISTING:{Pa(e,r);break}case c.XMP:{Ji(e,r);break}case c.SVG:{ro(e,r);break}case c.HTML:{Wa(e,r);break}case c.BASE:case c.LINK:case c.META:case c.STYLE:case c.TITLE:case c.SCRIPT:case c.BGSOUND:case c.BASEFONT:case c.TEMPLATE:{Aa(e,r);break}case c.BODY:{qi(e,r);break}case c.FORM:{Qr(e,r);break}case c.NOBR:{Go(e,r);break}case c.MATH:{no(e,r);break}case c.TABLE:{Ko(e,r);break}case c.INPUT:{vo(e,r);break}case c.PARAM:case c.TRACK:case c.SOURCE:{Va(e,r);break}case c.IMAGE:{Eo(e,r);break}case c.BUTTON:{go(e,r);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{jo(e,r);break}case c.IFRAME:{eo(e,r);break}case c.SELECT:{Ri(e,r);break}case c.OPTION:case c.OPTGROUP:{ko(e,r);break}case c.NOEMBED:case c.NOFRAMES:{to(e,r);break}case c.FRAMESET:{Pi(e,r);break}case c.TEXTAREA:{wi(e,r);break}case c.NOSCRIPT:{e.options.scriptingEnabled?to(e,r):oi(e,r);break}case c.PLAINTEXT:{Qi(e,r);break}case c.COL:case c.TH:case c.TD:case c.TR:case c.HEAD:case c.FRAME:case c.TBODY:case c.TFOOT:case c.THEAD:case c.CAPTION:case c.COLGROUP:break;default:oi(e,r)}}function Wo(e,r){if(e.openElements.hasInScope(c.BODY)&&(e.insertionMode=ve.AFTER_BODY,e.options.sourceCodeLocationInfo)){const b=e.openElements.tryPeekProperlyNestedBodyElement();b&&e._setEndLocation(b,r)}}function Vo(e,r){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=ve.AFTER_BODY,Ye(e,r))}function ns(e,r){const b=r.tagID;e.openElements.hasInScope(b)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b))}function Do(e){const r=e.openElements.tmplCount>0,{formElement:b}=e;r||(e.formElement=null),(b||r)&&e.openElements.hasInScope(c.FORM)&&(e.openElements.generateImpliedEndTags(),r?e.openElements.popUntilTagNamePopped(c.FORM):b&&e.openElements.remove(b))}function Zo(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(oe.P,c.P),e._closePElement()}function ao(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function Mo(e,r){const b=r.tagID;e.openElements.hasInScope(b)&&(e.openElements.generateImpliedEndTagsWithExclusion(b),e.openElements.popUntilTagNamePopped(b))}function Yo(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function So(e,r){const b=r.tagID;e.openElements.hasInScope(b)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b),e.activeFormattingElements.clearToLastMarker())}function Oi(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(oe.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function ki(e,r){const b=r.tagName,K=r.tagID;for(let We=e.openElements.stackTop;We>0;We--){const yt=e.openElements.items[We],Yt=e.openElements.tagIDs[We];if(K===Yt&&(K!==c.UNKNOWN||e.treeAdapter.getTagName(yt)===b)){e.openElements.generateImpliedEndTagsWithExclusion(K),e.openElements.stackTop>=We&&e.openElements.shortenToLength(We);break}if(e._isSpecialElement(yt,Yt))break}}function io(e,r){switch(r.tagID){case c.A:case c.B:case c.I:case c.S:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.NOBR:case c.SMALL:case c.STRIKE:case c.STRONG:{Zi(e,r);break}case c.P:{Zo(e);break}case c.DL:case c.UL:case c.OL:case c.DIR:case c.DIV:case c.NAV:case c.PRE:case c.MAIN:case c.MENU:case c.ASIDE:case c.BUTTON:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.ADDRESS:case c.ARTICLE:case c.DETAILS:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.LISTING:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{ns(e,r);break}case c.LI:{ao(e);break}case c.DD:case c.DT:{Mo(e,r);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{Yo(e);break}case c.BR:{Oi(e);break}case c.BODY:{Wo(e,r);break}case c.HTML:{Vo(e,r);break}case c.FORM:{Do(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{So(e,r);break}case c.TEMPLATE:{fi(e,r);break}default:ki(e,r)}}function _o(e,r){e.tmplInsertionModeStack.length>0?w(e,r):ni(e,r)}function si(e,r){var b;r.tagID===c.SCRIPT&&((b=e.scriptHandler)===null||b===void 0||b.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Po(e,r){e._err(r,Ze.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(r)}function oo(e,r){if(e.openElements.currentTagId!==void 0&&qr.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=ve.IN_TABLE_TEXT,r.type){case Mt.CHARACTER:{Ui(e,r);break}case Mt.WHITESPACE_CHARACTER:{Fo(e,r);break}}else hi(e,r)}function To(e,r){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_CAPTION}function Bo(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_COLUMN_GROUP}function so(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(oe.COLGROUP,c.COLGROUP),e.insertionMode=ve.IN_COLUMN_GROUP,po(e,r)}function rs(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_TABLE_BODY}function $i(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(oe.TBODY,c.TBODY),e.insertionMode=ve.IN_TABLE_BODY,Ti(e,r)}function Xo(e,r){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(r))}function xo(e,r){Fi(r)?e._appendElement(r,gt.HTML):hi(e,r),r.ackSelfClosing=!0}function lo(e,r){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(r,gt.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function mi(e,r){switch(r.tagID){case c.TD:case c.TH:case c.TR:{$i(e,r);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Aa(e,r);break}case c.COL:{so(e,r);break}case c.FORM:{lo(e,r);break}case c.TABLE:{Xo(e,r);break}case c.TBODY:case c.TFOOT:case c.THEAD:{rs(e,r);break}case c.INPUT:{xo(e,r);break}case c.CAPTION:{To(e,r);break}case c.COLGROUP:{Bo(e,r);break}default:hi(e,r)}}function uo(e,r){switch(r.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{fi(e,r);break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:hi(e,r)}}function hi(e,r){const b=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,za(e,r),e.fosterParentingEnabled=b}function Fo(e,r){e.pendingCharacterTokens.push(r)}function Ui(e,r){e.pendingCharacterTokens.push(r),e.hasNonWhitespacePendingCharacterToken=!0}function ei(e,r){let b=0;if(e.hasNonWhitespacePendingCharacterToken)for(;b0&&e.openElements.currentTagId===c.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===c.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop();break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop();break}case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode());break}case c.TEMPLATE:{fi(e,r);break}default:}}function ae(e,r){const b=r.tagID;b===c.CAPTION||b===c.TABLE||b===c.TBODY||b===c.TFOOT||b===c.THEAD||b===c.TR||b===c.TD||b===c.TH?(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e._processStartTag(r)):R(e,r)}function me(e,r){const b=r.tagID;b===c.CAPTION||b===c.TABLE||b===c.TBODY||b===c.TFOOT||b===c.THEAD||b===c.TR||b===c.TD||b===c.TH?e.openElements.hasInTableScope(b)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e.onEndTag(r)):L(e,r)}function xe(e,r){switch(r.tagID){case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{Aa(e,r);break}case c.CAPTION:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.tmplInsertionModeStack[0]=ve.IN_TABLE,e.insertionMode=ve.IN_TABLE,mi(e,r);break}case c.COL:{e.tmplInsertionModeStack[0]=ve.IN_COLUMN_GROUP,e.insertionMode=ve.IN_COLUMN_GROUP,po(e,r);break}case c.TR:{e.tmplInsertionModeStack[0]=ve.IN_TABLE_BODY,e.insertionMode=ve.IN_TABLE_BODY,Ti(e,r);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=ve.IN_ROW,e.insertionMode=ve.IN_ROW,Ua(e,r);break}default:e.tmplInsertionModeStack[0]=ve.IN_BODY,e.insertionMode=ve.IN_BODY,Ia(e,r)}}function Ne(e,r){r.tagID===c.TEMPLATE&&fi(e,r)}function w(e,r){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(r)):ni(e,r)}function et(e,r){r.tagID===c.HTML?Ia(e,r):ft(e,r)}function Ye(e,r){var b;if(r.tagID===c.HTML){if(e.fragmentContext||(e.insertionMode=ve.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===c.HTML){e._setEndLocation(e.openElements.items[0],r);const K=e.openElements.items[1];K&&!(!((b=e.treeAdapter.getNodeSourceCodeLocation(K))===null||b===void 0)&&b.endTag)&&e._setEndLocation(K,r)}}else ft(e,r)}function ft(e,r){e.insertionMode=ve.IN_BODY,za(e,r)}function Ct(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.FRAMESET:{e._insertElement(r,gt.HTML);break}case c.FRAME:{e._appendElement(r,gt.HTML),r.ackSelfClosing=!0;break}case c.NOFRAMES:{Aa(e,r);break}default:}}function bt(e,r){r.tagID===c.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==c.FRAMESET&&(e.insertionMode=ve.AFTER_FRAMESET))}function $t(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.NOFRAMES:{Aa(e,r);break}default:}}function Ut(e,r){r.tagID===c.HTML&&(e.insertionMode=ve.AFTER_AFTER_FRAMESET)}function Ft(e,r){r.tagID===c.HTML?Ia(e,r):o(e,r)}function o(e,r){e.insertionMode=ve.IN_BODY,za(e,r)}function d(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.NOFRAMES:{Aa(e,r);break}default:}}function m(e,r){r.chars=qe,e._insertCharacters(r)}function E(e,r){e._insertCharacters(r),e.framesetOk=!1}function I(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==gt.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function k(e,r){if(Na(r))I(e),e._startTagOutsideForeignContent(r);else{const b=e._getAdjustedCurrentElement(),K=e.treeAdapter.getNamespaceURI(b);K===gt.MATHML?Fa(r):K===gt.SVG&&(Ai(r),ka(r)),ua(r),r.selfClosing?e._appendElement(r,K):e._insertElement(r,K),r.ackSelfClosing=!0}}function M(e,r){if(r.tagID===c.P||r.tagID===c.BR){I(e),e._endTagOutsideForeignContent(r);return}for(let b=e.openElements.stackTop;b>0;b--){const K=e.openElements.items[b];if(e.treeAdapter.getNamespaceURI(K)===gt.HTML){e._endTagOutsideForeignContent(r);break}const We=e.treeAdapter.getTagName(K);if(We.toLowerCase()===r.tagName){r.tagName=We,e.openElements.shortenToLength(b);break}}}const q=/["$&'<>\u0080-\uFFFF]/g,Be=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Me=String.prototype.codePointAt==null?(e,r)=>(e.charCodeAt(r)&64512)===55296?(e.charCodeAt(r)-55296)*1024+e.charCodeAt(r+1)-56320+65536:e.charCodeAt(r):(e,r)=>e.codePointAt(r);function de(e){let r="",b=0,K;for(;(K=q.exec(e))!==null;){const{index:We}=K,yt=e.charCodeAt(We),Yt=Be.get(yt);Yt===void 0?(r+=`${e.substring(b,We)}&#x${Me(e,We).toString(16)};`,b=q.lastIndex+=+((yt&64512)===55296)):(r+=e.substring(b,We)+Yt,b=We+1)}return r+e.substr(b)}const Ue=null;function De(e,r){return function(K){let We,yt=0,Yt="";for(;We=e.exec(K);)yt!==We.index&&(Yt+=K.substring(yt,We.index)),Yt+=r.get(We[0].charCodeAt(0)),yt=We.index+1;return Yt+K.substring(yt)}}const ge=null,Bt=De(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),en=De(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),bn=new Set([oe.AREA,oe.BASE,oe.BASEFONT,oe.BGSOUND,oe.BR,oe.COL,oe.EMBED,oe.FRAME,oe.HR,oe.IMG,oe.INPUT,oe.KEYGEN,oe.LINK,oe.META,oe.PARAM,oe.SOURCE,oe.TRACK,oe.WBR]);function Gt(e,r){return r.treeAdapter.isElementNode(e)&&r.treeAdapter.getNamespaceURI(e)===NS.HTML&&bn.has(r.treeAdapter.getTagName(e))}const rn={treeAdapter:lr,scriptingEnabled:!0};function on(e,r){const b=ur(ur({},rn),r);return Gt(e,b)?"":Xn(e,b)}function Dn(e,r){const b=ur(ur({},rn),r);return Ht(e,b)}function Xn(e,r){let b="";const K=r.treeAdapter.isElementNode(e)&&r.treeAdapter.getTagName(e)===$.TEMPLATE&&r.treeAdapter.getNamespaceURI(e)===NS.HTML?r.treeAdapter.getTemplateContent(e):e,We=r.treeAdapter.getChildNodes(K);if(We)for(const yt of We)b+=Ht(yt,r);return b}function Ht(e,r){return r.treeAdapter.isElementNode(e)?Qn(e,r):r.treeAdapter.isTextNode(e)?Sn(e,r):r.treeAdapter.isCommentNode(e)?cr(e,r):r.treeAdapter.isDocumentTypeNode(e)?er(e,r):""}function Qn(e,r){const b=r.treeAdapter.getTagName(e);return`<${b}${fr(e,r)}>${Gt(e,r)?"":`${Xn(e,r)}`}`}function fr(e,{treeAdapter:r}){let b="";for(const K of r.getAttrList(e)){if(b+=" ",K.namespace)switch(K.namespace){case NS.XML:{b+=`xml:${K.name}`;break}case NS.XMLNS:{K.name!=="xmlns"&&(b+="xmlns:"),b+=K.name;break}case NS.XLINK:{b+=`xlink:${K.name}`;break}default:b+=`${K.prefix}:${K.name}`}else b+=K.name;b+=`="${escapeAttribute(K.value)}"`}return b}function Sn(e,r){const{treeAdapter:b}=r,K=b.getTextNodeContent(e),We=b.getParentNode(e),yt=We&&b.isElementNode(We)&&b.getTagName(We);return yt&&b.getNamespaceURI(We)===NS.HTML&&hasUnescapedText(yt,r.scriptingEnabled)?K:escapeText(K)}function cr(e,{treeAdapter:r}){return``}function er(e,{treeAdapter:r}){return``}function qn(e,r){return Parser.parse(e,r)}function Tn(e,r,b){typeof e=="string"&&(b=r,r=e,e=null);const K=Parser.getFragmentParser(e,b);return K.tokenizer.write(r,!0),K.getFragment()}var jn=t(17970),an=t(10528);const fn=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,En=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),yn={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function rr(e,r){const b=Or(e),K=Te("type",{handlers:{root:Pn,element:sr,text:je,comment:Ma,doctype:Jr,raw:ca},unknown:aa}),We={parser:b?new La(yn):La.getFragmentParser(void 0,yn),handle(An){K(An,We)},stitches:!1,options:r||{}};K(e,We),zr(We,(0,jn.Pk)());const yt=b?We.parser.document:We.parser.getFragment(),Yt=pe(yt,{file:We.options.file});return We.stitches&&(0,an.Vn)(Yt,"comment",function(An,Bn,Nt){const nn=An;if(nn.value.stitch&&Nt&&Bn!==void 0){const Mn=Nt.children;return Mn[Bn]=nn.value.stitch,Bn}}),Yt.type==="root"&&Yt.children.length===1&&Yt.children[0].type===e.type?Yt.children[0]:Yt}function Ae(e,r){let b=-1;if(e)for(;++b4&&(r.parser.tokenizer.state=0);const b={type:Mt.CHARACTER,chars:e.value,location:Wr(e)};zr(r,(0,jn.Pk)(e)),r.parser.currentToken=b,r.parser._processToken(r.parser.currentToken)}function Jr(e,r){const b={type:Mt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Wr(e)};zr(r,(0,jn.Pk)(e)),r.parser.currentToken=b,r.parser._processToken(r.parser.currentToken)}function ma(e,r){r.stitches=!0;const b=ha(e);if("children"in e&&"children"in b){const K=rr({type:"root",children:e.children},r.options);b.children=K.children}Ma({type:"comment",value:{stitch:b}},r)}function Ma(e,r){const b=e.value,K={type:Mt.COMMENT,data:b,location:Wr(e)};zr(r,(0,jn.Pk)(e)),r.parser.currentToken=K,r.parser._processToken(r.parser.currentToken)}function ca(e,r){if(r.parser.tokenizer.preprocessor.html="",r.parser.tokenizer.preprocessor.pos=-1,r.parser.tokenizer.preprocessor.lastGapPos=-2,r.parser.tokenizer.preprocessor.gapStack=[],r.parser.tokenizer.preprocessor.skipNextNewLine=!1,r.parser.tokenizer.preprocessor.lastChunkWritten=!1,r.parser.tokenizer.preprocessor.endOfChunkHit=!1,r.parser.tokenizer.preprocessor.isEol=!1,Sa(r,(0,jn.Pk)(e)),r.parser.tokenizer.write(r.options.tagfilter?e.value.replace(fn,"<$1$2"):e.value,!1),r.parser.tokenizer._runParsingLoop(),r.parser.tokenizer.state===72||r.parser.tokenizer.state===78){r.parser.tokenizer.preprocessor.lastChunkWritten=!0;const b=r.parser.tokenizer._consume();r.parser.tokenizer._callState(b)}}function aa(e,r){const b=e;if(r.options.passThrough&&r.options.passThrough.includes(b.type))ma(b,r);else{let K="";throw En.has(b.type)&&(K=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+b.type+"` node"+K)}}function zr(e,r){Sa(e,r);const b=e.parser.tokenizer.currentCharacterToken;b&&b.location&&(b.location.endLine=e.parser.tokenizer.preprocessor.line,b.location.endCol=e.parser.tokenizer.preprocessor.col+1,b.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=b,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ln.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Sa(e,r){if(r&&r.offset!==void 0){const b={startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-r.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=r.offset,e.parser.tokenizer.preprocessor.line=r.line,e.parser.tokenizer.currentLocation=b}}function Ga(e,r){const b=e.tagName.toLowerCase();if(r.parser.tokenizer.state===Ln.PLAINTEXT)return;zr(r,(0,jn.Pk)(e));const K=r.parser.openElements.current;let We="namespaceURI"in K?K.namespaceURI:U.t.html;We===U.t.html&&b==="svg"&&(We=U.t.svg);const yt=Pe(Io(ur({},e),{children:[]}),{space:We===U.t.svg?"svg":"html"}),Yt={type:Mt.START_TAG,tagName:b,tagID:Dt(b),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in yt?yt.attrs:[],location:Wr(e)};r.parser.currentToken=Yt,r.parser._processToken(r.parser.currentToken),r.parser.tokenizer.lastStartTagName=b}function xr(e,r){const b=e.tagName.toLowerCase();if(!r.parser.tokenizer.inForeignNode&&Ge.includes(b)||r.parser.tokenizer.state===Ln.PLAINTEXT)return;zr(r,(0,jn.rb)(e));const K={type:Mt.END_TAG,tagName:b,tagID:Dt(b),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Wr(e)};r.parser.currentToken=K,r.parser._processToken(r.parser.currentToken),b===r.parser.tokenizer.lastStartTagName&&(r.parser.tokenizer.state===Ln.RCDATA||r.parser.tokenizer.state===Ln.RAWTEXT||r.parser.tokenizer.state===Ln.SCRIPT_DATA)&&(r.parser.tokenizer.state=Ln.DATA)}function Or(e){const r=e.type==="root"?e.children[0]:e;return!!(r&&(r.type==="doctype"||r.type==="element"&&r.tagName.toLowerCase()==="html"))}function Wr(e){const r=(0,jn.Pk)(e)||{line:void 0,column:void 0,offset:void 0},b=(0,jn.rb)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:b.line,endCol:b.column,endOffset:b.offset}}function ha(e){return"children"in e?(0,p.ZP)(Io(ur({},e),{children:[]})):(0,p.ZP)(e)}function Ta(e){return function(r,b){return rr(r,Io(ur({},e),{file:b}))}}},10787:function(S,s,t){"use strict";t.d(s,{Z:function(){return te}});function i(ne){if(typeof ne!="string")throw new TypeError("Expected a string");return ne.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var p=t(2348),g=t(10502);function h(ne,pe,Ee){const se=Ee||{},Se=(0,g.O)(se.ignore||[]),be=C(pe);let Ce=-1;for(;++Ce0?{type:"text",value:$e}:void 0),$e===!1?W.lastIndex=rt+1:(J!==rt&&D.push({type:"text",value:Z.value.slice(J,rt)}),Array.isArray($e)?D.push(...$e):$e&&D.push($e),J=rt+He[0].length,fe=!0),!W.global)break;He=W.exec(Z.value)}return fe?(JW&&(W=Y):Y=1,B=Z+j.length,Z=G.indexOf(j,B);return W}function g(){return{enter:{mathFlow:Ce,mathFlowFenceMeta:j,mathText:Y},exit:{mathFlow:B,mathFlowFence:Z,mathFlowFenceMeta:G,mathFlowValue:le,mathText:W,mathTextData:le}};function Ce(J){const X={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[X]}},J)}function j(){this.buffer()}function G(){const J=this.resume(),X=this.stack[this.stack.length-1];(0,i.ok)(X.type==="math"),X.meta=J}function Z(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function B(J){const X=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),ye=this.stack[this.stack.length-1];(0,i.ok)(ye.type==="math"),this.exit(J),ye.value=X;const fe=ye.data.hChildren[0];(0,i.ok)(fe.type==="element"),(0,i.ok)(fe.tagName==="code"),fe.children.push({type:"text",value:X}),this.data.mathFlowInside=void 0}function Y(J){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},J),this.buffer()}function W(J){const X=this.resume(),ye=this.stack[this.stack.length-1];(0,i.ok)(ye.type==="inlineMath"),this.exit(J),ye.value=X,ye.data.hChildren.push({type:"text",value:X})}function le(J){this.config.enter.data.call(this,J),this.config.exit.data.call(this,J)}}function h(Ce){let j=(Ce||{}).singleDollarTextMath;return j==null&&(j=!0),Z.peek=B,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` +?)[ \r ]*`,Ma="[\u0300-\u036F]",ca=new RegExp(Ma+"+$"),aa="("+Pn+"+)|"+(ma+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ma+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ma+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Jr)+("|"+je+")");class zr{constructor(n,a){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=n,this.settings=a,this.tokenRegex=new RegExp(aa,"g"),this.catcodes={"%":14,"~":13}}setCatcode(n,a){this.catcodes[n]=a}lex(){var n=this.input,a=this.tokenRegex.lastIndex;if(a===n.length)return new ct("EOF",new Ne(this,a,a));var u=this.tokenRegex.exec(n);if(u===null||u.index!==a)throw new Xe("Unexpected character: '"+n[a]+"'",new ct(n[a],new Ne(this,a,a+1)));var v=u[6]||u[3]||(u[2]?"\\ ":" ");if(this.catcodes[v]===14){var x=n.indexOf(` +`,this.tokenRegex.lastIndex);return x===-1?(this.tokenRegex.lastIndex=n.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=x+1,this.lex()}return new ct(v,new Ne(this,a,this.tokenRegex.lastIndex))}}class Sa{constructor(n,a){n===void 0&&(n={}),a===void 0&&(a={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=a,this.builtins=n,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Xe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var n=this.undefStack.pop();for(var a in n)n.hasOwnProperty(a)&&(n[a]==null?delete this.current[a]:this.current[a]=n[a])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(n){return this.current.hasOwnProperty(n)||this.builtins.hasOwnProperty(n)}get(n){return this.current.hasOwnProperty(n)?this.current[n]:this.builtins[n]}set(n,a,u){if(u===void 0&&(u=!1),u){for(var v=0;v0&&(this.undefStack[this.undefStack.length-1][n]=a)}else{var x=this.undefStack[this.undefStack.length-1];x&&!x.hasOwnProperty(n)&&(x[n]=this.current[n])}a==null?delete this.current[n]:this.current[n]=a}}var Ga=we;w("\\noexpand",function(l){var n=l.popToken();return l.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}}),w("\\expandafter",function(l){var n=l.popToken();return l.expandOnce(!0),{tokens:[n],numArgs:0}}),w("\\@firstoftwo",function(l){var n=l.consumeArgs(2);return{tokens:n[0],numArgs:0}}),w("\\@secondoftwo",function(l){var n=l.consumeArgs(2);return{tokens:n[1],numArgs:0}}),w("\\@ifnextchar",function(l){var n=l.consumeArgs(3);l.consumeSpaces();var a=l.future();return n[0].length===1&&n[0][0].text===a.text?{tokens:n[1],numArgs:0}:{tokens:n[2],numArgs:0}}),w("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),w("\\TextOrMath",function(l){var n=l.consumeArgs(2);return l.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var xr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};w("\\char",function(l){var n=l.popToken(),a,u="";if(n.text==="'")a=8,n=l.popToken();else if(n.text==='"')a=16,n=l.popToken();else if(n.text==="`")if(n=l.popToken(),n.text[0]==="\\")u=n.text.charCodeAt(1);else{if(n.text==="EOF")throw new Xe("\\char` missing argument");u=n.text.charCodeAt(0)}else a=10;if(a){if(u=xr[n.text],u==null||u>=a)throw new Xe("Invalid base-"+a+" digit "+n.text);for(var v;(v=xr[l.future().text])!=null&&v{var v=l.consumeArg().tokens;if(v.length!==1)throw new Xe("\\newcommand's first argument must be a macro name");var x=v[0].text,P=l.isDefined(x);if(P&&!n)throw new Xe("\\newcommand{"+x+"} attempting to redefine "+(x+"; use \\renewcommand"));if(!P&&!a)throw new Xe("\\renewcommand{"+x+"} when command "+x+" does not yet exist; use \\newcommand");var re=0;if(v=l.consumeArg().tokens,v.length===1&&v[0].text==="["){for(var ue="",Ve=l.expandNextToken();Ve.text!=="]"&&Ve.text!=="EOF";)ue+=Ve.text,Ve=l.expandNextToken();if(!ue.match(/^\s*[0-9]+\s*$/))throw new Xe("Invalid number of arguments: "+ue);re=parseInt(ue),v=l.consumeArg().tokens}return P&&u||l.macros.set(x,{tokens:v,numArgs:re}),""};w("\\newcommand",l=>Or(l,!1,!0,!1)),w("\\renewcommand",l=>Or(l,!0,!1,!1)),w("\\providecommand",l=>Or(l,!0,!0,!0)),w("\\message",l=>{var n=l.consumeArgs(1)[0];return console.log(n.reverse().map(a=>a.text).join("")),""}),w("\\errmessage",l=>{var n=l.consumeArgs(1)[0];return console.error(n.reverse().map(a=>a.text).join("")),""}),w("\\show",l=>{var n=l.popToken(),a=n.text;return console.log(n,l.macros.get(a),Ae[a],Zn.math[a],Zn.text[a]),""}),w("\\bgroup","{"),w("\\egroup","}"),w("~","\\nobreakspace"),w("\\lq","`"),w("\\rq","'"),w("\\aa","\\r a"),w("\\AA","\\r A"),w("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),w("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),w("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),w("\u212C","\\mathscr{B}"),w("\u2130","\\mathscr{E}"),w("\u2131","\\mathscr{F}"),w("\u210B","\\mathscr{H}"),w("\u2110","\\mathscr{I}"),w("\u2112","\\mathscr{L}"),w("\u2133","\\mathscr{M}"),w("\u211B","\\mathscr{R}"),w("\u212D","\\mathfrak{C}"),w("\u210C","\\mathfrak{H}"),w("\u2128","\\mathfrak{Z}"),w("\\Bbbk","\\Bbb{k}"),w("\xB7","\\cdotp"),w("\\llap","\\mathllap{\\textrm{#1}}"),w("\\rlap","\\mathrlap{\\textrm{#1}}"),w("\\clap","\\mathclap{\\textrm{#1}}"),w("\\mathstrut","\\vphantom{(}"),w("\\underbar","\\underline{\\text{#1}}"),w("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),w("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),w("\\ne","\\neq"),w("\u2260","\\neq"),w("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),w("\u2209","\\notin"),w("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),w("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),w("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),w("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),w("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),w("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),w("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),w("\u27C2","\\perp"),w("\u203C","\\mathclose{!\\mkern-0.8mu!}"),w("\u220C","\\notni"),w("\u231C","\\ulcorner"),w("\u231D","\\urcorner"),w("\u231E","\\llcorner"),w("\u231F","\\lrcorner"),w("\xA9","\\copyright"),w("\xAE","\\textregistered"),w("\uFE0F","\\textregistered"),w("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),w("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),w("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),w("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),w("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),w("\u22EE","\\vdots"),w("\\varGamma","\\mathit{\\Gamma}"),w("\\varDelta","\\mathit{\\Delta}"),w("\\varTheta","\\mathit{\\Theta}"),w("\\varLambda","\\mathit{\\Lambda}"),w("\\varXi","\\mathit{\\Xi}"),w("\\varPi","\\mathit{\\Pi}"),w("\\varSigma","\\mathit{\\Sigma}"),w("\\varUpsilon","\\mathit{\\Upsilon}"),w("\\varPhi","\\mathit{\\Phi}"),w("\\varPsi","\\mathit{\\Psi}"),w("\\varOmega","\\mathit{\\Omega}"),w("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),w("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),w("\\boxed","\\fbox{$\\displaystyle{#1}$}"),w("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),w("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),w("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),w("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),w("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Wr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};w("\\dots",function(l){var n="\\dotso",a=l.expandAfterFuture().text;return a in Wr?n=Wr[a]:(a.slice(0,4)==="\\not"||a in Zn.math&&N.contains(["bin","rel"],Zn.math[a].group))&&(n="\\dotsb"),n});var ha={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};w("\\dotso",function(l){var n=l.future().text;return n in ha?"\\ldots\\,":"\\ldots"}),w("\\dotsc",function(l){var n=l.future().text;return n in ha&&n!==","?"\\ldots\\,":"\\ldots"}),w("\\cdots",function(l){var n=l.future().text;return n in ha?"\\@cdots\\,":"\\@cdots"}),w("\\dotsb","\\cdots"),w("\\dotsm","\\cdots"),w("\\dotsi","\\!\\cdots"),w("\\dotsx","\\ldots\\,"),w("\\DOTSI","\\relax"),w("\\DOTSB","\\relax"),w("\\DOTSX","\\relax"),w("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),w("\\,","\\tmspace+{3mu}{.1667em}"),w("\\thinspace","\\,"),w("\\>","\\mskip{4mu}"),w("\\:","\\tmspace+{4mu}{.2222em}"),w("\\medspace","\\:"),w("\\;","\\tmspace+{5mu}{.2777em}"),w("\\thickspace","\\;"),w("\\!","\\tmspace-{3mu}{.1667em}"),w("\\negthinspace","\\!"),w("\\negmedspace","\\tmspace-{4mu}{.2222em}"),w("\\negthickspace","\\tmspace-{5mu}{.277em}"),w("\\enspace","\\kern.5em "),w("\\enskip","\\hskip.5em\\relax"),w("\\quad","\\hskip1em\\relax"),w("\\qquad","\\hskip2em\\relax"),w("\\tag","\\@ifstar\\tag@literal\\tag@paren"),w("\\tag@paren","\\tag@literal{({#1})}"),w("\\tag@literal",l=>{if(l.macros.get("\\df@tag"))throw new Xe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),w("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),w("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),w("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),w("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),w("\\newline","\\\\\\relax"),w("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ta=Tt(ar["Main-Regular"][84][1]-.7*ar["Main-Regular"][65][1]);w("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ta+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),w("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ta+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),w("\\hspace","\\@ifstar\\@hspacer\\@hspace"),w("\\@hspace","\\hskip #1\\relax"),w("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),w("\\ordinarycolon",":"),w("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),w("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),w("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),w("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),w("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),w("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),w("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),w("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),w("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),w("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),w("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),w("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),w("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),w("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),w("\u2237","\\dblcolon"),w("\u2239","\\eqcolon"),w("\u2254","\\coloneqq"),w("\u2255","\\eqqcolon"),w("\u2A74","\\Coloneqq"),w("\\ratio","\\vcentcolon"),w("\\coloncolon","\\dblcolon"),w("\\colonequals","\\coloneqq"),w("\\coloncolonequals","\\Coloneqq"),w("\\equalscolon","\\eqqcolon"),w("\\equalscoloncolon","\\Eqqcolon"),w("\\colonminus","\\coloneq"),w("\\coloncolonminus","\\Coloneq"),w("\\minuscolon","\\eqcolon"),w("\\minuscoloncolon","\\Eqcolon"),w("\\coloncolonapprox","\\Colonapprox"),w("\\coloncolonsim","\\Colonsim"),w("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),w("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),w("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),w("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),w("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),w("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),w("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),w("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),w("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),w("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),w("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),w("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),w("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),w("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),w("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),w("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),w("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),w("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),w("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),w("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),w("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),w("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),w("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),w("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),w("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),w("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),w("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),w("\\imath","\\html@mathml{\\@imath}{\u0131}"),w("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),w("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),w("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),w("\u27E6","\\llbracket"),w("\u27E7","\\rrbracket"),w("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),w("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),w("\u2983","\\lBrace"),w("\u2984","\\rBrace"),w("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),w("\u29B5","\\minuso"),w("\\darr","\\downarrow"),w("\\dArr","\\Downarrow"),w("\\Darr","\\Downarrow"),w("\\lang","\\langle"),w("\\rang","\\rangle"),w("\\uarr","\\uparrow"),w("\\uArr","\\Uparrow"),w("\\Uarr","\\Uparrow"),w("\\N","\\mathbb{N}"),w("\\R","\\mathbb{R}"),w("\\Z","\\mathbb{Z}"),w("\\alef","\\aleph"),w("\\alefsym","\\aleph"),w("\\Alpha","\\mathrm{A}"),w("\\Beta","\\mathrm{B}"),w("\\bull","\\bullet"),w("\\Chi","\\mathrm{X}"),w("\\clubs","\\clubsuit"),w("\\cnums","\\mathbb{C}"),w("\\Complex","\\mathbb{C}"),w("\\Dagger","\\ddagger"),w("\\diamonds","\\diamondsuit"),w("\\empty","\\emptyset"),w("\\Epsilon","\\mathrm{E}"),w("\\Eta","\\mathrm{H}"),w("\\exist","\\exists"),w("\\harr","\\leftrightarrow"),w("\\hArr","\\Leftrightarrow"),w("\\Harr","\\Leftrightarrow"),w("\\hearts","\\heartsuit"),w("\\image","\\Im"),w("\\infin","\\infty"),w("\\Iota","\\mathrm{I}"),w("\\isin","\\in"),w("\\Kappa","\\mathrm{K}"),w("\\larr","\\leftarrow"),w("\\lArr","\\Leftarrow"),w("\\Larr","\\Leftarrow"),w("\\lrarr","\\leftrightarrow"),w("\\lrArr","\\Leftrightarrow"),w("\\Lrarr","\\Leftrightarrow"),w("\\Mu","\\mathrm{M}"),w("\\natnums","\\mathbb{N}"),w("\\Nu","\\mathrm{N}"),w("\\Omicron","\\mathrm{O}"),w("\\plusmn","\\pm"),w("\\rarr","\\rightarrow"),w("\\rArr","\\Rightarrow"),w("\\Rarr","\\Rightarrow"),w("\\real","\\Re"),w("\\reals","\\mathbb{R}"),w("\\Reals","\\mathbb{R}"),w("\\Rho","\\mathrm{P}"),w("\\sdot","\\cdot"),w("\\sect","\\S"),w("\\spades","\\spadesuit"),w("\\sub","\\subset"),w("\\sube","\\subseteq"),w("\\supe","\\supseteq"),w("\\Tau","\\mathrm{T}"),w("\\thetasym","\\vartheta"),w("\\weierp","\\wp"),w("\\Zeta","\\mathrm{Z}"),w("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),w("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),w("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),w("\\bra","\\mathinner{\\langle{#1}|}"),w("\\ket","\\mathinner{|{#1}\\rangle}"),w("\\braket","\\mathinner{\\langle{#1}\\rangle}"),w("\\Bra","\\left\\langle#1\\right|"),w("\\Ket","\\left|#1\\right\\rangle");var e=l=>n=>{var a=n.consumeArg().tokens,u=n.consumeArg().tokens,v=n.consumeArg().tokens,x=n.consumeArg().tokens,P=n.macros.get("|"),re=n.macros.get("\\|");n.macros.beginGroup();var ue=St=>Zt=>{l&&(Zt.macros.set("|",P),v.length&&Zt.macros.set("\\|",re));var Wt=St;if(!St&&v.length){var pn=Zt.future();pn.text==="|"&&(Zt.popToken(),Wt=!0)}return{tokens:Wt?v:u,numArgs:0}};n.macros.set("|",ue(!1)),v.length&&n.macros.set("\\|",ue(!0));var Ve=n.consumeArg().tokens,lt=n.expandTokens([...x,...Ve,...a]);return n.macros.endGroup(),{tokens:lt.reverse(),numArgs:0}};w("\\bra@ket",e(!1)),w("\\bra@set",e(!0)),w("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),w("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),w("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),w("\\angln","{\\angl n}"),w("\\blue","\\textcolor{##6495ed}{#1}"),w("\\orange","\\textcolor{##ffa500}{#1}"),w("\\pink","\\textcolor{##ff00af}{#1}"),w("\\red","\\textcolor{##df0030}{#1}"),w("\\green","\\textcolor{##28ae7b}{#1}"),w("\\gray","\\textcolor{gray}{#1}"),w("\\purple","\\textcolor{##9d38bd}{#1}"),w("\\blueA","\\textcolor{##ccfaff}{#1}"),w("\\blueB","\\textcolor{##80f6ff}{#1}"),w("\\blueC","\\textcolor{##63d9ea}{#1}"),w("\\blueD","\\textcolor{##11accd}{#1}"),w("\\blueE","\\textcolor{##0c7f99}{#1}"),w("\\tealA","\\textcolor{##94fff5}{#1}"),w("\\tealB","\\textcolor{##26edd5}{#1}"),w("\\tealC","\\textcolor{##01d1c1}{#1}"),w("\\tealD","\\textcolor{##01a995}{#1}"),w("\\tealE","\\textcolor{##208170}{#1}"),w("\\greenA","\\textcolor{##b6ffb0}{#1}"),w("\\greenB","\\textcolor{##8af281}{#1}"),w("\\greenC","\\textcolor{##74cf70}{#1}"),w("\\greenD","\\textcolor{##1fab54}{#1}"),w("\\greenE","\\textcolor{##0d923f}{#1}"),w("\\goldA","\\textcolor{##ffd0a9}{#1}"),w("\\goldB","\\textcolor{##ffbb71}{#1}"),w("\\goldC","\\textcolor{##ff9c39}{#1}"),w("\\goldD","\\textcolor{##e07d10}{#1}"),w("\\goldE","\\textcolor{##a75a05}{#1}"),w("\\redA","\\textcolor{##fca9a9}{#1}"),w("\\redB","\\textcolor{##ff8482}{#1}"),w("\\redC","\\textcolor{##f9685d}{#1}"),w("\\redD","\\textcolor{##e84d39}{#1}"),w("\\redE","\\textcolor{##bc2612}{#1}"),w("\\maroonA","\\textcolor{##ffbde0}{#1}"),w("\\maroonB","\\textcolor{##ff92c6}{#1}"),w("\\maroonC","\\textcolor{##ed5fa6}{#1}"),w("\\maroonD","\\textcolor{##ca337c}{#1}"),w("\\maroonE","\\textcolor{##9e034e}{#1}"),w("\\purpleA","\\textcolor{##ddd7ff}{#1}"),w("\\purpleB","\\textcolor{##c6b9fc}{#1}"),w("\\purpleC","\\textcolor{##aa87ff}{#1}"),w("\\purpleD","\\textcolor{##7854ab}{#1}"),w("\\purpleE","\\textcolor{##543b78}{#1}"),w("\\mintA","\\textcolor{##f5f9e8}{#1}"),w("\\mintB","\\textcolor{##edf2df}{#1}"),w("\\mintC","\\textcolor{##e0e5cc}{#1}"),w("\\grayA","\\textcolor{##f6f7f7}{#1}"),w("\\grayB","\\textcolor{##f0f1f2}{#1}"),w("\\grayC","\\textcolor{##e3e5e6}{#1}"),w("\\grayD","\\textcolor{##d6d8da}{#1}"),w("\\grayE","\\textcolor{##babec2}{#1}"),w("\\grayF","\\textcolor{##888d93}{#1}"),w("\\grayG","\\textcolor{##626569}{#1}"),w("\\grayH","\\textcolor{##3b3e40}{#1}"),w("\\grayI","\\textcolor{##21242c}{#1}"),w("\\kaBlue","\\textcolor{##314453}{#1}"),w("\\kaGreen","\\textcolor{##71B307}{#1}");var r={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class b{constructor(n,a,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=a,this.expansionCount=0,this.feed(n),this.macros=new Sa(Ga,a.macros),this.mode=u,this.stack=[]}feed(n){this.lexer=new zr(n,this.settings)}switchMode(n){this.mode=n}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(n){this.stack.push(n)}pushTokens(n){this.stack.push(...n)}scanArgument(n){var a,u,v;if(n){if(this.consumeSpaces(),this.future().text!=="[")return null;a=this.popToken(),{tokens:v,end:u}=this.consumeArg(["]"])}else({tokens:v,start:a,end:u}=this.consumeArg());return this.pushToken(new ct("EOF",u.loc)),this.pushTokens(v),new ct("",Ne.range(a,u))}consumeSpaces(){for(;;){var n=this.future();if(n.text===" ")this.stack.pop();else break}}consumeArg(n){var a=[],u=n&&n.length>0;u||this.consumeSpaces();var v=this.future(),x,P=0,re=0;do{if(x=this.popToken(),a.push(x),x.text==="{")++P;else if(x.text==="}"){if(--P,P===-1)throw new Xe("Extra }",x)}else if(x.text==="EOF")throw new Xe("Unexpected end of input in a macro argument, expected '"+(n&&u?n[re]:"}")+"'",x);if(n&&u)if((P===0||P===1&&n[re]==="{")&&x.text===n[re]){if(++re,re===n.length){a.splice(-re,re);break}}else re=0}while(P!==0||u);return v.text==="{"&&a[a.length-1].text==="}"&&(a.pop(),a.shift()),a.reverse(),{tokens:a,start:v,end:x}}consumeArgs(n,a){if(a){if(a.length!==n+1)throw new Xe("The length of delimiters doesn't match the number of args!");for(var u=a[0],v=0;vthis.settings.maxExpand)throw new Xe("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(n){var a=this.popToken(),u=a.text,v=a.noexpand?null:this._getExpansion(u);if(v==null||n&&v.unexpandable){if(n&&v==null&&u[0]==="\\"&&!this.isDefined(u))throw new Xe("Undefined control sequence: "+u);return this.pushToken(a),!1}this.countExpansion(1);var x=v.tokens,P=this.consumeArgs(v.numArgs,v.delimiters);if(v.numArgs){x=x.slice();for(var re=x.length-1;re>=0;--re){var ue=x[re];if(ue.text==="#"){if(re===0)throw new Xe("Incomplete placeholder at end of macro body",ue);if(ue=x[--re],ue.text==="#")x.splice(re+1,1);else if(/^[1-9]$/.test(ue.text))x.splice(re,2,...P[+ue.text-1]);else throw new Xe("Not a valid argument number",ue)}}}return this.pushTokens(x),x.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var n=this.stack.pop();return n.treatAsRelax&&(n.text="\\relax"),n}throw new Error}expandMacro(n){return this.macros.has(n)?this.expandTokens([new ct(n)]):void 0}expandTokens(n){var a=[],u=this.stack.length;for(this.pushTokens(n);this.stack.length>u;)if(this.expandOnce(!0)===!1){var v=this.stack.pop();v.treatAsRelax&&(v.noexpand=!1,v.treatAsRelax=!1),a.push(v)}return this.countExpansion(a.length),a}expandMacroAsText(n){var a=this.expandMacro(n);return a&&a.map(u=>u.text).join("")}_getExpansion(n){var a=this.macros.get(n);if(a==null)return a;if(n.length===1){var u=this.lexer.catcodes[n];if(u!=null&&u!==13)return}var v=typeof a=="function"?a(this):a;if(typeof v=="string"){var x=0;if(v.indexOf("#")!==-1)for(var P=v.replace(/##/g,"");P.indexOf("#"+(x+1))!==-1;)++x;for(var re=new zr(v,this.settings),ue=[],Ve=re.lex();Ve.text!=="EOF";)ue.push(Ve),Ve=re.lex();ue.reverse();var lt={tokens:ue,numArgs:x};return lt}return v}isDefined(n){return this.macros.has(n)||Ae.hasOwnProperty(n)||Zn.math.hasOwnProperty(n)||Zn.text.hasOwnProperty(n)||r.hasOwnProperty(n)}isExpandable(n){var a=this.macros.get(n);return a!=null?typeof a=="string"||typeof a=="function"||!a.unexpandable:Ae.hasOwnProperty(n)&&!Ae[n].primitive}}var K=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,We=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),yt={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},Yt={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class An{constructor(n,a){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new b(n,a,this.mode),this.settings=a,this.leftrightDepth=0}expect(n,a){if(a===void 0&&(a=!0),this.fetch().text!==n)throw new Xe("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());a&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(n){this.mode=n,this.gullet.switchMode(n)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}}subparse(n){var a=this.nextToken;this.consume(),this.gullet.pushToken(new ct("}")),this.gullet.pushTokens(n);var u=this.parseExpression(!1);return this.expect("}"),this.nextToken=a,u}parseExpression(n,a){for(var u=[];;){this.mode==="math"&&this.consumeSpaces();var v=this.fetch();if(An.endOfExpression.indexOf(v.text)!==-1||a&&v.text===a||n&&Ae[v.text]&&Ae[v.text].infix)break;var x=this.parseAtom(a);if(x){if(x.type==="internal")continue}else break;u.push(x)}return this.mode==="text"&&this.formLigatures(u),this.handleInfixNodes(u)}handleInfixNodes(n){for(var a=-1,u,v=0;v=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+a[0]+'" used in math mode',n);var re=Zn[this.mode][a].group,ue=Ne.range(n),Ve;if(nr.hasOwnProperty(re)){var lt=re;Ve={type:"atom",mode:this.mode,family:lt,loc:ue,text:a}}else Ve={type:re,mode:this.mode,loc:ue,text:a};P=Ve}else if(a.charCodeAt(0)>=128)this.settings.strict&&(sn(a.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+a[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+a[0]+'"'+(" ("+a.charCodeAt(0)+")"),n)),P={type:"textord",mode:"text",loc:Ne.range(n),text:a};else return null;if(this.consume(),x)for(var St=0;St-1&&yt<=r.length){let Yt=0;for(;;){let An=b[Yt];if(An===void 0){const Bn=F(r,b[Yt-1]);An=Bn===-1?r.length+1:Bn+1,b[Yt]=An}if(An>yt)return{line:Yt+1,column:yt-(Yt>0?b[Yt-1]:0)+1,offset:yt};Yt++}}}function We(yt){if(yt&&typeof yt.line=="number"&&typeof yt.column=="number"&&!Number.isNaN(yt.line)&&!Number.isNaN(yt.column)){for(;b.length1?b[yt.line-2]:0)+yt.column-1;if(Yt4&&b.slice(0,4)==="data"&&At.test(r)){if(r.charAt(4)==="-"){const yt=r.slice(5).replace(xt,_e);K="data"+yt.charAt(0).toUpperCase()+yt.slice(1)}else{const yt=r.slice(4);if(!xt.test(yt)){let Yt=yt.replace(Xt,ke);Yt.charAt(0)!=="-"&&(Yt="-"+Yt),r="data"+Yt}}We=ot}return new We(K,r)}function ke(e){return"-"+e.toLowerCase()}function _e(e){return e.charAt(1).toUpperCase()}var ie=t(71523);const N={}.hasOwnProperty;function Te(e,r){const b=r||{};function K(We,...yt){let Yt=K.invalid;const An=K.handlers;if(We&&N.call(We,e)){const Bn=String(We[e]);Yt=N.call(An,Bn)?An[Bn]:K.unknown}if(Yt)return Yt.call(this,We,...yt)}return K.handlers=b.handlers||{},K.invalid=b.invalid,K.unknown=b.unknown,K}const st={},V={}.hasOwnProperty,H=Te("type",{handlers:{root:he,element:Et,text:ht,comment:at,doctype:Le}});function Pe(e,r){const K=(r||st).space;return H(e,K==="svg"?dn:un)}function he(e,r){const b={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return b.childNodes=mt(e.children,b,r),ee(e,b),b}function Q(e,r){const b={nodeName:"#document-fragment",childNodes:[]};return b.childNodes=mt(e.children,b,r),ee(e,b),b}function Le(e){const r={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ee(e,r),r}function ht(e){const r={nodeName:"#text",value:e.value,parentNode:null};return ee(e,r),r}function at(e){const r={nodeName:"#comment",data:e.value,parentNode:null};return ee(e,r),r}function Et(e,r){const b=r;let K=b;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&b.space==="html"&&(K=dn);const We=[];let yt;if(e.properties){for(yt in e.properties)if(yt!=="children"&&V.call(e.properties,yt)){const Bn=dt(K,yt,e.properties[yt]);Bn&&We.push(Bn)}}const Yt=K.space;(0,g.ok)(Yt);const An={nodeName:e.tagName,tagName:e.tagName,attrs:We,namespaceURI:U.t[Yt],childNodes:[],parentNode:null};return An.childNodes=mt(e.children,An,K),ee(e,An),e.tagName==="template"&&e.content&&(An.content=Q(e.content,K)),An}function dt(e,r,b){const K=jt(e,r);if(b===!1||b===null||b===void 0||typeof b=="number"&&Number.isNaN(b)||!b&&K.boolean)return;Array.isArray(b)&&(b=K.commaSeparated?(0,Z.P)(b):(0,ie.P)(b));const We={name:K.attribute,value:b===!0?"":String(b)};if(K.space&&K.space!=="html"&&K.space!=="svg"){const yt=We.name.indexOf(":");yt<0?We.prefix="":(We.name=We.name.slice(yt+1),We.prefix=K.attribute.slice(0,yt)),We.namespace=U.t[K.space]}return We}function mt(e,r,b){let K=-1;const We=[];if(e)for(;++K=55296&&e<=57343}function Re(e){return e>=56320&&e<=57343}function Jt(e,r){return(e-55296)*1024+9216+r}function cn(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function sn(e){return e>=64976&&e<=65007||Je.has(e)}var Ze;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Ze||(Ze={}));const Rn=65536;class Cn{constructor(r){this.handler=r,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Rn,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(r,b){const{line:K,col:We,offset:yt}=this,Yt=We+b,An=yt+b;return{code:r,startLine:K,endLine:K,startCol:Yt,endCol:Yt,startOffset:An,endOffset:An}}_err(r){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(r,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(r){if(this.pos!==this.html.length-1){const b=this.html.charCodeAt(this.pos+1);if(Re(b))return this.pos++,this._addGap(),Jt(r,b)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(Ze.surrogateInInputStream),r}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(r,b){this.html.length>0?this.html+=r:this.html=r,this.endOfChunkHit=!1,this.lastChunkWritten=b}insertHtmlAtCurrentPos(r){this.html=this.html.substring(0,this.pos+1)+r+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(r,b){if(this.pos+r.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(b)return this.html.startsWith(r,this.pos);for(let K=0;K=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;const K=this.html.charCodeAt(b);return K===_.CARRIAGE_RETURN?_.LINE_FEED:K}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let r=this.html.charCodeAt(this.pos);return r===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):r===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,tt(r)&&(r=this._processSurrogate(r)),this.handler.onParseError===null||r>31&&r<127||r===_.LINE_FEED||r===_.CARRIAGE_RETURN||r>159&&r<64976||this._checkForProblematicCharacters(r),r)}_checkForProblematicCharacters(r){cn(r)?this._err(Ze.controlCharacterInInputStream):sn(r)&&this._err(Ze.noncharacterInInputStream)}retreat(r){for(this.pos-=r;this.pos=0;b--)if(e.attrs[b].name===r)return e.attrs[b].value;return null}const On=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0))),kn=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var zn;const dr=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Jn=(zn=String.fromCodePoint)!==null&&zn!==void 0?zn:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),r+=String.fromCharCode(e),r};function Cr(e){var r;return e>=55296&&e<=57343||e>1114111?65533:(r=dr.get(e))!==null&&r!==void 0?r:e}function Hr(e){return Jn(Cr(e))}var _n;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(_n||(_n={}));const ar=32;var Gn;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Gn||(Gn={}));function Ar(e){return e>=_n.ZERO&&e<=_n.NINE}function Yr(e){return e>=_n.UPPER_A&&e<=_n.UPPER_F||e>=_n.LOWER_A&&e<=_n.LOWER_F}function Kr(e){return e>=_n.UPPER_A&&e<=_n.UPPER_Z||e>=_n.LOWER_A&&e<=_n.LOWER_Z||Ar(e)}function Nr(e){return e===_n.EQUALS||Kr(e)}var ir;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ir||(ir={}));var Wn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Wn||(Wn={}));class Vn{constructor(r,b,K){this.decodeTree=r,this.emitCodePoint=b,this.errors=K,this.state=ir.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wn.Strict}startEntity(r){this.decodeMode=r,this.state=ir.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(r,b){switch(this.state){case ir.EntityStart:return r.charCodeAt(b)===_n.NUM?(this.state=ir.NumericStart,this.consumed+=1,this.stateNumericStart(r,b+1)):(this.state=ir.NamedEntity,this.stateNamedEntity(r,b));case ir.NumericStart:return this.stateNumericStart(r,b);case ir.NumericDecimal:return this.stateNumericDecimal(r,b);case ir.NumericHex:return this.stateNumericHex(r,b);case ir.NamedEntity:return this.stateNamedEntity(r,b)}}stateNumericStart(r,b){return b>=r.length?-1:(r.charCodeAt(b)|ar)===_n.LOWER_X?(this.state=ir.NumericHex,this.consumed+=1,this.stateNumericHex(r,b+1)):(this.state=ir.NumericDecimal,this.stateNumericDecimal(r,b))}addToNumericResult(r,b,K,We){if(b!==K){const yt=K-b;this.result=this.result*Math.pow(We,yt)+Number.parseInt(r.substr(b,yt),We),this.consumed+=yt}}stateNumericHex(r,b){const K=b;for(;b>14;for(;b>14,yt!==0){if(Yt===_n.SEMI)return this.emitNamedEntityData(this.treeIndex,yt,this.consumed+this.excess);this.decodeMode!==Wn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var r;const{result:b,decodeTree:K}=this,We=(K[b]&Gn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(b,We,this.consumed),(r=this.errors)===null||r===void 0||r.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(r,b,K){const{decodeTree:We}=this;return this.emitCodePoint(b===1?We[r]&~Gn.VALUE_LENGTH:We[r+1],K),b===3&&this.emitCodePoint(We[r+2],K),K}end(){var r;switch(this.state){case ir.NamedEntity:return this.result!==0&&(this.decodeMode!==Wn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ir.NumericDecimal:return this.emitNumericEntity(0,2);case ir.NumericHex:return this.emitNumericEntity(0,3);case ir.NumericStart:return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ir.EntityStart:return 0}}}function sa(e){let r="";const b=new Vn(e,K=>r+=fromCodePoint(K));return function(We,yt){let Yt=0,An=0;for(;(An=We.indexOf("&",An))>=0;){r+=We.slice(Yt,An),b.startEntity(yt);const Nt=b.write(We,An+1);if(Nt<0){Yt=An+b.end();break}Yt=An+Nt,An=Nt===0?Yt+1:Yt}const Bn=r+We.slice(Yt);return r="",Bn}}function hr(e,r,b,K){const We=(r&Gn.BRANCH_LENGTH)>>7,yt=r&Gn.JUMP_TABLE;if(We===0)return yt!==0&&K===yt?b:-1;if(yt){const Bn=K-yt;return Bn<0||Bn>=We?-1:e[b+Bn]-1}let Yt=b,An=Yt+We-1;for(;Yt<=An;){const Bn=Yt+An>>>1,Nt=e[Bn];if(NtK)An=Bn-1;else return e[Bn+We]}return-1}const It=null,ut=null;function Qt(e,r=Wn.Legacy){return It(e,r)}function qt(e){return It(e,Wn.Attribute)}function Tt(e){return It(e,Wn.Strict)}function mn(e){return ut(e,Wn.Strict)}var gt;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(gt||(gt={}));var hn;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(hn||(hn={}));var Oe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Oe||(Oe={}));var oe;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(oe||(oe={}));var c;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(c||(c={}));const pt=new Map([[oe.A,c.A],[oe.ADDRESS,c.ADDRESS],[oe.ANNOTATION_XML,c.ANNOTATION_XML],[oe.APPLET,c.APPLET],[oe.AREA,c.AREA],[oe.ARTICLE,c.ARTICLE],[oe.ASIDE,c.ASIDE],[oe.B,c.B],[oe.BASE,c.BASE],[oe.BASEFONT,c.BASEFONT],[oe.BGSOUND,c.BGSOUND],[oe.BIG,c.BIG],[oe.BLOCKQUOTE,c.BLOCKQUOTE],[oe.BODY,c.BODY],[oe.BR,c.BR],[oe.BUTTON,c.BUTTON],[oe.CAPTION,c.CAPTION],[oe.CENTER,c.CENTER],[oe.CODE,c.CODE],[oe.COL,c.COL],[oe.COLGROUP,c.COLGROUP],[oe.DD,c.DD],[oe.DESC,c.DESC],[oe.DETAILS,c.DETAILS],[oe.DIALOG,c.DIALOG],[oe.DIR,c.DIR],[oe.DIV,c.DIV],[oe.DL,c.DL],[oe.DT,c.DT],[oe.EM,c.EM],[oe.EMBED,c.EMBED],[oe.FIELDSET,c.FIELDSET],[oe.FIGCAPTION,c.FIGCAPTION],[oe.FIGURE,c.FIGURE],[oe.FONT,c.FONT],[oe.FOOTER,c.FOOTER],[oe.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[oe.FORM,c.FORM],[oe.FRAME,c.FRAME],[oe.FRAMESET,c.FRAMESET],[oe.H1,c.H1],[oe.H2,c.H2],[oe.H3,c.H3],[oe.H4,c.H4],[oe.H5,c.H5],[oe.H6,c.H6],[oe.HEAD,c.HEAD],[oe.HEADER,c.HEADER],[oe.HGROUP,c.HGROUP],[oe.HR,c.HR],[oe.HTML,c.HTML],[oe.I,c.I],[oe.IMG,c.IMG],[oe.IMAGE,c.IMAGE],[oe.INPUT,c.INPUT],[oe.IFRAME,c.IFRAME],[oe.KEYGEN,c.KEYGEN],[oe.LABEL,c.LABEL],[oe.LI,c.LI],[oe.LINK,c.LINK],[oe.LISTING,c.LISTING],[oe.MAIN,c.MAIN],[oe.MALIGNMARK,c.MALIGNMARK],[oe.MARQUEE,c.MARQUEE],[oe.MATH,c.MATH],[oe.MENU,c.MENU],[oe.META,c.META],[oe.MGLYPH,c.MGLYPH],[oe.MI,c.MI],[oe.MO,c.MO],[oe.MN,c.MN],[oe.MS,c.MS],[oe.MTEXT,c.MTEXT],[oe.NAV,c.NAV],[oe.NOBR,c.NOBR],[oe.NOFRAMES,c.NOFRAMES],[oe.NOEMBED,c.NOEMBED],[oe.NOSCRIPT,c.NOSCRIPT],[oe.OBJECT,c.OBJECT],[oe.OL,c.OL],[oe.OPTGROUP,c.OPTGROUP],[oe.OPTION,c.OPTION],[oe.P,c.P],[oe.PARAM,c.PARAM],[oe.PLAINTEXT,c.PLAINTEXT],[oe.PRE,c.PRE],[oe.RB,c.RB],[oe.RP,c.RP],[oe.RT,c.RT],[oe.RTC,c.RTC],[oe.RUBY,c.RUBY],[oe.S,c.S],[oe.SCRIPT,c.SCRIPT],[oe.SEARCH,c.SEARCH],[oe.SECTION,c.SECTION],[oe.SELECT,c.SELECT],[oe.SOURCE,c.SOURCE],[oe.SMALL,c.SMALL],[oe.SPAN,c.SPAN],[oe.STRIKE,c.STRIKE],[oe.STRONG,c.STRONG],[oe.STYLE,c.STYLE],[oe.SUB,c.SUB],[oe.SUMMARY,c.SUMMARY],[oe.SUP,c.SUP],[oe.TABLE,c.TABLE],[oe.TBODY,c.TBODY],[oe.TEMPLATE,c.TEMPLATE],[oe.TEXTAREA,c.TEXTAREA],[oe.TFOOT,c.TFOOT],[oe.TD,c.TD],[oe.TH,c.TH],[oe.THEAD,c.THEAD],[oe.TITLE,c.TITLE],[oe.TR,c.TR],[oe.TRACK,c.TRACK],[oe.TT,c.TT],[oe.U,c.U],[oe.UL,c.UL],[oe.SVG,c.SVG],[oe.VAR,c.VAR],[oe.WBR,c.WBR],[oe.XMP,c.XMP]]);function Dt(e){var r;return(r=pt.get(e))!==null&&r!==void 0?r:c.UNKNOWN}const Ke=c,kt={[gt.HTML]:new Set([Ke.ADDRESS,Ke.APPLET,Ke.AREA,Ke.ARTICLE,Ke.ASIDE,Ke.BASE,Ke.BASEFONT,Ke.BGSOUND,Ke.BLOCKQUOTE,Ke.BODY,Ke.BR,Ke.BUTTON,Ke.CAPTION,Ke.CENTER,Ke.COL,Ke.COLGROUP,Ke.DD,Ke.DETAILS,Ke.DIR,Ke.DIV,Ke.DL,Ke.DT,Ke.EMBED,Ke.FIELDSET,Ke.FIGCAPTION,Ke.FIGURE,Ke.FOOTER,Ke.FORM,Ke.FRAME,Ke.FRAMESET,Ke.H1,Ke.H2,Ke.H3,Ke.H4,Ke.H5,Ke.H6,Ke.HEAD,Ke.HEADER,Ke.HGROUP,Ke.HR,Ke.HTML,Ke.IFRAME,Ke.IMG,Ke.INPUT,Ke.LI,Ke.LINK,Ke.LISTING,Ke.MAIN,Ke.MARQUEE,Ke.MENU,Ke.META,Ke.NAV,Ke.NOEMBED,Ke.NOFRAMES,Ke.NOSCRIPT,Ke.OBJECT,Ke.OL,Ke.P,Ke.PARAM,Ke.PLAINTEXT,Ke.PRE,Ke.SCRIPT,Ke.SECTION,Ke.SELECT,Ke.SOURCE,Ke.STYLE,Ke.SUMMARY,Ke.TABLE,Ke.TBODY,Ke.TD,Ke.TEMPLATE,Ke.TEXTAREA,Ke.TFOOT,Ke.TH,Ke.THEAD,Ke.TITLE,Ke.TR,Ke.TRACK,Ke.UL,Ke.WBR,Ke.XMP]),[gt.MATHML]:new Set([Ke.MI,Ke.MO,Ke.MN,Ke.MS,Ke.MTEXT,Ke.ANNOTATION_XML]),[gt.SVG]:new Set([Ke.TITLE,Ke.FOREIGN_OBJECT,Ke.DESC]),[gt.XLINK]:new Set,[gt.XML]:new Set,[gt.XMLNS]:new Set},Rt=new Set([Ke.H1,Ke.H2,Ke.H3,Ke.H4,Ke.H5,Ke.H6]),gn=new Set([oe.STYLE,oe.SCRIPT,oe.XMP,oe.IFRAME,oe.NOEMBED,oe.NOFRAMES,oe.PLAINTEXT]);function vn(e,r){return gn.has(e)||r&&e===oe.NOSCRIPT}var ce;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(ce||(ce={}));const Ln={DATA:ce.DATA,RCDATA:ce.RCDATA,RAWTEXT:ce.RAWTEXT,SCRIPT_DATA:ce.SCRIPT_DATA,PLAINTEXT:ce.PLAINTEXT,CDATA_SECTION:ce.CDATA_SECTION};function nr(e){return e>=_.DIGIT_0&&e<=_.DIGIT_9}function or(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_Z}function Zn(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_Z}function T(e){return Zn(e)||or(e)}function A(e){return T(e)||nr(e)}function Pt(e){return e+32}function z(e){return e===_.SPACE||e===_.LINE_FEED||e===_.TABULATION||e===_.FORM_FEED}function Ie(e){return z(e)||e===_.SOLIDUS||e===_.GREATER_THAN_SIGN}function Un(e){return e===_.NULL?Ze.nullCharacterReference:e>1114111?Ze.characterReferenceOutsideUnicodeRange:tt(e)?Ze.surrogateCharacterReference:sn(e)?Ze.noncharacterCharacterReference:cn(e)||e===_.CARRIAGE_RETURN?Ze.controlCharacterReference:null}class Vt{constructor(r,b){this.options=r,this.handler=b,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=ce.DATA,this.returnState=ce.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Cn(b),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Vn(On,(K,We)=>{this.preprocessor.pos=this.entityStartPos+We-1,this._flushCodePointConsumedAsCharacterReference(K)},b.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Ze.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:K=>{this._err(Ze.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+K)},validateNumericCharacterReference:K=>{const We=Un(K);We&&this._err(We,1)}}:void 0)}_err(r,b=0){var K,We;(We=(K=this.handler).onParseError)===null||We===void 0||We.call(K,this.preprocessor.getError(r,b))}getCurrentLocation(r){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-r,startOffset:this.preprocessor.offset-r,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const r=this._consume();this._ensureHibernation()||this._callState(r)}this.inLoop=!1}}pause(){this.paused=!0}resume(r){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||r==null||r())}write(r,b,K){this.active=!0,this.preprocessor.write(r,b),this._runParsingLoop(),this.paused||K==null||K()}insertHtmlAtCurrentPos(r){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(r),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(r){this.consumedAfterSnapshot+=r;for(let b=0;b0&&this._err(Ze.endTagWithAttributes),r.selfClosing&&this._err(Ze.endTagWithTrailingSolidus),this.handler.onEndTag(r)),this.preprocessor.dropParsedChunk()}emitCurrentComment(r){this.prepareToken(r),this.handler.onComment(r),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(r){this.prepareToken(r),this.handler.onDoctype(r),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(r){if(this.currentCharacterToken){switch(r&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=r.startLine,this.currentCharacterToken.location.endCol=r.startCol,this.currentCharacterToken.location.endOffset=r.startOffset),this.currentCharacterToken.type){case Mt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Mt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Mt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const r=this.getCurrentLocation(0);r&&(r.endLine=r.startLine,r.endCol=r.startCol,r.endOffset=r.startOffset),this._emitCurrentCharacterToken(r),this.handler.onEof({type:Mt.EOF,location:r}),this.active=!1}_appendCharToCurrentCharacterToken(r,b){if(this.currentCharacterToken)if(this.currentCharacterToken.type===r){this.currentCharacterToken.chars+=b;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(r,b)}_emitCodePoint(r){const b=z(r)?Mt.WHITESPACE_CHARACTER:r===_.NULL?Mt.NULL_CHARACTER:Mt.CHARACTER;this._appendCharToCurrentCharacterToken(b,String.fromCodePoint(r))}_emitChars(r){this._appendCharToCurrentCharacterToken(Mt.CHARACTER,r)}_startCharacterReference(){this.returnState=this.state,this.state=ce.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Wn.Attribute:Wn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===ce.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===ce.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===ce.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(r){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(r):this._emitCodePoint(r)}_callState(r){switch(this.state){case ce.DATA:{this._stateData(r);break}case ce.RCDATA:{this._stateRcdata(r);break}case ce.RAWTEXT:{this._stateRawtext(r);break}case ce.SCRIPT_DATA:{this._stateScriptData(r);break}case ce.PLAINTEXT:{this._statePlaintext(r);break}case ce.TAG_OPEN:{this._stateTagOpen(r);break}case ce.END_TAG_OPEN:{this._stateEndTagOpen(r);break}case ce.TAG_NAME:{this._stateTagName(r);break}case ce.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(r);break}case ce.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(r);break}case ce.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(r);break}case ce.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(r);break}case ce.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(r);break}case ce.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(r);break}case ce.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(r);break}case ce.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(r);break}case ce.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(r);break}case ce.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(r);break}case ce.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(r);break}case ce.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(r);break}case ce.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(r);break}case ce.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(r);break}case ce.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(r);break}case ce.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(r);break}case ce.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(r);break}case ce.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(r);break}case ce.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(r);break}case ce.ATTRIBUTE_NAME:{this._stateAttributeName(r);break}case ce.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(r);break}case ce.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(r);break}case ce.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(r);break}case ce.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(r);break}case ce.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(r);break}case ce.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(r);break}case ce.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(r);break}case ce.BOGUS_COMMENT:{this._stateBogusComment(r);break}case ce.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(r);break}case ce.COMMENT_START:{this._stateCommentStart(r);break}case ce.COMMENT_START_DASH:{this._stateCommentStartDash(r);break}case ce.COMMENT:{this._stateComment(r);break}case ce.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(r);break}case ce.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(r);break}case ce.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(r);break}case ce.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(r);break}case ce.COMMENT_END_DASH:{this._stateCommentEndDash(r);break}case ce.COMMENT_END:{this._stateCommentEnd(r);break}case ce.COMMENT_END_BANG:{this._stateCommentEndBang(r);break}case ce.DOCTYPE:{this._stateDoctype(r);break}case ce.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(r);break}case ce.DOCTYPE_NAME:{this._stateDoctypeName(r);break}case ce.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(r);break}case ce.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(r);break}case ce.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(r);break}case ce.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(r);break}case ce.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(r);break}case ce.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(r);break}case ce.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(r);break}case ce.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(r);break}case ce.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(r);break}case ce.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(r);break}case ce.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(r);break}case ce.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(r);break}case ce.BOGUS_DOCTYPE:{this._stateBogusDoctype(r);break}case ce.CDATA_SECTION:{this._stateCdataSection(r);break}case ce.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(r);break}case ce.CDATA_SECTION_END:{this._stateCdataSectionEnd(r);break}case ce.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case ce.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(r);break}default:throw new Error("Unknown state")}}_stateData(r){switch(r){case _.LESS_THAN_SIGN:{this.state=ce.TAG_OPEN;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitCodePoint(r);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRcdata(r){switch(r){case _.AMPERSAND:{this._startCharacterReference();break}case _.LESS_THAN_SIGN:{this.state=ce.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRawtext(r){switch(r){case _.LESS_THAN_SIGN:{this.state=ce.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateScriptData(r){switch(r){case _.LESS_THAN_SIGN:{this.state=ce.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_statePlaintext(r){switch(r){case _.NULL:{this._err(Ze.unexpectedNullCharacter),this._emitChars(qe);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateTagOpen(r){if(T(r))this._createStartTagToken(),this.state=ce.TAG_NAME,this._stateTagName(r);else switch(r){case _.EXCLAMATION_MARK:{this.state=ce.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=ce.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(Ze.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=ce.BOGUS_COMMENT,this._stateBogusComment(r);break}case _.EOF:{this._err(Ze.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Ze.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=ce.DATA,this._stateData(r)}}_stateEndTagOpen(r){if(T(r))this._createEndTagToken(),this.state=ce.TAG_NAME,this._stateTagName(r);else switch(r){case _.GREATER_THAN_SIGN:{this._err(Ze.missingEndTagName),this.state=ce.DATA;break}case _.EOF:{this._err(Ze.eofBeforeTagName),this._emitChars("");break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this.state=ce.SCRIPT_DATA_ESCAPED,this._emitChars(qe);break}case _.EOF:{this._err(Ze.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ce.SCRIPT_DATA_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataEscapedLessThanSign(r){r===_.SOLIDUS?this.state=ce.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:T(r)?(this._emitChars("<"),this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(r)):(this._emitChars("<"),this.state=ce.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(r))}_stateScriptDataEscapedEndTagOpen(r){T(r)?(this.state=ce.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(r)):(this._emitChars("");break}case _.NULL:{this._err(Ze.unexpectedNullCharacter),this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qe);break}case _.EOF:{this._err(Ze.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataDoubleEscapedLessThanSign(r){r===_.SOLIDUS?(this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=ce.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(r))}_stateScriptDataDoubleEscapeEnd(r){if(this.preprocessor.startsWith(Ot.SCRIPT,!1)&&Ie(this.preprocessor.peek(Ot.SCRIPT.length))){this._emitCodePoint(r);for(let b=0;b0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!0)}replace(r,b){const K=this._indexOf(r);this.items[K]=b,K===this.stackTop&&(this.current=b)}insertAfter(r,b,K){const We=this._indexOf(r)+1;this.items.splice(We,0,b),this.tagIDs.splice(We,0,K),this.stackTop++,We===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,We===this.stackTop)}popUntilTagNamePopped(r){let b=this.stackTop+1;do b=this.tagIDs.lastIndexOf(r,b-1);while(b>0&&this.treeAdapter.getNamespaceURI(this.items[b])!==gt.HTML);this.shortenToLength(Math.max(b,0))}shortenToLength(r){for(;this.stackTop>=r;){const b=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(b,this.stackTop=0;K--)if(r.has(this.tagIDs[K])&&this.treeAdapter.getNamespaceURI(this.items[K])===b)return K;return-1}clearBackTo(r,b){const K=this._indexOfTagNames(r,b);this.shortenToLength(K+1)}clearBackToTableContext(){this.clearBackTo(ta,gt.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Qe,gt.HTML)}clearBackToTableRowContext(){this.clearBackTo(Xr,gt.HTML)}remove(r){const b=this._indexOf(r);b>=0&&(b===this.stackTop?this.pop():(this.items.splice(b,1),this.tagIDs.splice(b,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.BODY?this.items[1]:null}contains(r){return this._indexOf(r)>-1}getCommonAncestor(r){const b=this._indexOf(r)-1;return b>=0?this.items[b]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===c.HTML}hasInDynamicScope(r,b){for(let K=this.stackTop;K>=0;K--){const We=this.tagIDs[K];switch(this.treeAdapter.getNamespaceURI(this.items[K])){case gt.HTML:{if(We===r)return!0;if(b.has(We))return!1;break}case gt.SVG:{if(Fe.has(We))return!1;break}case gt.MATHML:{if(ba.has(We))return!1;break}}}return!0}hasInScope(r){return this.hasInDynamicScope(r,xn)}hasInListItemScope(r){return this.hasInDynamicScope(r,Ir)}hasInButtonScope(r){return this.hasInDynamicScope(r,yr)}hasNumberedHeaderInScope(){for(let r=this.stackTop;r>=0;r--){const b=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case gt.HTML:{if(Rt.has(b))return!0;if(xn.has(b))return!1;break}case gt.SVG:{if(Fe.has(b))return!1;break}case gt.MATHML:{if(ba.has(b))return!1;break}}}return!0}hasInTableScope(r){for(let b=this.stackTop;b>=0;b--)if(this.treeAdapter.getNamespaceURI(this.items[b])===gt.HTML)switch(this.tagIDs[b]){case r:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===gt.HTML)switch(this.tagIDs[r]){case c.TBODY:case c.THEAD:case c.TFOOT:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasInSelectScope(r){for(let b=this.stackTop;b>=0;b--)if(this.treeAdapter.getNamespaceURI(this.items[b])===gt.HTML)switch(this.tagIDs[b]){case r:return!0;case c.OPTION:case c.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&pr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&wr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(r){for(;this.currentTagId!==void 0&&this.currentTagId!==r&&wr.has(this.currentTagId);)this.pop()}}const Fr=3;var Mr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Mr||(Mr={}));const na={type:Mr.Marker};class ra{constructor(r){this.treeAdapter=r,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(r,b){const K=[],We=b.length,yt=this.treeAdapter.getTagName(r),Yt=this.treeAdapter.getNamespaceURI(r);for(let An=0;An[Yt.name,Yt.value]));let yt=0;for(let Yt=0;YtWe.get(Bn.name)===Bn.value)&&(yt+=1,yt>=Fr&&this.entries.splice(An.idx,1))}}insertMarker(){this.entries.unshift(na)}pushElement(r,b){this._ensureNoahArkCondition(r),this.entries.unshift({type:Mr.Element,element:r,token:b})}insertElementAfterBookmark(r,b){const K=this.entries.indexOf(this.bookmark);this.entries.splice(K,0,{type:Mr.Element,element:r,token:b})}removeEntry(r){const b=this.entries.indexOf(r);b!==-1&&this.entries.splice(b,1)}clearToLastMarker(){const r=this.entries.indexOf(na);r===-1?this.entries.length=0:this.entries.splice(0,r+1)}getElementEntryInScopeWithTagName(r){const b=this.entries.find(K=>K.type===Mr.Marker||this.treeAdapter.getTagName(K.element)===r);return b&&b.type===Mr.Element?b:null}getElementEntry(r){return this.entries.find(b=>b.type===Mr.Element&&b.element===r)}}const lr={createDocument(){return{nodeName:"#document",mode:Oe.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,r,b){return{nodeName:e,tagName:e,attrs:b,namespaceURI:r,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,r){e.childNodes.push(r),r.parentNode=e},insertBefore(e,r,b){const K=e.childNodes.indexOf(b);e.childNodes.splice(K,0,r),r.parentNode=e},setTemplateContent(e,r){e.content=r},getTemplateContent(e){return e.content},setDocumentType(e,r,b,K){const We=e.childNodes.find(yt=>yt.nodeName==="#documentType");if(We)We.name=r,We.publicId=b,We.systemId=K;else{const yt={nodeName:"#documentType",name:r,publicId:b,systemId:K,parentNode:null};lr.appendChild(e,yt)}},setDocumentMode(e,r){e.mode=r},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const r=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(r,1),e.parentNode=null}},insertText(e,r){if(e.childNodes.length>0){const b=e.childNodes[e.childNodes.length-1];if(lr.isTextNode(b)){b.value+=r;return}}lr.appendChild(e,lr.createTextNode(r))},insertTextBefore(e,r,b){const K=e.childNodes[e.childNodes.indexOf(b)-1];K&&lr.isTextNode(K)?K.value+=r:lr.insertBefore(e,lr.createTextNode(r),b)},adoptAttributes(e,r){const b=new Set(e.attrs.map(K=>K.name));for(let K=0;Ke.startsWith(b))}function _r(e){return e.name===Yn&&e.publicId===null&&(e.systemId===null||e.systemId===Sr)}function Ea(e){if(e.name!==Yn)return Oe.QUIRKS;const{systemId:r}=e;if(r&&r.toLowerCase()===Nn)return Oe.QUIRKS;let{publicId:b}=e;if(b!==null){if(b=b.toLowerCase(),la.has(b))return Oe.QUIRKS;let K=r===null?Rr:Lr;if(br(b,K))return Oe.QUIRKS;if(K=r===null?pa:va,br(b,K))return Oe.LIMITED_QUIRKS}return Oe.NO_QUIRKS}const Xa={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pi="definitionurl",Ha="definitionURL",Ra=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),ti=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:gt.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:gt.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:gt.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:gt.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:gt.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:gt.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:gt.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:gt.XML}],["xml:space",{prefix:"xml",name:"space",namespace:gt.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:gt.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:gt.XMLNS}]]),vi=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Ka=new Set([c.B,c.BIG,c.BLOCKQUOTE,c.BODY,c.BR,c.CENTER,c.CODE,c.DD,c.DIV,c.DL,c.DT,c.EM,c.EMBED,c.H1,c.H2,c.H3,c.H4,c.H5,c.H6,c.HEAD,c.HR,c.I,c.IMG,c.LI,c.LISTING,c.MENU,c.META,c.NOBR,c.OL,c.P,c.PRE,c.RUBY,c.S,c.SMALL,c.SPAN,c.STRONG,c.STRIKE,c.SUB,c.SUP,c.TABLE,c.TT,c.U,c.UL,c.VAR]);function Na(e){const r=e.tagID;return r===c.FONT&&e.attrs.some(({name:K})=>K===hn.COLOR||K===hn.SIZE||K===hn.FACE)||Ka.has(r)}function Fa(e){for(let r=0;r0&&this._setContextModes(r,b)}onItemPop(r,b){var K,We;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(r,this.currentToken),(We=(K=this.treeAdapter).onItemPop)===null||We===void 0||We.call(K,r,this.openElements.current),b){let yt,Yt;this.openElements.stackTop===0&&this.fragmentContext?(yt=this.fragmentContext,Yt=this.fragmentContextID):{current:yt,currentTagId:Yt}=this.openElements,this._setContextModes(yt,Yt)}}_setContextModes(r,b){const K=r===this.document||r&&this.treeAdapter.getNamespaceURI(r)===gt.HTML;this.currentNotInHTML=!K,this.tokenizer.inForeignNode=!K&&r!==void 0&&b!==void 0&&!this._isIntegrationPoint(b,r)}_switchToTextParsing(r,b){this._insertElement(r,gt.HTML),this.tokenizer.state=b,this.originalInsertionMode=this.insertionMode,this.insertionMode=ve.TEXT}switchToPlaintextParsing(){this.insertionMode=ve.TEXT,this.originalInsertionMode=ve.IN_BODY,this.tokenizer.state=Ln.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let r=this.fragmentContext;for(;r;){if(this.treeAdapter.getTagName(r)===oe.FORM){this.formElement=r;break}r=this.treeAdapter.getParentNode(r)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==gt.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=Ln.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=Ln.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=Ln.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=Ln.PLAINTEXT;break}default:}}_setDocumentType(r){const b=r.name||"",K=r.publicId||"",We=r.systemId||"";if(this.treeAdapter.setDocumentType(this.document,b,K,We),r.location){const Yt=this.treeAdapter.getChildNodes(this.document).find(An=>this.treeAdapter.isDocumentTypeNode(An));Yt&&this.treeAdapter.setNodeSourceCodeLocation(Yt,r.location)}}_attachElementToTree(r,b){if(this.options.sourceCodeLocationInfo){const K=b&&Io(ur({},b),{startTag:b});this.treeAdapter.setNodeSourceCodeLocation(r,K)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(r);else{const K=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(K!=null?K:this.document,r)}}_appendElement(r,b){const K=this.treeAdapter.createElement(r.tagName,b,r.attrs);this._attachElementToTree(K,r.location)}_insertElement(r,b){const K=this.treeAdapter.createElement(r.tagName,b,r.attrs);this._attachElementToTree(K,r.location),this.openElements.push(K,r.tagID)}_insertFakeElement(r,b){const K=this.treeAdapter.createElement(r,gt.HTML,[]);this._attachElementToTree(K,null),this.openElements.push(K,b)}_insertTemplate(r){const b=this.treeAdapter.createElement(r.tagName,gt.HTML,r.attrs),K=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(b,K),this._attachElementToTree(b,r.location),this.openElements.push(b,r.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(K,null)}_insertFakeRootElement(){const r=this.treeAdapter.createElement(oe.HTML,gt.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null),this.treeAdapter.appendChild(this.openElements.current,r),this.openElements.push(r,c.HTML)}_appendCommentNode(r,b){const K=this.treeAdapter.createCommentNode(r.data);this.treeAdapter.appendChild(b,K),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(K,r.location)}_insertCharacters(r){let b,K;if(this._shouldFosterParentOnInsertion()?({parent:b,beforeElement:K}=this._findFosterParentingLocation(),K?this.treeAdapter.insertTextBefore(b,r.chars,K):this.treeAdapter.insertText(b,r.chars)):(b=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(b,r.chars)),!r.location)return;const We=this.treeAdapter.getChildNodes(b),yt=K?We.lastIndexOf(K):We.length,Yt=We[yt-1];if(this.treeAdapter.getNodeSourceCodeLocation(Yt)){const{endLine:Bn,endCol:Nt,endOffset:nn}=r.location;this.treeAdapter.updateNodeSourceCodeLocation(Yt,{endLine:Bn,endCol:Nt,endOffset:nn})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Yt,r.location)}_adoptNodes(r,b){for(let K=this.treeAdapter.getFirstChild(r);K;K=this.treeAdapter.getFirstChild(r))this.treeAdapter.detachNode(K),this.treeAdapter.appendChild(b,K)}_setEndLocation(r,b){if(this.treeAdapter.getNodeSourceCodeLocation(r)&&b.location){const K=b.location,We=this.treeAdapter.getTagName(r),yt=b.type===Mt.END_TAG&&We===b.tagName?{endTag:ur({},K),endLine:K.endLine,endCol:K.endCol,endOffset:K.endOffset}:{endLine:K.startLine,endCol:K.startCol,endOffset:K.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(r,yt)}}shouldProcessStartTagTokenInForeignContent(r){if(!this.currentNotInHTML)return!1;let b,K;return this.openElements.stackTop===0&&this.fragmentContext?(b=this.fragmentContext,K=this.fragmentContextID):{current:b,currentTagId:K}=this.openElements,r.tagID===c.SVG&&this.treeAdapter.getTagName(b)===oe.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(b)===gt.MATHML?!1:this.tokenizer.inForeignNode||(r.tagID===c.MGLYPH||r.tagID===c.MALIGNMARK)&&K!==void 0&&!this._isIntegrationPoint(K,b,gt.HTML)}_processToken(r){switch(r.type){case Mt.CHARACTER:{this.onCharacter(r);break}case Mt.NULL_CHARACTER:{this.onNullCharacter(r);break}case Mt.COMMENT:{this.onComment(r);break}case Mt.DOCTYPE:{this.onDoctype(r);break}case Mt.START_TAG:{this._processStartTag(r);break}case Mt.END_TAG:{this.onEndTag(r);break}case Mt.EOF:{this.onEof(r);break}case Mt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(r);break}}}_isIntegrationPoint(r,b,K){const We=this.treeAdapter.getNamespaceURI(b),yt=this.treeAdapter.getAttrList(b);return Ei(r,We,yt,K)}_reconstructActiveFormattingElements(){const r=this.activeFormattingElements.entries.length;if(r){const b=this.activeFormattingElements.entries.findIndex(We=>We.type===Mr.Marker||this.openElements.contains(We.element)),K=b===-1?r-1:b-1;for(let We=K;We>=0;We--){const yt=this.activeFormattingElements.entries[We];this._insertElement(yt.token,this.treeAdapter.getNamespaceURI(yt.element)),yt.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ve.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(c.P),this.openElements.popUntilTagNamePopped(c.P)}_resetInsertionMode(){for(let r=this.openElements.stackTop;r>=0;r--)switch(r===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[r]){case c.TR:{this.insertionMode=ve.IN_ROW;return}case c.TBODY:case c.THEAD:case c.TFOOT:{this.insertionMode=ve.IN_TABLE_BODY;return}case c.CAPTION:{this.insertionMode=ve.IN_CAPTION;return}case c.COLGROUP:{this.insertionMode=ve.IN_COLUMN_GROUP;return}case c.TABLE:{this.insertionMode=ve.IN_TABLE;return}case c.BODY:{this.insertionMode=ve.IN_BODY;return}case c.FRAMESET:{this.insertionMode=ve.IN_FRAMESET;return}case c.SELECT:{this._resetInsertionModeForSelect(r);return}case c.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case c.HTML:{this.insertionMode=this.headElement?ve.AFTER_HEAD:ve.BEFORE_HEAD;return}case c.TD:case c.TH:{if(r>0){this.insertionMode=ve.IN_CELL;return}break}case c.HEAD:{if(r>0){this.insertionMode=ve.IN_HEAD;return}break}}this.insertionMode=ve.IN_BODY}_resetInsertionModeForSelect(r){if(r>0)for(let b=r-1;b>0;b--){const K=this.openElements.tagIDs[b];if(K===c.TEMPLATE)break;if(K===c.TABLE){this.insertionMode=ve.IN_SELECT_IN_TABLE;return}}this.insertionMode=ve.IN_SELECT}_isElementCausesFosterParenting(r){return qr.has(r)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let r=this.openElements.stackTop;r>=0;r--){const b=this.openElements.items[r];switch(this.openElements.tagIDs[r]){case c.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(b)===gt.HTML)return{parent:this.treeAdapter.getTemplateContent(b),beforeElement:null};break}case c.TABLE:{const K=this.treeAdapter.getParentNode(b);return K?{parent:K,beforeElement:b}:{parent:this.openElements.items[r-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(r){const b=this._findFosterParentingLocation();b.beforeElement?this.treeAdapter.insertBefore(b.parent,r,b.beforeElement):this.treeAdapter.appendChild(b.parent,r)}_isSpecialElement(r,b){const K=this.treeAdapter.getNamespaceURI(r);return kt[K].has(b)}onCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){E(this,r);return}switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{Ni(this,r);break}case ve.BEFORE_HEAD:{fa(this,r);break}case ve.IN_HEAD:{ai(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Si(this,r);break}case ve.AFTER_HEAD:{Oa(this,r);break}case ve.IN_BODY:case ve.IN_CAPTION:case ve.IN_CELL:case ve.IN_TEMPLATE:{ln(this,r);break}case ve.TEXT:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:{this._insertCharacters(r);break}case ve.IN_TABLE:case ve.IN_TABLE_BODY:case ve.IN_ROW:{oo(this,r);break}case ve.IN_TABLE_TEXT:{Ui(this,r);break}case ve.IN_COLUMN_GROUP:{Hi(this,r);break}case ve.AFTER_BODY:{ft(this,r);break}case ve.AFTER_AFTER_BODY:{o(this,r);break}default:}}onNullCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){m(this,r);return}switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{Ni(this,r);break}case ve.BEFORE_HEAD:{fa(this,r);break}case ve.IN_HEAD:{ai(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Si(this,r);break}case ve.AFTER_HEAD:{Oa(this,r);break}case ve.TEXT:{this._insertCharacters(r);break}case ve.IN_TABLE:case ve.IN_TABLE_BODY:case ve.IN_ROW:{oo(this,r);break}case ve.IN_COLUMN_GROUP:{Hi(this,r);break}case ve.AFTER_BODY:{ft(this,r);break}case ve.AFTER_AFTER_BODY:{o(this,r);break}default:}}onComment(r){if(this.skipNextNewLine=!1,this.currentNotInHTML){yi(this,r);return}switch(this.insertionMode){case ve.INITIAL:case ve.BEFORE_HTML:case ve.BEFORE_HEAD:case ve.IN_HEAD:case ve.IN_HEAD_NO_SCRIPT:case ve.AFTER_HEAD:case ve.IN_BODY:case ve.IN_TABLE:case ve.IN_CAPTION:case ve.IN_COLUMN_GROUP:case ve.IN_TABLE_BODY:case ve.IN_ROW:case ve.IN_CELL:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:case ve.IN_TEMPLATE:case ve.IN_FRAMESET:case ve.AFTER_FRAMESET:{yi(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.AFTER_BODY:{Mi(this,r);break}case ve.AFTER_AFTER_BODY:case ve.AFTER_AFTER_FRAMESET:{wn(this,r);break}default:}}onDoctype(r){switch(this.skipNextNewLine=!1,this.insertionMode){case ve.INITIAL:{Yi(this,r);break}case ve.BEFORE_HEAD:case ve.IN_HEAD:case ve.IN_HEAD_NO_SCRIPT:case ve.AFTER_HEAD:{this._err(r,Ze.misplacedDoctype);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}default:}}onStartTag(r){this.skipNextNewLine=!1,this.currentToken=r,this._processStartTag(r),r.selfClosing&&!r.ackSelfClosing&&this._err(r,Ze.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(r){this.shouldProcessStartTagTokenInForeignContent(r)?k(this,r):this._startTagOutsideForeignContent(r)}_startTagOutsideForeignContent(r){switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{ri(this,r);break}case ve.BEFORE_HEAD:{wo(this,r);break}case ve.IN_HEAD:{Aa(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{_i(this,r);break}case ve.AFTER_HEAD:{ii(this,r);break}case ve.IN_BODY:{Ia(this,r);break}case ve.IN_TABLE:{mi(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.IN_CAPTION:{as(this,r);break}case ve.IN_COLUMN_GROUP:{po(this,r);break}case ve.IN_TABLE_BODY:{Ti(this,r);break}case ve.IN_ROW:{Ua(this,r);break}case ve.IN_CELL:{$o(this,r);break}case ve.IN_SELECT:{R(this,r);break}case ve.IN_SELECT_IN_TABLE:{ae(this,r);break}case ve.IN_TEMPLATE:{xe(this,r);break}case ve.AFTER_BODY:{et(this,r);break}case ve.IN_FRAMESET:{Ct(this,r);break}case ve.AFTER_FRAMESET:{$t(this,r);break}case ve.AFTER_AFTER_BODY:{Ft(this,r);break}case ve.AFTER_AFTER_FRAMESET:{d(this,r);break}default:}}onEndTag(r){this.skipNextNewLine=!1,this.currentToken=r,this.currentNotInHTML?M(this,r):this._endTagOutsideForeignContent(r)}_endTagOutsideForeignContent(r){switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{No(this,r);break}case ve.BEFORE_HEAD:{zo(this,r);break}case ve.IN_HEAD:{Xi(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Pr(this,r);break}case ve.AFTER_HEAD:{Ro(this,r);break}case ve.IN_BODY:{io(this,r);break}case ve.TEXT:{si(this,r);break}case ve.IN_TABLE:{uo(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.IN_CAPTION:{qo(this,r);break}case ve.IN_COLUMN_GROUP:{Co(this,r);break}case ve.IN_TABLE_BODY:{zi(this,r);break}case ve.IN_ROW:{Za(this,r);break}case ve.IN_CELL:{xi(this,r);break}case ve.IN_SELECT:{L(this,r);break}case ve.IN_SELECT_IN_TABLE:{me(this,r);break}case ve.IN_TEMPLATE:{we(this,r);break}case ve.AFTER_BODY:{Ye(this,r);break}case ve.IN_FRAMESET:{bt(this,r);break}case ve.AFTER_FRAMESET:{Ut(this,r);break}case ve.AFTER_AFTER_BODY:{o(this,r);break}default:}}onEof(r){switch(this.insertionMode){case ve.INITIAL:{Zr(this,r);break}case ve.BEFORE_HTML:{Ni(this,r);break}case ve.BEFORE_HEAD:{fa(this,r);break}case ve.IN_HEAD:{ai(this,r);break}case ve.IN_HEAD_NO_SCRIPT:{Si(this,r);break}case ve.AFTER_HEAD:{Oa(this,r);break}case ve.IN_BODY:case ve.IN_TABLE:case ve.IN_CAPTION:case ve.IN_COLUMN_GROUP:case ve.IN_TABLE_BODY:case ve.IN_ROW:case ve.IN_CELL:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:{_o(this,r);break}case ve.TEXT:{Po(this,r);break}case ve.IN_TABLE_TEXT:{ei(this,r);break}case ve.IN_TEMPLATE:{w(this,r);break}case ve.AFTER_BODY:case ve.IN_FRAMESET:case ve.AFTER_FRAMESET:case ve.AFTER_AFTER_BODY:case ve.AFTER_AFTER_FRAMESET:{ni(this,r);break}default:}}onWhitespaceCharacter(r){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,r.chars.charCodeAt(0)===_.LINE_FEED)){if(r.chars.length===1)return;r.chars=r.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(r);return}switch(this.insertionMode){case ve.IN_HEAD:case ve.IN_HEAD_NO_SCRIPT:case ve.AFTER_HEAD:case ve.TEXT:case ve.IN_COLUMN_GROUP:case ve.IN_SELECT:case ve.IN_SELECT_IN_TABLE:case ve.IN_FRAMESET:case ve.AFTER_FRAMESET:{this._insertCharacters(r);break}case ve.IN_BODY:case ve.IN_CAPTION:case ve.IN_CELL:case ve.IN_TEMPLATE:case ve.AFTER_BODY:case ve.AFTER_AFTER_BODY:case ve.AFTER_AFTER_FRAMESET:{mo(this,r);break}case ve.IN_TABLE:case ve.IN_TABLE_BODY:case ve.IN_ROW:{oo(this,r);break}case ve.IN_TABLE_TEXT:{Fo(this,r);break}default:}}}function vt(e,r){let b=e.activeFormattingElements.getElementEntryInScopeWithTagName(r.tagName);return b?e.openElements.contains(b.element)?e.openElements.hasInScope(r.tagID)||(b=null):(e.activeFormattingElements.removeEntry(b),b=null):ki(e,r),b}function Vr(e,r){let b=null,K=e.openElements.stackTop;for(;K>=0;K--){const We=e.openElements.items[K];if(We===r.element)break;e._isSpecialElement(We,e.openElements.tagIDs[K])&&(b=We)}return b||(e.openElements.shortenToLength(Math.max(K,0)),e.activeFormattingElements.removeEntry(r)),b}function Ja(e,r,b){let K=r,We=e.openElements.getCommonAncestor(r);for(let yt=0,Yt=We;Yt!==b;yt++,Yt=We){We=e.openElements.getCommonAncestor(Yt);const An=e.activeFormattingElements.getElementEntry(Yt),Bn=An&&yt>=Er;!An||Bn?(Bn&&e.activeFormattingElements.removeEntry(An),e.openElements.remove(Yt)):(Yt=qa(e,An),K===r&&(e.activeFormattingElements.bookmark=An),e.treeAdapter.detachNode(K),e.treeAdapter.appendChild(Yt,K),K=Yt)}return K}function qa(e,r){const b=e.treeAdapter.getNamespaceURI(r.element),K=e.treeAdapter.createElement(r.token.tagName,b,r.token.attrs);return e.openElements.replace(r.element,K),r.element=K,K}function Wi(e,r,b){const K=e.treeAdapter.getTagName(r),We=Dt(K);if(e._isElementCausesFosterParenting(We))e._fosterParentElement(b);else{const yt=e.treeAdapter.getNamespaceURI(r);We===c.TEMPLATE&&yt===gt.HTML&&(r=e.treeAdapter.getTemplateContent(r)),e.treeAdapter.appendChild(r,b)}}function Vi(e,r,b){const K=e.treeAdapter.getNamespaceURI(b.element),{token:We}=b,yt=e.treeAdapter.createElement(We.tagName,K,We.attrs);e._adoptNodes(r,yt),e.treeAdapter.appendChild(r,yt),e.activeFormattingElements.insertElementAfterBookmark(yt,We),e.activeFormattingElements.removeEntry(b),e.openElements.remove(b.element),e.openElements.insertAfter(r,yt,We.tagID)}function Zi(e,r){for(let b=0;b<$r;b++){const K=vt(e,r);if(!K)break;const We=Vr(e,K);if(!We)break;e.activeFormattingElements.bookmark=K;const yt=Ja(e,We,K.element),Yt=e.openElements.getCommonAncestor(K.element);e.treeAdapter.detachNode(yt),Yt&&Wi(e,Yt,yt),Vi(e,We,K)}}function yi(e,r){e._appendCommentNode(r,e.openElements.currentTmplContentOrNode)}function Mi(e,r){e._appendCommentNode(r,e.openElements.items[0])}function wn(e,r){e._appendCommentNode(r,e.document)}function ni(e,r){if(e.stopped=!0,r.location){const b=e.fragmentContext?0:2;for(let K=e.openElements.stackTop;K>=b;K--)e._setEndLocation(e.openElements.items[K],r);if(!e.fragmentContext&&e.openElements.stackTop>=0){const K=e.openElements.items[0],We=e.treeAdapter.getNodeSourceCodeLocation(K);if(We&&!We.endTag&&(e._setEndLocation(K,r),e.openElements.stackTop>=1)){const yt=e.openElements.items[1],Yt=e.treeAdapter.getNodeSourceCodeLocation(yt);Yt&&!Yt.endTag&&e._setEndLocation(yt,r)}}}}function Yi(e,r){e._setDocumentType(r);const b=r.forceQuirks?Oe.QUIRKS:Ea(r);_r(r)||e._err(r,Ze.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,b),e.insertionMode=ve.BEFORE_HTML}function Zr(e,r){e._err(r,Ze.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Oe.QUIRKS),e.insertionMode=ve.BEFORE_HTML,e._processToken(r)}function ri(e,r){r.tagID===c.HTML?(e._insertElement(r,gt.HTML),e.insertionMode=ve.BEFORE_HEAD):Ni(e,r)}function No(e,r){const b=r.tagID;(b===c.HTML||b===c.HEAD||b===c.BODY||b===c.BR)&&Ni(e,r)}function Ni(e,r){e._insertFakeRootElement(),e.insertionMode=ve.BEFORE_HEAD,e._processToken(r)}function wo(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.HEAD:{e._insertElement(r,gt.HTML),e.headElement=e.openElements.current,e.insertionMode=ve.IN_HEAD;break}default:fa(e,r)}}function zo(e,r){const b=r.tagID;b===c.HEAD||b===c.BODY||b===c.HTML||b===c.BR?fa(e,r):e._err(r,Ze.endTagWithoutMatchingOpenElement)}function fa(e,r){e._insertFakeElement(oe.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=ve.IN_HEAD,e._processToken(r)}function Aa(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(r,gt.HTML),r.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(r,Ln.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(r,Ln.RAWTEXT):(e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(r,Ln.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(r,Ln.SCRIPT_DATA);break}case c.TEMPLATE:{e._insertTemplate(r),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=ve.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(ve.IN_TEMPLATE);break}case c.HEAD:{e._err(r,Ze.misplacedStartTagForHeadElement);break}default:ai(e,r)}}function Xi(e,r){switch(r.tagID){case c.HEAD:{e.openElements.pop(),e.insertionMode=ve.AFTER_HEAD;break}case c.BODY:case c.BR:case c.HTML:{ai(e,r);break}case c.TEMPLATE:{fi(e,r);break}default:e._err(r,Ze.endTagWithoutMatchingOpenElement)}}function fi(e,r){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(r,Ze.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(r,Ze.endTagWithoutMatchingOpenElement)}function ai(e,r){e.openElements.pop(),e.insertionMode=ve.AFTER_HEAD,e._processToken(r)}function _i(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{Aa(e,r);break}case c.NOSCRIPT:{e._err(r,Ze.nestedNoscriptInHead);break}default:Si(e,r)}}function Pr(e,r){switch(r.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=ve.IN_HEAD;break}case c.BR:{Si(e,r);break}default:e._err(r,Ze.endTagWithoutMatchingOpenElement)}}function Si(e,r){const b=r.type===Mt.EOF?Ze.openElementsLeftAfterEof:Ze.disallowedContentInNoscriptInHead;e._err(r,b),e.openElements.pop(),e.insertionMode=ve.IN_HEAD,e._processToken(r)}function ii(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.BODY:{e._insertElement(r,gt.HTML),e.framesetOk=!1,e.insertionMode=ve.IN_BODY;break}case c.FRAMESET:{e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_FRAMESET;break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{e._err(r,Ze.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),Aa(e,r),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(r,Ze.misplacedStartTagForHeadElement);break}default:Oa(e,r)}}function Ro(e,r){switch(r.tagID){case c.BODY:case c.HTML:case c.BR:{Oa(e,r);break}case c.TEMPLATE:{fi(e,r);break}default:e._err(r,Ze.endTagWithoutMatchingOpenElement)}}function Oa(e,r){e._insertFakeElement(oe.BODY,c.BODY),e.insertionMode=ve.IN_BODY,za(e,r)}function za(e,r){switch(r.type){case Mt.CHARACTER:{ln(e,r);break}case Mt.WHITESPACE_CHARACTER:{mo(e,r);break}case Mt.COMMENT:{yi(e,r);break}case Mt.START_TAG:{Ia(e,r);break}case Mt.END_TAG:{io(e,r);break}case Mt.EOF:{_o(e,r);break}default:}}function mo(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r)}function ln(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r),e.framesetOk=!1}function Wa(e,r){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],r.attrs)}function qi(e,r){const b=e.openElements.tryPeekProperlyNestedBodyElement();b&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(b,r.attrs))}function Pi(e,r){const b=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&b&&(e.treeAdapter.detachNode(b),e.openElements.popAllUpToHtmlElement(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_FRAMESET)}function ho(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML)}function $a(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Rt.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(r,gt.HTML)}function Pa(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Qr(e,r){const b=e.openElements.tmplCount>0;(!e.formElement||b)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),b||(e.formElement=e.openElements.current))}function Bi(e,r){e.framesetOk=!1;const b=r.tagID;for(let K=e.openElements.stackTop;K>=0;K--){const We=e.openElements.tagIDs[K];if(b===c.LI&&We===c.LI||(b===c.DD||b===c.DT)&&(We===c.DD||We===c.DT)){e.openElements.generateImpliedEndTagsWithExclusion(We),e.openElements.popUntilTagNamePopped(We);break}if(We!==c.ADDRESS&&We!==c.DIV&&We!==c.P&&e._isSpecialElement(e.openElements.items[K],We))break}e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML)}function Qi(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),e.tokenizer.state=Ln.PLAINTEXT}function go(e,r){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.framesetOk=!1}function Oo(e,r){const b=e.activeFormattingElements.getElementEntryInScopeWithTagName(oe.A);b&&(Zi(e,r),e.openElements.remove(b.element),e.activeFormattingElements.removeEntry(b)),e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function ts(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function Go(e,r){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(Zi(e,r),e._reconstructActiveFormattingElements()),e._insertElement(r,gt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function jo(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Ko(e,r){e.treeAdapter.getDocumentMode(e.document)!==Oe.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(r,gt.HTML),e.framesetOk=!1,e.insertionMode=ve.IN_TABLE}function bo(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,gt.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function Fi(e){const r=Hn(e,hn.TYPE);return r!=null&&r.toLowerCase()===vr}function vo(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,gt.HTML),Fi(r)||(e.framesetOk=!1),r.ackSelfClosing=!0}function Va(e,r){e._appendElement(r,gt.HTML),r.ackSelfClosing=!0}function Tr(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(r,gt.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function Eo(e,r){r.tagName=oe.IMG,r.tagID=c.IMG,bo(e,r)}function wi(e,r){e._insertElement(r,gt.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ln.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=ve.TEXT}function Ji(e,r){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(r,Ln.RAWTEXT)}function eo(e,r){e.framesetOk=!1,e._switchToTextParsing(r,Ln.RAWTEXT)}function to(e,r){e._switchToTextParsing(r,Ln.RAWTEXT)}function Ri(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===ve.IN_TABLE||e.insertionMode===ve.IN_CAPTION||e.insertionMode===ve.IN_TABLE_BODY||e.insertionMode===ve.IN_ROW||e.insertionMode===ve.IN_CELL?ve.IN_SELECT_IN_TABLE:ve.IN_SELECT}function ko(e,r){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML)}function yo(e,r){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(r,gt.HTML)}function Lo(e,r){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(r,gt.HTML)}function no(e,r){e._reconstructActiveFormattingElements(),Fa(r),ua(r),r.selfClosing?e._appendElement(r,gt.MATHML):e._insertElement(r,gt.MATHML),r.ackSelfClosing=!0}function ro(e,r){e._reconstructActiveFormattingElements(),ka(r),ua(r),r.selfClosing?e._appendElement(r,gt.SVG):e._insertElement(r,gt.SVG),r.ackSelfClosing=!0}function oi(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,gt.HTML)}function Ia(e,r){switch(r.tagID){case c.I:case c.S:case c.B:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.SMALL:case c.STRIKE:case c.STRONG:{ts(e,r);break}case c.A:{Oo(e,r);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{$a(e,r);break}case c.P:case c.DL:case c.OL:case c.UL:case c.DIV:case c.DIR:case c.NAV:case c.MAIN:case c.MENU:case c.ASIDE:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.DETAILS:case c.ADDRESS:case c.ARTICLE:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{ho(e,r);break}case c.LI:case c.DD:case c.DT:{Bi(e,r);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{bo(e,r);break}case c.HR:{Tr(e,r);break}case c.RB:case c.RTC:{yo(e,r);break}case c.RT:case c.RP:{Lo(e,r);break}case c.PRE:case c.LISTING:{Pa(e,r);break}case c.XMP:{Ji(e,r);break}case c.SVG:{ro(e,r);break}case c.HTML:{Wa(e,r);break}case c.BASE:case c.LINK:case c.META:case c.STYLE:case c.TITLE:case c.SCRIPT:case c.BGSOUND:case c.BASEFONT:case c.TEMPLATE:{Aa(e,r);break}case c.BODY:{qi(e,r);break}case c.FORM:{Qr(e,r);break}case c.NOBR:{Go(e,r);break}case c.MATH:{no(e,r);break}case c.TABLE:{Ko(e,r);break}case c.INPUT:{vo(e,r);break}case c.PARAM:case c.TRACK:case c.SOURCE:{Va(e,r);break}case c.IMAGE:{Eo(e,r);break}case c.BUTTON:{go(e,r);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{jo(e,r);break}case c.IFRAME:{eo(e,r);break}case c.SELECT:{Ri(e,r);break}case c.OPTION:case c.OPTGROUP:{ko(e,r);break}case c.NOEMBED:case c.NOFRAMES:{to(e,r);break}case c.FRAMESET:{Pi(e,r);break}case c.TEXTAREA:{wi(e,r);break}case c.NOSCRIPT:{e.options.scriptingEnabled?to(e,r):oi(e,r);break}case c.PLAINTEXT:{Qi(e,r);break}case c.COL:case c.TH:case c.TD:case c.TR:case c.HEAD:case c.FRAME:case c.TBODY:case c.TFOOT:case c.THEAD:case c.CAPTION:case c.COLGROUP:break;default:oi(e,r)}}function Wo(e,r){if(e.openElements.hasInScope(c.BODY)&&(e.insertionMode=ve.AFTER_BODY,e.options.sourceCodeLocationInfo)){const b=e.openElements.tryPeekProperlyNestedBodyElement();b&&e._setEndLocation(b,r)}}function Vo(e,r){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=ve.AFTER_BODY,Ye(e,r))}function ns(e,r){const b=r.tagID;e.openElements.hasInScope(b)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b))}function Do(e){const r=e.openElements.tmplCount>0,{formElement:b}=e;r||(e.formElement=null),(b||r)&&e.openElements.hasInScope(c.FORM)&&(e.openElements.generateImpliedEndTags(),r?e.openElements.popUntilTagNamePopped(c.FORM):b&&e.openElements.remove(b))}function Zo(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(oe.P,c.P),e._closePElement()}function ao(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function Mo(e,r){const b=r.tagID;e.openElements.hasInScope(b)&&(e.openElements.generateImpliedEndTagsWithExclusion(b),e.openElements.popUntilTagNamePopped(b))}function Yo(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function So(e,r){const b=r.tagID;e.openElements.hasInScope(b)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b),e.activeFormattingElements.clearToLastMarker())}function Oi(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(oe.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function ki(e,r){const b=r.tagName,K=r.tagID;for(let We=e.openElements.stackTop;We>0;We--){const yt=e.openElements.items[We],Yt=e.openElements.tagIDs[We];if(K===Yt&&(K!==c.UNKNOWN||e.treeAdapter.getTagName(yt)===b)){e.openElements.generateImpliedEndTagsWithExclusion(K),e.openElements.stackTop>=We&&e.openElements.shortenToLength(We);break}if(e._isSpecialElement(yt,Yt))break}}function io(e,r){switch(r.tagID){case c.A:case c.B:case c.I:case c.S:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.NOBR:case c.SMALL:case c.STRIKE:case c.STRONG:{Zi(e,r);break}case c.P:{Zo(e);break}case c.DL:case c.UL:case c.OL:case c.DIR:case c.DIV:case c.NAV:case c.PRE:case c.MAIN:case c.MENU:case c.ASIDE:case c.BUTTON:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.ADDRESS:case c.ARTICLE:case c.DETAILS:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.LISTING:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{ns(e,r);break}case c.LI:{ao(e);break}case c.DD:case c.DT:{Mo(e,r);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{Yo(e);break}case c.BR:{Oi(e);break}case c.BODY:{Wo(e,r);break}case c.HTML:{Vo(e,r);break}case c.FORM:{Do(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{So(e,r);break}case c.TEMPLATE:{fi(e,r);break}default:ki(e,r)}}function _o(e,r){e.tmplInsertionModeStack.length>0?w(e,r):ni(e,r)}function si(e,r){var b;r.tagID===c.SCRIPT&&((b=e.scriptHandler)===null||b===void 0||b.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Po(e,r){e._err(r,Ze.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(r)}function oo(e,r){if(e.openElements.currentTagId!==void 0&&qr.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=ve.IN_TABLE_TEXT,r.type){case Mt.CHARACTER:{Ui(e,r);break}case Mt.WHITESPACE_CHARACTER:{Fo(e,r);break}}else hi(e,r)}function To(e,r){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_CAPTION}function Bo(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_COLUMN_GROUP}function so(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(oe.COLGROUP,c.COLGROUP),e.insertionMode=ve.IN_COLUMN_GROUP,po(e,r)}function rs(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,gt.HTML),e.insertionMode=ve.IN_TABLE_BODY}function $i(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(oe.TBODY,c.TBODY),e.insertionMode=ve.IN_TABLE_BODY,Ti(e,r)}function Xo(e,r){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(r))}function xo(e,r){Fi(r)?e._appendElement(r,gt.HTML):hi(e,r),r.ackSelfClosing=!0}function lo(e,r){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(r,gt.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function mi(e,r){switch(r.tagID){case c.TD:case c.TH:case c.TR:{$i(e,r);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Aa(e,r);break}case c.COL:{so(e,r);break}case c.FORM:{lo(e,r);break}case c.TABLE:{Xo(e,r);break}case c.TBODY:case c.TFOOT:case c.THEAD:{rs(e,r);break}case c.INPUT:{xo(e,r);break}case c.CAPTION:{To(e,r);break}case c.COLGROUP:{Bo(e,r);break}default:hi(e,r)}}function uo(e,r){switch(r.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{fi(e,r);break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:hi(e,r)}}function hi(e,r){const b=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,za(e,r),e.fosterParentingEnabled=b}function Fo(e,r){e.pendingCharacterTokens.push(r)}function Ui(e,r){e.pendingCharacterTokens.push(r),e.hasNonWhitespacePendingCharacterToken=!0}function ei(e,r){let b=0;if(e.hasNonWhitespacePendingCharacterToken)for(;b0&&e.openElements.currentTagId===c.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===c.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop();break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop();break}case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode());break}case c.TEMPLATE:{fi(e,r);break}default:}}function ae(e,r){const b=r.tagID;b===c.CAPTION||b===c.TABLE||b===c.TBODY||b===c.TFOOT||b===c.THEAD||b===c.TR||b===c.TD||b===c.TH?(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e._processStartTag(r)):R(e,r)}function me(e,r){const b=r.tagID;b===c.CAPTION||b===c.TABLE||b===c.TBODY||b===c.TFOOT||b===c.THEAD||b===c.TR||b===c.TD||b===c.TH?e.openElements.hasInTableScope(b)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e.onEndTag(r)):L(e,r)}function xe(e,r){switch(r.tagID){case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{Aa(e,r);break}case c.CAPTION:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.tmplInsertionModeStack[0]=ve.IN_TABLE,e.insertionMode=ve.IN_TABLE,mi(e,r);break}case c.COL:{e.tmplInsertionModeStack[0]=ve.IN_COLUMN_GROUP,e.insertionMode=ve.IN_COLUMN_GROUP,po(e,r);break}case c.TR:{e.tmplInsertionModeStack[0]=ve.IN_TABLE_BODY,e.insertionMode=ve.IN_TABLE_BODY,Ti(e,r);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=ve.IN_ROW,e.insertionMode=ve.IN_ROW,Ua(e,r);break}default:e.tmplInsertionModeStack[0]=ve.IN_BODY,e.insertionMode=ve.IN_BODY,Ia(e,r)}}function we(e,r){r.tagID===c.TEMPLATE&&fi(e,r)}function w(e,r){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(r)):ni(e,r)}function et(e,r){r.tagID===c.HTML?Ia(e,r):ft(e,r)}function Ye(e,r){var b;if(r.tagID===c.HTML){if(e.fragmentContext||(e.insertionMode=ve.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===c.HTML){e._setEndLocation(e.openElements.items[0],r);const K=e.openElements.items[1];K&&!(!((b=e.treeAdapter.getNodeSourceCodeLocation(K))===null||b===void 0)&&b.endTag)&&e._setEndLocation(K,r)}}else ft(e,r)}function ft(e,r){e.insertionMode=ve.IN_BODY,za(e,r)}function Ct(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.FRAMESET:{e._insertElement(r,gt.HTML);break}case c.FRAME:{e._appendElement(r,gt.HTML),r.ackSelfClosing=!0;break}case c.NOFRAMES:{Aa(e,r);break}default:}}function bt(e,r){r.tagID===c.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==c.FRAMESET&&(e.insertionMode=ve.AFTER_FRAMESET))}function $t(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.NOFRAMES:{Aa(e,r);break}default:}}function Ut(e,r){r.tagID===c.HTML&&(e.insertionMode=ve.AFTER_AFTER_FRAMESET)}function Ft(e,r){r.tagID===c.HTML?Ia(e,r):o(e,r)}function o(e,r){e.insertionMode=ve.IN_BODY,za(e,r)}function d(e,r){switch(r.tagID){case c.HTML:{Ia(e,r);break}case c.NOFRAMES:{Aa(e,r);break}default:}}function m(e,r){r.chars=qe,e._insertCharacters(r)}function E(e,r){e._insertCharacters(r),e.framesetOk=!1}function I(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==gt.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function k(e,r){if(Na(r))I(e),e._startTagOutsideForeignContent(r);else{const b=e._getAdjustedCurrentElement(),K=e.treeAdapter.getNamespaceURI(b);K===gt.MATHML?Fa(r):K===gt.SVG&&(Ai(r),ka(r)),ua(r),r.selfClosing?e._appendElement(r,K):e._insertElement(r,K),r.ackSelfClosing=!0}}function M(e,r){if(r.tagID===c.P||r.tagID===c.BR){I(e),e._endTagOutsideForeignContent(r);return}for(let b=e.openElements.stackTop;b>0;b--){const K=e.openElements.items[b];if(e.treeAdapter.getNamespaceURI(K)===gt.HTML){e._endTagOutsideForeignContent(r);break}const We=e.treeAdapter.getTagName(K);if(We.toLowerCase()===r.tagName){r.tagName=We,e.openElements.shortenToLength(b);break}}}const q=/["$&'<>\u0080-\uFFFF]/g,Be=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Me=String.prototype.codePointAt==null?(e,r)=>(e.charCodeAt(r)&64512)===55296?(e.charCodeAt(r)-55296)*1024+e.charCodeAt(r+1)-56320+65536:e.charCodeAt(r):(e,r)=>e.codePointAt(r);function de(e){let r="",b=0,K;for(;(K=q.exec(e))!==null;){const{index:We}=K,yt=e.charCodeAt(We),Yt=Be.get(yt);Yt===void 0?(r+=`${e.substring(b,We)}&#x${Me(e,We).toString(16)};`,b=q.lastIndex+=+((yt&64512)===55296)):(r+=e.substring(b,We)+Yt,b=We+1)}return r+e.substr(b)}const Ue=null;function De(e,r){return function(K){let We,yt=0,Yt="";for(;We=e.exec(K);)yt!==We.index&&(Yt+=K.substring(yt,We.index)),Yt+=r.get(We[0].charCodeAt(0)),yt=We.index+1;return Yt+K.substring(yt)}}const ge=null,Bt=De(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),en=De(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),bn=new Set([oe.AREA,oe.BASE,oe.BASEFONT,oe.BGSOUND,oe.BR,oe.COL,oe.EMBED,oe.FRAME,oe.HR,oe.IMG,oe.INPUT,oe.KEYGEN,oe.LINK,oe.META,oe.PARAM,oe.SOURCE,oe.TRACK,oe.WBR]);function Gt(e,r){return r.treeAdapter.isElementNode(e)&&r.treeAdapter.getNamespaceURI(e)===NS.HTML&&bn.has(r.treeAdapter.getTagName(e))}const rn={treeAdapter:lr,scriptingEnabled:!0};function on(e,r){const b=ur(ur({},rn),r);return Gt(e,b)?"":Xn(e,b)}function Dn(e,r){const b=ur(ur({},rn),r);return Ht(e,b)}function Xn(e,r){let b="";const K=r.treeAdapter.isElementNode(e)&&r.treeAdapter.getTagName(e)===$.TEMPLATE&&r.treeAdapter.getNamespaceURI(e)===NS.HTML?r.treeAdapter.getTemplateContent(e):e,We=r.treeAdapter.getChildNodes(K);if(We)for(const yt of We)b+=Ht(yt,r);return b}function Ht(e,r){return r.treeAdapter.isElementNode(e)?Qn(e,r):r.treeAdapter.isTextNode(e)?Sn(e,r):r.treeAdapter.isCommentNode(e)?cr(e,r):r.treeAdapter.isDocumentTypeNode(e)?er(e,r):""}function Qn(e,r){const b=r.treeAdapter.getTagName(e);return`<${b}${fr(e,r)}>${Gt(e,r)?"":`${Xn(e,r)}`}`}function fr(e,{treeAdapter:r}){let b="";for(const K of r.getAttrList(e)){if(b+=" ",K.namespace)switch(K.namespace){case NS.XML:{b+=`xml:${K.name}`;break}case NS.XMLNS:{K.name!=="xmlns"&&(b+="xmlns:"),b+=K.name;break}case NS.XLINK:{b+=`xlink:${K.name}`;break}default:b+=`${K.prefix}:${K.name}`}else b+=K.name;b+=`="${escapeAttribute(K.value)}"`}return b}function Sn(e,r){const{treeAdapter:b}=r,K=b.getTextNodeContent(e),We=b.getParentNode(e),yt=We&&b.isElementNode(We)&&b.getTagName(We);return yt&&b.getNamespaceURI(We)===NS.HTML&&hasUnescapedText(yt,r.scriptingEnabled)?K:escapeText(K)}function cr(e,{treeAdapter:r}){return``}function er(e,{treeAdapter:r}){return``}function qn(e,r){return Parser.parse(e,r)}function Tn(e,r,b){typeof e=="string"&&(b=r,r=e,e=null);const K=Parser.getFragmentParser(e,b);return K.tokenizer.write(r,!0),K.getFragment()}var jn=t(17970),an=t(10528);const fn=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,En=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),yn={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function rr(e,r){const b=Or(e),K=Te("type",{handlers:{root:Pn,element:sr,text:je,comment:Ma,doctype:Jr,raw:ca},unknown:aa}),We={parser:b?new La(yn):La.getFragmentParser(void 0,yn),handle(An){K(An,We)},stitches:!1,options:r||{}};K(e,We),zr(We,(0,jn.Pk)());const yt=b?We.parser.document:We.parser.getFragment(),Yt=pe(yt,{file:We.options.file});return We.stitches&&(0,an.Vn)(Yt,"comment",function(An,Bn,Nt){const nn=An;if(nn.value.stitch&&Nt&&Bn!==void 0){const Mn=Nt.children;return Mn[Bn]=nn.value.stitch,Bn}}),Yt.type==="root"&&Yt.children.length===1&&Yt.children[0].type===e.type?Yt.children[0]:Yt}function Ae(e,r){let b=-1;if(e)for(;++b4&&(r.parser.tokenizer.state=0);const b={type:Mt.CHARACTER,chars:e.value,location:Wr(e)};zr(r,(0,jn.Pk)(e)),r.parser.currentToken=b,r.parser._processToken(r.parser.currentToken)}function Jr(e,r){const b={type:Mt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Wr(e)};zr(r,(0,jn.Pk)(e)),r.parser.currentToken=b,r.parser._processToken(r.parser.currentToken)}function ma(e,r){r.stitches=!0;const b=ha(e);if("children"in e&&"children"in b){const K=rr({type:"root",children:e.children},r.options);b.children=K.children}Ma({type:"comment",value:{stitch:b}},r)}function Ma(e,r){const b=e.value,K={type:Mt.COMMENT,data:b,location:Wr(e)};zr(r,(0,jn.Pk)(e)),r.parser.currentToken=K,r.parser._processToken(r.parser.currentToken)}function ca(e,r){if(r.parser.tokenizer.preprocessor.html="",r.parser.tokenizer.preprocessor.pos=-1,r.parser.tokenizer.preprocessor.lastGapPos=-2,r.parser.tokenizer.preprocessor.gapStack=[],r.parser.tokenizer.preprocessor.skipNextNewLine=!1,r.parser.tokenizer.preprocessor.lastChunkWritten=!1,r.parser.tokenizer.preprocessor.endOfChunkHit=!1,r.parser.tokenizer.preprocessor.isEol=!1,Sa(r,(0,jn.Pk)(e)),r.parser.tokenizer.write(r.options.tagfilter?e.value.replace(fn,"<$1$2"):e.value,!1),r.parser.tokenizer._runParsingLoop(),r.parser.tokenizer.state===72||r.parser.tokenizer.state===78){r.parser.tokenizer.preprocessor.lastChunkWritten=!0;const b=r.parser.tokenizer._consume();r.parser.tokenizer._callState(b)}}function aa(e,r){const b=e;if(r.options.passThrough&&r.options.passThrough.includes(b.type))ma(b,r);else{let K="";throw En.has(b.type)&&(K=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+b.type+"` node"+K)}}function zr(e,r){Sa(e,r);const b=e.parser.tokenizer.currentCharacterToken;b&&b.location&&(b.location.endLine=e.parser.tokenizer.preprocessor.line,b.location.endCol=e.parser.tokenizer.preprocessor.col+1,b.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=b,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ln.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Sa(e,r){if(r&&r.offset!==void 0){const b={startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-r.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=r.offset,e.parser.tokenizer.preprocessor.line=r.line,e.parser.tokenizer.currentLocation=b}}function Ga(e,r){const b=e.tagName.toLowerCase();if(r.parser.tokenizer.state===Ln.PLAINTEXT)return;zr(r,(0,jn.Pk)(e));const K=r.parser.openElements.current;let We="namespaceURI"in K?K.namespaceURI:U.t.html;We===U.t.html&&b==="svg"&&(We=U.t.svg);const yt=Pe(Io(ur({},e),{children:[]}),{space:We===U.t.svg?"svg":"html"}),Yt={type:Mt.START_TAG,tagName:b,tagID:Dt(b),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in yt?yt.attrs:[],location:Wr(e)};r.parser.currentToken=Yt,r.parser._processToken(r.parser.currentToken),r.parser.tokenizer.lastStartTagName=b}function xr(e,r){const b=e.tagName.toLowerCase();if(!r.parser.tokenizer.inForeignNode&&Ge.includes(b)||r.parser.tokenizer.state===Ln.PLAINTEXT)return;zr(r,(0,jn.rb)(e));const K={type:Mt.END_TAG,tagName:b,tagID:Dt(b),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Wr(e)};r.parser.currentToken=K,r.parser._processToken(r.parser.currentToken),b===r.parser.tokenizer.lastStartTagName&&(r.parser.tokenizer.state===Ln.RCDATA||r.parser.tokenizer.state===Ln.RAWTEXT||r.parser.tokenizer.state===Ln.SCRIPT_DATA)&&(r.parser.tokenizer.state=Ln.DATA)}function Or(e){const r=e.type==="root"?e.children[0]:e;return!!(r&&(r.type==="doctype"||r.type==="element"&&r.tagName.toLowerCase()==="html"))}function Wr(e){const r=(0,jn.Pk)(e)||{line:void 0,column:void 0,offset:void 0},b=(0,jn.rb)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:b.line,endCol:b.column,endOffset:b.offset}}function ha(e){return"children"in e?(0,p.ZP)(Io(ur({},e),{children:[]})):(0,p.ZP)(e)}function Ta(e){return function(r,b){return rr(r,Io(ur({},e),{file:b}))}}},10787:function(S,s,t){"use strict";t.d(s,{Z:function(){return te}});function i(ne){if(typeof ne!="string")throw new TypeError("Expected a string");return ne.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var p=t(2348),g=t(10502);function h(ne,pe,Ee){const se=Ee||{},Se=(0,g.O)(se.ignore||[]),be=C(pe);let Ce=-1;for(;++Ce0?{type:"text",value:$e}:void 0),$e===!1?W.lastIndex=rt+1:(J!==rt&&D.push({type:"text",value:Z.value.slice(J,rt)}),Array.isArray($e)?D.push(...$e):$e&&D.push($e),J=rt+He[0].length,fe=!0),!W.global)break;He=W.exec(Z.value)}return fe?(JW&&(W=Y):Y=1,B=Z+j.length,Z=G.indexOf(j,B);return W}function g(){return{enter:{mathFlow:Ce,mathFlowFenceMeta:j,mathText:Y},exit:{mathFlow:B,mathFlowFence:Z,mathFlowFenceMeta:G,mathFlowValue:le,mathText:W,mathTextData:le}};function Ce(J){const X={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[X]}},J)}function j(){this.buffer()}function G(){const J=this.resume(),X=this.stack[this.stack.length-1];(0,i.ok)(X.type==="math"),X.meta=J}function Z(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function B(J){const X=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),ye=this.stack[this.stack.length-1];(0,i.ok)(ye.type==="math"),this.exit(J),ye.value=X;const fe=ye.data.hChildren[0];(0,i.ok)(fe.type==="element"),(0,i.ok)(fe.tagName==="code"),fe.children.push({type:"text",value:X}),this.data.mathFlowInside=void 0}function Y(J){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},J),this.buffer()}function W(J){const X=this.resume(),ye=this.stack[this.stack.length-1];(0,i.ok)(ye.type==="inlineMath"),this.exit(J),ye.value=X,ye.data.hChildren.push({type:"text",value:X})}function le(J){this.config.enter.data.call(this,J),this.config.exit.data.call(this,J)}}function h(Ce){let j=(Ce||{}).singleDollarTextMath;return j==null&&(j=!0),Z.peek=B,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` `,inConstruct:"mathFlowMeta"},{character:"$",after:j?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:G,inlineMath:Z}};function G(Y,W,le,J){const X=Y.value||"",ye=le.createTracker(J),fe="$".repeat(Math.max(p(X,"$")+1,2)),D=le.enter("mathFlow");let He=ye.move(fe);if(Y.meta){const rt=le.enter("mathFlowMeta");He+=ye.move(le.safe(Y.meta,ur({after:` `,before:He,encode:["$"]},ye.current()))),rt()}return He+=ye.move(` `),X&&(He+=ye.move(X+` -`)),He+=ye.move(fe),D(),He}function Z(Y,W,le){let J=Y.value||"",X=1;for(j||X++;new RegExp("(^|[^$])"+"\\$".repeat(X)+"([^$]|$)").test(J);)X++;const ye="$".repeat(X);/[^ \r\n]/.test(J)&&(/^[ \r\n]/.test(J)&&/[ \r\n]$/.test(J)||/^\$|\$$/.test(J))&&(J=" "+J+" ");let fe=-1;for(;++fe0&&typeof F.column=="number"&&F.column>0)return{line:F.line,column:F.column,offset:typeof F.offset=="number"&&F.offset>-1?F.offset:void 0}}}function h(C){const y=p(C),f=i(C);if(y&&f)return{start:y,end:f}}},2348:function(S,s,t){"use strict";t.d(s,{AM:function(){return y},S4:function(){return f}});var i=t(10502);function p(U){return U}const g=[],h=!0,C=!1,y="skip";function f(U,te,ne,pe){let Ee;typeof te=="function"&&typeof ne!="function"?(pe=ne,ne=te):Ee=te;const se=(0,i.O)(Ee),Se=pe?-1:1;be(U,void 0,[])();function be(Ce,j,G){const Z=Ce&&typeof Ce=="object"?Ce:{};if(typeof Z.type=="string"){const Y=typeof Z.tagName=="string"?Z.tagName:typeof Z.name=="string"?Z.name:void 0;Object.defineProperty(B,"name",{value:"node ("+(Ce.type+(Y?"<"+Y+">":""))+")"})}return B;function B(){let Y=g,W,le,J;if((!te||se(Ce,j,G[G.length-1]||void 0))&&(Y=F(ne(Ce,G)),Y[0]===C))return Y;if("children"in Ce&&Ce.children){const X=Ce;if(X.children&&Y[0]!==y)for(le=(pe?X.children.length:-1)+Se,J=G.concat(X);le>-1&&le","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(S){"use strict";S.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]); +`)),He+=ye.move(fe),D(),He}function Z(Y,W,le){let J=Y.value||"",X=1;for(j||X++;new RegExp("(^|[^$])"+"\\$".repeat(X)+"([^$]|$)").test(J);)X++;const ye="$".repeat(X);/[^ \r\n]/.test(J)&&(/^[ \r\n]/.test(J)&&/[ \r\n]$/.test(J)||/^\$|\$$/.test(J))&&(J=" "+J+" ");let fe=-1;for(;++fe0&&typeof F.column=="number"&&F.column>0)return{line:F.line,column:F.column,offset:typeof F.offset=="number"&&F.offset>-1?F.offset:void 0}}}function h(C){const y=p(C),f=i(C);if(y&&f)return{start:y,end:f}}},2348:function(S,s,t){"use strict";t.d(s,{AM:function(){return y},S4:function(){return f}});var i=t(10502);function p(U){return U}const g=[],h=!0,C=!1,y="skip";function f(U,te,ne,pe){let Ee;typeof te=="function"&&typeof ne!="function"?(pe=ne,ne=te):Ee=te;const se=(0,i.O)(Ee),Se=pe?-1:1;be(U,void 0,[])();function be(Ce,j,G){const Z=Ce&&typeof Ce=="object"?Ce:{};if(typeof Z.type=="string"){const Y=typeof Z.tagName=="string"?Z.tagName:typeof Z.name=="string"?Z.name:void 0;Object.defineProperty(B,"name",{value:"node ("+(Ce.type+(Y?"<"+Y+">":""))+")"})}return B;function B(){let Y=g,W,le,J;if((!te||se(Ce,j,G[G.length-1]||void 0))&&(Y=F(ne(Ce,G)),Y[0]===C))return Y;if("children"in Ce&&Ce.children){const X=Ce;if(X.children&&Y[0]!==y)for(le=(pe?X.children.length:-1)+Se,J=G.concat(X);le>-1&&le","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(S){"use strict";S.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]); }()); \ No newline at end of file diff --git a/index.html b/index.html index 17aab4726f..f73a441729 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/layouts__SimpleLayouts.e940b7de.async.js b/layouts__SimpleLayouts.5039ba92.async.js similarity index 99% rename from layouts__SimpleLayouts.e940b7de.async.js rename to layouts__SimpleLayouts.5039ba92.async.js index 1097f38da9..87f2b92877 100644 --- a/layouts__SimpleLayouts.e940b7de.async.js +++ b/layouts__SimpleLayouts.5039ba92.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[7062],{65363:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ke}});var y=te(54476),se=te(59301),Se={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},je=Se,De=te(7657),Ce=function(Me,Ne){return se.createElement(De.Z,(0,y.Z)({},Me,{ref:Ne,icon:je}))},Pe=se.forwardRef(Ce),ke=Pe},81953:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ke}});var y=te(54476),se=te(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},je=Se,De=te(7657),Ce=function(Me,Ne){return se.createElement(De.Z,(0,y.Z)({},Me,{ref:Ne,icon:je}))},Pe=se.forwardRef(Ce),ke=Pe},87169:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ke}});var y=te(54476),se=te(59301),Se={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"},je=Se,De=te(7657),Ce=function(Me,Ne){return se.createElement(De.Z,(0,y.Z)({},Me,{ref:Ne,icon:je}))},Pe=se.forwardRef(Ce),ke=Pe},32050:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ke}});var y=te(54476),se=te(59301),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},je=Se,De=te(7657),Ce=function(Me,Ne){return se.createElement(De.Z,(0,y.Z)({},Me,{ref:Ne,icon:je}))},Pe=se.forwardRef(Ce),ke=Pe},27431:function(Ge,Rt){"use strict";Rt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},82429:function(Ge,Rt){"use strict";Rt.Z={modal:"modal___A9Ovz",colorBlue:"colorBlue___XSmR5",formWrap:"formWrap___wRvaA",flexRow:"flexRow___C40dc",flexColumn:"flexColumn___LkZfj",example:"example___bz7Hw",exampleImg:"exampleImg___gNkC_",colorOrange:"colorOrange___Ka6zf",uploader:"uploader___plQRr",uploadImg:"uploadImg___cjOpL",imageTip:"imageTip___p1_lZ",uploadTipIcon:"uploadTipIcon___SpsS2",uploadTip:"uploadTip___e9JlL",color05101a:"color05101a___CDEUv",viewLargerImg:"viewLargerImg___IclRX",footerWrap:"footerWrap___beWC6",note:"note___CXi9y",schoolHintWrap:"schoolHintWrap___Ma6ly",colorCDCDCD:"colorCDCDCD___D0UWo",color0152d9:"color0152d9___hF3Bb"}},53956:function(Ge,Rt,te){"use strict";var y=te(59301),se=Object.defineProperty,Se=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ce=(ye,Me,Ne)=>Me in ye?se(ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):ye[Me]=Ne,Pe=(ye,Me)=>{for(var Ne in Me||(Me={}))je.call(Me,Ne)&&Ce(ye,Ne,Me[Ne]);if(Se)for(var Ne of Se(Me))De.call(Me,Ne)&&Ce(ye,Ne,Me[Ne]);return ye};const ke=ye=>React.createElement("svg",Pe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ye),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Rt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},12082:function(Ge,Rt,te){"use strict";var y=te(59301),se=Object.defineProperty,Se=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ce=(ye,Me,Ne)=>Me in ye?se(ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):ye[Me]=Ne,Pe=(ye,Me)=>{for(var Ne in Me||(Me={}))je.call(Me,Ne)&&Ce(ye,Ne,Me[Ne]);if(Se)for(var Ne of Se(Me))De.call(Me,Ne)&&Ce(ye,Ne,Me[Ne]);return ye};const ke=ye=>React.createElement("svg",Pe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ye),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Rt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},87851:function(){"use strict";function Ge(ae,E,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=ae,this._defaultValue=E,this._minimum=a,this._maximum=b}Object.defineProperty(Ge.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(Ge.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(Ge.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(Ge.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,E){var a=go.Shape._FigureParameters[ae];return a?a[E]:null},go.Shape.setFigureParameter=function(ae,E,a){if(!(a instanceof Ge))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 b=go.Shape._FigureParameters[ae];b||(b=[],go.Shape._FigureParameters[ae]=b),b[E]=a};var Rt=[];function te(ae,E){var a=Rt.pop();return a===void 0?new go.Point(ae,E):(a.x=ae,a.y=E,a)}function y(){var ae=Rt.pop();return ae===void 0?new go.Point:ae}function se(ae){Rt.push(ae)}function Se(ae,E,a,b,x,z,ee,ne,oe){oe||(oe=new go.Point);var le=ae-a,ce=x-ee,ge=NaN,pe=NaN;if(le===0)if(ce===0)ae===a&&(ge=ae,pe=E);else{var be=(z-ne)/ce,at=z-be*x;ge=ae,pe=be*ge+at}else if(ce===0){var _e=(E-b)/le,nt=E-_e*ae;ge=x,pe=_e*ge+nt}else{var _e=(E-b)/le,be=(z-ne)/ce,nt=E-_e*ae,at=z-be*x;ge=(at-nt)/(_e-be),pe=_e*ge+nt}return oe.x=ge,oe.y=pe,oe}function je(ae,E,a,b,x,z,ee,ne,oe,le,ce,ge,pe,be){var at=1-oe,_e=oe,nt=ae*at+a*_e,dt=E*at+b*_e,jt=a*at+x*_e,Bt=b*at+z*_e,un=x*at+ee*_e,Nt=z*at+ne*_e,An=nt*at+jt*_e,ht=dt*at+Bt*_e,xt=jt*at+un*_e,Tt=Bt*at+Nt*_e,wt=An*at+xt*_e,At=ht*at+Tt*_e;le.x=nt,le.y=dt,ce.x=An,ce.y=ht,ge.x=wt,ge.y=At,pe.x=xt,pe.y=Tt,be.x=un,be.y=Nt}var De=new go.Spot(.156,.156),Ce=new go.Spot(.844,.844),Pe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ge("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,E,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,E/3),b=Math.min(b,a/3);var x=b*Pe,z=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-x,0,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-x,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close()));return x>1&&(z.spot1=new go.Spot(0,0,x,x),z.spot2=new go.Spot(1,1,-x,-x)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=E,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(ae,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E/2,b.startY=0,b.endX=E/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,E,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*E,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,E,a){var b=E/2,x=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return x.spot1=De,x.spot2=Ce,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Line1",function(ae,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(ae,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,Pe*E,0,E,(1-Pe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,Pe*a,(1-Pe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,Pe*a,Pe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-Pe)*E,0,0,(1-Pe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ge("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var x=Math.abs(b)*E;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),xE&&(b=E);var x=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),x.5&&(b=.5);var x=Math.abs(b)*E;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),xE&&(b=E/2);var x=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),xE&&(b=E/2);var x=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())):z.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),x0&&(ee.add(new go.PathSegment(go.PathSegment.Move,E/2+ne,E/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,x,x,ne,ne).close())),z.spot1=De,z.spot2=Ce,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,E,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Line,b*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Ge("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ge("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,E,a){var b=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(b)&&(b=0),isNaN(x)&&(x=315);var z=b%360;z<0&&(z+=360);var ee=x%360,ne=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,z,ee,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,E,a){var b=Pe/Math.SQRT2*.5,x=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,x*E,z*a,E,(1-b)*a,(x+b)*E,(z+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ge("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,E,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var x=Math.min(b,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-x,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+x,0)).add(new go.PathSegment(go.PathSegment.Line,z+x,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee+x)).add(new go.PathSegment(go.PathSegment.Line,z+x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,z+x,a)).add(new go.PathSegment(go.PathSegment.Line,z-x,a)).add(new go.PathSegment(go.PathSegment.Line,z-x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee-x)).add(new go.PathSegment(go.PathSegment.Line,z-x,ee-x).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ge("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,E,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var x=Math.min(b,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-x,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+x,0)).add(new go.PathSegment(go.PathSegment.Line,z+x,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee+x)).add(new go.PathSegment(go.PathSegment.Line,z+x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,z+x,a)).add(new go.PathSegment(go.PathSegment.Line,z-x,a)).add(new go.PathSegment(go.PathSegment.Line,z-x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee-x)).add(new go.PathSegment(go.PathSegment.Line,z-x,ee-x).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ge("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,E,a){var b=ae?ae.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),E===0||a===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var z=E/2,ee=a/2,ne=Math.atan2(a,E),oe=b-Math.min(Math.cos(ne)*b/2,z),le=b-Math.min(Math.sin(ne)*b/2,ee),x=new go.Geometry,ce=new go.PathFigure(oe,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),ce.add(new go.PathSegment(go.PathSegment.Line,E-oe,0)),ce.add(new go.PathSegment(go.PathSegment.Line,E,le)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*E,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,E,a-le)),ce.add(new go.PathSegment(go.PathSegment.Line,E-oe,a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),ce.add(new go.PathSegment(go.PathSegment.Line,oe,a)),ce.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),x}}),go.Shape.setFigureParameter("ThinX",0,new Ge("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,E,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var x=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),x}),go.Shape.setFigureParameter("SquareIBeam",0,new Ge("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var x=new go.Geometry,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),x}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ge("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.5);var x=new go.Geometry,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-b)*E,.25*a,Math.abs(1-b)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),x}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,Pe*E,0,E,(.5-Pe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+Pe/2)*a,Pe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.4*E,.6*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ee=.3,ne=0,oe=z*Pe;return x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+ne)*a,(.5-z+ee)*E,(.5+oe+ne)*a,(.5-oe+ee)*E,(.5+z+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+ne)*a,(.5+oe+ee)*E,(.5+z+ne)*a,(.5+z+ee)*E,(.5+oe+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+ne)*a,(1-.5+z+ee)*E,(.5-oe+ne)*a,(.5+oe+ee)*E,(.5-z+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-oe+ee)*E,(.5-z+ne)*a,(.5-z+ee+.05)*E,(.5-oe+ne-.02)*a)),z=.2,ee=0,ne=-.3,oe=z*Pe,x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+ne)*a,(.5+oe+ee)*E,(.5+z+ne)*a,(.5+z+ee)*E,(.5+oe+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+ne)*a,(1-.5+z+ee)*E,(.5-oe+ne)*a,(.5+oe+ee)*E,(.5-z+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+ne)*a,(.5-oe+ee)*E,(.5-z+ne)*a,(.5-z+ee)*E,(.5-oe+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+ee)*E,(.5+z+ne)*a,(.5-z+ee)*E,(.5+oe+ne)*a,(.5-oe+ee)*E,(.5+z+ne)*a)),z=.2,ee=-.3,ne=0,oe=z*Pe,x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+ne)*a,(1-.5+z+ee-.05)*E,(.5-oe+ne-.02)*a,(.5+oe+ee)*E,(.5-z+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+ne)*a,(.5-oe+ee)*E,(.5-z+ne)*a,(.5-z+ee)*E,(.5-oe+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+ne)*a,(.5-z+ee)*E,(.5+oe+ne)*a,(.5-oe+ee)*E,(.5+z+ne)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+oe+ee)*E,(.5+z+ne)*a,(.5+z+ee)*E,(.5+oe+ne)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*.5,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),x.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ee=.5,ne=.25;return x.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*E,ne*a)),x.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ee,a*ne,z*E,z*E).close()),x=new go.PathFigure(E*.5,0,!1),b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),ne=.75,x=new go.PathFigure((ee+z)*E,ne*a,!0),b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ee,a*ne,z*E,z*E).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ae,E,a){var b=.8535533905932737,x=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(x,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,x,z,x,z)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Move,x,z)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,x,z)).add(new go.PathSegment(go.PathSegment.Line,b*E,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=.5,ee=.5,ne=.5,oe=new go.PathFigure(ee*E,(ne-z)*a);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a)),z=.4,x=Pe*.4;var le=y(),ce=y(),ge=y(),pe=y();je(ee,ne-z,ee+x,ne-z,ee+z,ne-x,ee+z,ne,.42,le,ce,ge,pe,pe);var be=y(),at=y(),_e=y();je(ee,ne-z,ee+x,ne-z,ee+z,ne-x,ee+z,ne,.58,pe,pe,_e,be,at);var nt=y(),dt=y(),jt=y();je(ee,ne+z,ee-x,ne+z,ee-z,ne+x,ee-z,ne,.42,nt,dt,jt,pe,pe);var Bt=y(),un=y(),Nt=y();return je(ee,ne+z,ee-x,ne+z,ee-z,ne+x,ee-z,ne,.58,pe,pe,Nt,Bt,un),oe.add(new go.PathSegment(go.PathSegment.Move,Nt.x*E,Nt.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,Bt.x*E,Bt.y*a,un.x*E,un.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-x)*a,(ee-x)*E,(ne-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,le.x*E,le.y*a,ce.x*E,ce.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,Nt.x*E,Nt.y*a).close()),oe.add(new go.PathSegment(go.PathSegment.Move,jt.x*E,jt.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,_e.x*E,_e.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,be.x*E,be.y*a,at.x*E,at.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+x)*a,(ee+x)*E,(ne+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,jt.x*E,jt.y*a,nt.x*E,nt.y*a,dt.x*E,dt.y*a).close()),se(le),se(ce),se(ge),se(pe),se(be),se(at),se(_e),se(nt),se(dt),se(jt),se(Bt),se(un),se(Nt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ge("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,E,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>E&&(b=E);var x=(E-b)/2,z=x+b;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,x,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,E,a){var b=new go.Geometry,x=Pe*.4,z=.4,ee=.5,ne=.5,oe=y(),le=y(),ce=y(),ge=y(),pe=new go.PathFigure((ee-z)*E,ne*a,!1);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-x)*a,(ee-x)*E,(ne-z)*a)),je(ee,ne-z,ee+x,ne-z,ee+z,ne-x,ee+z,ne,.44,ce,ge,le,oe,oe),pe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,ce.x*E,ce.y*a,ge.x*E,ge.y*a));var be=te(le.x,le.y);je(ee,ne-z,ee+x,ne-z,ee+z,ne-x,ee+z,ne,.56,oe,oe,le,ce,ge);var at=te(le.x,le.y);pe.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*E,be.y*.1*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*E,be.y*.1*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),pe.add(new go.PathSegment(go.PathSegment.Line,E,0)),pe.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),pe.add(new go.PathSegment(go.PathSegment.Line,(at.x*.1+.9)*E,.15*a)),pe.add(new go.PathSegment(go.PathSegment.Line,(at.x*.1+.9)*E,(at.y*.1+.05*.9)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,at.x*E,at.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,ce.x*E,ce.y*a,ge.x*E,ge.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+x)*a,(ee+x)*E,(ne+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-x)*E,(ne+z)*a,(ee-z)*E,(ne+x)*a)),z=.35,x=Pe*.35;var _e=new go.PathFigure(ee*E,(ne-z)*a,!1);b.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a));var nt=new go.PathFigure((ee-z)*E,ne*a,!1);return b.add(nt),se(oe),se(le),se(ce),se(ge),se(be),se(at),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,E,a){var b=new go.Geometry,x=.375,z=0,ee=-.125,ne=x*Pe,oe=new go.PathFigure((.525+z)*E,(.5+x+ee)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*E,(.5+ee)*a,(.5+ne+z)*E,(.5+x+ee)*a,(.5+x+z)*E,(.5+ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-x+ee)*a,(1-.5+x+z)*E,(.5-ne+ee)*a,(.5+ne+z)*E,(.5-x+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*E,(.5+ee)*a,(.5-ne+z)*E,(.5-x+ee)*a,(.5-x+z)*E,(.5-ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+x+ee)*a,(.5-x+z)*E,(.5+ne+ee)*a,(.5-ne+z)*E,(.5+x+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),x=.325,z=0,ee=-.125,ne=x*Pe;var oe=new go.PathFigure((1-.5+x+z)*E,(.5+ee)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+x+ee)*a,(.5+x+z)*E,(.5+ne+ee)*a,(.5+ne+z)*E,(.5+x+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*E,(.5+ee)*a,(.5-ne+z)*E,(.5+x+ee)*a,(.5-x+z)*E,(.5+ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-x+ee)*a,(.5-x+z)*E,(.5-ne+ee)*a,(.5-ne+z)*E,(.5-x+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*E,(.5+ee)*a,(.5+ne+z)*E,(.5-x+ee)*a,(1-.5+x+z)*E,(.5-ne+ee)*a));var oe=new go.PathFigure((.525+z)*E,(.5+x+ee)*a,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,E,a){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,E,a){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,E,a){var b=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,E,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,E,a){var b=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ge("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ge("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=.3);var z=(1-b)*E,ee=(.5-x/2)*a,ne=(.5+x/2)*a,oe=new go.Geometry,le=new go.PathFigure(0,ee,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/a);var ce=Se(0,ne/a,1,ne/a,z/E,1,1,.5,y());return oe.spot2=new go.Spot(ce.x,ce.y),se(ce),oe}),go.Shape.setFigureParameter("Arrow2",0,new Ge("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ge("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=30),b>E&&(b=E);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=30),x=Math.min(x,a/2);var z=E-b,ee=(a-x)/2,ne=ee+x,oe=new go.Geometry,le=new go.PathFigure(0,ee,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/a);var ce=Se(0,ne/a,1,ne/a,z/E,1,1,.5,y());return oe.spot2=new go.Spot(ce.x,ce.y),se(ce),oe}),go.Shape.defineFigureGenerator("Chevron",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ge("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var x=(.5-b/2)*a,z=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var oe=Se(0,.5,.3,0,0,x/a,.1,x/a,y());return ee.spot1=new go.Spot(oe.x,oe.y),oe=Se(.7,1,1,.5,0,z/a,1,z/a,oe),ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ge("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ge("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=100);var z=(a-b)/2,ee=z+b,ne=(a-x)/2,oe=ne+x;(b>a||x>a)&&(x>b?(b=b*a/x,z=(a-b)/2,ee=z+b,ne=0,oe=a):(z=0,ee=a,ne=0,oe=a));var le=new go.Geometry,ce=new go.PathFigure(E,.5*a,!0);le.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*E,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*E,oe)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne).close());var ge=Se(0,.5,.3,ne/a,0,z/a,1,z/a,y());return le.spot1=new go.Spot(ge.x,ge.y),ge=Se(.7,oe/a,1,.5,0,ee/a,1,ee/a,ge),le.spot2=new go.Spot(ge.x,ge.y),se(ge),le}),go.Shape.setFigureParameter("IBeamArrow",0,new Ge("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var x=(.5-b/2)*a,z=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(0,x/a);var oe=Se(.7,1,1,.5,0,z/a,1,z/a,y());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ge("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ge("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=100);var z=(a-b)/2,ee=z+b,ne=(a-x)/2,oe=ne+x;(b>a||x>a)&&(x>b?(b=b*a/x,z=(a-b)/2,ee=z+b,ne=0,oe=a):(z=0,ee=a,ne=0,oe=a));var le=new go.Geometry,ce=new go.PathFigure(E,.5*a,!0);le.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*E,oe)),ce.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne).close()),le.spot1=new go.Spot(0,z/a);var ge=Se(.7,oe/a,1,.5,0,ee/a,1,ee/a,y());return le.spot2=new go.Spot(ge.x,ge.y),se(ge),le}),go.Shape.setFigureParameter("Pointer",0,new Ge("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),x.spot1=new go.Spot(b,.35);var ee=Se(.2,.65,1,.65,0,1,1,.5,y());return x.spot2=new go.Spot(ee.x,ee.y),se(ee),x}),go.Shape.setFigureParameter("RoundedPointer",0,new Ge("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var x=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),x.spot1=new go.Spot(b,.35);var ee=Se(0,.65,1,.65,0,1,1,.5,y());return x.spot2=new go.Spot(ee.x,ee.y),se(ee),x}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ge("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.4);var x=(.5-b/2)*a,z=(.5+b/2)*a,ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,.3);var oe=Se(.7,1,1,.5,0,z/a,1,z/a,y());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ge("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=50);var x=(a-b)/2,z=x+b;b>a&&(x=0,z=a);var ee=new go.Geometry,ne=new go.PathFigure(E,.5*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,x/a);var oe=Se(.7,1,1,.5,0,z/a,1,z/a,y());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Ge("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.7);var x=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,0).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(b,1),x}),go.Shape.defineFigureGenerator("Cone1",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=Pe*.1,ee=new go.PathFigure(0,.9*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-x)*E,a,0,(.9+z)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.9*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.3*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var x=new go.Geometry,z=Pe*.5,ee=new go.PathFigure(0,b,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,Pe*b,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*E,b,(.5+z)*E,0,1*E,Pe*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-Pe*b,(.5+z)*E,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*E,1*a,0,a-Pe*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(E,b,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*b,1*E,2*b-Pe*b,(.5+z)*E,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*E,2*b,0,2*b-Pe*b)),x.spot1=new go.Spot(0,0,0,2*b),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var x=new go.Geometry,z=Pe*.5,ee=new go.PathFigure(0,a-b,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,Pe*b,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b,(.5+z)*E,0,E,Pe*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-Pe*b,(.5+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*E,a,0,a-Pe*b));var ne=new go.PathFigure(0,a-b,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*b,0,a-b-Pe*b,(.5-z)*E,a-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,a-b,(.5+z)*E,a-2*b,E,a-b-Pe*b)),x.spot1=new go.Spot(0,0),x.spot2=new go.Spot(1,1,0,-2*b),x}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var x=new go.Geometry,z=Pe*.5,ee=new go.PathFigure(b,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-Pe*b,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+z)*a,E-Pe*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Pe*b,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,Pe*b,0));var ne=new go.PathFigure(b,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+Pe*b,0,2*b,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+z)*a,b+Pe*b,a)),x.spot1=new go.Spot(0,0,2*b,0),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var x=new go.Geometry,z=Pe*.5,ee=new go.PathFigure(E-b,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-Pe*b,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+z)*a,E-Pe*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Pe*b,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,Pe*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0));var ne=new go.PathFigure(E-b,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-2*b,.5*a,E-b-Pe*b,0,E-2*b,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E-2*b,(.5+z)*a,E-b-Pe*b,a)),x.spot1=new go.Spot(0,0),x.spot2=new go.Spot(1,1,-2*b,0),x}),go.Shape.defineFigureGenerator("Prism1",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.25*E,.25*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.25*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ae,E,a){var b=new go.Geometry,x=.2,z=.1,ee=Pe*x,ne=Pe*z,oe=.5,le=.1,ce=new go.PathFigure(oe*E,(le+z)*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-x)*E,le*a,(oe-ee)*E,(le+z)*a,(oe-x)*E,(le+ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-z)*a,(oe-x)*E,(le-ne)*a,(oe-ee)*E,(le-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+x)*E,le*a,(oe+ee)*E,(le-z)*a,(oe+x)*E,(le-ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le+z)*a,(oe+x)*E,(le+ne)*a,(oe+ee)*E,(le+z)*a));var ge=.05,pe=Pe*ge;oe=.05,le=.25;var be=new go.PathFigure(.5*E,.2*a,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),oe=.95,le=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ge)*E,le*a,(oe+pe)*E,(le-ge)*a,(oe+ge)*E,(le-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),ge=.025,pe=Pe*ge,oe=.825,le=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-ge)*a,(oe+ge)*E,(le-pe)*a,(oe+pe)*E,(le-ge)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*E,le*a,(oe-pe)*E,(le-ge)*a,(oe-ge)*E,(le-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),ge=.05,pe=Pe*ge,oe=.5,le=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-ge)*a,(oe+ge)*E,(le-pe)*a,(oe+pe)*E,(le-ge)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*E,le*a,(oe-pe)*E,(le-ge)*a,(oe-ge)*E,(le-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),ge=.025,pe=Pe*ge,oe=.175,le=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-ge)*a,(oe+ge)*E,(le-pe)*a,(oe+pe)*E,(le-ge)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*E,le*a,(oe-pe)*E,(le-ge)*a,(oe-ge)*E,(le-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ge=.05,pe=Pe*ge,oe=.05,le=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-ge)*a,(oe-ge)*E,(le-pe)*a,(oe-pe)*E,(le-ge)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Ge("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,E,a){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var x=new go.Geometry,z=new go.PathFigure(E,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,0).close()),x.spot1=new go.Spot(0,b),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Collate",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,x*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),b}),go.Shape.defineFigureGenerator("Database",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=Pe*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-x)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+x)*E,0,E,(.1-z)*a));var ne=new go.PathFigure(E,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+x)*E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-x)*E,.2*a,0,(.1+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+x)*E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-x)*E,.3*a,0,(.2+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+x)*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-x)*E,.4*a,0,(.3+z)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=Pe*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-x)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+x)*E,0,E,(.1-z)*a));var ne=new go.PathFigure(E,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+x)*E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-x)*E,.2*a,0,(.1+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+x)*E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-x)*E,.3*a,0,(.2+z)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.25*E,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)?x=.2:x<.15&&(x=.15);var z=Pe*.2,ee=new go.PathFigure(0,.2*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ne=new go.PathFigure(0,x*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;(isNaN(x)||x<.1)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,x*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),b}),go.Shape.defineFigureGenerator("Document",function(ae,E,a){var b=new go.Geometry;a=a/.8;var x=new go.PathFigure(0,.7*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;(isNaN(x)||x<.2)&&(x=.2);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(x*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),ee.add(new go.PathSegment(go.PathSegment.Move,E,x*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ee=new go.PathFigure(E,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN,z=ae?ae.parameter2:NaN;isNaN(x)&&(x=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(x*E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),b}),go.Shape.defineFigureGenerator("Junction",function(ae,E,a){var b=new go.Geometry,x=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=Pe*.5,ne=.5,oe=new go.PathFigure(E,ne*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,E,(ne+ee)*a,(ne+ee)*E,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-ee)*E,a,0,(ne+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,0,0,(ne-ee)*a,(ne-ee)*E,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,ne*a,(ne+ee)*E,0,E,(ne-ee)*a));var le=new go.PathFigure((z+x)*E,(z+x)*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),le.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+x)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(z+x)*E,z*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,E,a){var b=new go.Geometry;a=a/.8;var x=new go.PathFigure(0,.7*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=.5,ee=new go.PathFigure(.5*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-x)*E,a,0,(z+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-x)*a,(z-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+x)*E,0,E,(z-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+x)*a,(z+x)*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.7);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.25);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,E,a){var b=new go.Geometry;a=a/.8;var x=new go.PathFigure(E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.1*E,.1*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var z=1-x,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var ne=new go.PathFigure(.5*x*E,x*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*x)*E,x*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+x)*a,(z+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-x)*E,a,0,(z+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-x)*a,(z-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+x)*E,0,E,(z-x)*a));var ne=new go.PathFigure(E,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ae,E,a){var b=new go.Geometry;a=a/.8;var x=new go.PathFigure(0,.7*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN,z=ae?ae.parameter2:NaN;isNaN(x)&&(x=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN,z=ae?ae.parameter2:NaN;isNaN(x)&&(x=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-x)*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,x*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),b}),go.Shape.defineFigureGenerator("Process",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(x*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.25);var z=new go.PathFigure(x*E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ee=new go.PathFigure(x*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)),b.spot1=new go.Spot(x,0),b.spot2=new go.Spot(1-x,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.25*E,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,E,a){var b=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+x)*E,0,E,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+x)*a,(.5+x)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+x)*a,(z+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-x)*E,a,0,(z+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-x)*a,(z-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+x)*E,0,E,(z-x)*a));var ne=new go.PathFigure(E,z*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var oe=new go.PathFigure(.8*E,.75*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(ae,E,a){var b=new go.Geometry,x=Pe*.1,z=.1,ee=.9,ne=.5,oe=new go.PathFigure(.8*E,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var le=new go.PathFigure((ee+z)*E,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+x)*a,(ee+x)*E,(ne+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-x)*E,(ne+z)*a,(ee-z)*E,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-x)*a,(ee-x)*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+x)*E,(ne-z)*a,(ee+z)*E,(ne-x)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=Pe*.4,ee=Pe*.1,ne=.1,oe=.9,le=.5,ce=new go.PathFigure(.8*E,.5*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+x)*E,a)),ce.add(new go.PathSegment(go.PathSegment.Line,0,a)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+x)*E,0,.8*E,(.5-z)*a));var ge=new go.PathFigure((oe+ne)*E,le*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le+ne)*a,(oe+ne)*E,(le+ee)*a,(oe+ee)*E,(le+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*E,le*a,(oe-ee)*E,(le+ne)*a,(oe-ne)*E,(le+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-ne)*a,(oe-ne)*E,(le-ee)*a,(oe-ee)*E,(le-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*E,le*a,(oe+ee)*E,(le-ne)*a,(oe+ne)*E,(le-ee)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ae,E,a){var b=new go.Geometry,x=.5,z=Pe*x,ee=0,ne=.5,oe=new go.PathFigure(.8*E,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(ne-x)*a,.7*E,(ne-z)*a)),x=.1,z=Pe*.1,ee=.9,ne=.5;var le=new go.PathFigure((ee-x)*E,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-x)*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,ne*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+x)*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,ne*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ae,E,a){var b=new go.Geometry,x=.5,z=Pe*x,ee=0,ne=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z+z)*E,(ne-x)*a,.8*E,(ne-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(ne+z)*a,(ee+z+z)*E,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ae,E,a){var b=new go.Geometry,x=.5,z=Pe*x,ee=.2,ne=.5,oe=new go.PathFigure(.1*E,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.8*E,.5*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(ne-x)*a,.7*E,(ne-z)*a)),x=.1,z=Pe*.1,ee=.9,ne=.5;var ce=new go.PathFigure((ee-x)*E,ne*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-x)*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,ne*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+x)*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,ne*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ae,E,a){var b=new go.Geometry,x=.5,z=Pe*x,ee=.2,ne=.5,oe=new go.PathFigure(.1*E,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.2*E,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z)*E,(ne-x)*a,.9*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(ae,E,a){var b=new go.Geometry,x=Pe*.1,z=.1,ee=.1,ne=.5,oe=new go.PathFigure((ee-x*.5)*E,a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-x)*E,a,(ee-z)*E,0)),ee=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+x)*E,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-x)*E,a,(ee-z)*E,0)),ee=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+x)*E,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-x)*E,a,(ee-z)*E,0)),ee=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+x)*E,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-x)*E,a,(ee-z)*E,0)),ee=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x*.5)*E,a,(ee+z)*E,0,(ee+x)*E,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,E,a){var b=new go.Geometry,x=Pe*.5,z=.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-z)*E,ne*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-z)*a,(ee-z)*E,(ne-x)*a,(ee-x)*E,(ne-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+x)*E,(ne-z)*a,(ee+z)*E,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+x)*a,(ee+x)*E,(ne+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-x)*E,(ne+z)*a,(ee-z)*E,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*E,ne*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*E,ne*a,ee*E,(ne-z)*a,ee*E,(ne+z)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.75*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Diode",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ae,E,a){var b=new go.Geometry,x=E,z=a;E=E*.38,a=a*.6;var ee=Pe*.8,ne=.8,oe=0,le=.5,ce=(x-E)/2,ge=(z-a)/2,pe=new go.PathFigure(oe*E+ce,(le+ne)*a+ge,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*E+ce,le*a+ge,(oe-ee)*E+ce,(le+ne)*a+ge,(oe-ne)*E+ce,(le+ee)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le-ne)*a+ge,(oe-ne)*E+ce,(le-ee)*a+ge,(oe-ee)*E+ce,(le-ne)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*E+ce,le*a+ge,oe*E+ce,(le-ne)*a+ge,(oe-ne+ee*.5)*E+ce,(le-ee)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le+ne)*a+ge,(oe-ne+ee*.5)*E+ce,(le+ee)*a+ge,oe*E+ce,(le+ne)*a+ge).close()),ee=Pe*.4,ne=.4,oe=.2,le=.5;var be=new go.PathFigure(oe*E+ce,(le+ne)*a+ge,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*E+ce,le*a+ge,(oe-ee)*E+ce,(le+ne)*a+ge,(oe-ne)*E+ce,(le+ee)*a+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le-ne)*a+ge,(oe-ne)*E+ce,(le-ee)*a+ge,(oe-ee)*E+ce,(le-ne)*a+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*E+ce,le*a+ge,oe*E+ce,(le-ne)*a+ge,(oe-ne+ee*.5)*E+ce,(le-ee)*a+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le+ne)*a+ge,(oe-ne+ee*.5)*E+ce,(le+ee)*a+ge,oe*E+ce,(le+ne)*a+ge).close()),ee=Pe*.2,ne=.2,oe=.5,le=.5;var at=new go.PathFigure((oe-ne)*E+ce,le*a+ge,!0);b.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le-ne)*a+ge,(oe-ne)*E+ce,(le-ee)*a+ge,(oe-ee)*E+ce,(le-ne)*a+ge)),at.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*E+ce,le*a+ge,(oe+ee)*E+ce,(le-ne)*a+ge,(oe+ne)*E+ce,(le-ee)*a+ge)),at.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le+ne)*a+ge,(oe+ne)*E+ce,(le+ee)*a+ge,(oe+ee)*E+ce,(le+ne)*a+ge)),at.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*E+ce,le*a+ge,(oe-ee)*E+ce,(le+ne)*a+ge,(oe-ne)*E+ce,(le+ee)*a+ge)),ee=Pe*.4,ne=.4,oe=.8,le=.5;var _e=new go.PathFigure(oe*E+ce,(le-ne)*a+ge,!0);b.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*E+ce,le*a+ge,(oe+ee)*E+ce,(le-ne)*a+ge,(oe+ne)*E+ce,(le-ee)*a+ge)),_e.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le+ne)*a+ge,(oe+ne)*E+ce,(le+ee)*a+ge,(oe+ee)*E+ce,(le+ne)*a+ge)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*E+ce,le*a+ge,oe*E+ce,(le+ne)*a+ge,(oe+ne-ee*.5)*E+ce,(le+ee)*a+ge)),_e.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le-ne)*a+ge,(oe+ne-ee*.5)*E+ce,(le-ee)*a+ge,oe*E+ce,(le-ne)*a+ge).close()),ee=Pe*.8,ne=.8,oe=1,le=.5;var nt=new go.PathFigure(oe*E+ce,(le-ne)*a+ge,!0);return b.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*E+ce,le*a+ge,(oe+ee)*E+ce,(le-ne)*a+ge,(oe+ne)*E+ce,(le-ee)*a+ge)),nt.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le+ne)*a+ge,(oe+ne)*E+ce,(le+ee)*a+ge,(oe+ee)*E+ce,(le+ne)*a+ge)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*E+ce,le*a+ge,oe*E+ce,(le+ne)*a+ge,(oe+ne-ee*.5)*E+ce,(le+ee)*a+ge)),nt.add(new go.PathSegment(go.PathSegment.Bezier,oe*E+ce,(le-ne)*a+ge,(oe+ne-ee*.5)*E+ce,(le-ee)*a+ge,oe*E+ce,(le-ne)*a+ge).close()),b}),go.Shape.defineFigureGenerator("Email",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.35*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ee=new go.PathFigure(.6*E,a,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(ae,E,a){var b=new go.Geometry,x=Pe*.4,z=.4,ee=.5,ne=.5,oe=y(),le=y(),ce=y(),ge=y();je(ee,ne-z,ee+x,ne-z,ee+z,ne-x,ee+z,ne,.5,oe,oe,le,ce,ge);var pe=te(le.x,le.y),be=new go.PathFigure(le.x*E,le.y*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,ce.x*E,ce.y*a,ge.x*E,ge.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee+z)*E,(ne+x)*a,(ee+x)*E,(ne+z)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,(ee-x)*E,(ne+z)*a,(ee-z)*E,(ne+x)*a)),je(ee-z,ne,ee-z,ne-x,ee-x,ne-z,ee,ne-z,.5,ce,ge,le,oe,oe),be.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,ce.x*E,ce.y*a,ge.x*E,ge.y*a)),x=Pe*.3,z=.3,je(ee-z,ne,ee-z,ne-x,ee-x,ne-z,ee,ne-z,.5,ce,ge,le,oe,oe),be.add(new go.PathSegment(go.PathSegment.Line,le.x*E,le.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,ne*a,ge.x*E,ge.y*a,ce.x*E,ce.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+z)*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,ne*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),je(ee,ne-z,ee+x,ne-z,ee+z,ne-x,ee+z,ne,.5,oe,oe,le,ce,ge),be.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,ge.x*E,ge.y*a,ce.x*E,ce.y*a).close());var be=new go.PathFigure(.45*E,0,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),se(oe),se(le),se(ce),se(ge),se(pe),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a/2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ee,ne,oe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*E,(.8+oe)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*E,(.5+oe)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*E,(.5+oe)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*E,(.8+oe)*a).close())}return z(x,0,0),z(x,.4,0),z(x,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.2*E,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.37*E,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),x.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),x.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),x.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),x.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.1*E,a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,E,a){var b=new go.Geometry,x=.5,z=0,ee=0,ne=x*Pe,oe=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,ce=1,ge=.5,pe=.5,be=0,at=new go.PathFigure(oe*E,(1-le)*a,!1);return b.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,ge*a,ce*E,.7*a,ce*E,ge*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(pe+z)*E,(be+z)*a,(.5+x+z)*E,(.5-ne+z)*a,(.5+ne+z)*E,(.5-x+z)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*E,(.5+ee)*a,(.5-ne+z)*E,(.5-x+ee)*a,(.5-x+z)*E,(.5-ne+ee)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-x+z)*E,(.5+ne+ee)*a,(.5-ne+z)*E,.9*a)),at.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),at.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),at.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);b.add(x);var z=new go.PathFigure(E,a,!1);b.add(z);var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var x=new go.PathFigure(0,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.7*E,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);b.add(x);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ee=.5-.285,ne=.5,oe=ee,le=Math.PI/4,ce=4*(1-Math.cos(le))/(3*Math.sin(le)),ge=ce*.5,pe=ee,be=ee,at=ce*pe,_e=ce*be;z.add(new go.PathSegment(go.PathSegment.Bezier,(ne-pe)*E,oe*a,(ne-(at+pe)/2)*E,(oe+(be+_e)/2)*a,(ne-pe)*E,(oe+_e)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(oe-be)*a,(ne-pe)*E,(oe-_e)*a,(ne-at)*E,(oe-be)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ne+pe)*E,oe*a,(ne+at)*E,(oe-be)*a,(ne+pe)*E,(oe-_e)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(ne+pe)*E,(oe+_e)*a,(ne+(at+pe)/2)*E,(oe+(be+_e)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var nt=new go.PathFigure(.2*E,a,!1);b.add(nt),nt.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var dt=new go.PathFigure(.8*E,a,!1);return b.add(dt),dt.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.1*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);b.add(x);var z=new go.PathFigure(E,a,!1);b.add(z);var ee=new go.PathFigure(.1*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.05*E,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return x.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),x.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.45*E,.95*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),x.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),x.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ee=new go.PathFigure(.675*E,.575*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,E,a){var b=new go.Geometry,x=.5,z=Pe*.5,ee=new go.PathFigure(E,x*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,a,E,(x+z)*a,(x+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-z)*E,a,0,(x+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-z)*a,(x-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+z)*E,0,E,(x-z)*a));var ne=new go.PathFigure(x*E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,x*E,.15*a)),ne.add(new go.PathSegment(go.PathSegment.Move,x*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,x*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,x*a)),ne.add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.15*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ee=new go.PathFigure(0,.6*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.15*E,.6*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E,a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ee=.1,ne=Pe*.1,oe=.2,le=.9,ce=new go.PathFigure((oe-ee)*E,le*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-ee)*a,(oe-ee)*E,(le-ne)*a,(oe-ne)*E,(le-ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*E,le*a,(oe+ne)*E,(le-ee)*a,(oe+ee)*E,(le-ne)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le+ee)*a,(oe+ee)*E,(le+ne)*a,(oe+ne)*E,(le+ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*E,le*a,(oe-ne)*E,(le+ee)*a,(oe-ee)*E,(le+ne)*a).close()),ee=.1,ne=Pe*.1,oe=.8,le=.9;var ge=new go.PathFigure((oe-ee)*E,le*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le-ee)*a,(oe-ee)*E,(le-ne)*a,(oe-ne)*E,(le-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*E,le*a,(oe+ne)*E,(le-ee)*a,(oe+ee)*E,(le-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(le+ee)*a,(oe+ee)*E,(le+ne)*a,(oe+ne)*E,(le+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*E,le*a,(oe-ne)*E,(le+ee)*a,(oe-ee)*E,(le+ne)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.2*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*E,.8*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var ne=new go.PathFigure(.5*E,.7*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var oe=.1,le=Pe*.1,ce=.1,ge=.9,pe=new go.PathFigure((ce-oe)*E,ge*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(ge-oe)*a,(ce-oe)*E,(ge-le)*a,(ce-le)*E,(ge-oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+oe)*E,ge*a,(ce+le)*E,(ge-oe)*a,(ce+oe)*E,(ge-le)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(ge+oe)*a,(ce+oe)*E,(ge+le)*a,(ce+le)*E,(ge+oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-oe)*E,ge*a,(ce-le)*E,(ge+oe)*a,(ce-oe)*E,(ge+le)*a)),oe=.1,le=Pe*.1,ce=.4,ge=.9;var be=new go.PathFigure((ce-oe)*E,ge*a,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(ge-oe)*a,(ce-oe)*E,(ge-le)*a,(ce-le)*E,(ge-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+oe)*E,ge*a,(ce+le)*E,(ge-oe)*a,(ce+oe)*E,(ge-le)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(ge+oe)*a,(ce+oe)*E,(ge+le)*a,(ce+le)*E,(ge+oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-oe)*E,ge*a,(ce-le)*E,(ge+oe)*a,(ce-oe)*E,(ge+le)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.1*E,.4*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ee=new go.PathFigure(.55*E,.4*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var ce=.05,ge=Pe*.05,pe=.175,be=.95,ne=new go.PathFigure((pe-ce)*E,be*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be-ce)*a,(pe-ce)*E,(be-ge)*a,(pe-ge)*E,(be-ce)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ce)*E,be*a,(pe+ge)*E,(be-ce)*a,(pe+ce)*E,(be-ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be+ce)*a,(pe+ce)*E,(be+ge)*a,(pe+ge)*E,(be+ce)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ce)*E,be*a,(pe-ge)*E,(be+ce)*a,(pe-ce)*E,(be+ge)*a));var ce=.05,ge=Pe*.05,pe=.375,be=.95,oe=new go.PathFigure((pe-ce)*E,be*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be-ce)*a,(pe-ce)*E,(be-ge)*a,(pe-ge)*E,(be-ce)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ce)*E,be*a,(pe+ge)*E,(be-ce)*a,(pe+ce)*E,(be-ge)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be+ce)*a,(pe+ce)*E,(be+ge)*a,(pe+ge)*E,(be+ce)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ce)*E,be*a,(pe-ge)*E,(be+ce)*a,(pe-ce)*E,(be+ge)*a));var ce=.05,ge=Pe*.05,pe=.625,be=.95,le=new go.PathFigure((pe-ce)*E,be*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be-ce)*a,(pe-ce)*E,(be-ge)*a,(pe-ge)*E,(be-ce)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ce)*E,be*a,(pe+ge)*E,(be-ce)*a,(pe+ce)*E,(be-ge)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be+ce)*a,(pe+ce)*E,(be+ge)*a,(pe+ge)*E,(be+ce)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ce)*E,be*a,(pe-ge)*E,(be+ce)*a,(pe-ce)*E,(be+ge)*a));var ce=.05,ge=Pe*.05,pe=.825,be=.95,at=new go.PathFigure((pe-ce)*E,be*a,!0);b.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be-ce)*a,(pe-ce)*E,(be-ge)*a,(pe-ge)*E,(be-ce)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ce)*E,be*a,(pe+ge)*E,(be-ce)*a,(pe+ce)*E,(be-ge)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,pe*E,(be+ce)*a,(pe+ce)*E,(be+ge)*a,(pe+ge)*E,(be+ce)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ce)*E,be*a,(pe-ge)*E,(be+ce)*a,(pe-ce)*E,(be+ge)*a).close());var _e=new go.PathFigure(0,a,!1);return b.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(.15*E,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var ne=.05,oe=Pe*.05,le=.35,ce=.775,ge=new go.PathFigure((le-ne)*E,ce*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ce-ne)*a,(le-ne)*E,(ce-oe)*a,(le-oe)*E,(ce-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*E,ce*a,(le+oe)*E,(ce-ne)*a,(le+ne)*E,(ce-oe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ce+ne)*a,(le+ne)*E,(ce+oe)*a,(le+oe)*E,(ce+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*E,ce*a,(le-oe)*E,(ce+ne)*a,(le-ne)*E,(ce+oe)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.75*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(ae,E,a){var b=new go.Geometry,x=.3,z=Pe*.3,ee=.5,ne=.7,oe=new go.PathFigure((ee-x)*E,ne*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-x)*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,ne*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+x)*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,ne*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a));var le=new go.PathFigure(0,.7*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(ae,E,a){var b=new go.Geometry,x=.5,z=Pe*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-x)*E,ne*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-x)*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,ne*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+x)*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,ne*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a));var le=new go.PathFigure(.15*E,.5*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.1*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(ae,E,a){var b=new go.Geometry,x=.5,z=Pe*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-x)*E,ne*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-x)*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,ne*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+x)*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,ne*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a).close()),x=.05,z=Pe*.05,ee=.5,ne=.8;var le=new go.PathFigure((ee-x)*E,ne*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne-x)*a,(ee-x)*E,(ne-z)*a,(ee-z)*E,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,ne*a,(ee+z)*E,(ne-x)*a,(ee+x)*E,(ne-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(ne+x)*a,(ee+x)*E,(ne+z)*a,(ee+z)*E,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,ne*a,(ee-z)*E,(ne+x)*a,(ee-x)*E,(ne+z)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,.2*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*1,a*1,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),x.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),x.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ee=new go.PathFigure(.402*E,.85*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var ne=new go.PathFigure(.678*E,.85*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var oe=new go.PathFigure(.5*E,.1*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a*1,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),x.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),x.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,a*1,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ee=new go.PathFigure(E*.408,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var ne=new go.PathFigure(E*.612,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var oe=new go.PathFigure(E*.816,a,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ee=new go.PathFigure(E*.055,.13*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var ne=new go.PathFigure(E*.055,.18*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var oe=new go.PathFigure(E*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(.55*E,a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*1,a*.5,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),x.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),x.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ee=new go.PathFigure(E*.11,a*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var ne=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var oe=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,E,a){var b=new go.Geometry,x=8,z=x*Pe,ee=new go.PathFigure(x,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,z,z,0).close());var ne=new go.PathFigure(E*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var oe=new go.PathFigure(E*.83,a*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var le=new go.PathFigure(E*.78,a*.05,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,E,a){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,E/3),b=Math.min(b,a/3);var x=b*Pe,z=a*.8,ee=new go.Geometry,ne=new go.PathFigure(b,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-x,0,E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,z-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-b,z,E,z-x,E-x,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),ne.add(new go.PathSegment(go.PathSegment.Line,b,z)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,x,z,0,z-x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close()),x>1?(ee.spot1=new go.Spot(0,0,x,x),ee.spot2=new go.Spot(1,.8,-x,-x)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*0,a*.45,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*0,a*.1,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ee=new go.PathFigure(E*.28,a*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ae,E,a){var b=new go.Geometry,x=15,z=x*Pe,ee=new go.PathFigure(E*.62,a*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*0,a*1,!0);b.add(x);var z=.1/.3;x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.4,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*0,a*1,!0);b.add(x);var z=.1/.3;return x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*0,a*1,!0);b.add(x);var z=.1/.3;x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.5,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*.15,a*0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*.15,a*0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ae,E,a){var b=new go.Geometry,x=new go.PathFigure(E*.5,a*0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Ge={},Rt="5.0",te={},y=null,se=!1,Se=!1,je=null,De=!1,Ce=null,Pe=null,ke=0;ke4?parseFloat(Ze):5};Ge.setHTML5Codebase=function(Ze,Be){Pe=Ze,Tt(Ze,Be)},Ge.setJavaCodebase=Ge.setJavaCodebaseVersion=Ge.isCompiledInstalled=Ge.setPreCompiledScriptPath=Ge.setPreCompiledResourcePath=function(){},Ge.setHTML5CodebaseVersion=function(Ze,Be){var Ve=parseFloat(Ze);if(Ve!==NaN&&Ve<5){console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead.");return}Ce=Ze,xt(Ze,Be)},Ge.getHTML5CodebaseVersion=function(){return ae},Ge.getParameters=function(){return te},Ge.setFontsCSSURL=function(Ze){ee=Ze},Ge.setGiacJSURL=function(Ze){},Ge.setJNLPFile=function(Ze){Me=Ze},Ge.setJNLPBaseDir=function(Ze){},Ge.inject=function(){function Ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Be="auto",Ve=te.id,He,Je=!1,Pt=0;Pt=5)return!0;var Ze=Ge.getAppletObject();return Ze&&typeof Ze.recalculateEnvironments=="function"?(Ze.recalculateEnvironments(),!0):!1},Ge.startAnimation=function(){var Ze=Ge.getAppletObject();return Ze&&typeof Ze.startAnimation=="function"?(Ze.startAnimation(),!0):!1},Ge.stopAnimation=function(){var Ze=Ge.getAppletObject();return Ze&&typeof Ze.stopAnimation=="function"?(Ze.stopAnimation(),!0):!1},Ge.getAppletObject=function(){var Ze=te.id!==void 0?te.id:"ggbApplet";return window[Ze]},Ge.resize=function(){};var at=function(Ze,Be,Ve){var He=document.createElement("param");He.setAttribute("name",Be),He.setAttribute("value",Ve),Ze.appendChild(He)},_e=function(Ze){return Ze&&Ze!=="false"},nt=function(Ze,Be,Ve){oe(ae)<=4.2&&(Ve=!0);var He=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(He=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var Pt=Be.width,Ee=Be.height;if(Be.disableAutoScale=Be.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Be.disableAutoScale,Be.width!==void 0)if(oe(ae)<=4.4)_e(Be.showToolBar)&&(Be.height-=7),_e(Be.showAlgebraInput)&&(Be.height-=37),Be.width<605&&_e(Be.showToolBar)&&(Be.width=605,Pt=605);else{var ze=100;(_e(Be.showToolBar)||_e(Be.showMenuBar))&&(Be.hasOwnProperty("customToolBar")&&(Be.customToolbar=Be.customToolBar),ze=_e(Be.showMenuBar)?245:155),Pt=5?(Be.appletOnLoad=function(St){var zt=Ze.querySelector(".ggb_preview");zt&&zt.parentNode.removeChild(zt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Dt),window.GGBT_wsf_view&&$(window).trigger("resize"),nn(St)},$t||Dt.appendChild(ft)):Je.appendChild(ft),Dt.appendChild(Je),$t||Ze.appendChild(Dt),setTimeout(function(){Ge.resize()},1)}else{var Ue=document.createElement("div");Ue.className="applet_scaler",Ue.style.position="relative",Ue.style.display="block",Ue.appendChild(Je),Ze.appendChild(Ue),Be.appletOnLoad=function(St){Ge.resize(),nn(St)}}function an(St,zt){zt&&typeof zt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(St,zt.appletOnLoad):renderGGBElement(St),wt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",zt)}function Vn(St,zt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:St,params:zt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Lt){an(Lt.article,Lt.params)}),html5AppletsToProcess=null)},oe(ae)<5&&(St.className+=" geogebraweb")):an(St,zt)}if(He){scriptLoadStarted=!0;for(var ln=0;ln0?(Gt.remove(),Dt.attr("id","fullscreencontent").show(),jQuery(nn).append(Dt),window.dispatchEvent(new Event("resize"))):nt(Gt,Be,!1),window.GGBT_wsf_view.launchFullScreen(nn)}else Ye=He,nt(Ze,Be,!1);if(!window.GGBT_wsf_view)for(Ee=0;EeZe/4*3&&(Gt=Ze/4*3),nn=Gt/5.8,ze.setAttribute("src",x),ze.setAttribute("width",Gt),ze.setAttribute("height",nn);var Dt=(Ze-Gt)/2,$t=(Be-nn)/2;ze.style.left=Dt+"px",ze.style.top=$t+"px",Je.appendChild(ze)}}return Je.appendChild(Ee),Je},An=function(Ze){return Ze=Ze.toLowerCase(),Ze==="html5"||Ze==="screenshot"?Ze:"html5"},ht=["web","webSimple","web3d","tablet","tablet3d","phone"],xt=function(Ze,Be){if(ae=Ze,Be){Tt(ae,!0);return}var Ve=!se;if(Ve){var He=oe(ae);!isNaN(He)&&He<4.4&&(Ve=!1)}var Je,Pt;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Ee=ae.indexOf("//");Ee>0?Pt=ae:Ee===0?Pt=Je+ae:Pt="https://www.geogebra.org/apps/5.2.814.0/";for(var ze in ht)if(ae.slice(ht[ze].length*-1)===ht[ze]||ae.slice((ht[ze].length+1)*-1)===ht[ze]+"/"){Tt(Pt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ve&&!y.is3D&&!y.AV&&!y.SV&&!y.CV&&!y.EV2&&!y.CP&&!y.PC&&!y.DA&&!y.FI&&!y.PV&&!_e(te.showToolBar)&&!_e(te.showMenuBar)&&!_e(te.showAlgebraInput)&&!_e(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Pt+="webSimple/":Pt+="web3d/",Tt(Pt,!1)},Tt=function(Ze,Be){if(Ze.requirejs){Ne=Ze;return}Ze.slice(-1)!=="/"&&(Ze+="/"),Ne=Ze,Be===null&&(Be=Ze.indexOf("http")===-1),Xe=Be,E="web.nocache.js",a=!1;var Ve=Ne.split("/");Ve.length>1&&(!Be&&Ve[Ve.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):ht.indexOf(Ve[Ve.length-2])>=0&&(E=Ve[Ve.length-2]+".nocache.js")),Ve=Ze.split("/"),ae=Ve[Ve.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var He=parseFloat(ae);He!==NaN&&He<5&&Ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+He+" is deprecated. Using version latest instead."),xt("5.0",Be))},wt=function(Ze,Be){window.console&&window.console.log&&(!Be||typeof Be.showLogging=="undefined"||Be.showLogging&&Be.showLogging!=="false")&&console.log(Ze)};te.material_id!==void 0?ge(At):At();function At(){var Ze=Rt;Ce!==null?Ze=Ce:parseFloat(Ze)<5&&(Ze="5.0"),xt(Ze,!1),Pe!==null&&Tt(Pe,Xe),De=!0}return Ge},GGBAppletUtils=function(){"use strict";function Ge(){return window.GGBT_wsf_edit!==void 0}function Rt(De,Ce){Ce!=1?(De.style.transformOrigin="0% 0% 0px",De.style.webkitTransformOrigin="0% 0% 0px",De.style.transform="scale("+Ce+","+Ce+")",De.style.webkitTransform="scale("+Ce+","+Ce+")",De.style.maxWidth="initial",De.querySelector(".ggb_preview")!==null&&(De.querySelector(".ggb_preview").style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[0]!==void 0&&(De.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[1]!==void 0&&(De.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(De.style.transform="none",De.style.webkitTransform="none")}function te(De,Ce,Pe,ke,ye,Me){var Ne=null;if(Me!=null&&Me!="")for(var Xe=De.parentNode;Xe!=null;)if((" "+Xe.className+" ").indexOf(" "+Me+" ")>-1){Ne=Xe;break}else Xe=Xe.parentNode;var Ye=0,ae=0,E=0,a=0,b=0,x=0,z=0;if(Ne)Ye=Ne.offsetWidth,ae=Math.max(ke?Ne.offsetWidth:0,Ne.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,ae=window.innerHeight,E=window.innerWidth),De){var ee=De.getBoundingClientRect();ee.left>0&&ee.left<=Ye&&(ye===void 0||!ye)&&(document.dir==="rtl"?(b=Ye-ee.width-ee.left,x=E<=480?10:30):(x=ee.left,b=E<=480?10:30),a=x+b)}if(De&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=De.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return De&&((Pe===void 0||!Pe)&&Ce>0&&Ce+a1&&(Me=!0)),Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Me=!0),!(De.hasOwnProperty("disableAutoScale")&&De.disableAutoScale))ye=y(De,Ce,Me,Pe,De.scaleContainerClass);else return ke;return Me&&(!De.hasOwnProperty("scale")||ke===1)?ye:Math.min(ke,ye)}function Se(De){var Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),Pe=Math.min(window.innerHeight,document.documentElement.clientHeight),ke=De.getBoundingClientRect(),ye=(Ce-ke.width)/2,Me=(Pe-ke.height)/2;Me<0&&(Me=0),De.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ye<40?De.style.left="40px":De.style.left=ye+"px",De.style.top=Me+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Me<40?De.style.top="40px":De.style.top=Me+"px",De.style.left=ye+"px")}function je(De,Ce){var Pe=De.querySelector(".appletParameters");if(Pe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ce.id!==Pe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(De)}if(Pe.parentElement&&/fullscreen/.test(Pe.parentElement.className))return;var ke=se(Ce,De);Ge()&&Pe.setAttribute("data-param-scale",ke);for(var ye=null,Me=0;Me=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(Ge){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ge){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ge){var Rt=c[Ge];return Rt==null?null:Rt},r=d,webModule.__errFn=e}function B(){function Ge(De){var Ce=De.lastIndexOf(rb);Ce==-1&&(Ce=De.length);var Pe=De.indexOf(sb);Pe==-1&&(Pe=De.length);var ke=De.lastIndexOf(tb,Math.min(Pe,Ce));return ke>=O?De.substring(O,ke+P):W}function Rt(De){if(!De.match(/^\w+:\/\//)){var Ce=o.createElement(ub);Ce.src=De+vb,De=Ge(Ce.src)}return De}function te(){var De=__gwt_getMetaProperty(wb);return De!=null?De:W}function y(){for(var De=o.getElementsByTagName(_),Ce=O;CeO?De[De.length-P].href:W}function Se(){var De=o.location;return De.href==De.protocol+zb+De.host+De.pathname+De.search+De.hash}var je=te();return je==W&&(je=y()),je==W&&(je=se()),je==W&&Se()&&(je=Ge(o.location.href)),je=Rt(je),je}function C(Ge){return Ge.match(/^\//)||Ge.match(/^[a-zA-Z]+:\/\//)?Ge:webModule.__moduleBase+Ge}function D(){var Ge=[],Rt=O,te=[],y=[];function se(De){var Ce=y[De](),Pe=te[De];if(Ce in Pe)return Ce;var ke=[];for(var ye in Pe)ke[Pe[ye]]=ye;throw r&&r(De,ke,Ce),null}if(__gwt_isKnownPropertyValue=function(De,Ce){return Ce in te[De]},webModule.__getPropMap=function(){var De={};for(var Ce in te)te.hasOwnProperty(Ce)&&(De[Ce]=se(Ce));return De},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Se;try{Se=Cb;var je=Se.indexOf(Db);je!=-1&&(Rt=parseInt(Se.substring(je+P),$),Se=Se.substring(O,je))}catch(De){}return webModule.__softPermutationId=Rt,C(Se+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(Ge,Rt,te){"use strict";te.d(Rt,{Ax:function(){return je},Ds:function(){return De},KI:function(){return Pe},SI:function(){return Se},f1:function(){return se}});var y=te(78323);function se(ke){let ye=!0;if(ke.length>0){for(let Me=0;Me{var x={};for(var z in a)Me.call(a,z)&&b.indexOf(z)<0&&(x[z]=a[z]);if(a!=null&&ye)for(var z of ye(a))b.indexOf(z)<0&&Ne.call(a,z)&&(x[z]=a[z]);return x},Ye=(a,b,x)=>new Promise((z,ee)=>{var ne=ce=>{try{le(x.next(ce))}catch(ge){ee(ge)}},oe=ce=>{try{le(x.throw(ce))}catch(ge){ee(ge)}},le=ce=>ce.done?z(ce.value):Promise.resolve(ce.value).then(ne,oe);le((x=x.apply(a,b)).next())});const ae=Se.default.TextArea,E=a=>{var b=a,{account:x,globalSetting:z,loading:ee,dispatch:ne,schoolName:oe,departmentName:le,visible:ce,onClose:ge=()=>{},onSuccess:pe=()=>{}}=b,be=Xe(b,["account","globalSetting","loading","dispatch","schoolName","departmentName","visible","onClose","onSuccess"]);const[at]=je.default.useForm(),_e=(0,y.useRef)(),[nt,dt]=(0,y.useState)(!1);(0,y.useEffect)(()=>{_e.current=be.schoolId},[be.schoolId]),(0,y.useEffect)(()=>{at.setFieldsValue({department:le})},[le]);const jt=Bt=>Ye(void 0,null,function*(){var un,Nt,An;const{department:ht,remarks:xt}=Bt||{};dt(!0);const Tt=yield(0,ke.ZP)("/api/add_department_applies/inspect.json",{method:"get",params:{name:ht,school_id:_e.current}});dt(!1);const wt=()=>Ye(void 0,null,function*(){const At=yield ne({type:"account/appplyDepartment",payload:{school_id:_e.current,name:ht,remarks:xt}});(At==null?void 0:At.status)===0&&(De.ZP.success("\u65B0\u589E\u9662\u7CFB/\u90E8\u95E8\u6210\u529F\uFF01"),pe(ht),ge())});if((Tt==null?void 0:Tt.status)===0){if((un=Tt==null?void 0:Tt.data)!=null&&un.name){Ce.default.confirm({centered:!0,icon:null,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement("div",null,y.createElement("div",{className:"mb10"},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u90E8\u95E8\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u90E8\u95E8\uFF1F"),y.createElement(Pe.default,{rowKey:"name",columns:[{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"name"},{title:"\u7528\u6237\u6570",dataIndex:"size"}],dataSource:[{name:(Nt=Tt==null?void 0:Tt.data)==null?void 0:Nt.name,size:(An=Tt==null?void 0:Tt.data)==null?void 0:An.size}],pagination:!1})),onOk:()=>{pe(ht),ge()}});return}wt()}});return y.createElement(Ce.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ce,title:"\u7533\u8BF7\u6DFB\u52A0\u90E8\u95E8\u540D\u79F0",width:"600px",onCancel:ge,onOk:()=>at.submit(),confirmLoading:nt},y.createElement(je.default,{form:at,labelCol:{span:4},wrapperCol:{span:20},onFinish:jt},y.createElement(je.default.Item,{label:"\u5355\u4F4D\u540D\u79F0\uFF1A"},oe),y.createElement(je.default.Item,{label:"\u90E8\u95E8\u540D\u79F0\uFF1A",name:"department",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"}]},y.createElement(Se.default,{placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"})),y.createElement(je.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},y.createElement(ae,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};Rt.Z=(0,se.connect)(({account:a,loading:b,globalSetting:x})=>({account:a,globalSetting:x,loading:b.effects}))(E)},75353:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ae}});var y=te(3113),se=te(59301),Se=Object.defineProperty,je=Object.defineProperties,De=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ye=(E,a,b)=>a in E?Se(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,Me=(E,a)=>{for(var b in a||(a={}))Pe.call(a,b)&&ye(E,b,a[b]);if(Ce)for(var b of Ce(a))ke.call(a,b)&&ye(E,b,a[b]);return E},Ne=(E,a)=>je(E,De(a)),Xe=(E,a)=>{var b={};for(var x in E)Pe.call(E,x)&&a.indexOf(x)<0&&(b[x]=E[x]);if(E!=null&&Ce)for(var x of Ce(E))a.indexOf(x)<0&&ke.call(E,x)&&(b[x]=E[x]);return b},Ye=(E,a,b)=>new Promise((x,z)=>{var ee=le=>{try{oe(b.next(le))}catch(ce){z(ce)}},ne=le=>{try{oe(b.throw(le))}catch(ce){z(ce)}},oe=le=>le.done?x(le.value):Promise.resolve(le.value).then(ee,ne);oe((b=b.apply(E,a)).next())});const ae=E=>{var a=E,{children:b}=a,x=Xe(a,["children"]);const[z,ee]=(0,se.useState)(!1);return se.createElement(y.ZP,Ne(Me({},x),{loading:z,onClick:ne=>Ye(void 0,null,function*(){try{ee(!0),yield x.onClick(ne),ee(!1)}catch(oe){console.error(oe),ee(!1)}})}),b)}},81900:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ke}});var y=te(59301),se=te(95392),Se=te(43418),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAACE5JREFUWAmtWH1snVUZ/533tuvYVreyjGy3Y6srTBo2srI4XbtKgFQxIrKYzeAfk8AfCzHbCkPMjPjBP0aCsjr1D01USCQ6oosyiLF8xMGqc2BHauUj1I2Ntghs7dqytuu99/j7nfOee9/73js+jKd53+d5n3Oe5/zO8zznOafX4EO2ta/bhqlJfM4adFJ1hQWyxiIrM5QNG2CY7EnKei5agMf7V5pR9X3QRv0P1pr77WaO3AGLDoKokZYlY2hBtFqLDHLse9ZE2De41hyoNiYte19AzX22nfPdT8NtnJr6UgkIAl/dTLKXwHupeM9gqzmcBpH8rm6JI7ZYm3nhBfyAQHYlFcr4NL6yTn4kEamPxkxkutevx+5Hjcmnh+u7KqB1fXbR+Az2U195UmyWnjH8E1ULvGgsKDlRghTg8MnhPQvrsPVYqxnziqV3BSCBGZuUe21LMUGUKGx6F42K14rZJ6oWeFG19+w3eGnhPLSlQUVOM34pTGfHsR95tCBPozlOFCh5q++YOj7uqyfUxhqDbAYQjxzB8JFuoJ739qRrZ22L5tKcSQx+KbFk1VN2b8Fa5ky8QvojhEVDAh9C1DAH2NYIdFwMNM3TCIsT5wwOnbH45SlgIufDG8arv+RnsQb0SPe/rzdd0lYrAmr+s23PWzznxdXfyRzK1gEPrgU+cbHBa5MWr07KmsHq+RaXLTAYGAe29wFDMyVb6RC62YmxJjKbBj/td5+rJ1LJzeL+ihWUbHkuzpe5GYM9lwsM8MSbwLcGDMZmqc1cWlhrsOsyi20rgTubDb45YDGl0MZNPio1yS1yec2NdsldDq18jEUvzzqjjVj2UMF9i/JRDpFeMc/ihqUWT71p8fU+i3fO0eisRZ4hOjNl8f1/MWxvG3wha/GxedKVntct0SB3tM1hCIAwix0+YZWEVKRhPYF3SRjLxa+tN6hlGX56hHky7RNXyevHAe/OWPxpyCoUuKpem0F9frGBaqGBd5QYOAI1Kw7aBjuFDuWbckQt0DQfYr5srhuGkXdJ5cG4JZP+P+pjWzIn9gR5Vx746ajrLc3Fc7BDWCJM4EZu0xoXkmJ4OLqMl9HYY6Svj3vgrQ00SI9Z5Y+ewJOua/BjBrjj5IEybzjbmkN2YyoMxBJR0OmF5UreSDAmygmoLHqY5/kb3FlfWgWsJygdAu4giOnVlG39KHCcO63/HfXRd/HkgQZbgcquKaAz85GbvrMTBduEApFqUYGKTz2mIH8D4zMGs+Q/swK4Zhkno+w8vbCEpeCLBPmNq4HFDOuP+4G/vBHblN3UIz1LmajnzShD5e8yHO4BcE4HxAnKX/STE0TUPsyJjjUBG5YC937ccE2hz+DEWYs9PNN/N0hjBc0mo2waIz4ey7xxcznq+pGtYf5wc/oW95eqZcjiosRiOYvebWssNrMOLb7IYHSaRXEUGGMBHJ0G/j5icZS16QTDZQjcY/AzsHw54MKoFrAFvBRla2xeFz3fUgugMED1dDUT9YFrgdalBi++Rf6IxaFTrENTCiHcExblLIYP0lpWvFuvZLjPA799+QLzcd8oZCMEUu+HlCCE70DXLAEeuN5g1SLgJ89b/PwYcPoce90yw6hy/RCSWh6fX+Ex87UNwKkJ4DfMLdcI1EVPwH0bUciGWRdW6ztZR+IBjlzCg/NHvBk1EvZ9h4BH+lmV6bQwXkUyp4RNeMQpckwdD6fbrgJ2f5IX7bME1cMebfVqLcJwZHK8kMfb0m098qJ6pDiHS7j3U8Dliw26/0Yw9EyBVVw6GjOHbtjUaFGrpbp646n4OoZ8+zrgbl5+jzPPup4AnmeIHSDaZrr4UhLzZrZwMioU8GSpcGkSDeJS4wlX8zTvbAaO0NCv/0Exz6zk+C0twE8/b3B7qyE4r6t+VgB8dYNBF8G8+jaw6zHgRR4nwa5bcGoBNh/11GQKOJjPubXRueU+l/0tTMT5LP8PHy1gbJKAKSuGnEw/i+QwQ3F3h/4VsfjZEYMMd9fOjcAdGw3+yR131x+BV1ggK1rZdCYXZfC4s738u/Zp5tG1aYV6LvNXtwDLmcg3/4ITaytzkEC5pjAxqdfw5P/hTbwLXcLb1iGL+XUG2wmoj7Xqrj8Ag6fD8PIrb3Lf89r7zNC3zXX0Clse+1gxCSis30+5gMnc1GDwylvAmQkaUxgJItyZg68Ghgx2/p4Xtpt5B7qGt0CiPnqSYA4wd04HmzEoT/w7rI6U69onIasDz6X7zAEeC71lhx0nj5iw2rITU8AMjwuf6J6K97nk6ctDwM79zBN65a/HPX+ctcrbFE3yRED7ShRRLrRXGIRFGF3L7rHtVHou6QHxlzKpx3gBm2AVDttcVI1QijIn4KuZ9WqaJ//QmDdOGKVJXM2iRJStOFfGbBr+nr/CFgFpQOOd+b08M3cVk0S9CYvvB6iyvwRK9uNzxFMncCHqHnow0xV/+pCFj7aN0W7DrRfqhLs5qlZc8AZJ26pXcn1iC/twSq5weuqvvxrH77j+mELUoznD/KJlHpKgqcsumjlve2mqJeWg0nIrtKSpVqHhxcU3wZTGvFRXa9pO7C3/77WqaYE6P23380rRGaaQzcqQVOZQce73YLhLe+rmmq1pMFJxuyytq4Ht15nP8ljpdpX7QiFRyU+EIIQiUJUJ8aKOp51MIereRNvVwAhHVQ8lAWZv588xBf0cY6v8HJMcSXCxQVG14F1ReqWXpeWe4Yf+x59jnMXEa9k2u5mgdrASdHBqV1BTu7hiExGEfPss6b6Rh/9PP1glMDl2xZdtA8vMjRaFTl7tLqVQN86sOukJnmx8jD3FstpTCxw8+ciH+0nvv4gFlb/v9tJbAAAAAElFTkSuQmCC",De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABq1JREFUWAmVWGuIVVUU/vaZ2zjjOC9TwzFtwAjKHlJBNj4IYgJp/hghIWEE/ahAlCypqB8JoSiRJljQw6KoEGz6oQmNvxqdoB9hailZoZbj2xlndHzMvWf3rX3OOnefc888XLDv2nvttdda+1tr73PONbhJsnZdM64NPsll7YCZBYQtQMAmFPayz2ZPcNCFmvpdxrzR56bG+WPGqQc79PoShOEKGLMQ1hbcOstfsSA8j4wpcrIbQbDFTFzfmaeSlY0ZkB14bT5suIFBtGUXMzj6YzTChbQvXMifN+ghemtMw8Z90WT+74gBWbu9Cv0979HJyvyllI6JkKcjRkQ/MJvR1LbamKUlEWUpNyDbt6oJpeJ2GmCdeDQaAp7ayN14B4b1VVVYapo39Wd1KwJywVy/Tnjt3VnlcsHosixEIleZrNa+cCF/3hzGhOq2bFBq2am7NJ3q2l1GZgSDQTMw9U2gqsmty/0pXQTOrmVMQ950xp4xXZjevthPX3RadMl/u1kzmTTpnM/Dy9xsDZ2FwBXWqG7L+aPJukepHQBF6oE6I5Ex7RCfwCpVUVOwx5/jabJ7dSKX+xucvBxoeBw4vRG4djBSl1M1kcFMfRHo5ym/9H3aTLYGNYVBsMDc8YU7fdxGTMXiBhR5bZTYhOe1kAdD5MIv/RgtrH+MY6IgTebqGaQl799DW7G+8LwmdpxOaYOG4RCyfz3DS89+p8Jx8xlvEZF7GcyN8pKgGhjkmTj9QVk2nl5gnjJ3ftsZ1VBxeIU7EAqhFkUWYv+iEydnPgcmd7BTJaOIBJ0LOyKkVZZw2b/mXbrsJzaxgpJOY48va8bg0FkO0gVOQQUli+PS8w1WKN+0oIj6idMKGBjsYNBRMBq8cKHMhlI7ijSAFhZwze06Aq6fBE5+FI/HMJi2z1iGOgoYLrVrhnIdll1VBjihFZjCB39xgCm6yszVAZMeAM7/AFz9hyvTHsvpinecjTcotRd4Yma6QMRxxXqu0DS5eSpommRc/6D8Akff5n10GGheBMxmodc9xMI+yomsx4yDzJAHa6YE1JIEpM6EC2UXRNLyb8PDRGeQzhmMXID9vzAGHuVGBtT7VY6BMQJkARR4d7REOyn7GVcvqGV6eOQv/sR0xce+xNQN/k7k7qEJ3uSlK2lTFRvOIA7DgMJhCytQCGV3EElzfxtZKwHPwsWf6ZioOOJ6GTfcz6Dm8vgz2MRmrJJiGX/G2IDGTrnbWW5od3PGXG9R5dmbtukR+qLBCxIQ17jGwM67JwAg8ypL5lVPOfUTHdc/VWBAvTR8VypwHWhBCxfyIW+eB1z+k6fpDCfieWEDR3j0z/HC5LxsQmQChKMKRMo2Zd6glwgVTyTPIjEgz6QEDdmJ7oJ9N0deMwuonR6hoTIfBUFpwjTqtMYIxIiornBp7rkY8+jZeSLgK8SeCDZxGDsXLs0tiLn0xalw2b3Que5IpvpuQ9QXuZCipPPF4dguud/XeRt2FXAj3IkgLDIdlY+ODMIJ/LfOB4b5rnPhV0LOADVlWsBn99Ix5VOo9/enLrb8H80nuXyh1Jldgek42Me0dJfTxB1qyiRy3bXfb+JxL/JIy9F3utxxSZrok+MWzjPgxjmxTG0ySKcjvKJ1m4UH+6L3oVK4JUehcpELioYOrWcdsUbmfRY9LrQmxEmBr7XztgHV5KKXciyBSSAaoM8ZA0kwc2R3tO4j4m1JWkTqIRopebLZy4G57/De2Q90PxshVt0ILPqGyPD74MBaPlIYmNoY3V6PefoY8+tefIUJhWtShSxoZIval4mz395l4fICbCNS1VOABV/GwRCZIx9HaOhhSJDxEYr7hr5jShCSsf16xiaYcGVyb+juEq2sgFU/5xXgvlfp/BrTV8M0vc+2Ue2nOdVTiLnZYLNZdnKVKkY1pKNC22reD10OKb+Ik5x7hSvFK7s/wNfhQ5uiYP7YCuxfV64Rh06MtI+22JbGYw7x6VGyd5XZztYmDPKl2OZ9KKpWDq+9Lb61/bkcRBUiww/F+vo2s+RYf3aFP3Z9u62pieHzU9q2pzAe7VHiVo4SgD8vH4gwS83z/algRCWdMreIqqJY98Ripm9z6phWpCC+9v1jL3096tr350GbtJ0XjLivSFkcU8LsJ7Xz+e6V/3dMRZFmBD6ixvRw+2vMC1f5oBuZxgxIl9oPq5ewCOVzaSFl0WPGd+gUMwEh/sPK8A+rl250qq3R+LgDUiN2a2Mzwsv8GJP6sjMp5xuna6LSGzXzL8HvQjBpp3n5Up9MjJf+B5WVB7lfjXHfAAAAAElFTkSuQmCC",Ce={tilte:"tilte___IfiMG",flexRow:"flexRow___pQP78",flexColumn:"flexColumn___xrBZQ",footerWrap:"footerWrap___C5kCC",img:"img___GoWZu",content:"content___pumTK",modalContent:"modalContent___XvHiZ"};const Pe=({visible:ye,occupationValue:Me,onCancel:Ne=()=>{}})=>{const Xe=()=>y.createElement("div",{className:Ce.flexColumn},y.createElement("img",{className:Ce.img,src:De}),y.createElement("span",{className:Ce.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),Ye=()=>y.createElement("div",{className:Ce.flexColumn},y.createElement("img",{className:Ce.img,src:je}),y.createElement("span",{className:Ce.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),ae=()=>Me===3?y.createElement(y.Fragment,null,Ye(),Xe()):Me===2?Xe():Ye();return y.createElement(Se.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ye,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{Ne(),se.history.push("/account/certification")},onCancel:()=>{Ne()}},y.createElement("div",{className:Ce.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),y.createElement("div",{className:Ce.flexRow},ae()))};var ke=(0,se.connect)(({paperlibrary:ye,loading:Me,globalSetting:Ne})=>({paperlibrary:ye,globalSetting:Ne,loading:Me.effects}))(Pe)},12306:function(Ge,Rt,te){"use strict";var y=te(86204),se=te.n(y),Se=Object.defineProperty,je=(ke,ye,Me)=>ye in ke?Se(ke,ye,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ke[ye]=Me,De=(ke,ye,Me)=>je(ke,typeof ye!="symbol"?ye+"":ye,Me),Ce=(ke,ye,Me)=>new Promise((Ne,Xe)=>{var Ye=a=>{try{E(Me.next(a))}catch(b){Xe(b)}},ae=a=>{try{E(Me.throw(a))}catch(b){Xe(b)}},E=a=>a.done?Ne(a.value):Promise.resolve(a.value).then(Ye,ae);E((Me=Me.apply(ke,ye)).next())});class Pe extends y.EventEmitter{constructor(ye,Me){super(),De(this,"url"),De(this,"body"),De(this,"fullContent",""),De(this,"controller",null),De(this,"buffer",""),this.url=ye,this.body=Me}startStream(){return Ce(this,null,function*(){this.controller=new AbortController;const{signal:ye}=this.controller;try{const Me=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:ye});if(!Me.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Me.status}`);const Ne=Me.headers.get("content-type");if(!Ne)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ne.includes("application/json")){const ae=yield Me.json();this.emit("error",ae);return}if(!Ne.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Xe=Me.body.getReader(),Ye=new TextDecoder("utf-8");for(;;){const{done:ae,value:E}=yield Xe.read();if(ae)break;const a=Ye.decode(E,{stream:!0});this.buffer+=a;const b=this.buffer.split(` `);this.buffer=b.pop()||"";for(const x of b)if(x.startsWith("data:")){const z=x.slice(5).trim();if(z==="[DONE]")break;try{const ee=JSON.parse(z);ee.data&&this.handleData(ee.data)}catch(ee){this.buffer=x+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(Me){Me.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Me.message)}})}handleData(ye){ye.content&&(this.fullContent+=ye.content,this.emit("data",{chunk:ye,full:this.fullContent}))}cancelRequest(){var ye;(ye=this.controller)==null||ye.abort()}}Rt.Z=Pe},57593:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ht}});var y=te(59301),se=te(97831),Se=te(66328),je=te(3977),De=te(18369),Ce=te(56102),Pe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ke=te(8591),ye=te(11611),Me=te(13058),Ne=te(30084),Xe=te(10787),Ye=te(79562),ae=te(43428),E=te(95237),a=te(43604),b={smartWrp:"smartWrp___NjRcB"},x=te(95440),z=te(16338),ee=te(75353),ne=te(59301),oe=(xt,Tt,wt)=>new Promise((At,Ze)=>{var Be=Je=>{try{He(wt.next(Je))}catch(Pt){Ze(Pt)}},Ve=Je=>{try{He(wt.throw(Je))}catch(Pt){Ze(Pt)}},He=Je=>Je.done?At(Je.value):Promise.resolve(Je.value).then(Be,Ve);He((wt=wt.apply(xt,Tt)).next())});const le=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(Me){Me.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Me.message)}})}handleData(ye){ye.content&&(this.fullContent+=ye.content,this.emit("data",{chunk:ye,full:this.fullContent}))}cancelRequest(){var ye;(ye=this.controller)==null||ye.abort()}}Rt.Z=Pe},57593:function(Ge,Rt,te){"use strict";te.d(Rt,{Z:function(){return ht}});var y=te(59301),se=te(97831),Se=te(66328),je=te(3977),De=te(18369),Ce=te(56102),Pe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ke=te(8591),ye=te(11611),Me=te(55939),Ne=te(30084),Xe=te(10787),Ye=te(79562),ae=te(43428),E=te(95237),a=te(43604),b={smartWrp:"smartWrp___NjRcB"},x=te(95440),z=te(16338),ee=te(75353),ne=te(59301),oe=(xt,Tt,wt)=>new Promise((At,Ze)=>{var Be=Je=>{try{He(wt.next(Je))}catch(Pt){Ze(Pt)}},Ve=Je=>{try{He(wt.throw(Je))}catch(Pt){Ze(Pt)}},He=Je=>Je.done?At(Je.value):Promise.resolve(Je.value).then(Be,Ve);He((wt=wt.apply(xt,Tt)).next())});const le=` diff --git a/p__Classrooms__Lists__CommonHomework__Comment__index.ef45daac.async.js b/p__Classrooms__Lists__CommonHomework__Comment__index.b4c09409.async.js similarity index 99% rename from p__Classrooms__Lists__CommonHomework__Comment__index.ef45daac.async.js rename to p__Classrooms__Lists__CommonHomework__Comment__index.b4c09409.async.js index 1693c19719..84cfbc0749 100644 --- a/p__Classrooms__Lists__CommonHomework__Comment__index.ef45daac.async.js +++ b/p__Classrooms__Lists__CommonHomework__Comment__index.b4c09409.async.js @@ -1,6 +1,6 @@ !(function(){var jv=Object.defineProperty;var Lm=Object.getOwnPropertySymbols;var Rv=Object.prototype.hasOwnProperty,Tv=Object.prototype.propertyIsEnumerable;var Ep=(ln,Gt,B)=>Gt in ln?jv(ln,Gt,{enumerable:!0,configurable:!0,writable:!0,value:B}):ln[Gt]=B,xp=(ln,Gt)=>{for(var B in Gt||(Gt={}))Rv.call(Gt,B)&&Ep(ln,B,Gt[B]);if(Lm)for(var B of Lm(Gt))Tv.call(Gt,B)&&Ep(ln,B,Gt[B]);return ln};var Ni=(ln,Gt,B)=>Ep(ln,typeof Gt!="symbol"?Gt+"":Gt,B);(self.webpackChunk=self.webpackChunk||[]).push([[2303],{27812:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={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"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},40001:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},84105:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},18785:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},87169:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={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"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},73331:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},15277:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},61485:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},47472:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},95869:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={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"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},87395:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},32050:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return m}});var f=B(54476),tt=B(59301),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},de=G,P=B(7657),W=function(l,D){return tt.createElement(P.Z,(0,f.Z)({},l,{ref:D,icon:de}))},J=tt.forwardRef(W),m=J},75353:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return F}});var f=B(3113),tt=B(59301),G=Object.defineProperty,de=Object.defineProperties,P=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,J=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,S=(M,b,j)=>b in M?G(M,b,{enumerable:!0,configurable:!0,writable:!0,value:j}):M[b]=j,l=(M,b)=>{for(var j in b||(b={}))J.call(b,j)&&S(M,j,b[j]);if(W)for(var j of W(b))m.call(b,j)&&S(M,j,b[j]);return M},D=(M,b)=>de(M,P(b)),x=(M,b)=>{var j={};for(var E in M)J.call(M,E)&&b.indexOf(E)<0&&(j[E]=M[E]);if(M!=null&&W)for(var E of W(M))b.indexOf(E)<0&&m.call(M,E)&&(j[E]=M[E]);return j},v=(M,b,j)=>new Promise((E,q)=>{var V=U=>{try{H(j.next(U))}catch(te){q(te)}},$=U=>{try{H(j.throw(U))}catch(te){q(te)}},H=U=>U.done?E(U.value):Promise.resolve(U.value).then(V,$);H((j=j.apply(M,b)).next())});const F=M=>{var b=M,{children:j}=b,E=x(b,["children"]);const[q,V]=(0,tt.useState)(!1);return tt.createElement(f.ZP,D(l({},E),{loading:q,onClick:$=>v(void 0,null,function*(){try{V(!0),yield E.onClick($),V(!1)}catch(H){console.error(H),V(!1)}})}),j)}},12306:function(ln,Gt,B){"use strict";var f=B(86204),tt=B.n(f),G=Object.defineProperty,de=(m,S,l)=>S in m?G(m,S,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[S]=l,P=(m,S,l)=>de(m,typeof S!="symbol"?S+"":S,l),W=(m,S,l)=>new Promise((D,x)=>{var v=b=>{try{M(l.next(b))}catch(j){x(j)}},F=b=>{try{M(l.throw(b))}catch(j){x(j)}},M=b=>b.done?D(b.value):Promise.resolve(b.value).then(v,F);M((l=l.apply(m,S)).next())});class J extends f.EventEmitter{constructor(S,l){super(),P(this,"url"),P(this,"body"),P(this,"fullContent",""),P(this,"controller",null),P(this,"buffer",""),this.url=S,this.body=l}startStream(){return W(this,null,function*(){this.controller=new AbortController;const{signal:S}=this.controller;try{const l=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:S});if(!l.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${l.status}`);const D=l.headers.get("content-type");if(!D)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(D.includes("application/json")){const F=yield l.json();this.emit("error",F);return}if(!D.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const x=l.body.getReader(),v=new TextDecoder("utf-8");for(;;){const{done:F,value:M}=yield x.read();if(F)break;const b=v.decode(M,{stream:!0});this.buffer+=b;const j=this.buffer.split(` `);this.buffer=j.pop()||"";for(const E of j)if(E.startsWith("data:")){const q=E.slice(5).trim();if(q==="[DONE]")break;try{const V=JSON.parse(q);V.data&&this.handleData(V.data)}catch(V){this.buffer=E+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",V)}}}this.emit("done",this.fullContent)}catch(l){l.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",l.message)}})}handleData(S){S.content&&(this.fullContent+=S.content,this.emit("data",{chunk:S,full:this.fullContent}))}cancelRequest(){var S;(S=this.controller)==null||S.abort()}}Gt.Z=J},57593:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return oe}});var f=B(59301),tt=B(97831),G=B(66328),de=B(3977),P=B(18369),W=B(56102),J={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},m=B(8591),S=B(11611),l=B(13058),D=B(30084),x=B(10787),v=B(79562),F=B(43428),M=B(95237),b=B(43604),j={smartWrp:"smartWrp___NjRcB"},E=B(95440),q=B(16338),V=B(75353),$=B(59301),H=(_,ee,je)=>new Promise((Se,Qe)=>{var mt=yt=>{try{Nt(je.next(yt))}catch(nn){Qe(nn)}},ot=yt=>{try{Nt(je.throw(yt))}catch(nn){Qe(nn)}},Nt=yt=>yt.done?Se(yt.value):Promise.resolve(yt.value).then(mt,ot);Nt((je=je.apply(_,ee)).next())});const U=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",V)}}}this.emit("done",this.fullContent)}catch(l){l.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",l.message)}})}handleData(S){S.content&&(this.fullContent+=S.content,this.emit("data",{chunk:S,full:this.fullContent}))}cancelRequest(){var S;(S=this.controller)==null||S.abort()}}Gt.Z=J},57593:function(ln,Gt,B){"use strict";B.d(Gt,{Z:function(){return oe}});var f=B(59301),tt=B(97831),G=B(66328),de=B(3977),P=B(18369),W=B(56102),J={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},m=B(8591),S=B(11611),l=B(55939),D=B(30084),x=B(10787),v=B(79562),F=B(43428),M=B(95237),b=B(43604),j={smartWrp:"smartWrp___NjRcB"},E=B(95440),q=B(16338),V=B(75353),$=B(59301),H=(_,ee,je)=>new Promise((Se,Qe)=>{var mt=yt=>{try{Nt(je.next(yt))}catch(nn){Qe(nn)}},ot=yt=>{try{Nt(je.throw(yt))}catch(nn){Qe(nn)}},Nt=yt=>yt.done?Se(yt.value):Promise.resolve(yt.value).then(mt,ot);Nt((je=je.apply(_,ee)).next())});const U=` diff --git a/p__Classrooms__Lists__CommonHomework__Review__index.fea411b5.async.js b/p__Classrooms__Lists__CommonHomework__Review__index.507eb5b2.async.js similarity index 99% rename from p__Classrooms__Lists__CommonHomework__Review__index.fea411b5.async.js rename to p__Classrooms__Lists__CommonHomework__Review__index.507eb5b2.async.js index e226b08dea..830fc88e10 100644 --- a/p__Classrooms__Lists__CommonHomework__Review__index.fea411b5.async.js +++ b/p__Classrooms__Lists__CommonHomework__Review__index.507eb5b2.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[2338],{61481:function(Pe,ot,oe){"use strict";oe.d(ot,{Z:function(){return Le}});var b=oe(54476),Fe=oe(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ie=Ce,pe=oe(7657),ze=function(ve,Be){return Fe.createElement(pe.Z,(0,b.Z)({},ve,{ref:Be,icon:Ie}))},me=Fe.forwardRef(ze),Le=me},32050:function(Pe,ot,oe){"use strict";oe.d(ot,{Z:function(){return Le}});var b=oe(54476),Fe=oe(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Ie=Ce,pe=oe(7657),ze=function(ve,Be){return Fe.createElement(pe.Z,(0,b.Z)({},ve,{ref:Be,icon:Ie}))},me=Fe.forwardRef(ze),Le=me},27431:function(Pe,ot){"use strict";ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},20577:function(Pe,ot){"use strict";ot.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},20285:function(Pe,ot,oe){"use strict";var b=oe(59301),Fe=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ze=(ye,ve,Be)=>ve in ye?Fe(ye,ve,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ye[ve]=Be,me=(ye,ve)=>{for(var Be in ve||(ve={}))Ie.call(ve,Be)&&ze(ye,Be,ve[Be]);if(Ce)for(var Be of Ce(ve))pe.call(ve,Be)&&ze(ye,Be,ve[Be]);return ye};const Le=ye=>React.createElement("svg",me({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},ye),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNjIuNyA3OS42SDBWOC41aDM5LjNsMjMuNCAxOC40eiIgZmlsbD0iI0YwQTIyMSIvPjxwYXRoIGQ9Ik03MS40IDcxLjFIOC43VjBoNDQuNGwxOC4zIDE4eiIgZmlsbD0iI0YxQzg0QyIvPjxwYXRoIGQ9Ik01My4zIDcuM3YxMS41aDExLjV6IiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTM0LjkgMTMuOWgtMTd2NC42aDE3ek00NS45IDI3aC0yOHY0LjZoMjh6TTQ1LjkgNDAuNmgtMjh2NC42aDI4ek00NS45IDUzLjdoLTI4djQuN2gyOHoiIGZpbGw9IiNGMEEyMjEiLz48cGF0aCBkPSJNNjUgMzJINTB2NC42aDE1ek02NSA0NS42SDUwdjQuNmgxNXpNNjUgNTguN0g1MHY0LjdoMTV6IiBmaWxsPSIjRkZGIi8+PGc+PHBhdGggZD0iTTYwIDU2LjVjLjcgNC4zLTEgOC4zLTEgOC4zczQtMS43IDguMy0xYzAgMCAxLjQtNC41IDUuMi0xMEw3MCA1MS4yYy01LjUgMy45LTEwIDUuMy0xMCA1LjNaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0ibTY0IDU5LjIgNy4xLTcuMS41LjUtNy4xIDcuMXoiIGZpbGw9IiNGOUE1NEMiLz48cGF0aCBkPSJNNjIuOCA1OS44YzAgLjcuNSAxLjIgMS4yIDEuMnMxLjItLjUgMS4yLTEuMi0uNS0xLjItMS4yLTEuMi0xLjIuNi0xLjIgMS4yWiIgZmlsbD0iI0ZGRiIvPjxwYXRoIGQ9Ik03MS42IDU1LjhjNC0yLjYgNi43LTQuNSAxMi42LTEwLjUgMTAuMi0xMC4yIDE2LTE4LjMgMTQuMy0yMC0xLjctMS43LTkuNSAzLjgtMjAgMTQuMy02IDYtNy42IDguNi0xMC41IDEyLjZsMy42IDMuNloiIGZpbGw9IiMzMjRBNUUiLz48cGF0aCBkPSJtNzggMzkuOCA1LjcgNS43LjUtLjUgMS40LTEuNC01LjYtNS43LTEuNCAxLjQtLjYuNVptMTAuNS01LjdjLS41LjItMS4yLjctMS43IDEuNC0xLjIgMS4yLTEuOSAyLjQtMS43IDIuOS41LjUgMS43LS41IDIuOS0xLjcuNy0uNyAxLjItMS4yIDEuNC0xLjdsNi4yLTYuMiAxLjQgMS40YzEuNy0yLjYgMi4xLTQuNSAxLjQtNS0uNS0uNS0yLjYtLjItNSAxLjRsMS42IDEuNi02LjUgNS45WiIgZmlsbD0iI0ZGQzY1QiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiAzNi40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA1MC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},14544:function(Pe,ot,oe){"use strict";var b=oe(59301),Fe=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ze=(ye,ve,Be)=>ve in ye?Fe(ye,ve,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ye[ve]=Be,me=(ye,ve)=>{for(var Be in ve||(ve={}))Ie.call(ve,Be)&&ze(ye,Be,ve[Be]);if(Ce)for(var Be of Ce(ve))pe.call(ve,Be)&&ze(ye,Be,ve[Be]);return ye};const Le=ye=>React.createElement("svg",me({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},ye),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},87851:function(){"use strict";function Pe(ae,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ae,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Pe.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(Pe.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(Pe.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(Pe.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,E){var a=go.Shape._FigureParameters[ae];return a?a[E]:null},go.Shape.setFigureParameter=function(ae,E,a){if(!(a instanceof Pe))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 x=go.Shape._FigureParameters[ae];x||(x=[],go.Shape._FigureParameters[ae]=x),x[E]=a};var ot=[];function oe(ae,E){var a=ot.pop();return a===void 0?new go.Point(ae,E):(a.x=ae,a.y=E,a)}function b(){var ae=ot.pop();return ae===void 0?new go.Point:ae}function Fe(ae){ot.push(ae)}function Ce(ae,E,a,x,y,z,ee,te,ne){ne||(ne=new go.Point);var re=ae-a,ie=y-ee,le=NaN,we=NaN;if(re===0)if(ie===0)ae===a&&(le=ae,we=E);else{var fe=(z-te)/ie,Qe=z-fe*y;le=ae,we=fe*le+Qe}else if(ie===0){var Ye=(E-x)/re,St=E-Ye*ae;le=y,we=Ye*le+St}else{var Ye=(E-x)/re,fe=(z-te)/ie,St=E-Ye*ae,Qe=z-fe*y;le=(Qe-St)/(Ye-fe),we=Ye*le+St}return ne.x=le,ne.y=we,ne}function Ie(ae,E,a,x,y,z,ee,te,ne,re,ie,le,we,fe){var Qe=1-ne,Ye=ne,St=ae*Qe+a*Ye,$e=E*Qe+x*Ye,mt=a*Qe+y*Ye,Ue=x*Qe+z*Ye,ht=y*Qe+ee*Ye,Yt=z*Qe+te*Ye,tn=St*Qe+mt*Ye,Ee=$e*Qe+Ue*Ye,Me=mt*Qe+ht*Ye,Te=Ue*Qe+Yt*Ye,Ge=tn*Qe+Me*Ye,Ve=Ee*Qe+Te*Ye;re.x=St,re.y=$e,ie.x=tn,ie.y=Ee,le.x=Ge,le.y=Ve,we.x=Me,we.y=Te,fe.x=ht,fe.y=Yt}var pe=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Pe("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,E,a){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*me,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(ae,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=pe,y.spot2=ze,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ae,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(ae,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,me*E,0,E,(1-me)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,me*a,(1-me)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,me*a,me*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-me)*E,0,0,(1-me)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Pe("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y0&&(ee.add(new go.PathSegment(go.PathSegment.Move,E/2+te,E/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),z.spot1=pe,z.spot2=ze,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Pe("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Pe("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,E,a){var x=ae?ae.parameter1:NaN,y=ae?ae.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ee=y%360,te=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,z,ee,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,E,a){var x=me/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Pe("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,E,a){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Pe("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,E,a){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Pe("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,E,a){var x=ae?ae.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ee=a/2,te=Math.atan2(a,E),ne=x-Math.min(Math.cos(te)*x/2,z),re=x-Math.min(Math.sin(te)*x/2,ee),y=new go.Geometry,ie=new go.PathFigure(ne,0,!0);return y.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),ie.add(new go.PathSegment(go.PathSegment.Line,E-ne,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,re)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,ee)),ie.add(new go.PathSegment(go.PathSegment.Line,E,a-re)),ie.add(new go.PathSegment(go.PathSegment.Line,E-ne,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),ie.add(new go.PathSegment(go.PathSegment.Line,ne,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,a-re)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Pe("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,E,a){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new Pe("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new Pe("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,me*E,0,E,(.5-me/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+me/2)*a,me*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ee=.3,te=0,ne=z*me;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+te)*a,(.5-z+ee)*E,(.5+ne+te)*a,(.5-ne+ee)*E,(.5+z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+te)*a,(.5+ne+ee)*E,(.5+z+te)*a,(.5+z+ee)*E,(.5+ne+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+te)*a,(1-.5+z+ee)*E,(.5-ne+te)*a,(.5+ne+ee)*E,(.5-z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ne+ee)*E,(.5-z+te)*a,(.5-z+ee+.05)*E,(.5-ne+te-.02)*a)),z=.2,ee=0,te=-.3,ne=z*me,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+te)*a,(.5+ne+ee)*E,(.5+z+te)*a,(.5+z+ee)*E,(.5+ne+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+te)*a,(1-.5+z+ee)*E,(.5-ne+te)*a,(.5+ne+ee)*E,(.5-z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+te)*a,(.5-ne+ee)*E,(.5-z+te)*a,(.5-z+ee)*E,(.5-ne+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+ee)*E,(.5+z+te)*a,(.5-z+ee)*E,(.5+ne+te)*a,(.5-ne+ee)*E,(.5+z+te)*a)),z=.2,ee=-.3,te=0,ne=z*me,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+te)*a,(1-.5+z+ee-.05)*E,(.5-ne+te-.02)*a,(.5+ne+ee)*E,(.5-z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+te)*a,(.5-ne+ee)*E,(.5-z+te)*a,(.5-z+ee)*E,(.5-ne+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+te)*a,(.5-z+ee)*E,(.5+ne+te)*a,(.5-ne+ee)*E,(.5+z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ne+ee)*E,(.5+z+te)*a,(.5+z+ee)*E,(.5+ne+te)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ee=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*E,te*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ee,a*te,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),te=.75,y=new go.PathFigure((ee+z)*E,te*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ee,a*te,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ae,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=.5,ee=.5,te=.5,ne=new go.PathFigure(ee*E,(te-z)*a);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),z=.4,y=me*.4;var re=b(),ie=b(),le=b(),we=b();Ie(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.42,re,ie,le,we,we);var fe=b(),Qe=b(),Ye=b();Ie(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.58,we,we,Ye,fe,Qe);var St=b(),$e=b(),mt=b();Ie(ee,te+z,ee-y,te+z,ee-z,te+y,ee-z,te,.42,St,$e,mt,we,we);var Ue=b(),ht=b(),Yt=b();return Ie(ee,te+z,ee-y,te+z,ee-z,te+y,ee-z,te,.58,we,we,Yt,Ue,ht),ne.add(new go.PathSegment(go.PathSegment.Move,Yt.x*E,Yt.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,Ue.x*E,Ue.y*a,ht.x*E,ht.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,re.x*E,re.y*a,ie.x*E,ie.y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,Yt.x*E,Yt.y*a).close()),ne.add(new go.PathSegment(go.PathSegment.Move,mt.x*E,mt.y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,Ye.x*E,Ye.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,fe.x*E,fe.y*a,Qe.x*E,Qe.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,mt.x*E,mt.y*a,St.x*E,St.y*a,$e.x*E,$e.y*a).close()),Fe(re),Fe(ie),Fe(le),Fe(we),Fe(fe),Fe(Qe),Fe(Ye),Fe(St),Fe($e),Fe(mt),Fe(Ue),Fe(ht),Fe(Yt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Pe("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,E,a){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,E,a){var x=new go.Geometry,y=me*.4,z=.4,ee=.5,te=.5,ne=b(),re=b(),ie=b(),le=b(),we=new go.PathFigure((ee-z)*E,te*a,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),Ie(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.44,ie,le,re,ne,ne),we.add(new go.PathSegment(go.PathSegment.Bezier,re.x*E,re.y*a,ie.x*E,ie.y*a,le.x*E,le.y*a));var fe=oe(re.x,re.y);Ie(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.56,ne,ne,re,ie,le);var Qe=oe(re.x,re.y);we.add(new go.PathSegment(go.PathSegment.Line,(fe.x*.1+.95*.9)*E,fe.y*.1*a)),we.add(new go.PathSegment(go.PathSegment.Line,.85*E,fe.y*.1*a)),we.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),we.add(new go.PathSegment(go.PathSegment.Line,E,0)),we.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),we.add(new go.PathSegment(go.PathSegment.Line,(Qe.x*.1+.9)*E,.15*a)),we.add(new go.PathSegment(go.PathSegment.Line,(Qe.x*.1+.9)*E,(Qe.y*.1+.05*.9)*a)),we.add(new go.PathSegment(go.PathSegment.Line,Qe.x*E,Qe.y*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,ie.x*E,ie.y*a,le.x*E,le.y*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),z=.35,y=me*.35;var Ye=new go.PathFigure(ee*E,(te-z)*a,!1);x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a));var St=new go.PathFigure((ee-z)*E,te*a,!1);return x.add(St),Fe(ne),Fe(re),Fe(ie),Fe(le),Fe(fe),Fe(Qe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,E,a){var x=new go.Geometry,y=.375,z=0,ee=-.125,te=y*me,ne=new go.PathFigure((.525+z)*E,(.5+y+ee)*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ee)*a,(.5+te+z)*E,(.5+y+ee)*a,(.5+y+z)*E,(.5+te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ee)*a,(1-.5+y+z)*E,(.5-te+ee)*a,(.5+te+z)*E,(.5-y+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-te+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ee)*a,(.5-y+z)*E,(.5+te+ee)*a,(.5-te+z)*E,(.5+y+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ee=-.125,te=y*me;var ne=new go.PathFigure((1-.5+y+z)*E,(.5+ee)*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ee)*a,(.5+y+z)*E,(.5+te+ee)*a,(.5+te+z)*E,(.5+y+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-te+z)*E,(.5+y+ee)*a,(.5-y+z)*E,(.5+te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-te+ee)*a,(.5-te+z)*E,(.5-y+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ee)*a,(.5+te+z)*E,(.5-y+ee)*a,(1-.5+y+z)*E,(.5-te+ee)*a));var ne=new go.PathFigure((.525+z)*E,(.5+y+ee)*a,!1);return x.add(ne),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,E,a){var x=ae?ae.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,E,a){var x=ae?ae.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Pe("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Pe("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,ee=(.5-y/2)*a,te=(.5+y/2)*a,ne=new go.Geometry,re=new go.PathFigure(0,ee,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,z,a)),re.add(new go.PathSegment(go.PathSegment.Line,z,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,ee/a);var ie=Ce(0,te/a,1,te/a,z/E,1,1,.5,b());return ne.spot2=new go.Spot(ie.x,ie.y),Fe(ie),ne}),go.Shape.setFigureParameter("Arrow2",0,new Pe("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Pe("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,ee=(a-y)/2,te=ee+y,ne=new go.Geometry,re=new go.PathFigure(0,ee,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,z,a)),re.add(new go.PathSegment(go.PathSegment.Line,z,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,ee/a);var ie=Ce(0,te/a,1,te/a,z/E,1,1,.5,b());return ne.spot2=new go.Spot(ie.x,ie.y),Fe(ie),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Pe("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ne=Ce(0,.5,.3,0,0,y/a,.1,y/a,b());return ee.spot1=new go.Spot(ne.x,ne.y),ne=Ce(.7,1,1,.5,0,z/a,1,z/a,ne),ee.spot2=new go.Spot(ne.x,ne.y),Fe(ne),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Pe("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Pe("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ee=z+x,te=(a-y)/2,ne=te+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ee=z+x,te=0,ne=a):(z=0,ee=a,te=0,ne=a));var re=new go.Geometry,ie=new go.PathFigure(E,.5*a,!0);re.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),ie.add(new go.PathSegment(go.PathSegment.Line,.3*E,ee)),ie.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),ie.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close());var le=Ce(0,.5,.3,te/a,0,z/a,1,z/a,b());return re.spot1=new go.Spot(le.x,le.y),le=Ce(.7,ne/a,1,.5,0,ee/a,1,ee/a,le),re.spot2=new go.Spot(le.x,le.y),Fe(le),re}),go.Shape.setFigureParameter("IBeamArrow",0,new Pe("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,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,.2*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(0,y/a);var ne=Ce(.7,1,1,.5,0,z/a,1,z/a,b());return ee.spot2=new go.Spot(ne.x,ne.y),Fe(ne),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Pe("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Pe("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ee=z+x,te=(a-y)/2,ne=te+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ee=z+x,te=0,ne=a):(z=0,ee=a,te=0,ne=a));var re=new go.Geometry,ie=new go.PathFigure(E,.5*a,!0);re.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,0,te)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ie.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close()),re.spot1=new go.Spot(0,z/a);var le=Ce(.7,ne/a,1,.5,0,ee/a,1,ee/a,b());return re.spot2=new go.Spot(le.x,le.y),Fe(le),re}),go.Shape.setFigureParameter("Pointer",0,new Pe("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ee=Ce(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ee.x,ee.y),Fe(ee),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Pe("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var ee=Ce(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ee.x,ee.y),Fe(ee),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Pe("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,0,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,.3);var ne=Ce(.7,1,1,.5,0,z/a,1,z/a,b());return ee.spot2=new go.Spot(ne.x,ne.y),Fe(ne),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Pe("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,0,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,y/a);var ne=Ce(.7,1,1,.5,0,z/a,1,z/a,b());return ee.spot2=new go.Spot(ne.x,ne.y),Fe(ne),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Pe("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=me*.1,ee=new go.PathFigure(0,.9*a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=me*.5,ee=new go.PathFigure(0,x,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,me*x,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,me*x)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-me*x,(.5+z)*E,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-me*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var te=new go.PathFigure(E,x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-me*x,(.5+z)*E,2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-me*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=me*.5,ee=new go.PathFigure(0,a-x,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,me*x,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,me*x)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-me*x,(.5+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-me*x));var te=new go.PathFigure(0,a-x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-me*x,(.5-z)*E,a-2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-me*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=me*.5,ee=new go.PathFigure(x,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-me*x,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-me*x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*x,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,me*x,0));var te=new go.PathFigure(x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+me*x,0,2*x,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+me*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=me*.5,ee=new go.PathFigure(E-x,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-me*x,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-me*x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*x,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,me*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var te=new go.PathFigure(E-x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-me*x,0,E-2*x,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-me*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ae,E,a){var x=new go.Geometry,y=.2,z=.1,ee=me*y,te=me*z,ne=.5,re=.1,ie=new go.PathFigure(ne*E,(re+z)*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-ee)*E,(re+z)*a,(ne-y)*E,(re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-y)*E,(re-te)*a,(ne-ee)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+ee)*E,(re-z)*a,(ne+y)*E,(re-te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+y)*E,(re+te)*a,(ne+ee)*E,(re+z)*a));var le=.05,we=me*le;ne=.05,re=.25;var fe=new go.PathFigure(.5*E,.2*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ne=.95,re=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+le)*E,re*a,(ne+we)*E,(re-le)*a,(ne+le)*E,(re-we)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),le=.025,we=me*le,ne=.825,re=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-le)*a,(ne+le)*E,(re-we)*a,(ne+we)*E,(re-le)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*E,re*a,(ne-we)*E,(re-le)*a,(ne-le)*E,(re-we)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),le=.05,we=me*le,ne=.5,re=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-le)*a,(ne+le)*E,(re-we)*a,(ne+we)*E,(re-le)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*E,re*a,(ne-we)*E,(re-le)*a,(ne-le)*E,(re-we)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),le=.025,we=me*le,ne=.175,re=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-le)*a,(ne+le)*E,(re-we)*a,(ne+we)*E,(re-le)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*E,re*a,(ne-we)*E,(re-le)*a,(ne-le)*E,(re-we)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),le=.05,we=me*le,ne=.05,re=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-le)*a,(ne-le)*E,(re-we)*a,(ne-we)*E,(re-le)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Pe("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,E,a){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=me*.1,ee=new go.PathFigure(E,.1*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var te=new go.PathFigure(E,.1*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=me*.1,ee=new go.PathFigure(E,.1*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var te=new go.PathFigure(E,.1*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=me*.2,ee=new go.PathFigure(0,.2*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(ae,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ee=new go.PathFigure(E,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN,z=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ae,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=me*.5,te=.5,ne=new go.PathFigure(E,te*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,E,(te+ee)*a,(te+ee)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-ee)*E,a,0,(te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,0,0,(te-ee)*a,(te-ee)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,te*a,(te+ee)*E,0,E,(te-ee)*a));var re=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),re.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),re.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=.5,ee=new go.PathFigure(.5*E,a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var te=new go.PathFigure(.5*y*E,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ae,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN,z=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN,z=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-y)*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ee=new go.PathFigure(y*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,E,a){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var te=new go.PathFigure(E,z*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ne=new go.PathFigure(.8*E,.75*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(ae,E,a){var x=new go.Geometry,y=me*.1,z=.1,ee=.9,te=.5,ne=new go.PathFigure(.8*E,.5*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var re=new go.PathFigure((ee+z)*E,te*a,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te-z)*a,(ee+z)*E,(te-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=me*.4,ee=me*.1,te=.1,ne=.9,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var le=new go.PathFigure((ne+te)*E,re*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+te)*a,(ne+te)*E,(re+ee)*a,(ne+ee)*E,(re+te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E,re*a,(ne-ee)*E,(re+te)*a,(ne-te)*E,(re+ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-te)*a,(ne-te)*E,(re-ee)*a,(ne-ee)*E,(re-te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E,re*a,(ne+ee)*E,(re-te)*a,(ne+te)*E,(re-ee)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ae,E,a){var x=new go.Geometry,y=.5,z=me*y,ee=0,te=.5,ne=new go.PathFigure(.8*E,.5*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(te-y)*a,.7*E,(te-z)*a)),y=.1,z=me*.1,ee=.9,te=.5;var re=new go.PathFigure((ee-y)*E,te*a,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ae,E,a){var x=new go.Geometry,y=.5,z=me*y,ee=0,te=.5,ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z+z)*E,(te-y)*a,.8*E,(te-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(te+z)*a,(ee+z+z)*E,(te+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ae,E,a){var x=new go.Geometry,y=.5,z=me*y,ee=.2,te=.5,ne=new go.PathFigure(.1*E,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var re=new go.PathFigure(.8*E,.5*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(te-y)*a,.7*E,(te-z)*a)),y=.1,z=me*.1,ee=.9,te=.5;var ie=new go.PathFigure((ee-y)*E,te*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ae,E,a){var x=new go.Geometry,y=.5,z=me*y,ee=.2,te=.5,ne=new go.PathFigure(.1*E,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var re=new go.PathFigure(.2*E,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z)*E,(te-y)*a,.9*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(ae,E,a){var x=new go.Geometry,y=me*.1,z=.1,ee=.1,te=.5,ne=new go.PathFigure((ee-y*.5)*E,a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y*.5)*E,a,(ee+z)*E,0,(ee+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,E,a){var x=new go.Geometry,y=me*.5,z=.5,ee=.5,te=.5,ne=new go.PathFigure((ee-z)*E,te*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te-z)*a,(ee+z)*E,(te-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*E,te*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*E,te*a,ee*E,(te-z)*a,ee*E,(te+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ae,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ee=me*.8,te=.8,ne=0,re=.5,ie=(y-E)/2,le=(z-a)/2,we=new go.PathFigure(ne*E+ie,(re+te)*a+le,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E+ie,re*a+le,(ne-ee)*E+ie,(re+te)*a+le,(ne-te)*E+ie,(re+ee)*a+le)),we.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re-te)*a+le,(ne-te)*E+ie,(re-ee)*a+le,(ne-ee)*E+ie,(re-te)*a+le)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+ee*.5)*E+ie,re*a+le,ne*E+ie,(re-te)*a+le,(ne-te+ee*.5)*E+ie,(re-ee)*a+le)),we.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re+te)*a+le,(ne-te+ee*.5)*E+ie,(re+ee)*a+le,ne*E+ie,(re+te)*a+le).close()),ee=me*.4,te=.4,ne=.2,re=.5;var fe=new go.PathFigure(ne*E+ie,(re+te)*a+le,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E+ie,re*a+le,(ne-ee)*E+ie,(re+te)*a+le,(ne-te)*E+ie,(re+ee)*a+le)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re-te)*a+le,(ne-te)*E+ie,(re-ee)*a+le,(ne-ee)*E+ie,(re-te)*a+le)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+ee*.5)*E+ie,re*a+le,ne*E+ie,(re-te)*a+le,(ne-te+ee*.5)*E+ie,(re-ee)*a+le)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re+te)*a+le,(ne-te+ee*.5)*E+ie,(re+ee)*a+le,ne*E+ie,(re+te)*a+le).close()),ee=me*.2,te=.2,ne=.5,re=.5;var Qe=new go.PathFigure((ne-te)*E+ie,re*a+le,!0);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re-te)*a+le,(ne-te)*E+ie,(re-ee)*a+le,(ne-ee)*E+ie,(re-te)*a+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E+ie,re*a+le,(ne+ee)*E+ie,(re-te)*a+le,(ne+te)*E+ie,(re-ee)*a+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re+te)*a+le,(ne+te)*E+ie,(re+ee)*a+le,(ne+ee)*E+ie,(re+te)*a+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E+ie,re*a+le,(ne-ee)*E+ie,(re+te)*a+le,(ne-te)*E+ie,(re+ee)*a+le)),ee=me*.4,te=.4,ne=.8,re=.5;var Ye=new go.PathFigure(ne*E+ie,(re-te)*a+le,!0);x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E+ie,re*a+le,(ne+ee)*E+ie,(re-te)*a+le,(ne+te)*E+ie,(re-ee)*a+le)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re+te)*a+le,(ne+te)*E+ie,(re+ee)*a+le,(ne+ee)*E+ie,(re+te)*a+le)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-ee*.5)*E+ie,re*a+le,ne*E+ie,(re+te)*a+le,(ne+te-ee*.5)*E+ie,(re+ee)*a+le)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re-te)*a+le,(ne+te-ee*.5)*E+ie,(re-ee)*a+le,ne*E+ie,(re-te)*a+le).close()),ee=me*.8,te=.8,ne=1,re=.5;var St=new go.PathFigure(ne*E+ie,(re-te)*a+le,!0);return x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E+ie,re*a+le,(ne+ee)*E+ie,(re-te)*a+le,(ne+te)*E+ie,(re-ee)*a+le)),St.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re+te)*a+le,(ne+te)*E+ie,(re+ee)*a+le,(ne+ee)*E+ie,(re+te)*a+le)),St.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-ee*.5)*E+ie,re*a+le,ne*E+ie,(re+te)*a+le,(ne+te-ee*.5)*E+ie,(re+ee)*a+le)),St.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+ie,(re-te)*a+le,(ne+te-ee*.5)*E+ie,(re-ee)*a+le,ne*E+ie,(re-te)*a+le).close()),x}),go.Shape.defineFigureGenerator("Email",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ee=new go.PathFigure(.6*E,a,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ae,E,a){var x=new go.Geometry,y=me*.4,z=.4,ee=.5,te=.5,ne=b(),re=b(),ie=b(),le=b();Ie(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.5,ne,ne,re,ie,le);var we=oe(re.x,re.y),fe=new go.PathFigure(re.x*E,re.y*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,ie.x*E,ie.y*a,le.x*E,le.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),Ie(ee-z,te,ee-z,te-y,ee-y,te-z,ee,te-z,.5,ie,le,re,ne,ne),fe.add(new go.PathSegment(go.PathSegment.Bezier,re.x*E,re.y*a,ie.x*E,ie.y*a,le.x*E,le.y*a)),y=me*.3,z=.3,Ie(ee-z,te,ee-z,te-y,ee-y,te-z,ee,te-z,.5,ie,le,re,ne,ne),fe.add(new go.PathSegment(go.PathSegment.Line,re.x*E,re.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,le.x*E,le.y*a,ie.x*E,ie.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),Ie(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.5,ne,ne,re,ie,le),fe.add(new go.PathSegment(go.PathSegment.Bezier,re.x*E,re.y*a,le.x*E,le.y*a,ie.x*E,ie.y*a).close());var fe=new go.PathFigure(.45*E,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),Fe(ne),Fe(re),Fe(ie),Fe(le),Fe(we),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ee,te,ne){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*E,(.8+ne)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*E,(.5+ne)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*E,(.5+ne)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*E,(.8+ne)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,E,a){var x=new go.Geometry,y=.5,z=0,ee=0,te=y*me,ne=.4*Math.SQRT2/2+.5,re=.5-.5*Math.SQRT2/2,ie=1,le=.5,we=.5,fe=0,Qe=new go.PathFigure(ne*E,(1-re)*a,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,le*a,ie*E,.7*a,ie*E,le*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(we+z)*E,(fe+z)*a,(.5+y+z)*E,(.5-te+z)*a,(.5+te+z)*E,(.5-y+z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-te+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-te+ee)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+te+ee)*a,(.5-te+z)*E,.9*a)),Qe.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ee=new go.PathFigure(0,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ee=.5-.285,te=.5,ne=ee,re=Math.PI/4,ie=4*(1-Math.cos(re))/(3*Math.sin(re)),le=ie*.5,we=ee,fe=ee,Qe=ie*we,Ye=ie*fe;z.add(new go.PathSegment(go.PathSegment.Bezier,(te-we)*E,ne*a,(te-(Qe+we)/2)*E,(ne+(fe+Ye)/2)*a,(te-we)*E,(ne+Ye)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ne-fe)*a,(te-we)*E,(ne-Ye)*a,(te-Qe)*E,(ne-fe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(te+we)*E,ne*a,(te+Qe)*E,(ne-fe)*a,(te+we)*E,(ne-Ye)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(te+we)*E,(ne+Ye)*a,(te+(Qe+we)/2)*E,(ne+(fe+Ye)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var St=new go.PathFigure(.2*E,a,!1);x.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var $e=new go.PathFigure(.8*E,a,!1);return x.add($e),$e.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ee=new go.PathFigure(.1*E,a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ee=new go.PathFigure(.675*E,.575*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,E,a){var x=new go.Geometry,y=.5,z=me*.5,ee=new go.PathFigure(E,y*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ee=new go.PathFigure(0,.6*a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ee=.1,te=me*.1,ne=.2,re=.9,ie=new go.PathFigure((ne-ee)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-ee)*a,(ne-ee)*E,(re-te)*a,(ne-te)*E,(re-ee)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*E,re*a,(ne+te)*E,(re-ee)*a,(ne+ee)*E,(re-te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+ee)*a,(ne+ee)*E,(re+te)*a,(ne+te)*E,(re+ee)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*E,re*a,(ne-te)*E,(re+ee)*a,(ne-ee)*E,(re+te)*a).close()),ee=.1,te=me*.1,ne=.8,re=.9;var le=new go.PathFigure((ne-ee)*E,re*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-ee)*a,(ne-ee)*E,(re-te)*a,(ne-te)*E,(re-ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*E,re*a,(ne+te)*E,(re-ee)*a,(ne+ee)*E,(re-te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+ee)*a,(ne+ee)*E,(re+te)*a,(ne+te)*E,(re+ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*E,re*a,(ne-te)*E,(re+ee)*a,(ne-ee)*E,(re+te)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*E,.8*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var te=new go.PathFigure(.5*E,.7*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ne=.1,re=me*.1,ie=.1,le=.9,we=new go.PathFigure((ie-ne)*E,le*a,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(le-ne)*a,(ie-ne)*E,(le-re)*a,(ie-re)*E,(le-ne)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*E,le*a,(ie+re)*E,(le-ne)*a,(ie+ne)*E,(le-re)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(le+ne)*a,(ie+ne)*E,(le+re)*a,(ie+re)*E,(le+ne)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*E,le*a,(ie-re)*E,(le+ne)*a,(ie-ne)*E,(le+re)*a)),ne=.1,re=me*.1,ie=.4,le=.9;var fe=new go.PathFigure((ie-ne)*E,le*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(le-ne)*a,(ie-ne)*E,(le-re)*a,(ie-re)*E,(le-ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*E,le*a,(ie+re)*E,(le-ne)*a,(ie+ne)*E,(le-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(le+ne)*a,(ie+ne)*E,(le+re)*a,(ie+re)*E,(le+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*E,le*a,(ie-re)*E,(le+ne)*a,(ie-ne)*E,(le+re)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ee=new go.PathFigure(.55*E,.4*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var ie=.05,le=me*.05,we=.175,fe=.95,te=new go.PathFigure((we-ie)*E,fe*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe-ie)*a,(we-ie)*E,(fe-le)*a,(we-le)*E,(fe-ie)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(we+ie)*E,fe*a,(we+le)*E,(fe-ie)*a,(we+ie)*E,(fe-le)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe+ie)*a,(we+ie)*E,(fe+le)*a,(we+le)*E,(fe+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(we-ie)*E,fe*a,(we-le)*E,(fe+ie)*a,(we-ie)*E,(fe+le)*a));var ie=.05,le=me*.05,we=.375,fe=.95,ne=new go.PathFigure((we-ie)*E,fe*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe-ie)*a,(we-ie)*E,(fe-le)*a,(we-le)*E,(fe-ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(we+ie)*E,fe*a,(we+le)*E,(fe-ie)*a,(we+ie)*E,(fe-le)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe+ie)*a,(we+ie)*E,(fe+le)*a,(we+le)*E,(fe+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(we-ie)*E,fe*a,(we-le)*E,(fe+ie)*a,(we-ie)*E,(fe+le)*a));var ie=.05,le=me*.05,we=.625,fe=.95,re=new go.PathFigure((we-ie)*E,fe*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe-ie)*a,(we-ie)*E,(fe-le)*a,(we-le)*E,(fe-ie)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(we+ie)*E,fe*a,(we+le)*E,(fe-ie)*a,(we+ie)*E,(fe-le)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe+ie)*a,(we+ie)*E,(fe+le)*a,(we+le)*E,(fe+ie)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(we-ie)*E,fe*a,(we-le)*E,(fe+ie)*a,(we-ie)*E,(fe+le)*a));var ie=.05,le=me*.05,we=.825,fe=.95,Qe=new go.PathFigure((we-ie)*E,fe*a,!0);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe-ie)*a,(we-ie)*E,(fe-le)*a,(we-le)*E,(fe-ie)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(we+ie)*E,fe*a,(we+le)*E,(fe-ie)*a,(we+ie)*E,(fe-le)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,we*E,(fe+ie)*a,(we+ie)*E,(fe+le)*a,(we+le)*E,(fe+ie)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(we-ie)*E,fe*a,(we-le)*E,(fe+ie)*a,(we-ie)*E,(fe+le)*a).close());var Ye=new go.PathFigure(0,a,!1);return x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(.15*E,a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var te=.05,ne=me*.05,re=.35,ie=.775,le=new go.PathFigure((re-te)*E,ie*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ie-te)*a,(re-te)*E,(ie-ne)*a,(re-ne)*E,(ie-te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*E,ie*a,(re+ne)*E,(ie-te)*a,(re+te)*E,(ie-ne)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ie+te)*a,(re+te)*E,(ie+ne)*a,(re+ne)*E,(ie+te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*E,ie*a,(re-ne)*E,(ie+te)*a,(re-te)*E,(ie+ne)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(ae,E,a){var x=new go.Geometry,y=.3,z=me*.3,ee=.5,te=.7,ne=new go.PathFigure((ee-y)*E,te*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a));var re=new go.PathFigure(0,.7*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(ae,E,a){var x=new go.Geometry,y=.5,z=me*.5,ee=.5,te=.5,ne=new go.PathFigure((ee-y)*E,te*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a));var re=new go.PathFigure(.15*E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(ae,E,a){var x=new go.Geometry,y=.5,z=me*.5,ee=.5,te=.5,ne=new go.PathFigure((ee-y)*E,te*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a).close()),y=.05,z=me*.05,ee=.5,te=.8;var re=new go.PathFigure((ee-y)*E,te*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a).close()),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ee=new go.PathFigure(.402*E,.85*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var te=new go.PathFigure(.678*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ne=new go.PathFigure(.5*E,.1*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ee=new go.PathFigure(E*.408,a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var te=new go.PathFigure(E*.612,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ne=new go.PathFigure(E*.816,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ee=new go.PathFigure(E*.055,.13*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var te=new go.PathFigure(E*.055,.18*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ne=new go.PathFigure(E*1,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ee=new go.PathFigure(E*.11,a*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var te=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ne=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,E,a){var x=new go.Geometry,y=8,z=y*me,ee=new go.PathFigure(y,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var te=new go.PathFigure(E*.83,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ne=new go.PathFigure(E*.83,a*1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var re=new go.PathFigure(E*.78,a*.05,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),re.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),re.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,E,a){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*me,z=a*.8,ee=new go.Geometry,te=new go.PathFigure(x,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),te.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),te.add(new go.PathSegment(go.PathSegment.Line,x,z)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ee.spot1=new go.Spot(0,0,y,y),ee.spot2=new go.Spot(1,.8,-y,-y)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ee=new go.PathFigure(E*.28,a*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ae,E,a){var x=new go.Geometry,y=15,z=y*me,ee=new go.PathFigure(E*.62,a*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.4,a*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.5,a*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ae,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Pe={},ot="5.0",oe={},b=null,Fe=!1,Ce=!1,Ie=null,pe=!1,ze=null,me=null,Le=0;Le4?parseFloat(he):5};Pe.setHTML5Codebase=function(he,Ne){me=he,Te(he,Ne)},Pe.setJavaCodebase=Pe.setJavaCodebaseVersion=Pe.isCompiledInstalled=Pe.setPreCompiledScriptPath=Pe.setPreCompiledResourcePath=function(){},Pe.setHTML5CodebaseVersion=function(he,Ne){var We=parseFloat(he);if(We!==NaN&&We<5){console.log("The GeoGebra HTML5 codebase version "+We+" is deprecated. Using version latest instead.");return}ze=he,Me(he,Ne)},Pe.getHTML5CodebaseVersion=function(){return ae},Pe.getParameters=function(){return oe},Pe.setFontsCSSURL=function(he){ee=he},Pe.setGiacJSURL=function(he){},Pe.setJNLPFile=function(he){ve=he},Pe.setJNLPBaseDir=function(he){},Pe.inject=function(){function he(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ne="auto",We=oe.id,st,He=!1,at=0;at=5)return!0;var he=Pe.getAppletObject();return he&&typeof he.recalculateEnvironments=="function"?(he.recalculateEnvironments(),!0):!1},Pe.startAnimation=function(){var he=Pe.getAppletObject();return he&&typeof he.startAnimation=="function"?(he.startAnimation(),!0):!1},Pe.stopAnimation=function(){var he=Pe.getAppletObject();return he&&typeof he.stopAnimation=="function"?(he.stopAnimation(),!0):!1},Pe.getAppletObject=function(){var he=oe.id!==void 0?oe.id:"ggbApplet";return window[he]},Pe.resize=function(){};var Qe=function(he,Ne,We){var st=document.createElement("param");st.setAttribute("name",Ne),st.setAttribute("value",We),he.appendChild(st)},Ye=function(he){return he&&he!=="false"},St=function(he,Ne,We){ne(ae)<=4.2&&(We=!0);var st=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(st=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var He=document.createElement("div");He.classList.add("appletParameters","notranslate");var at=Ne.width,se=Ne.height;if(Ne.disableAutoScale=Ne.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ne.disableAutoScale,Ne.width!==void 0)if(ne(ae)<=4.4)Ye(Ne.showToolBar)&&(Ne.height-=7),Ye(Ne.showAlgebraInput)&&(Ne.height-=37),Ne.width<605&&Ye(Ne.showToolBar)&&(Ne.width=605,at=605);else{var Ze=100;(Ye(Ne.showToolBar)||Ye(Ne.showMenuBar))&&(Ne.hasOwnProperty("customToolBar")&&(Ne.customToolbar=Ne.customToolBar),Ze=Ye(Ne.showMenuBar)?245:155),at=5?(Ne.appletOnLoad=function(cn){var nn=he.querySelector(".ggb_preview");nn&&nn.parentNode.removeChild(nn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ft),window.GGBT_wsf_view&&$(window).trigger("resize"),Ct(cn)},Xt||ft.appendChild(an)):He.appendChild(an),ft.appendChild(He),Xt||he.appendChild(ft),setTimeout(function(){Pe.resize()},1)}else{var Ht=document.createElement("div");Ht.className="applet_scaler",Ht.style.position="relative",Ht.style.display="block",Ht.appendChild(He),he.appendChild(Ht),Ne.appletOnLoad=function(cn){Pe.resize(),Ct(cn)}}function $t(cn,nn){nn&&typeof nn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(cn,nn.appletOnLoad):renderGGBElement(cn),Ge("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nn)}function bt(cn,nn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:cn,params:nn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Zn){$t(Zn.article,Zn.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(cn.className+=" geogebraweb")):$t(cn,nn)}if(st){scriptLoadStarted=!0;for(var Bt=0;Bt0?(wt.remove(),ft.attr("id","fullscreencontent").show(),jQuery(Ct).append(ft),window.dispatchEvent(new Event("resize"))):St(wt,Ne,!1),window.GGBT_wsf_view.launchFullScreen(Ct)}else be=st,St(he,Ne,!1);if(!window.GGBT_wsf_view)for(se=0;sehe/4*3&&(wt=he/4*3),Ct=wt/5.8,Ze.setAttribute("src",y),Ze.setAttribute("width",wt),Ze.setAttribute("height",Ct);var ft=(he-wt)/2,Xt=(Ne-Ct)/2;Ze.style.left=ft+"px",Ze.style.top=Xt+"px",He.appendChild(Ze)}}return He.appendChild(se),He},tn=function(he){return he=he.toLowerCase(),he==="html5"||he==="screenshot"?he:"html5"},Ee=["web","webSimple","web3d","tablet","tablet3d","phone"],Me=function(he,Ne){if(ae=he,Ne){Te(ae,!0);return}var We=!Fe;if(We){var st=ne(ae);!isNaN(st)&&st<4.4&&(We=!1)}var He,at;window.location.protocol.substr(0,4)==="http"?He=window.location.protocol:He="http:";var se=ae.indexOf("//");se>0?at=ae:se===0?at=He+ae:at="https://www.geogebra.org/apps/5.2.814.0/";for(var Ze in Ee)if(ae.slice(Ee[Ze].length*-1)===Ee[Ze]||ae.slice((Ee[Ze].length+1)*-1)===Ee[Ze]+"/"){Te(at,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&We&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Ye(oe.showToolBar)&&!Ye(oe.showMenuBar)&&!Ye(oe.showAlgebraInput)&&!Ye(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?at+="webSimple/":at+="web3d/",Te(at,!1)},Te=function(he,Ne){if(he.requirejs){Be=he;return}he.slice(-1)!=="/"&&(he+="/"),Be=he,Ne===null&&(Ne=he.indexOf("http")===-1),ke=Ne,E="web.nocache.js",a=!1;var We=Be.split("/");We.length>1&&(!Ne&&We[We.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):Ee.indexOf(We[We.length-2])>=0&&(E=We[We.length-2]+".nocache.js")),We=he.split("/"),ae=We[We.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var st=parseFloat(ae);st!==NaN&&st<5&&he.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+st+" is deprecated. Using version latest instead."),Me("5.0",Ne))},Ge=function(he,Ne){window.console&&window.console.log&&(!Ne||typeof Ne.showLogging=="undefined"||Ne.showLogging&&Ne.showLogging!=="false")&&console.log(he)};oe.material_id!==void 0?le(Ve):Ve();function Ve(){var he=ot;ze!==null?he=ze:parseFloat(he)<5&&(he="5.0"),Me(he,!1),me!==null&&Te(me,ke),pe=!0}return Pe},GGBAppletUtils=function(){"use strict";function Pe(){return window.GGBT_wsf_edit!==void 0}function ot(pe,ze){ze!=1?(pe.style.transformOrigin="0% 0% 0px",pe.style.webkitTransformOrigin="0% 0% 0px",pe.style.transform="scale("+ze+","+ze+")",pe.style.webkitTransform="scale("+ze+","+ze+")",pe.style.maxWidth="initial",pe.querySelector(".ggb_preview")!==null&&(pe.querySelector(".ggb_preview").style.maxWidth="initial"),pe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(pe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),pe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(pe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(pe.style.transform="none",pe.style.webkitTransform="none")}function oe(pe,ze,me,Le,ye,ve){var Be=null;if(ve!=null&&ve!="")for(var ke=pe.parentNode;ke!=null;)if((" "+ke.className+" ").indexOf(" "+ve+" ")>-1){Be=ke;break}else ke=ke.parentNode;var be=0,ae=0,E=0,a=0,x=0,y=0,z=0;if(Be)be=Be.offsetWidth,ae=Math.max(Le?Be.offsetWidth:0,Be.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(be=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),E=be):(be=window.innerWidth,ae=window.innerHeight,E=window.innerWidth),pe){var ee=pe.getBoundingClientRect();ee.left>0&&ee.left<=be&&(ye===void 0||!ye)&&(document.dir==="rtl"?(x=be-ee.width-ee.left,y=E<=480?10:30):(y=ee.left,x=E<=480?10:30),a=y+x)}if(pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=pe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return pe&&((me===void 0||!me)&&ze>0&&ze+a1&&(ve=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ve=!0),!(pe.hasOwnProperty("disableAutoScale")&&pe.disableAutoScale))ye=b(pe,ze,ve,me,pe.scaleContainerClass);else return Le;return ve&&(!pe.hasOwnProperty("scale")||Le===1)?ye:Math.min(Le,ye)}function Ce(pe){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),Le=pe.getBoundingClientRect(),ye=(ze-Le.width)/2,ve=(me-Le.height)/2;ve<0&&(ve=0),pe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ye<40?pe.style.left="40px":pe.style.left=ye+"px",pe.style.top=ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ve<40?pe.style.top="40px":pe.style.top=ve+"px",pe.style.left=ye+"px")}function Ie(pe,ze){var me=pe.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(pe)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var Le=Fe(ze,pe);Pe()&&me.setAttribute("data-param-scale",Le);for(var ye=null,ve=0;ve=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(Pe){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Pe){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Pe){var ot=c[Pe];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function Pe(pe){var ze=pe.lastIndexOf(rb);ze==-1&&(ze=pe.length);var me=pe.indexOf(sb);me==-1&&(me=pe.length);var Le=pe.lastIndexOf(tb,Math.min(me,ze));return Le>=O?pe.substring(O,Le+P):W}function ot(pe){if(!pe.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=pe+vb,pe=Pe(ze.src)}return pe}function oe(){var pe=__gwt_getMetaProperty(wb);return pe!=null?pe:W}function b(){for(var pe=o.getElementsByTagName(_),ze=O;zeO?pe[pe.length-P].href:W}function Ce(){var pe=o.location;return pe.href==pe.protocol+zb+pe.host+pe.pathname+pe.search+pe.hash}var Ie=oe();return Ie==W&&(Ie=b()),Ie==W&&(Ie=Fe()),Ie==W&&Ce()&&(Ie=Pe(o.location.href)),Ie=ot(Ie),Ie}function C(Pe){return Pe.match(/^\//)||Pe.match(/^[a-zA-Z]+:\/\//)?Pe:webModule.__moduleBase+Pe}function D(){var Pe=[],ot=O,oe=[],b=[];function Fe(pe){var ze=b[pe](),me=oe[pe];if(ze in me)return ze;var Le=[];for(var ye in me)Le[me[ye]]=ye;throw r&&r(pe,Le,ze),null}if(__gwt_isKnownPropertyValue=function(pe,ze){return ze in oe[pe]},webModule.__getPropMap=function(){var pe={};for(var ze in oe)oe.hasOwnProperty(ze)&&(pe[ze]=Fe(ze));return pe},webModule.__computePropValue=Fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ce;try{Ce=Cb;var Ie=Ce.indexOf(Db);Ie!=-1&&(ot=parseInt(Ce.substring(Ie+P),$),Ce=Ce.substring(O,Ie))}catch(pe){}return webModule.__softPermutationId=ot,C(Ce+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(Pe,ot,oe){"use strict";oe.d(ot,{Ax:function(){return Ie},Ds:function(){return pe},KI:function(){return me},SI:function(){return Ce},f1:function(){return Fe}});var b=oe(78323);function Fe(Le){let ye=!0;if(Le.length>0){for(let ve=0;vea in E?Ce(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,ve=(E,a)=>{for(var x in a||(a={}))me.call(a,x)&&ye(E,x,a[x]);if(ze)for(var x of ze(a))Le.call(a,x)&&ye(E,x,a[x]);return E},Be=(E,a)=>Ie(E,pe(a)),ke=(E,a)=>{var x={};for(var y in E)me.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&ze)for(var y of ze(E))a.indexOf(y)<0&&Le.call(E,y)&&(x[y]=E[y]);return x},be=(E,a,x)=>new Promise((y,z)=>{var ee=re=>{try{ne(x.next(re))}catch(ie){z(ie)}},te=re=>{try{ne(x.throw(re))}catch(ie){z(ie)}},ne=re=>re.done?y(re.value):Promise.resolve(re.value).then(ee,te);ne((x=x.apply(E,a)).next())});const ae=E=>{var a=E,{children:x}=a,y=ke(a,["children"]);const[z,ee]=(0,Fe.useState)(!1);return Fe.createElement(b.ZP,Be(ve({},y),{loading:z,onClick:te=>be(void 0,null,function*(){try{ee(!0),yield y.onClick(te),ee(!1)}catch(ne){console.error(ne),ee(!1)}})}),x)}},12306:function(Pe,ot,oe){"use strict";var b=oe(86204),Fe=oe.n(b),Ce=Object.defineProperty,Ie=(Le,ye,ve)=>ye in Le?Ce(Le,ye,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Le[ye]=ve,pe=(Le,ye,ve)=>Ie(Le,typeof ye!="symbol"?ye+"":ye,ve),ze=(Le,ye,ve)=>new Promise((Be,ke)=>{var be=a=>{try{E(ve.next(a))}catch(x){ke(x)}},ae=a=>{try{E(ve.throw(a))}catch(x){ke(x)}},E=a=>a.done?Be(a.value):Promise.resolve(a.value).then(be,ae);E((ve=ve.apply(Le,ye)).next())});class me extends b.EventEmitter{constructor(ye,ve){super(),pe(this,"url"),pe(this,"body"),pe(this,"fullContent",""),pe(this,"controller",null),pe(this,"buffer",""),this.url=ye,this.body=ve}startStream(){return ze(this,null,function*(){this.controller=new AbortController;const{signal:ye}=this.controller;try{const ve=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:ye});if(!ve.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ve.status}`);const Be=ve.headers.get("content-type");if(!Be)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Be.includes("application/json")){const ae=yield ve.json();this.emit("error",ae);return}if(!Be.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ke=ve.body.getReader(),be=new TextDecoder("utf-8");for(;;){const{done:ae,value:E}=yield ke.read();if(ae)break;const a=be.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const z=y.slice(5).trim();if(z==="[DONE]")break;try{const ee=JSON.parse(z);ee.data&&this.handleData(ee.data)}catch(ee){this.buffer=y+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(ve){ve.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ve.message)}})}handleData(ye){ye.content&&(this.fullContent+=ye.content,this.emit("data",{chunk:ye,full:this.fullContent}))}cancelRequest(){var ye;(ye=this.controller)==null||ye.abort()}}ot.Z=me},57593:function(Pe,ot,oe){"use strict";oe.d(ot,{Z:function(){return Ee}});var b=oe(59301),Fe=oe(97831),Ce=oe(66328),Ie=oe(3977),pe=oe(18369),ze=oe(56102),me={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Le=oe(8591),ye=oe(11611),ve=oe(13058),Be=oe(30084),ke=oe(10787),be=oe(79562),ae=oe(43428),E=oe(95237),a=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(95440),z=oe(16338),ee=oe(75353),te=oe(59301),ne=(Me,Te,Ge)=>new Promise((Ve,he)=>{var Ne=He=>{try{st(Ge.next(He))}catch(at){he(at)}},We=He=>{try{st(Ge.throw(He))}catch(at){he(at)}},st=He=>He.done?Ve(He.value):Promise.resolve(He.value).then(Ne,We);st((Ge=Ge.apply(Me,Te)).next())});const re=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(ve){ve.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ve.message)}})}handleData(ye){ye.content&&(this.fullContent+=ye.content,this.emit("data",{chunk:ye,full:this.fullContent}))}cancelRequest(){var ye;(ye=this.controller)==null||ye.abort()}}ot.Z=me},57593:function(Pe,ot,oe){"use strict";oe.d(ot,{Z:function(){return Ee}});var b=oe(59301),Fe=oe(97831),Ce=oe(66328),Ie=oe(3977),pe=oe(18369),ze=oe(56102),me={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Le=oe(8591),ye=oe(11611),ve=oe(55939),Be=oe(30084),ke=oe(10787),be=oe(79562),ae=oe(43428),E=oe(95237),a=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(95440),z=oe(16338),ee=oe(75353),te=oe(59301),ne=(Me,Te,Ge)=>new Promise((Ve,he)=>{var Ne=He=>{try{st(Ge.next(He))}catch(at){he(at)}},We=He=>{try{st(Ge.throw(He))}catch(at){he(at)}},st=He=>He.done?Ve(He.value):Promise.resolve(He.value).then(Ne,We);st((Ge=Ge.apply(Me,Te)).next())});const re=` diff --git a/p__Classrooms__Lists__Exercise__Add__index.f033baa9.async.js b/p__Classrooms__Lists__Exercise__Add__index.ce0b2840.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Add__index.f033baa9.async.js rename to p__Classrooms__Lists__Exercise__Add__index.ce0b2840.async.js index 4661856d5c..78eb598b41 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.f033baa9.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.ce0b2840.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[292],{87169:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var y=ae(54476),pe=ae(59301),Fe={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"},Me=Fe,ke=ae(7657),Ue=function(we,Re){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Re,icon:Me}))},xe=pe.forwardRef(Ue),Qe=xe},12893:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var y=ae(54476),pe=ae(59301),Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Me=Fe,ke=ae(7657),Ue=function(we,Re){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Re,icon:Me}))},xe=pe.forwardRef(Ue),Qe=xe},32134:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var y=ae(54476),pe=ae(59301),Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Me=Fe,ke=ae(7657),Ue=function(we,Re){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Re,icon:Me}))},xe=pe.forwardRef(Ue),Qe=xe},27431:function(it,Tt){"use strict";Tt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},20577:function(it,Tt){"use strict";Tt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},19201:function(it,Tt){"use strict";Tt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},30561:function(it,Tt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(Ie,we,Re)=>we in Ie?pe(Ie,we,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ie[we]=Re,xe=(Ie,we)=>{for(var Re in we||(we={}))Me.call(we,Re)&&Ue(Ie,Re,we[Re]);if(Fe)for(var Re of Fe(we))ke.call(we,Re)&&Ue(Ie,Re,we[Re]);return Ie};const Qe=Ie=>React.createElement("svg",xe({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Ie),React.createElement("title",null,"\u6D4B\u8BD5AI\u8BC4\u5206"),React.createElement("path",{d:"M5.19 1.488a2.133 2.133 0 0 1 3.62 0l.96 1.54a.25.25 0 0 0 .152.11l1.76.437a2.133 2.133 0 0 1 1.12 3.443l-1.234 1.465.136 1.912a2.133 2.133 0 0 1-1.823 2.263l-.152.016a2.133 2.133 0 0 1-.954-.15l-1.681-.683a.25.25 0 0 0-.188 0l-1.681.682a2.133 2.133 0 0 1-2.93-2.128l.13-1.81a.25.25 0 0 0-.058-.178L1.198 7.018a2.133 2.133 0 0 1 1.12-3.443l1.76-.436a.25.25 0 0 0 .152-.11Zm2.053.543a.633.633 0 0 0-.78.25l-.96 1.54a1.75 1.75 0 0 1-1.064.774l-1.761.436a.633.633 0 0 0-.332 1.022L3.514 7.44c.294.348.44.797.407 1.251l-.13 1.81a.633.633 0 0 0 .87.631l1.681-.682a1.75 1.75 0 0 1 1.316 0l1.681.682a.633.633 0 0 0 .87-.631l-.18-2.518 1.625-1.931a.633.633 0 0 0-.332-1.022l-1.761-.436a1.75 1.75 0 0 1-1.065-.774l-.959-1.54a.633.633 0 0 0-.203-.203Zm1.544 5.23a.75.75 0 0 1 .102 1.493l-.102.007H5.362a.75.75 0 0 1-.102-1.494l.102-.006h3.425Z",fill:"#3061D0",fillRule:"nonzero"}));Tt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuMTUyLjExbDEuNzYuNDM3YTIuMTMzIDIuMTMzIDAgMCAxIDEuMTIgMy40NDNsLTEuMjM0IDEuNDY1LjEzNiAxLjkxMmEyLjEzMyAyLjEzMyAwIDAgMS0xLjgyMyAyLjI2M2wtLjE1Mi4wMTZhMi4xMzMgMi4xMzMgMCAwIDEtLjk1NC0uMTVsLTEuNjgxLS42ODNhLjI1LjI1IDAgMCAwLS4xODggMGwtMS42ODEuNjgyYTIuMTMzIDIuMTMzIDAgMCAxLTIuOTMtMi4xMjhsLjEzLTEuODFhLjI1LjI1IDAgMCAwLS4wNTgtLjE3OEwxLjE5OCA3LjAxOGEyLjEzMyAyLjEzMyAwIDAgMSAxLjEyLTMuNDQzbDEuNzYtLjQzNmEuMjUuMjUgMCAwIDAgLjE1Mi0uMTFabTIuMDUzLjU0M2EuNjMzLjYzMyAwIDAgMC0uNzguMjVsLS45NiAxLjU0YTEuNzUgMS43NSAwIDAgMS0xLjA2NC43NzRsLTEuNzYxLjQzNmEuNjMzLjYzMyAwIDAgMC0uMzMyIDEuMDIyTDMuNTE0IDcuNDRjLjI5NC4zNDguNDQuNzk3LjQwNyAxLjI1MWwtLjEzIDEuODFhLjYzMy42MzMgMCAwIDAgLjg3LjYzMWwxLjY4MS0uNjgyYTEuNzUgMS43NSAwIDAgMSAxLjMxNiAwbDEuNjgxLjY4MmEuNjMzLjYzMyAwIDAgMCAuODctLjYzMWwtLjE4LTIuNTE4IDEuNjI1LTEuOTMxYS42MzMuNjMzIDAgMCAwLS4zMzItMS4wMjJsLTEuNzYxLS40MzZhMS43NSAxLjc1IDAgMCAxLTEuMDY1LS43NzRsLS45NTktMS41NGEuNjMzLjYzMyAwIDAgMC0uMjAzLS4yMDNabTEuNTQ0IDUuMjNhLjc1Ljc1IDAgMCAxIC4xMDIgMS40OTNsLS4xMDIuMDA3SDUuMzYyYS43NS43NSAwIDAgMS0uMTAyLTEuNDk0bC4xMDItLjAwNmgzLjQyNVoiIGZpbGw9IiMzMDYxRDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},53956:function(it,Tt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(Ie,we,Re)=>we in Ie?pe(Ie,we,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ie[we]=Re,xe=(Ie,we)=>{for(var Re in we||(we={}))Me.call(we,Re)&&Ue(Ie,Re,we[Re]);if(Fe)for(var Re of Fe(we))ke.call(we,Re)&&Ue(Ie,Re,we[Re]);return Ie};const Qe=Ie=>React.createElement("svg",xe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ie),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Tt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},12082:function(it,Tt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(Ie,we,Re)=>we in Ie?pe(Ie,we,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ie[we]=Re,xe=(Ie,we)=>{for(var Re in we||(we={}))Me.call(we,Re)&&Ue(Ie,Re,we[Re]);if(Fe)for(var Re of Fe(we))ke.call(we,Re)&&Ue(Ie,Re,we[Re]);return Ie};const Qe=Ie=>React.createElement("svg",xe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ie),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Tt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},87851:function(){"use strict";function it(ie,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ie,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(it.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(it.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(it.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(it.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,E){var a=go.Shape._FigureParameters[ie];return a?a[E]:null},go.Shape.setFigureParameter=function(ie,E,a){if(!(a instanceof it))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 x=go.Shape._FigureParameters[ie];x||(x=[],go.Shape._FigureParameters[ie]=x),x[E]=a};var Tt=[];function ae(ie,E){var a=Tt.pop();return a===void 0?new go.Point(ie,E):(a.x=ie,a.y=E,a)}function y(){var ie=Tt.pop();return ie===void 0?new go.Point:ie}function pe(ie){Tt.push(ie)}function Fe(ie,E,a,x,b,z,te,oe,ue){ue||(ue=new go.Point);var le=ie-a,Ee=b-te,be=NaN,We=NaN;if(le===0)if(Ee===0)ie===a&&(be=ie,We=E);else{var De=(z-oe)/Ee,st=z-De*b;be=ie,We=De*be+st}else if(Ee===0){var Oe=(E-x)/le,Ke=E-Oe*ie;be=b,We=Oe*be+Ke}else{var Oe=(E-x)/le,De=(z-oe)/Ee,Ke=E-Oe*ie,st=z-De*b;be=(st-Ke)/(Oe-De),We=Oe*be+Ke}return ue.x=be,ue.y=We,ue}function Me(ie,E,a,x,b,z,te,oe,ue,le,Ee,be,We,De){var st=1-ue,Oe=ue,Ke=ie*st+a*Oe,ze=E*st+x*Oe,Xe=a*st+b*Oe,Ce=x*st+z*Oe,ct=b*st+te*Oe,mt=z*st+oe*Oe,Ct=Ke*st+Xe*Oe,Et=ze*st+Ce*Oe,fn=Xe*st+ct*Oe,un=Ce*st+mt*Oe,Vt=Ct*st+fn*Oe,ht=Et*st+un*Oe;le.x=Ke,le.y=ze,Ee.x=Ct,Ee.y=Et,be.x=Vt,be.y=ht,We.x=fn,We.y=un,De.x=ct,De.y=mt}var ke=new go.Spot(.156,.156),Ue=new go.Spot(.844,.844),xe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new it("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*xe,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-b,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,E,a){var x=E/2,b=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=ke,b.spot2=Ue,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,xe*E,0,E,(1-xe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,xe*a,(1-xe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,xe*a,xe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-xe)*E,0,0,(1-xe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new it("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(x=.5);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+oe,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,oe,oe).close())),z.spot1=ke,z.spot2=Ue,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new it("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new it("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,E,a){var x=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,oe=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,z,te,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,E,a){var x=xe/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*E,z*a,E,(1-x)*a,(b+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new it("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new it("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new it("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,E,a){var x=ie?ie.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var z=E/2,te=a/2,oe=Math.atan2(a,E),ue=x-Math.min(Math.cos(oe)*x/2,z),le=x-Math.min(Math.sin(oe)*x/2,te),b=new go.Geometry,Ee=new go.PathFigure(ue,0,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,E-ue,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,a-le)),Ee.add(new go.PathSegment(go.PathSegment.Line,E-ue,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,ue,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new it("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new it("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new it("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,xe*E,0,E,(.5-xe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+xe/2)*a,xe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.4*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,oe=0,ue=z*xe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+oe)*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te)*E,(.5-ue+oe)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te+.05)*E,(.5-ue+oe-.02)*a)),z=.2,te=0,oe=-.3,ue=z*xe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+oe)*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te)*E,(.5-ue+oe)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+oe)*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te)*E,(.5-ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),z=.2,te=-.3,oe=0,ue=z*xe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te-.05)*E,(.5-ue+oe-.02)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+oe)*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te)*E,(.5-ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,oe=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,oe*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*oe,z*E,z*E).close()),b=new go.PathFigure(E*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),oe=.75,b=new go.PathFigure((te+z)*E,oe*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*oe,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ie,E,a){var x=.8535533905932737,b=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=.5,oe=.5,ue=new go.PathFigure(te*E,(oe-z)*a);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),z=.4,b=xe*.4;var le=y(),Ee=y(),be=y(),We=y();Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.42,le,Ee,be,We,We);var De=y(),st=y(),Oe=y();Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.58,We,We,Oe,De,st);var Ke=y(),ze=y(),Xe=y();Me(te,oe+z,te-b,oe+z,te-z,oe+b,te-z,oe,.42,Ke,ze,Xe,We,We);var Ce=y(),ct=y(),mt=y();return Me(te,oe+z,te-b,oe+z,te-z,oe+b,te-z,oe,.58,We,We,mt,Ce,ct),ue.add(new go.PathSegment(go.PathSegment.Move,mt.x*E,mt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,Ce.x*E,Ce.y*a,ct.x*E,ct.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,le.x*E,le.y*a,Ee.x*E,Ee.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,Xe.x*E,Xe.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,Oe.x*E,Oe.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,De.x*E,De.y*a,st.x*E,st.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Xe.x*E,Xe.y*a,Ke.x*E,Ke.y*a,ze.x*E,ze.y*a).close()),pe(le),pe(Ee),pe(be),pe(We),pe(De),pe(st),pe(Oe),pe(Ke),pe(ze),pe(Xe),pe(Ce),pe(ct),pe(mt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new it("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var b=(E-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,E,a){var x=new go.Geometry,b=xe*.4,z=.4,te=.5,oe=.5,ue=y(),le=y(),Ee=y(),be=y(),We=new go.PathFigure((te-z)*E,oe*a,!1);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.44,Ee,be,le,ue,ue),We.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a));var De=ae(le.x,le.y);Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.56,ue,ue,le,Ee,be);var st=ae(le.x,le.y);We.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.95*.9)*E,De.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,De.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(st.x*.1+.9)*E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(st.x*.1+.9)*E,(st.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,st.x*E,st.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),z=.35,b=xe*.35;var Oe=new go.PathFigure(te*E,(oe-z)*a,!1);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a));var Ke=new go.PathFigure((te-z)*E,oe*a,!1);return x.add(Ke),pe(ue),pe(le),pe(Ee),pe(be),pe(De),pe(st),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,E,a){var x=new go.Geometry,b=.375,z=0,te=-.125,oe=b*xe,ue=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+oe+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-oe+te)*a,(.5+oe+z)*E,(.5-b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+oe+te)*a,(.5-oe+z)*E,(.5+b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),b=.325,z=0,te=-.125,oe=b*xe;var ue=new go.PathFigure((1-.5+b+z)*E,(.5+te)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+oe+te)*a,(.5+oe+z)*E,(.5+b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a,(.5-oe+z)*E,(.5-b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+oe+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-oe+te)*a));var ue=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);return x.add(ue),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,E,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,E,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new it("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new it("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*E,te=(.5-b/2)*a,oe=(.5+b/2)*a,ue=new go.Geometry,le=new go.PathFigure(0,te,!0);ue.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,te)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,oe)),le.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ue.spot1=new go.Spot(0,te/a);var Ee=Fe(0,oe/a,1,oe/a,z/E,1,1,.5,y());return ue.spot2=new go.Spot(Ee.x,Ee.y),pe(Ee),ue}),go.Shape.setFigureParameter("Arrow2",0,new it("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new it("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var z=E-x,te=(a-b)/2,oe=te+b,ue=new go.Geometry,le=new go.PathFigure(0,te,!0);ue.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,te)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,oe)),le.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ue.spot1=new go.Spot(0,te/a);var Ee=Fe(0,oe/a,1,oe/a,z/E,1,1,.5,y());return ue.spot2=new go.Spot(Ee.x,Ee.y),pe(Ee),ue}),go.Shape.defineFigureGenerator("Chevron",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new it("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ue=Fe(0,.5,.3,0,0,b/a,.1,b/a,y());return te.spot1=new go.Spot(ue.x,ue.y),ue=Fe(.7,1,1,.5,0,z/a,1,z/a,ue),te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new it("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new it("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,oe=(a-b)/2,ue=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,oe=0,ue=a):(z=0,te=a,oe=0,ue=a));var le=new go.Geometry,Ee=new go.PathFigure(E,.5*a,!0);le.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe).close());var be=Fe(0,.5,.3,oe/a,0,z/a,1,z/a,y());return le.spot1=new go.Spot(be.x,be.y),be=Fe(.7,ue/a,1,.5,0,te/a,1,te/a,be),le.spot2=new go.Spot(be.x,be.y),pe(be),le}),go.Shape.setFigureParameter("IBeamArrow",0,new it("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,b/a);var ue=Fe(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new it("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new it("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,oe=(a-b)/2,ue=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,oe=0,ue=a):(z=0,te=a,oe=0,ue=a));var le=new go.Geometry,Ee=new go.PathFigure(E,.5*a,!0);le.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe).close()),le.spot1=new go.Spot(0,z/a);var be=Fe(.7,ue/a,1,.5,0,te/a,1,te/a,y());return le.spot2=new go.Spot(be.x,be.y),pe(be),le}),go.Shape.setFigureParameter("Pointer",0,new it("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=Fe(.2,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new it("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b.spot1=new go.Spot(x,.35);var te=Fe(0,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new it("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var ue=Fe(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new it("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,z=b+x;x>a&&(b=0,z=a);var te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,b/a);var ue=Fe(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("SquareArrow",0,new it("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-xe*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var oe=new go.PathFigure(E,x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-xe*x,(.5+z)*E,2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-xe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,a-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-xe*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-xe*x));var oe=new go.PathFigure(0,a-x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-xe*x,(.5-z)*E,a-2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-xe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0));var oe=new go.PathFigure(x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+xe*x,0,2*x,(.5-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+xe*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(E-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var oe=new go.PathFigure(E-x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-xe*x,0,E-2*x,(.5-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-xe*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ie,E,a){var x=new go.Geometry,b=.2,z=.1,te=xe*b,oe=xe*z,ue=.5,le=.1,Ee=new go.PathFigure(ue*E,(le+z)*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-b)*E,le*a,(ue-te)*E,(le+z)*a,(ue-b)*E,(le+oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-z)*a,(ue-b)*E,(le-oe)*a,(ue-te)*E,(le-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+b)*E,le*a,(ue+te)*E,(le-z)*a,(ue+b)*E,(le-oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+z)*a,(ue+b)*E,(le+oe)*a,(ue+te)*E,(le+z)*a));var be=.05,We=xe*be;ue=.05,le=.25;var De=new go.PathFigure(.5*E,.2*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ue=.95,le=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*E,le*a,(ue+We)*E,(le-be)*a,(ue+be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,We=xe*be,ue=.825,le=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue+be)*E,(le-We)*a,(ue+We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,le*a,(ue-We)*E,(le-be)*a,(ue-be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,We=xe*be,ue=.5,le=.7,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue+be)*E,(le-We)*a,(ue+We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,le*a,(ue-We)*E,(le-be)*a,(ue-be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,We=xe*be,ue=.175,le=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue+be)*E,(le-We)*a,(ue+We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,le*a,(ue-We)*E,(le-be)*a,(ue-be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,We=xe*be,ue=.05,le=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue-be)*E,(le-We)*a,(ue-We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new it("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var oe=new go.PathFigure(E,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+b)*E,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var oe=new go.PathFigure(E,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=xe*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var oe=new go.PathFigure(0,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var oe=new go.PathFigure(b*E,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),oe.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ie,E,a){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=xe*.5,oe=.5,ue=new go.PathFigure(E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,a,E,(oe+te)*a,(oe+te)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*a,(oe-te)*E,a,0,(oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,0,0,(oe-te)*a,(oe-te)*E,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,oe*a,(oe+te)*E,0,E,(oe-te)*a));var le=new go.PathFigure((z+b)*E,(z+b)*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),le.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+b)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(z+b)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+b)*a,(z+b)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var oe=new go.PathFigure(.5*b*E,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*E,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var oe=new go.PathFigure(E,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+b)*E,0,E,(.5-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+b)*a,(.5+b)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var oe=new go.PathFigure(E,z*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ue=new go.PathFigure(.8*E,.75*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(ie,E,a){var x=new go.Geometry,b=xe*.1,z=.1,te=.9,oe=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var le=new go.PathFigure((te+z)*E,oe*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe-z)*a,(te+z)*E,(oe-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.4,te=xe*.1,oe=.1,ue=.9,le=.5,Ee=new go.PathFigure(.8*E,.5*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+b)*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+b)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((ue+oe)*E,le*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+oe)*a,(ue+oe)*E,(le+te)*a,(ue+te)*E,(le+oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E,le*a,(ue-te)*E,(le+oe)*a,(ue-oe)*E,(le+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-oe)*a,(ue-oe)*E,(le-te)*a,(ue-te)*E,(le-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E,le*a,(ue+te)*E,(le-oe)*a,(ue+oe)*E,(le-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=0,oe=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(oe-b)*a,.7*E,(oe-z)*a)),b=.1,z=xe*.1,te=.9,oe=.5;var le=new go.PathFigure((te-b)*E,oe*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=0,oe=.5,ue=new go.PathFigure(0,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(oe-b)*a,.8*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(oe+z)*a,(te+z+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=.2,oe=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.8*E,.5*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(oe-b)*a,.7*E,(oe-z)*a)),b=.1,z=xe*.1,te=.9,oe=.5;var Ee=new go.PathFigure((te-b)*E,oe*a,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=.2,oe=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.2*E,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(oe-b)*a,.9*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(ie,E,a){var x=new go.Geometry,b=xe*.1,z=.1,te=.1,oe=.5,ue=new go.PathFigure((te-b*.5)*E,a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.3,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.5,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.9,ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*E,a,(te+z)*E,0,(te+b)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=.5,oe=.5,ue=new go.PathFigure((te-z)*E,oe*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe-z)*a,(te+z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,oe*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,oe*a,te*E,(oe-z)*a,te*E,(oe+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ie,E,a){var x=new go.Geometry,b=E,z=a;E=E*.38,a=a*.6;var te=xe*.8,oe=.8,ue=0,le=.5,Ee=(b-E)/2,be=(z-a)/2,We=new go.PathFigure(ue*E+Ee,(le+oe)*a+be,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+be,(ue-te)*E+Ee,(le+oe)*a+be,(ue-oe)*E+Ee,(le+te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue-oe)*E+Ee,(le-te)*a+be,(ue-te)*E+Ee,(le-oe)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe+te*.5)*E+Ee,le*a+be,ue*E+Ee,(le-oe)*a+be,(ue-oe+te*.5)*E+Ee,(le-te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue-oe+te*.5)*E+Ee,(le+te)*a+be,ue*E+Ee,(le+oe)*a+be).close()),te=xe*.4,oe=.4,ue=.2,le=.5;var De=new go.PathFigure(ue*E+Ee,(le+oe)*a+be,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+be,(ue-te)*E+Ee,(le+oe)*a+be,(ue-oe)*E+Ee,(le+te)*a+be)),De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue-oe)*E+Ee,(le-te)*a+be,(ue-te)*E+Ee,(le-oe)*a+be)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe+te*.5)*E+Ee,le*a+be,ue*E+Ee,(le-oe)*a+be,(ue-oe+te*.5)*E+Ee,(le-te)*a+be)),De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue-oe+te*.5)*E+Ee,(le+te)*a+be,ue*E+Ee,(le+oe)*a+be).close()),te=xe*.2,oe=.2,ue=.5,le=.5;var st=new go.PathFigure((ue-oe)*E+Ee,le*a+be,!0);x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue-oe)*E+Ee,(le-te)*a+be,(ue-te)*E+Ee,(le-oe)*a+be)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+be,(ue+te)*E+Ee,(le-oe)*a+be,(ue+oe)*E+Ee,(le-te)*a+be)),st.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue+oe)*E+Ee,(le+te)*a+be,(ue+te)*E+Ee,(le+oe)*a+be)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+be,(ue-te)*E+Ee,(le+oe)*a+be,(ue-oe)*E+Ee,(le+te)*a+be)),te=xe*.4,oe=.4,ue=.8,le=.5;var Oe=new go.PathFigure(ue*E+Ee,(le-oe)*a+be,!0);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+be,(ue+te)*E+Ee,(le-oe)*a+be,(ue+oe)*E+Ee,(le-te)*a+be)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue+oe)*E+Ee,(le+te)*a+be,(ue+te)*E+Ee,(le+oe)*a+be)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe-te*.5)*E+Ee,le*a+be,ue*E+Ee,(le+oe)*a+be,(ue+oe-te*.5)*E+Ee,(le+te)*a+be)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue+oe-te*.5)*E+Ee,(le-te)*a+be,ue*E+Ee,(le-oe)*a+be).close()),te=xe*.8,oe=.8,ue=1,le=.5;var Ke=new go.PathFigure(ue*E+Ee,(le-oe)*a+be,!0);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+be,(ue+te)*E+Ee,(le-oe)*a+be,(ue+oe)*E+Ee,(le-te)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue+oe)*E+Ee,(le+te)*a+be,(ue+te)*E+Ee,(le+oe)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe-te*.5)*E+Ee,le*a+be,ue*E+Ee,(le+oe)*a+be,(ue+oe-te*.5)*E+Ee,(le+te)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue+oe-te*.5)*E+Ee,(le-te)*a+be,ue*E+Ee,(le-oe)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.35*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var oe=new go.PathFigure(0,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ie,E,a){var x=new go.Geometry,b=xe*.4,z=.4,te=.5,oe=.5,ue=y(),le=y(),Ee=y(),be=y();Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.5,ue,ue,le,Ee,be);var We=ae(le.x,le.y),De=new go.PathFigure(le.x*E,le.y*a,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),Me(te-z,oe,te-z,oe-b,te-b,oe-z,te,oe-z,.5,Ee,be,le,ue,ue),De.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a)),b=xe*.3,z=.3,Me(te-z,oe,te-z,oe-b,te-b,oe-z,te,oe-z,.5,Ee,be,le,ue,ue),De.add(new go.PathSegment(go.PathSegment.Line,le.x*E,le.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,be.x*E,be.y*a,Ee.x*E,Ee.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.5,ue,ue,le,Ee,be),De.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,be.x*E,be.y*a,Ee.x*E,Ee.y*a).close());var De=new go.PathFigure(.45*E,0,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),pe(ue),pe(le),pe(Ee),pe(be),pe(We),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,oe,ue){te.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*E,(.8+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*E,(.5+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*E,(.5+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*E,(.8+ue)*a).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.37*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,E,a){var x=new go.Geometry,b=.5,z=0,te=0,oe=b*xe,ue=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,Ee=1,be=.5,We=.5,De=0,st=new go.PathFigure(ue*E,(1-le)*a,!1);return x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,be*a,Ee*E,.7*a,Ee*E,be*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We+z)*E,(De+z)*a,(.5+b+z)*E,(.5-oe+z)*a,(.5+oe+z)*E,(.5-b+z)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-b+z)*E,(.5+oe+te)*a,(.5-oe+z)*E,.9*a)),st.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),st.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),st.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.7*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,oe=.5,ue=te,le=Math.PI/4,Ee=4*(1-Math.cos(le))/(3*Math.sin(le)),be=Ee*.5,We=te,De=te,st=Ee*We,Oe=Ee*De;z.add(new go.PathSegment(go.PathSegment.Bezier,(oe-We)*E,ue*a,(oe-(st+We)/2)*E,(ue+(De+Oe)/2)*a,(oe-We)*E,(ue+Oe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(ue-De)*a,(oe-We)*E,(ue-Oe)*a,(oe-st)*E,(ue-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(oe+We)*E,ue*a,(oe+st)*E,(ue-De)*a,(oe+We)*E,(ue-Oe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(oe+We)*E,(ue+Oe)*a,(oe+(st+We)/2)*E,(ue+(De+Oe)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Ke=new go.PathFigure(.2*E,a,!1);x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var ze=new go.PathFigure(.8*E,a,!1);return x.add(ze),ze.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.05*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.45*E,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=new go.PathFigure(E,b*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,a,E,(b+z)*a,(b+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-z)*E,a,0,(b+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-z)*a,(b-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+z)*E,0,E,(b-z)*a));var oe=new go.PathFigure(b*E,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,.15*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.15*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,oe=xe*.1,ue=.2,le=.9,Ee=new go.PathFigure((ue-te)*E,le*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-te)*a,(ue-te)*E,(le-oe)*a,(ue-oe)*E,(le-te)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+te)*E,le*a,(ue+oe)*E,(le-te)*a,(ue+te)*E,(le-oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+te)*a,(ue+te)*E,(le+oe)*a,(ue+oe)*E,(le+te)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-te)*E,le*a,(ue-oe)*E,(le+te)*a,(ue-te)*E,(le+oe)*a).close()),te=.1,oe=xe*.1,ue=.8,le=.9;var be=new go.PathFigure((ue-te)*E,le*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-te)*a,(ue-te)*E,(le-oe)*a,(ue-oe)*E,(le-te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+te)*E,le*a,(ue+oe)*E,(le-te)*a,(ue+te)*E,(le-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+te)*a,(ue+te)*E,(le+oe)*a,(ue+oe)*E,(le+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-te)*E,le*a,(ue-oe)*E,(le+te)*a,(ue-te)*E,(le+oe)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var oe=new go.PathFigure(.5*E,.7*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ue=.1,le=xe*.1,Ee=.1,be=.9,We=new go.PathFigure((Ee-ue)*E,be*a,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be-ue)*a,(Ee-ue)*E,(be-le)*a,(Ee-le)*E,(be-ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ue)*E,be*a,(Ee+le)*E,(be-ue)*a,(Ee+ue)*E,(be-le)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be+ue)*a,(Ee+ue)*E,(be+le)*a,(Ee+le)*E,(be+ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ue)*E,be*a,(Ee-le)*E,(be+ue)*a,(Ee-ue)*E,(be+le)*a)),ue=.1,le=xe*.1,Ee=.4,be=.9;var De=new go.PathFigure((Ee-ue)*E,be*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be-ue)*a,(Ee-ue)*E,(be-le)*a,(Ee-le)*E,(be-ue)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ue)*E,be*a,(Ee+le)*E,(be-ue)*a,(Ee+ue)*E,(be-le)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be+ue)*a,(Ee+ue)*E,(be+le)*a,(Ee+le)*E,(be+ue)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ue)*E,be*a,(Ee-le)*E,(be+ue)*a,(Ee-ue)*E,(be+le)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var Ee=.05,be=xe*.05,We=.175,De=.95,oe=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a));var Ee=.05,be=xe*.05,We=.375,De=.95,ue=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a));var Ee=.05,be=xe*.05,We=.625,De=.95,le=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a));var Ee=.05,be=xe*.05,We=.825,De=.95,st=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a).close());var Oe=new go.PathFigure(0,a,!1);return x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var oe=.05,ue=xe*.05,le=.35,Ee=.775,be=new go.PathFigure((le-oe)*E,Ee*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(Ee-oe)*a,(le-oe)*E,(Ee-ue)*a,(le-ue)*E,(Ee-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*E,Ee*a,(le+ue)*E,(Ee-oe)*a,(le+oe)*E,(Ee-ue)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(Ee+oe)*a,(le+oe)*E,(Ee+ue)*a,(le+ue)*E,(Ee+oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*E,Ee*a,(le-ue)*E,(Ee+oe)*a,(le-oe)*E,(Ee+ue)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(ie,E,a){var x=new go.Geometry,b=.3,z=xe*.3,te=.5,oe=.7,ue=new go.PathFigure((te-b)*E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a));var le=new go.PathFigure(0,.7*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=.5,oe=.5,ue=new go.PathFigure((te-b)*E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a));var le=new go.PathFigure(.15*E,.5*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=.5,oe=.5,ue=new go.PathFigure((te-b)*E,oe*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a).close()),b=.05,z=xe*.05,te=.5,oe=.8;var le=new go.PathFigure((te-b)*E,oe*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var oe=new go.PathFigure(.678*E,.85*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ue=new go.PathFigure(.5*E,.1*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var oe=new go.PathFigure(E*.612,a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ue=new go.PathFigure(E*.816,a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var oe=new go.PathFigure(E*.055,.18*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ue=new go.PathFigure(E*1,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.55*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var oe=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ue=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,E,a){var x=new go.Geometry,b=8,z=b*xe,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var oe=new go.PathFigure(E*.83,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ue=new go.PathFigure(E*.83,a*1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var le=new go.PathFigure(E*.78,a*.05,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*xe,z=a*.8,te=new go.Geometry,oe=new go.PathFigure(x,0,!0);return te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-b,E-b,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),oe.add(new go.PathSegment(go.PathSegment.Line,0,x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ie,E,a){var x=new go.Geometry,b=15,z=b*xe,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var it={},Tt="5.0",ae={},y=null,pe=!1,Fe=!1,Me=null,ke=!1,Ue=null,xe=null,Qe=0;Qe4?parseFloat(Te):5};it.setHTML5Codebase=function(Te,rt){xe=Te,un(Te,rt)},it.setJavaCodebase=it.setJavaCodebaseVersion=it.isCompiledInstalled=it.setPreCompiledScriptPath=it.setPreCompiledResourcePath=function(){},it.setHTML5CodebaseVersion=function(Te,rt){var It=parseFloat(Te);if(It!==NaN&&It<5){console.log("The GeoGebra HTML5 codebase version "+It+" is deprecated. Using version latest instead.");return}Ue=Te,fn(Te,rt)},it.getHTML5CodebaseVersion=function(){return ie},it.getParameters=function(){return ae},it.setFontsCSSURL=function(Te){te=Te},it.setGiacJSURL=function(Te){},it.setJNLPFile=function(Te){we=Te},it.setJNLPBaseDir=function(Te){},it.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var rt="auto",It=ae.id,hn,Pt=!1,sn=0;sn=5)return!0;var Te=it.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},it.startAnimation=function(){var Te=it.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},it.stopAnimation=function(){var Te=it.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},it.getAppletObject=function(){var Te=ae.id!==void 0?ae.id:"ggbApplet";return window[Te]},it.resize=function(){};var st=function(Te,rt,It){var hn=document.createElement("param");hn.setAttribute("name",rt),hn.setAttribute("value",It),Te.appendChild(hn)},Oe=function(Te){return Te&&Te!=="false"},Ke=function(Te,rt,It){ue(ie)<=4.2&&(It=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Pt=document.createElement("div");Pt.classList.add("appletParameters","notranslate");var sn=rt.width,Be=rt.height;if(rt.disableAutoScale=rt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():rt.disableAutoScale,rt.width!==void 0)if(ue(ie)<=4.4)Oe(rt.showToolBar)&&(rt.height-=7),Oe(rt.showAlgebraInput)&&(rt.height-=37),rt.width<605&&Oe(rt.showToolBar)&&(rt.width=605,sn=605);else{var qe=100;(Oe(rt.showToolBar)||Oe(rt.showMenuBar))&&(rt.hasOwnProperty("customToolBar")&&(rt.customToolbar=rt.customToolBar),qe=Oe(rt.showMenuBar)?245:155),sn=5?(rt.appletOnLoad=function(On){var ya=Te.querySelector(".ggb_preview");ya&&ya.parentNode.removeChild(ya),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(pt),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(On)},_n||pt.appendChild(Zt)):Pt.appendChild(Zt),pt.appendChild(Pt),_n||Te.appendChild(pt),setTimeout(function(){it.resize()},1)}else{var At=document.createElement("div");At.className="applet_scaler",At.style.position="relative",At.style.display="block",At.appendChild(Pt),Te.appendChild(At),rt.appletOnLoad=function(On){it.resize(),nt(On)}}function yt(On,ya){ya&&typeof ya.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(On,ya.appletOnLoad):renderGGBElement(On),Vt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ya)}function Gn(On,ya){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:On,params:ya}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Za){yt(Za.article,Za.params)}),html5AppletsToProcess=null)},ue(ie)<5&&(On.className+=" geogebraweb")):yt(On,ya)}if(hn){scriptLoadStarted=!0;for(var Qn=0;Qn0?(qt.remove(),pt.attr("id","fullscreencontent").show(),jQuery(nt).append(pt),window.dispatchEvent(new Event("resize"))):Ke(qt,rt,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Ye=hn,Ke(Te,rt,!1);if(!window.GGBT_wsf_view)for(Be=0;BeTe/4*3&&(qt=Te/4*3),nt=qt/5.8,qe.setAttribute("src",b),qe.setAttribute("width",qt),qe.setAttribute("height",nt);var pt=(Te-qt)/2,_n=(rt-nt)/2;qe.style.left=pt+"px",qe.style.top=_n+"px",Pt.appendChild(qe)}}return Pt.appendChild(Be),Pt},Ct=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},Et=["web","webSimple","web3d","tablet","tablet3d","phone"],fn=function(Te,rt){if(ie=Te,rt){un(ie,!0);return}var It=!pe;if(It){var hn=ue(ie);!isNaN(hn)&&hn<4.4&&(It=!1)}var Pt,sn;window.location.protocol.substr(0,4)==="http"?Pt=window.location.protocol:Pt="http:";var Be=ie.indexOf("//");Be>0?sn=ie:Be===0?sn=Pt+ie:sn="https://www.geogebra.org/apps/5.2.814.0/";for(var qe in Et)if(ie.slice(Et[qe].length*-1)===Et[qe]||ie.slice((Et[qe].length+1)*-1)===Et[qe]+"/"){un(sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&It&&!y.is3D&&!y.AV&&!y.SV&&!y.CV&&!y.EV2&&!y.CP&&!y.PC&&!y.DA&&!y.FI&&!y.PV&&!Oe(ae.showToolBar)&&!Oe(ae.showMenuBar)&&!Oe(ae.showAlgebraInput)&&!Oe(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?sn+="webSimple/":sn+="web3d/",un(sn,!1)},un=function(Te,rt){if(Te.requirejs){Re=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),Re=Te,rt===null&&(rt=Te.indexOf("http")===-1),Ze=rt,E="web.nocache.js",a=!1;var It=Re.split("/");It.length>1&&(!rt&&It[It.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):Et.indexOf(It[It.length-2])>=0&&(E=It[It.length-2]+".nocache.js")),It=Te.split("/"),ie=It[It.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var hn=parseFloat(ie);hn!==NaN&&hn<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),fn("5.0",rt))},Vt=function(Te,rt){window.console&&window.console.log&&(!rt||typeof rt.showLogging=="undefined"||rt.showLogging&&rt.showLogging!=="false")&&console.log(Te)};ae.material_id!==void 0?be(ht):ht();function ht(){var Te=Tt;Ue!==null?Te=Ue:parseFloat(Te)<5&&(Te="5.0"),fn(Te,!1),xe!==null&&un(xe,Ze),ke=!0}return it},GGBAppletUtils=function(){"use strict";function it(){return window.GGBT_wsf_edit!==void 0}function Tt(ke,Ue){Ue!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+Ue+","+Ue+")",ke.style.webkitTransform="scale("+Ue+","+Ue+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function ae(ke,Ue,xe,Qe,Ie,we){var Re=null;if(we!=null&&we!="")for(var Ze=ke.parentNode;Ze!=null;)if((" "+Ze.className+" ").indexOf(" "+we+" ")>-1){Re=Ze;break}else Ze=Ze.parentNode;var Ye=0,ie=0,E=0,a=0,x=0,b=0,z=0;if(Re)Ye=Re.offsetWidth,ie=Math.max(Qe?Re.offsetWidth:0,Re.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,ie=window.innerHeight,E=window.innerWidth),ke){var te=ke.getBoundingClientRect();te.left>0&&te.left<=Ye&&(Ie===void 0||!Ie)&&(document.dir==="rtl"?(x=Ye-te.width-te.left,b=E<=480?10:30):(b=te.left,x=E<=480?10:30),a=b+x)}if(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return ke&&((xe===void 0||!xe)&&Ue>0&&Ue+a1&&(we=!0)),Ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we=!0),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Ie=y(ke,Ue,we,xe,ke.scaleContainerClass);else return Qe;return we&&(!ke.hasOwnProperty("scale")||Qe===1)?Ie:Math.min(Qe,Ie)}function Fe(ke){var Ue=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),Qe=ke.getBoundingClientRect(),Ie=(Ue-Qe.width)/2,we=(xe-Qe.height)/2;we<0&&(we=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ie<40?ke.style.left="40px":ke.style.left=Ie+"px",ke.style.top=we+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we<40?ke.style.top="40px":ke.style.top=we+"px",ke.style.left=Ie+"px")}function Me(ke,Ue){var xe=ke.querySelector(".appletParameters");if(xe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!==xe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ke)}if(xe.parentElement&&/fullscreen/.test(xe.parentElement.className))return;var Qe=pe(Ue,ke);it()&&xe.setAttribute("data-param-scale",Qe);for(var Ie=null,we=0;we=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(it){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(it){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(it){var Tt=c[it];return Tt==null?null:Tt},r=d,webModule.__errFn=e}function B(){function it(ke){var Ue=ke.lastIndexOf(rb);Ue==-1&&(Ue=ke.length);var xe=ke.indexOf(sb);xe==-1&&(xe=ke.length);var Qe=ke.lastIndexOf(tb,Math.min(xe,Ue));return Qe>=O?ke.substring(O,Qe+P):W}function Tt(ke){if(!ke.match(/^\w+:\/\//)){var Ue=o.createElement(ub);Ue.src=ke+vb,ke=it(Ue.src)}return ke}function ae(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function y(){for(var ke=o.getElementsByTagName(_),Ue=O;UeO?ke[ke.length-P].href:W}function Fe(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Me=ae();return Me==W&&(Me=y()),Me==W&&(Me=pe()),Me==W&&Fe()&&(Me=it(o.location.href)),Me=Tt(Me),Me}function C(it){return it.match(/^\//)||it.match(/^[a-zA-Z]+:\/\//)?it:webModule.__moduleBase+it}function D(){var it=[],Tt=O,ae=[],y=[];function pe(ke){var Ue=y[ke](),xe=ae[ke];if(Ue in xe)return Ue;var Qe=[];for(var Ie in xe)Qe[xe[Ie]]=Ie;throw r&&r(ke,Qe,Ue),null}if(__gwt_isKnownPropertyValue=function(ke,Ue){return Ue in ae[ke]},webModule.__getPropMap=function(){var ke={};for(var Ue in ae)ae.hasOwnProperty(Ue)&&(ke[Ue]=pe(Ue));return ke},webModule.__computePropValue=pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Fe;try{Fe=Cb;var Me=Fe.indexOf(Db);Me!=-1&&(Tt=parseInt(Fe.substring(Me+P),$),Fe=Fe.substring(O,Me))}catch(ke){}return webModule.__softPermutationId=Tt,C(Fe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(it,Tt,ae){"use strict";ae.d(Tt,{Ax:function(){return Me},Ds:function(){return ke},KI:function(){return xe},SI:function(){return Fe},f1:function(){return pe}});var y=ae(78323);function pe(Qe){let Ie=!0;if(Qe.length>0){for(let we=0;wea in E?Fe(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,we=(E,a)=>{for(var x in a||(a={}))xe.call(a,x)&&Ie(E,x,a[x]);if(Ue)for(var x of Ue(a))Qe.call(a,x)&&Ie(E,x,a[x]);return E},Re=(E,a)=>Me(E,ke(a)),Ze=(E,a)=>{var x={};for(var b in E)xe.call(E,b)&&a.indexOf(b)<0&&(x[b]=E[b]);if(E!=null&&Ue)for(var b of Ue(E))a.indexOf(b)<0&&Qe.call(E,b)&&(x[b]=E[b]);return x},Ye=(E,a,x)=>new Promise((b,z)=>{var te=le=>{try{ue(x.next(le))}catch(Ee){z(Ee)}},oe=le=>{try{ue(x.throw(le))}catch(Ee){z(Ee)}},ue=le=>le.done?b(le.value):Promise.resolve(le.value).then(te,oe);ue((x=x.apply(E,a)).next())});const ie=E=>{var a=E,{children:x}=a,b=Ze(a,["children"]);const[z,te]=(0,pe.useState)(!1);return pe.createElement(y.ZP,Re(we({},b),{loading:z,onClick:oe=>Ye(void 0,null,function*(){try{te(!0),yield b.onClick(oe),te(!1)}catch(ue){console.error(ue),te(!1)}})}),x)}},12306:function(it,Tt,ae){"use strict";var y=ae(86204),pe=ae.n(y),Fe=Object.defineProperty,Me=(Qe,Ie,we)=>Ie in Qe?Fe(Qe,Ie,{enumerable:!0,configurable:!0,writable:!0,value:we}):Qe[Ie]=we,ke=(Qe,Ie,we)=>Me(Qe,typeof Ie!="symbol"?Ie+"":Ie,we),Ue=(Qe,Ie,we)=>new Promise((Re,Ze)=>{var Ye=a=>{try{E(we.next(a))}catch(x){Ze(x)}},ie=a=>{try{E(we.throw(a))}catch(x){Ze(x)}},E=a=>a.done?Re(a.value):Promise.resolve(a.value).then(Ye,ie);E((we=we.apply(Qe,Ie)).next())});class xe extends y.EventEmitter{constructor(Ie,we){super(),ke(this,"url"),ke(this,"body"),ke(this,"fullContent",""),ke(this,"controller",null),ke(this,"buffer",""),this.url=Ie,this.body=we}startStream(){return Ue(this,null,function*(){this.controller=new AbortController;const{signal:Ie}=this.controller;try{const we=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ie});if(!we.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${we.status}`);const Re=we.headers.get("content-type");if(!Re)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Re.includes("application/json")){const ie=yield we.json();this.emit("error",ie);return}if(!Re.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ze=we.body.getReader(),Ye=new TextDecoder("utf-8");for(;;){const{done:ie,value:E}=yield Ze.read();if(ie)break;const a=Ye.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const b of x)if(b.startsWith("data:")){const z=b.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=b+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(we){we.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",we.message)}})}handleData(Ie){Ie.content&&(this.fullContent+=Ie.content,this.emit("data",{chunk:Ie,full:this.fullContent}))}cancelRequest(){var Ie;(Ie=this.controller)==null||Ie.abort()}}Tt.Z=xe},57593:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Et}});var y=ae(59301),pe=ae(97831),Fe=ae(66328),Me=ae(3977),ke=ae(18369),Ue=ae(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Qe=ae(8591),Ie=ae(11611),we=ae(13058),Re=ae(30084),Ze=ae(10787),Ye=ae(79562),ie=ae(43428),E=ae(95237),a=ae(43604),x={smartWrp:"smartWrp___NjRcB"},b=ae(95440),z=ae(16338),te=ae(75353),oe=ae(59301),ue=(fn,un,Vt)=>new Promise((ht,Te)=>{var rt=Pt=>{try{hn(Vt.next(Pt))}catch(sn){Te(sn)}},It=Pt=>{try{hn(Vt.throw(Pt))}catch(sn){Te(sn)}},hn=Pt=>Pt.done?ht(Pt.value):Promise.resolve(Pt.value).then(rt,It);hn((Vt=Vt.apply(fn,un)).next())});const le=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(we){we.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",we.message)}})}handleData(Ie){Ie.content&&(this.fullContent+=Ie.content,this.emit("data",{chunk:Ie,full:this.fullContent}))}cancelRequest(){var Ie;(Ie=this.controller)==null||Ie.abort()}}Tt.Z=xe},57593:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Et}});var y=ae(59301),pe=ae(97831),Fe=ae(66328),Me=ae(3977),ke=ae(18369),Ue=ae(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Qe=ae(8591),Ie=ae(11611),we=ae(55939),Re=ae(30084),Ze=ae(10787),Ye=ae(79562),ie=ae(43428),E=ae(95237),a=ae(43604),x={smartWrp:"smartWrp___NjRcB"},b=ae(95440),z=ae(16338),te=ae(75353),oe=ae(59301),ue=(fn,un,Vt)=>new Promise((ht,Te)=>{var rt=Pt=>{try{hn(Vt.next(Pt))}catch(sn){Te(sn)}},It=Pt=>{try{hn(Vt.throw(Pt))}catch(sn){Te(sn)}},hn=Pt=>Pt.done?ht(Pt.value):Promise.resolve(Pt.value).then(rt,It);hn((Vt=Vt.apply(fn,un)).next())});const le=` diff --git a/p__Classrooms__Lists__Exercise__Review__index.f0f7bcef.async.js b/p__Classrooms__Lists__Exercise__Review__index.5b59fd34.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Review__index.f0f7bcef.async.js rename to p__Classrooms__Lists__Exercise__Review__index.5b59fd34.async.js index 4de586875c..4d66321276 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.f0f7bcef.async.js +++ b/p__Classrooms__Lists__Exercise__Review__index.5b59fd34.async.js @@ -1,6 +1,6 @@ !(function(){var M1=Object.defineProperty,R1=Object.defineProperties;var Q1=Object.getOwnPropertyDescriptors;var b0=Object.getOwnPropertySymbols;var Dv=Object.prototype.hasOwnProperty,jv=Object.prototype.propertyIsEnumerable;var Cm=(Rt,bt,Ee)=>bt in Rt?M1(Rt,bt,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Rt[bt]=Ee,zu=(Rt,bt)=>{for(var Ee in bt||(bt={}))Dv.call(bt,Ee)&&Cm(Rt,Ee,bt[Ee]);if(b0)for(var Ee of b0(bt))jv.call(bt,Ee)&&Cm(Rt,Ee,bt[Ee]);return Rt},Sm=(Rt,bt)=>R1(Rt,Q1(bt));var Ov=(Rt,bt)=>{var Ee={};for(var de in Rt)Dv.call(Rt,de)&&bt.indexOf(de)<0&&(Ee[de]=Rt[de]);if(Rt!=null&&b0)for(var de of b0(Rt))bt.indexOf(de)<0&&jv.call(Rt,de)&&(Ee[de]=Rt[de]);return Ee};var fs=(Rt,bt,Ee)=>Cm(Rt,typeof bt!="symbol"?bt+"":bt,Ee);(self.webpackChunk=self.webpackChunk||[]).push([[8085],{67921:function(Rt,bt,Ee){"use strict";Ee.d(bt,{Z:function(){return oe}});var de=Ee(54476),ze=Ee(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},we=b,pe=Ee(7657),ce=function(ae,ie){return ze.createElement(pe.Z,(0,de.Z)({},ae,{ref:ie,icon:we}))},Ae=ze.forwardRef(ce),oe=Ae},87169:function(Rt,bt,Ee){"use strict";Ee.d(bt,{Z:function(){return oe}});var de=Ee(54476),ze=Ee(59301),b={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"},we=b,pe=Ee(7657),ce=function(ae,ie){return ze.createElement(pe.Z,(0,de.Z)({},ae,{ref:ie,icon:we}))},Ae=ze.forwardRef(ce),oe=Ae},4958:function(Rt,bt,Ee){"use strict";Ee.d(bt,{Z:function(){return oe}});var de=Ee(54476),ze=Ee(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},we=b,pe=Ee(7657),ce=function(ae,ie){return ze.createElement(pe.Z,(0,de.Z)({},ae,{ref:ie,icon:we}))},Ae=ze.forwardRef(ce),oe=Ae},32050:function(Rt,bt,Ee){"use strict";Ee.d(bt,{Z:function(){return oe}});var de=Ee(54476),ze=Ee(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},we=b,pe=Ee(7657),ce=function(ae,ie){return ze.createElement(pe.Z,(0,de.Z)({},ae,{ref:ie,icon:we}))},Ae=ze.forwardRef(ce),oe=Ae},27431:function(Rt,bt){"use strict";bt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},87789:function(Rt,bt){"use strict";bt.Z={flex_box_center:"flex_box_center___GW1u0",flex_space_between:"flex_space_between___XhK9z",flex_box_vertical_center:"flex_box_vertical_center___NKIbp",flex_box_center_end:"flex_box_center_end___V3qhT",flex_box_column:"flex_box_column___b4G29",bg:"bg___exMJB",paginationWrapper:"paginationWrapper___ROsRI",totalText:"totalText___PGE6D",num:"num___jLrBF",title:"title___yiXeD",questionIcons:"questionIcons___v75Tz",green:"green___HRGef",orange:"orange___tdW4E",greenTip:"greenTip___f2SpQ",redTip:"redTip___jc8UE",orangeTip:"orangeTip___VMO_s",flexRow:"flexRow___Jshv2",simpleWrap:"simpleWrap___ul6oi",divider:"divider___Of_8z",modal:"modal___oAD7F",programTitle:"programTitle___ybswa",simpleBg:"simpleBg___yLrQy",exportBtn:"exportBtn___x5fcE",exportBtns:"exportBtns___EmvhF",export_type_modal:"export_type_modal___hmW4i",export_type_modal_con:"export_type_modal_con___R2S3f",type_item:"type_item___NsmrH",img_warp:"img_warp___LUfHa",img_warp_active:"img_warp_active____uL7y",divname:"divname___wdaL2"}},1045:function(Rt,bt){"use strict";bt.Z={flex_box_center:"flex_box_center___VAUts",flex_space_between:"flex_space_between___gx5ZV",flex_box_vertical_center:"flex_box_vertical_center___HV_tL",flex_box_center_end:"flex_box_center_end___fVsIw",flex_box_column:"flex_box_column___F5DHk",shixunWrp:"shixunWrp___pinaF",s:"s___mtpV4",fillComment:"fillComment___WEgkI",commentContent:"commentContent___v_Ebo",commentText:"commentText___fyDle",simpleWrap:"simpleWrap___uwIie",fillBg:"fillBg___iyMsm",tip:"tip___V6oDj",simpleBg:"simpleBg___UqElF",lookCode:"lookCode___xKifS"}},93227:function(Rt,bt){"use strict";bt.Z={flex_box_center:"flex_box_center___D6Qly",flex_space_between:"flex_space_between___ZA98O",flex_box_vertical_center:"flex_box_vertical_center___aST6E",flex_box_center_end:"flex_box_center_end___kJ_eQ",flex_box_column:"flex_box_column___ZOkyZ",bg:"bg___rbSyL",circularBlue:"circularBlue___qvnla",circularRed:"circularRed___jo0FU",circularOrange:"circularOrange___GteY7",circularGreen:"circularGreen___PW_tz",circularGrey:"circularGrey___Nt7Wc",title:"title___Volf5",questionIcons:"questionIcons___MIxzq",grey:"grey___XquYB",green:"green___sjsXt",blue:"blue___Jwa9H",orange:"orange___cGfa7",red:"red___NensB",greenTip:"greenTip___lDmky",redTip:"redTip___Yp9nM",cccTip:"cccTip___Uzudc",orangeTip:"orangeTip___gA104",flexRow:"flexRow___GsOMs",simpleWrap:"simpleWrap___jppmP",userPhoto:"userPhoto___LUsoO",CCCIcons:"CCCIcons___STbxr",buttonFixed:"buttonFixed___aUnd3",progress:"progress___w_inO",typeTitle:"typeTitle___i1hJu",answerResult:"answerResult___kLknn",questionsInfo:"questionsInfo___spnx1",leftBar:"leftBar___AjrjB",greenBg:"greenBg___nlTOV",blueBg:"blueBg___nYACT",redBg:"redBg___WTgtT",orangeBg:"orangeBg___mMAXu",greyBg:"greyBg___eAdgQ",commentText:"commentText___smAVm",full:"full____Rgkm",answerInfo:"answerInfo___iSSvg",listType:"listType___fUHyn",userInfo:"userInfo___sc77e",userImg:"userImg___mL2tk",userInfoTitle:"userInfoTitle___U2d5B",userInfoValue:"userInfoValue___DBOCD",status:"status___yZSrO",result:"result___TOeTF",evaluate:"evaluate___CJGFj",analysis:"analysis___NuY61",userInfoModel:"userInfoModel___jHeA_",width:"width___UtVF4",Title:"Title___BfkeS",Value:"Value___sj9SB",userInfoModelbody:"userInfoModelbody___nQNbP",answerError:"answerError___kJTJu",export_type_modal:"export_type_modal___UwY7W",export_type_modal_con:"export_type_modal_con___iD92j",type_item:"type_item___hBzOc",img_warp:"img_warp___ijcxd",img_warp_active:"img_warp_active___VUIa8",scoreByBlankRadio:"scoreByBlankRadio___Z7ZDy",newProgramBg:"newProgramBg___zKYmY",score:"score___Sk80M",drawerWrap:"drawerWrap___VuX5c",top:"top___EnYnP",middle:"middle___LNYBi",listwrap:"listwrap___l6Z3o",btns:"btns___hFvQ6",sign:"sign___vATdV"}},89517:function(Rt,bt){"use strict";bt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},70122:function(){"use strict"},14521:function(Rt,bt,Ee){"use strict";var de=Ee(59301),ze=Object.defineProperty,b=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ce=(se,ae,ie)=>ae in se?ze(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ae]=ie,Ae=(se,ae)=>{for(var ie in ae||(ae={}))we.call(ae,ie)&&ce(se,ie,ae[ie]);if(b)for(var ie of b(ae))pe.call(ae,ie)&&ce(se,ie,ae[ie]);return se};const oe=se=>React.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},se),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));bt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},62595:function(Rt,bt,Ee){"use strict";var de=Ee(59301),ze=Object.defineProperty,b=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ce=(se,ae,ie)=>ae in se?ze(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ae]=ie,Ae=(se,ae)=>{for(var ie in ae||(ae={}))we.call(ae,ie)&&ce(se,ie,ae[ie]);if(b)for(var ie of b(ae))pe.call(ae,ie)&&ce(se,ie,ae[ie]);return se};const oe=se=>React.createElement("svg",Ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));bt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},14699:function(Rt,bt,Ee){"use strict";var de=Ee(59301),ze=Object.defineProperty,b=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ce=(se,ae,ie)=>ae in se?ze(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ae]=ie,Ae=(se,ae)=>{for(var ie in ae||(ae={}))we.call(ae,ie)&&ce(se,ie,ae[ie]);if(b)for(var ie of b(ae))pe.call(ae,ie)&&ce(se,ie,ae[ie]);return se};const oe=se=>React.createElement("svg",Ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));bt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},87851:function(){"use strict";function Rt(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(Rt.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(Rt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(Rt.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(Rt.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof Rt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var bt=[];function Ee(ee,a){var y=bt.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function de(){var ee=bt.pop();return ee===void 0?new go.Point:ee}function ze(ee){bt.push(ee)}function b(ee,a,y,x,E,z,te,ue,he){he||(he=new go.Point);var ve=ee-y,me=E-te,ye=NaN,Be=NaN;if(ve===0)if(me===0)ee===y&&(ye=ee,Be=a);else{var be=(z-ue)/me,Se=z-be*E;ye=ee,Be=be*ye+Se}else if(me===0){var Pe=(a-x)/ve,Qe=a-Pe*ee;ye=E,Be=Pe*ye+Qe}else{var Pe=(a-x)/ve,be=(z-ue)/me,Qe=a-Pe*ee,Se=z-be*E;ye=(Se-Qe)/(Pe-be),Be=Pe*ye+Qe}return he.x=ye,he.y=Be,he}function we(ee,a,y,x,E,z,te,ue,he,ve,me,ye,Be,be){var Se=1-he,Pe=he,Qe=ee*Se+y*Pe,Ie=a*Se+x*Pe,Me=y*Se+E*Pe,Fe=x*Se+z*Pe,Re=E*Se+te*Pe,He=z*Se+ue*Pe,Xe=Qe*Se+Me*Pe,Oe=Ie*Se+Fe*Pe,it=Me*Se+Re*Pe,At=Fe*Se+He*Pe,rt=Xe*Se+it*Pe,ct=Oe*Se+At*Pe;ve.x=Qe,ve.y=Ie,me.x=Xe,me.y=Oe,ye.x=rt,ye.y=ct,Be.x=it,Be.y=At,be.x=Re,be.y=He}var pe=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),Ae=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Rt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*Ae,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()));return E>1&&(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,1,-E,-E)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ee,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ee,a,y){var x=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return E.spot1=pe,E.spot2=ce,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,Ae*a,0,a,(1-Ae)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,Ae*y,(1-Ae)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,Ae*y,Ae*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-Ae)*a,0,0,(1-Ae)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Rt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var E=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(x=.5);var E=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ue,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ue,ue).close())),z.spot1=pe,z.spot2=ce,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ee,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Rt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Rt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,E=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(E)&&(E=315);var z=x%360;z<0&&(z+=360);var te=E%360,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,z,te,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=Ae/Math.SQRT2*.5,E=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,z*y,a,(1-x)*y,(E+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Rt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var E=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Rt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Rt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var z=a/2,te=y/2,ue=Math.atan2(y,a),he=x-Math.min(Math.cos(ue)*x/2,z),ve=x-Math.min(Math.sin(ue)*x/2,te),E=new go.Geometry,me=new go.PathFigure(he,0,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),me.add(new go.PathSegment(go.PathSegment.Line,a-he,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,ve)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,a,y-ve)),me.add(new go.PathSegment(go.PathSegment.Line,a-he,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),me.add(new go.PathSegment(go.PathSegment.Line,he,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,y-ve)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,0,ve).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Rt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Rt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Rt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,Ae*a,0,a,(.5-Ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+Ae/2)*y,Ae*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,te=.3,ue=0,he=z*Ae;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ue)*y,(.5-z+te)*a,(.5+he+ue)*y,(.5-he+te)*a,(.5+z+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ue)*y,(.5+he+te)*a,(.5+z+ue)*y,(.5+z+te)*a,(.5+he+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ue)*y,(1-.5+z+te)*a,(.5-he+ue)*y,(.5+he+te)*a,(.5-z+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-he+te)*a,(.5-z+ue)*y,(.5-z+te+.05)*a,(.5-he+ue-.02)*y)),z=.2,te=0,ue=-.3,he=z*Ae,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ue)*y,(.5+he+te)*a,(.5+z+ue)*y,(.5+z+te)*a,(.5+he+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ue)*y,(1-.5+z+te)*a,(.5-he+ue)*y,(.5+he+te)*a,(.5-z+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ue)*y,(.5-he+te)*a,(.5-z+ue)*y,(.5-z+te)*a,(.5-he+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-he+te)*a,(.5+z+ue)*y,(.5-z+te)*a,(.5+he+ue)*y,(.5-he+te)*a,(.5+z+ue)*y)),z=.2,te=-.3,ue=0,he=z*Ae,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ue)*y,(1-.5+z+te-.05)*a,(.5-he+ue-.02)*y,(.5+he+te)*a,(.5-z+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ue)*y,(.5-he+te)*a,(.5-z+ue)*y,(.5-z+te)*a,(.5-he+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ue)*y,(.5-z+te)*a,(.5+he+ue)*y,(.5-he+te)*a,(.5+z+ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+he+te)*a,(.5+z+ue)*y,(.5+z+te)*a,(.5+he+ue)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,te=.5,ue=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,ue*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ue,z*a,z*a).close()),E=new go.PathFigure(a*.5,0,!1),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ue=.75,E=new go.PathFigure((te+z)*a,ue*y,!0),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ue,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,E=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,z,E,z)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=.5,te=.5,ue=.5,he=new go.PathFigure(te*a,(ue-z)*y);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y)),z=.4,E=Ae*.4;var ve=de(),me=de(),ye=de(),Be=de();we(te,ue-z,te+E,ue-z,te+z,ue-E,te+z,ue,.42,ve,me,ye,Be,Be);var be=de(),Se=de(),Pe=de();we(te,ue-z,te+E,ue-z,te+z,ue-E,te+z,ue,.58,Be,Be,Pe,be,Se);var Qe=de(),Ie=de(),Me=de();we(te,ue+z,te-E,ue+z,te-z,ue+E,te-z,ue,.42,Qe,Ie,Me,Be,Be);var Fe=de(),Re=de(),He=de();return we(te,ue+z,te-E,ue+z,te-z,ue+E,te-z,ue,.58,Be,Be,He,Fe,Re),he.add(new go.PathSegment(go.PathSegment.Move,He.x*a,He.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,Fe.x*a,Fe.y*y,Re.x*a,Re.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-E)*y,(te-E)*a,(ue-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ye.x*a,ye.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),he.add(new go.PathSegment(go.PathSegment.Line,He.x*a,He.y*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,Me.x*a,Me.y*y)),he.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,be.x*a,be.y*y,Se.x*a,Se.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+E)*y,(te+E)*a,(ue+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,Me.x*a,Me.y*y,Qe.x*a,Qe.y*y,Ie.x*a,Ie.y*y).close()),ze(ve),ze(me),ze(ye),ze(Be),ze(be),ze(Se),ze(Pe),ze(Qe),ze(Ie),ze(Me),ze(Fe),ze(Re),ze(He),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Rt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var E=(a-x)/2,z=E+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ee,a,y){var x=new go.Geometry,E=Ae*.4,z=.4,te=.5,ue=.5,he=de(),ve=de(),me=de(),ye=de(),Be=new go.PathFigure((te-z)*a,ue*y,!1);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-E)*y,(te-E)*a,(ue-z)*y)),we(te,ue-z,te+E,ue-z,te+z,ue-E,te+z,ue,.44,me,ye,ve,he,he),Be.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,me.x*a,me.y*y,ye.x*a,ye.y*y));var be=Ee(ve.x,ve.y);we(te,ue-z,te+E,ue-z,te+z,ue-E,te+z,ue,.56,he,he,ve,me,ye);var Se=Ee(ve.x,ve.y);Be.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*a,be.y*.1*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*a,be.y*.1*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Be.add(new go.PathSegment(go.PathSegment.Line,a,0)),Be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Be.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,.15*y)),Be.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,(Se.y*.1+.05*.9)*y)),Be.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,me.x*a,me.y*y,ye.x*a,ye.y*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+E)*y,(te+E)*a,(ue+z)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-E)*a,(ue+z)*y,(te-z)*a,(ue+E)*y)),z=.35,E=Ae*.35;var Pe=new go.PathFigure(te*a,(ue-z)*y,!1);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y));var Qe=new go.PathFigure((te-z)*a,ue*y,!1);return x.add(Qe),ze(he),ze(ve),ze(me),ze(ye),ze(be),ze(Se),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ee,a,y){var x=new go.Geometry,E=.375,z=0,te=-.125,ue=E*Ae,he=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+ue+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+ue+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-ue+te)*y,(.5+ue+z)*a,(.5-E+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ue+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ue+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+ue+te)*y,(.5-ue+z)*a,(.5+E+te)*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,z=0,te=-.125,ue=E*Ae;var he=new go.PathFigure((1-.5+E+z)*a,(.5+te)*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+ue+te)*y,(.5+ue+z)*a,(.5+E+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ue+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+ue+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ue+te)*y,(.5-ue+z)*a,(.5-E+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+ue+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-ue+te)*y));var he=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);return x.add(he),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ee,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Rt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Rt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-x)*a,te=(.5-E/2)*y,ue=(.5+E/2)*y,he=new go.Geometry,ve=new go.PathFigure(0,te,!0);he.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,te)),ve.add(new go.PathSegment(go.PathSegment.Line,z,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),he.spot1=new go.Spot(0,te/y);var me=b(0,ue/y,1,ue/y,z/a,1,1,.5,de());return he.spot2=new go.Spot(me.x,me.y),ze(me),he}),go.Shape.setFigureParameter("Arrow2",0,new Rt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Rt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var z=a-x,te=(y-E)/2,ue=te+E,he=new go.Geometry,ve=new go.PathFigure(0,te,!0);he.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,te)),ve.add(new go.PathSegment(go.PathSegment.Line,z,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),he.spot1=new go.Spot(0,te/y);var me=b(0,ue/y,1,ue/y,z/a,1,1,.5,de());return he.spot2=new go.Spot(me.x,me.y),ze(me),he}),go.Shape.defineFigureGenerator("Chevron",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Rt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var he=b(0,.5,.3,0,0,E/y,.1,E/y,de());return te.spot1=new go.Spot(he.x,he.y),he=b(.7,1,1,.5,0,z/y,1,z/y,he),te.spot2=new go.Spot(he.x,he.y),ze(he),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Rt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Rt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-x)/2,te=z+x,ue=(y-E)/2,he=ue+E;(x>y||E>y)&&(E>x?(x=x*y/E,z=(y-x)/2,te=z+x,ue=0,he=y):(z=0,te=y,ue=0,he=y));var ve=new go.Geometry,me=new go.PathFigure(a,.5*y,!0);ve.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,he)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,he)),me.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var ye=b(0,.5,.3,ue/y,0,z/y,1,z/y,de());return ve.spot1=new go.Spot(ye.x,ye.y),ye=b(.7,he/y,1,.5,0,te/y,1,te/y,ye),ve.spot2=new go.Spot(ye.x,ye.y),ze(ye),ve}),go.Shape.setFigureParameter("IBeamArrow",0,new Rt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,E/y);var he=b(.7,1,1,.5,0,z/y,1,z/y,de());return te.spot2=new go.Spot(he.x,he.y),ze(he),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Rt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Rt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-x)/2,te=z+x,ue=(y-E)/2,he=ue+E;(x>y||E>y)&&(E>x?(x=x*y/E,z=(y-x)/2,te=z+x,ue=0,he=y):(z=0,te=y,ue=0,he=y));var ve=new go.Geometry,me=new go.PathFigure(a,.5*y,!0);ve.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,he)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,he)),me.add(new go.PathSegment(go.PathSegment.Line,0,he)),me.add(new go.PathSegment(go.PathSegment.Line,0,ue)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ve.spot1=new go.Spot(0,z/y);var ye=b(.7,he/y,1,.5,0,te/y,1,te/y,de());return ve.spot2=new go.Spot(ye.x,ye.y),ze(ye),ve}),go.Shape.setFigureParameter("Pointer",0,new Rt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(x,.35);var te=b(.2,.65,1,.65,0,1,1,.5,de());return E.spot2=new go.Spot(te.x,te.y),ze(te),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Rt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E.spot1=new go.Spot(x,.35);var te=b(0,.65,1,.65,0,1,1,.5,de());return E.spot2=new go.Spot(te.x,te.y),ze(te),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Rt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var E=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,0,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var he=b(.7,1,1,.5,0,z/y,1,z/y,de());return te.spot2=new go.Spot(he.x,he.y),ze(he),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Rt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var E=(y-x)/2,z=E+x;x>y&&(E=0,z=y);var te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,0,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,E/y);var he=b(.7,1,1,.5,0,z/y,1,z/y,de());return te.spot2=new go.Spot(he.x,he.y),ze(he),te}),go.Shape.setFigureParameter("SquareArrow",0,new Rt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(x,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=Ae*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,z=Ae*.5,te=new go.PathFigure(0,x,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ae*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,Ae*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-Ae*x,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-Ae*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-Ae*x,(.5+z)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-Ae*x)),E.spot1=new go.Spot(0,0,0,2*x),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,z=Ae*.5,te=new go.PathFigure(0,y-x,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ae*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,Ae*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-Ae*x,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-Ae*x));var ue=new go.PathFigure(0,y-x,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-Ae*x,(.5-z)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-Ae*x)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*x),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,z=Ae*.5,te=new go.PathFigure(x,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-Ae*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-Ae*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,Ae*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,Ae*x,0));var ue=new go.PathFigure(x,0,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+Ae*x,0,2*x,(.5-z)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+Ae*x,y)),E.spot1=new go.Spot(0,0,2*x,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,z=Ae*.5,te=new go.PathFigure(a-x,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-Ae*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-Ae*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,Ae*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,Ae*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-Ae*x,0,a-2*x,(.5-z)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-Ae*x,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*x,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,E=.2,z=.1,te=Ae*E,ue=Ae*z,he=.5,ve=.1,me=new go.PathFigure(he*a,(ve+z)*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(he-E)*a,ve*y,(he-te)*a,(ve+z)*y,(he-E)*a,(ve+ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-z)*y,(he-E)*a,(ve-ue)*y,(he-te)*a,(ve-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(he+E)*a,ve*y,(he+te)*a,(ve-z)*y,(he+E)*a,(ve-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve+z)*y,(he+E)*a,(ve+ue)*y,(he+te)*a,(ve+z)*y));var ye=.05,Be=Ae*ye;he=.05,ve=.25;var be=new go.PathFigure(.5*a,.2*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),he=.95,ve=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(he+ye)*a,ve*y,(he+Be)*a,(ve-ye)*y,(he+ye)*a,(ve-Be)*y)),be.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ye=.025,Be=Ae*ye,he=.825,ve=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-ye)*y,(he+ye)*a,(ve-Be)*y,(he+Be)*a,(ve-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ye)*a,ve*y,(he-Be)*a,(ve-ye)*y,(he-ye)*a,(ve-Be)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ye=.05,Be=Ae*ye,he=.5,ve=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-ye)*y,(he+ye)*a,(ve-Be)*y,(he+Be)*a,(ve-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ye)*a,ve*y,(he-Be)*a,(ve-ye)*y,(he-ye)*a,(ve-Be)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ye=.025,Be=Ae*ye,he=.175,ve=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-ye)*y,(he+ye)*a,(ve-Be)*y,(he+Be)*a,(ve-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ye)*a,ve*y,(he-Be)*a,(ve-ye)*y,(he-ye)*a,(ve-Be)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ye=.05,Be=Ae*ye,he=.05,ve=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-ye)*y,(he-ye)*a,(ve-Be)*y,(he-Be)*a,(ve-ye)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Rt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,z=new go.PathFigure(a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=new go.Spot(0,x),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=Ae*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+E)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+E)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+E)*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=Ae*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+E)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+E)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=Ae*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ue=new go.PathFigure(0,E*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Document",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ue=new go.PathFigure(E*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=Ae*.5,ue=.5,he=new go.PathFigure(a,ue*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+te)*y,(ue+te)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-te)*a,y,0,(ue+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-te)*y,(ue-te)*a,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+te)*a,0,a,(ue-te)*y));var ve=new go.PathFigure((z+E)*a,(z+E)*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),ve.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+E)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(z+E)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+E)*y,(z+E)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ue=new go.PathFigure(.5*E*a,E*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y));var ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-E)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),x.spot1=new go.Spot(E,0),x.spot2=new go.Spot(1-E,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y));var ue=new go.PathFigure(a,z*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var he=new go.PathFigure(.8*a,.75*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ee,a,y){var x=new go.Geometry,E=Ae*.1,z=.1,te=.9,ue=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,0,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ve=new go.PathFigure((te+z)*a,ue*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+E)*y,(te+E)*a,(ue+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-E)*a,(ue+z)*y,(te-z)*a,(ue+E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-E)*y,(te-E)*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+E)*a,(ue-z)*y,(te+z)*a,(ue-E)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=Ae*.4,te=Ae*.1,ue=.1,he=.9,ve=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+E)*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-z)*y));var ye=new go.PathFigure((he+ue)*a,ve*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve+ue)*y,(he+ue)*a,(ve+te)*y,(he+te)*a,(ve+ue)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he-ue)*a,ve*y,(he-te)*a,(ve+ue)*y,(he-ue)*a,(ve+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-ue)*y,(he-ue)*a,(ve-te)*y,(he-te)*a,(ve-ue)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he+ue)*a,ve*y,(he+te)*a,(ve-ue)*y,(he+ue)*a,(ve-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=Ae*E,te=0,ue=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ue-E)*y,.7*a,(ue-z)*y)),E=.1,z=Ae*.1,te=.9,ue=.5;var ve=new go.PathFigure((te-E)*a,ue*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-E)*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ue*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+E)*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ue*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=Ae*E,te=0,ue=.5,he=new go.PathFigure(0,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(ue-E)*y,.8*a,(ue-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+z)*y,(te+z+z)*a,(ue+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=Ae*E,te=.2,ue=.5,he=new go.PathFigure(.1*a,0,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ue-E)*y,.7*a,(ue-z)*y)),E=.1,z=Ae*.1,te=.9,ue=.5;var me=new go.PathFigure((te-E)*a,ue*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-E)*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ue*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+E)*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ue*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=Ae*E,te=.2,ue=.5,he=new go.PathFigure(.1*a,0,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ve=new go.PathFigure(.2*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z)*a,(ue-E)*y,.9*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ee,a,y){var x=new go.Geometry,E=Ae*.1,z=.1,te=.1,ue=.5,he=new go.PathFigure((te-E*.5)*a,y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.3,he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.5,he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.7,he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.9,he.add(new go.PathSegment(go.PathSegment.Bezier,(te+E*.5)*a,y,(te+z)*a,0,(te+E)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,E=Ae*.5,z=.5,te=.5,ue=.5,he=new go.PathFigure((te-z)*a,ue*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-E)*y,(te-E)*a,(ue-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+E)*a,(ue-z)*y,(te+z)*a,(ue-E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+E)*y,(te+E)*a,(ue+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-E)*a,(ue+z)*y,(te-z)*a,(ue+E)*y)),he.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,ue*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,ue*y,te*a,(ue-z)*y,te*a,(ue+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ee,a,y){var x=new go.Geometry,E=a,z=y;a=a*.38,y=y*.6;var te=Ae*.8,ue=.8,he=0,ve=.5,me=(E-a)/2,ye=(z-y)/2,Be=new go.PathFigure(he*a+me,(ve+ue)*y+ye,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ue)*a+me,ve*y+ye,(he-te)*a+me,(ve+ue)*y+ye,(he-ue)*a+me,(ve+te)*y+ye)),Be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve-ue)*y+ye,(he-ue)*a+me,(ve-te)*y+ye,(he-te)*a+me,(ve-ue)*y+ye)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ue+te*.5)*a+me,ve*y+ye,he*a+me,(ve-ue)*y+ye,(he-ue+te*.5)*a+me,(ve-te)*y+ye)),Be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve+ue)*y+ye,(he-ue+te*.5)*a+me,(ve+te)*y+ye,he*a+me,(ve+ue)*y+ye).close()),te=Ae*.4,ue=.4,he=.2,ve=.5;var be=new go.PathFigure(he*a+me,(ve+ue)*y+ye,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ue)*a+me,ve*y+ye,(he-te)*a+me,(ve+ue)*y+ye,(he-ue)*a+me,(ve+te)*y+ye)),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve-ue)*y+ye,(he-ue)*a+me,(ve-te)*y+ye,(he-te)*a+me,(ve-ue)*y+ye)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ue+te*.5)*a+me,ve*y+ye,he*a+me,(ve-ue)*y+ye,(he-ue+te*.5)*a+me,(ve-te)*y+ye)),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve+ue)*y+ye,(he-ue+te*.5)*a+me,(ve+te)*y+ye,he*a+me,(ve+ue)*y+ye).close()),te=Ae*.2,ue=.2,he=.5,ve=.5;var Se=new go.PathFigure((he-ue)*a+me,ve*y+ye,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve-ue)*y+ye,(he-ue)*a+me,(ve-te)*y+ye,(he-te)*a+me,(ve-ue)*y+ye)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he+ue)*a+me,ve*y+ye,(he+te)*a+me,(ve-ue)*y+ye,(he+ue)*a+me,(ve-te)*y+ye)),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve+ue)*y+ye,(he+ue)*a+me,(ve+te)*y+ye,(he+te)*a+me,(ve+ue)*y+ye)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ue)*a+me,ve*y+ye,(he-te)*a+me,(ve+ue)*y+ye,(he-ue)*a+me,(ve+te)*y+ye)),te=Ae*.4,ue=.4,he=.8,ve=.5;var Pe=new go.PathFigure(he*a+me,(ve-ue)*y+ye,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ue)*a+me,ve*y+ye,(he+te)*a+me,(ve-ue)*y+ye,(he+ue)*a+me,(ve-te)*y+ye)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve+ue)*y+ye,(he+ue)*a+me,(ve+te)*y+ye,(he+te)*a+me,(ve+ue)*y+ye)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ue-te*.5)*a+me,ve*y+ye,he*a+me,(ve+ue)*y+ye,(he+ue-te*.5)*a+me,(ve+te)*y+ye)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve-ue)*y+ye,(he+ue-te*.5)*a+me,(ve-te)*y+ye,he*a+me,(ve-ue)*y+ye).close()),te=Ae*.8,ue=.8,he=1,ve=.5;var Qe=new go.PathFigure(he*a+me,(ve-ue)*y+ye,!0);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ue)*a+me,ve*y+ye,(he+te)*a+me,(ve-ue)*y+ye,(he+ue)*a+me,(ve-te)*y+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve+ue)*y+ye,(he+ue)*a+me,(ve+te)*y+ye,(he+te)*a+me,(ve+ue)*y+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ue-te*.5)*a+me,ve*y+ye,he*a+me,(ve+ue)*y+ye,(he+ue-te*.5)*a+me,(ve+te)*y+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*a+me,(ve-ue)*y+ye,(he+ue-te*.5)*a+me,(ve-te)*y+ye,he*a+me,(ve-ue)*y+ye).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,E=Ae*.4,z=.4,te=.5,ue=.5,he=de(),ve=de(),me=de(),ye=de();we(te,ue-z,te+E,ue-z,te+z,ue-E,te+z,ue,.5,he,he,ve,me,ye);var Be=Ee(ve.x,ve.y),be=new go.PathFigure(ve.x*a,ve.y*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,me.x*a,me.y*y,ye.x*a,ye.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+E)*y,(te+E)*a,(ue+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-E)*a,(ue+z)*y,(te-z)*a,(ue+E)*y)),we(te-z,ue,te-z,ue-E,te-E,ue-z,te,ue-z,.5,me,ye,ve,he,he),be.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,me.x*a,me.y*y,ye.x*a,ye.y*y)),E=Ae*.3,z=.3,we(te-z,ue,te-z,ue-E,te-E,ue-z,te,ue-z,.5,me,ye,ve,he,he),be.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,ye.x*a,ye.y*y,me.x*a,me.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),we(te,ue-z,te+E,ue-z,te+z,ue-E,te+z,ue,.5,he,he,ve,me,ye),be.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,ye.x*a,ye.y*y,me.x*a,me.y*y).close());var be=new go.PathFigure(.45*a,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ze(he),ze(ve),ze(me),ze(ye),ze(Be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y/2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(te,ue,he){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+he)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+he)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+he)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+he)*y).close())}return z(E,0,0),z(E,.4,0),z(E,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ee,a,y){var x=new go.Geometry,E=.5,z=0,te=0,ue=E*Ae,he=.4*Math.SQRT2/2+.5,ve=.5-.5*Math.SQRT2/2,me=1,ye=.5,Be=.5,be=0,Se=new go.PathFigure(he*a,(1-ve)*y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a,ye*y,me*a,.7*y,me*a,ye*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Be+z)*a,(be+z)*y,(.5+E+z)*a,(.5-ue+z)*y,(.5+ue+z)*a,(.5-E+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ue+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ue+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-E+z)*a,(.5+ue+te)*y,(.5-ue+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ue=.5,he=te,ve=Math.PI/4,me=4*(1-Math.cos(ve))/(3*Math.sin(ve)),ye=me*.5,Be=te,be=te,Se=me*Be,Pe=me*be;z.add(new go.PathSegment(go.PathSegment.Bezier,(ue-Be)*a,he*y,(ue-(Se+Be)/2)*a,(he+(be+Pe)/2)*y,(ue-Be)*a,(he+Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(he-be)*y,(ue-Be)*a,(he-Pe)*y,(ue-Se)*a,(he-be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ue+Be)*a,he*y,(ue+Se)*a,(he-be)*y,(ue+Be)*a,(he-Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+Be)*a,(he+Pe)*y,(ue+(Se+Be)/2)*a,(he+(be+Pe)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Qe=new go.PathFigure(.2*a,y,!1);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ie=new go.PathFigure(.8*a,y,!1);return x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ee,a,y){var x=new go.Geometry,E=.5,z=Ae*.5,te=new go.PathFigure(a,E*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+z)*y,(E+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-z)*a,y,0,(E+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-z)*y,(E-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+z)*a,0,a,(E-z)*y));var ue=new go.PathFigure(E*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),ue.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ue=Ae*.1,he=.2,ve=.9,me=new go.PathFigure((he-te)*a,ve*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-te)*y,(he-te)*a,(ve-ue)*y,(he-ue)*a,(ve-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(he+te)*a,ve*y,(he+ue)*a,(ve-te)*y,(he+te)*a,(ve-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve+te)*y,(he+te)*a,(ve+ue)*y,(he+ue)*a,(ve+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(he-te)*a,ve*y,(he-ue)*a,(ve+te)*y,(he-te)*a,(ve+ue)*y).close()),te=.1,ue=Ae*.1,he=.8,ve=.9;var ye=new go.PathFigure((he-te)*a,ve*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-te)*y,(he-te)*a,(ve-ue)*y,(he-ue)*a,(ve-te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he+te)*a,ve*y,(he+ue)*a,(ve-te)*y,(he+te)*a,(ve-ue)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve+te)*y,(he+te)*a,(ve+ue)*y,(he+ue)*a,(ve+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he-te)*a,ve*y,(he-ue)*a,(ve+te)*y,(he-te)*a,(ve+ue)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var he=.1,ve=Ae*.1,me=.1,ye=.9,Be=new go.PathFigure((me-he)*a,ye*y,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ye-he)*y,(me-he)*a,(ye-ve)*y,(me-ve)*a,(ye-he)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(me+he)*a,ye*y,(me+ve)*a,(ye-he)*y,(me+he)*a,(ye-ve)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ye+he)*y,(me+he)*a,(ye+ve)*y,(me+ve)*a,(ye+he)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(me-he)*a,ye*y,(me-ve)*a,(ye+he)*y,(me-he)*a,(ye+ve)*y)),he=.1,ve=Ae*.1,me=.4,ye=.9;var be=new go.PathFigure((me-he)*a,ye*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ye-he)*y,(me-he)*a,(ye-ve)*y,(me-ve)*a,(ye-he)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me+he)*a,ye*y,(me+ve)*a,(ye-he)*y,(me+he)*a,(ye-ve)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ye+he)*y,(me+he)*a,(ye+ve)*y,(me+ve)*a,(ye+he)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-he)*a,ye*y,(me-ve)*a,(ye+he)*y,(me-he)*a,(ye+ve)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var me=.05,ye=Ae*.05,Be=.175,be=.95,ue=new go.PathFigure((Be-me)*a,be*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be-me)*y,(Be-me)*a,(be-ye)*y,(Be-ye)*a,(be-me)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*a,be*y,(Be+ye)*a,(be-me)*y,(Be+me)*a,(be-ye)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be+me)*y,(Be+me)*a,(be+ye)*y,(Be+ye)*a,(be+me)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*a,be*y,(Be-ye)*a,(be+me)*y,(Be-me)*a,(be+ye)*y));var me=.05,ye=Ae*.05,Be=.375,be=.95,he=new go.PathFigure((Be-me)*a,be*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be-me)*y,(Be-me)*a,(be-ye)*y,(Be-ye)*a,(be-me)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*a,be*y,(Be+ye)*a,(be-me)*y,(Be+me)*a,(be-ye)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be+me)*y,(Be+me)*a,(be+ye)*y,(Be+ye)*a,(be+me)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*a,be*y,(Be-ye)*a,(be+me)*y,(Be-me)*a,(be+ye)*y));var me=.05,ye=Ae*.05,Be=.625,be=.95,ve=new go.PathFigure((Be-me)*a,be*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be-me)*y,(Be-me)*a,(be-ye)*y,(Be-ye)*a,(be-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*a,be*y,(Be+ye)*a,(be-me)*y,(Be+me)*a,(be-ye)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be+me)*y,(Be+me)*a,(be+ye)*y,(Be+ye)*a,(be+me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*a,be*y,(Be-ye)*a,(be+me)*y,(Be-me)*a,(be+ye)*y));var me=.05,ye=Ae*.05,Be=.825,be=.95,Se=new go.PathFigure((Be-me)*a,be*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be-me)*y,(Be-me)*a,(be-ye)*y,(Be-ye)*a,(be-me)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*a,be*y,(Be+ye)*a,(be-me)*y,(Be+me)*a,(be-ye)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(be+me)*y,(Be+me)*a,(be+ye)*y,(Be+ye)*a,(be+me)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*a,be*y,(Be-ye)*a,(be+me)*y,(Be-me)*a,(be+ye)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ue=.05,he=Ae*.05,ve=.35,me=.775,ye=new go.PathFigure((ve-ue)*a,me*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-ue)*y,(ve-ue)*a,(me-he)*y,(ve-he)*a,(me-ue)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*a,me*y,(ve+he)*a,(me-ue)*y,(ve+ue)*a,(me-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+ue)*y,(ve+ue)*a,(me+he)*y,(ve+he)*a,(me+ue)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*a,me*y,(ve-he)*a,(me+ue)*y,(ve-ue)*a,(me+he)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ee,a,y){var x=new go.Geometry,E=.3,z=Ae*.3,te=.5,ue=.7,he=new go.PathFigure((te-E)*a,ue*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-E)*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ue*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+E)*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ue*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y));var ve=new go.PathFigure(0,.7*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,E=.5,z=Ae*.5,te=.5,ue=.5,he=new go.PathFigure((te-E)*a,ue*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-E)*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ue*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+E)*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ue*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y));var ve=new go.PathFigure(.15*a,.5*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ee,a,y){var x=new go.Geometry,E=.5,z=Ae*.5,te=.5,ue=.5,he=new go.PathFigure((te-E)*a,ue*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-E)*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ue*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+E)*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ue*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y).close()),E=.05,z=Ae*.05,te=.5,ue=.8;var ve=new go.PathFigure((te-E)*a,ue*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-E)*y,(te-E)*a,(ue-z)*y,(te-z)*a,(ue-E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ue*y,(te+z)*a,(ue-E)*y,(te+E)*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+E)*y,(te+E)*a,(ue+z)*y,(te+z)*a,(ue+E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ue*y,(te-z)*a,(ue+E)*y,(te-E)*a,(ue+z)*y).close()),ve.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var he=new go.PathFigure(.5*a,.1*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),he.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var he=new go.PathFigure(a*.816,y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),he.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),he.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var he=new go.PathFigure(a*1,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),he.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),he.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var he=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),he.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),he.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,E=8,z=E*Ae,te=new go.PathFigure(E,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,z,z,0).close());var ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var he=new go.PathFigure(a*.83,y*1,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),he.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),he.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ve=new go.PathFigure(a*.78,y*.05,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ve.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*Ae,z=y*.8,te=new go.Geometry,ue=new go.PathFigure(x,0,!0);return te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-E,a-E,z)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ue.add(new go.PathSegment(go.PathSegment.Line,x,z)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,E,z,0,z-E)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()),E>1?(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,.8,-E,-E)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ee,a,y){var x=new go.Geometry,E=15,z=E*Ae,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var z=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Rt={},bt="5.0",Ee={},de=null,ze=!1,b=!1,we=null,pe=!1,ce=null,Ae=null,oe=0;oe4?parseFloat(at):5};Rt.setHTML5Codebase=function(at,_e){Ae=at,At(at,_e)},Rt.setJavaCodebase=Rt.setJavaCodebaseVersion=Rt.isCompiledInstalled=Rt.setPreCompiledScriptPath=Rt.setPreCompiledResourcePath=function(){},Rt.setHTML5CodebaseVersion=function(at,_e){var et=parseFloat(at);if(et!==NaN&&et<5){console.log("The GeoGebra HTML5 codebase version "+et+" is deprecated. Using version latest instead.");return}ce=at,it(at,_e)},Rt.getHTML5CodebaseVersion=function(){return ee},Rt.getParameters=function(){return Ee},Rt.setFontsCSSURL=function(at){te=at},Rt.setGiacJSURL=function(at){},Rt.setJNLPFile=function(at){ae=at},Rt.setJNLPBaseDir=function(at){},Rt.inject=function(){function at(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var _e="auto",et=Ee.id,yt,mt=!1,Dt=0;Dt=5)return!0;var at=Rt.getAppletObject();return at&&typeof at.recalculateEnvironments=="function"?(at.recalculateEnvironments(),!0):!1},Rt.startAnimation=function(){var at=Rt.getAppletObject();return at&&typeof at.startAnimation=="function"?(at.startAnimation(),!0):!1},Rt.stopAnimation=function(){var at=Rt.getAppletObject();return at&&typeof at.stopAnimation=="function"?(at.stopAnimation(),!0):!1},Rt.getAppletObject=function(){var at=Ee.id!==void 0?Ee.id:"ggbApplet";return window[at]},Rt.resize=function(){};var Se=function(at,_e,et){var yt=document.createElement("param");yt.setAttribute("name",_e),yt.setAttribute("value",et),at.appendChild(yt)},Pe=function(at){return at&&at!=="false"},Qe=function(at,_e,et){he(ee)<=4.2&&(et=!0);var yt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(yt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var mt=document.createElement("div");mt.classList.add("appletParameters","notranslate");var Dt=_e.width,ut=_e.height;if(_e.disableAutoScale=_e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():_e.disableAutoScale,_e.width!==void 0)if(he(ee)<=4.4)Pe(_e.showToolBar)&&(_e.height-=7),Pe(_e.showAlgebraInput)&&(_e.height-=37),_e.width<605&&Pe(_e.showToolBar)&&(_e.width=605,Dt=605);else{var st=100;(Pe(_e.showToolBar)||Pe(_e.showMenuBar))&&(_e.hasOwnProperty("customToolBar")&&(_e.customToolbar=_e.customToolBar),st=Pe(_e.showMenuBar)?245:155),Dt=5?(_e.appletOnLoad=function(tt){var Pt=at.querySelector(".ggb_preview");Pt&&Pt.parentNode.removeChild(Pt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ge),window.GGBT_wsf_view&&$(window).trigger("resize"),pt(tt)},qe||Ge.appendChild(Ft)):mt.appendChild(Ft),Ge.appendChild(mt),qe||at.appendChild(Ge),setTimeout(function(){Rt.resize()},1)}else{var Ct=document.createElement("div");Ct.className="applet_scaler",Ct.style.position="relative",Ct.style.display="block",Ct.appendChild(mt),at.appendChild(Ct),_e.appletOnLoad=function(tt){Rt.resize(),pt(tt)}}function Et(tt,Pt){Pt&&typeof Pt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(tt,Pt.appletOnLoad):renderGGBElement(tt),rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Pt)}function Ye(tt,Pt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:tt,params:Pt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ln){Et(ln.article,ln.params)}),html5AppletsToProcess=null)},he(ee)<5&&(tt.className+=" geogebraweb")):Et(tt,Pt)}if(yt){scriptLoadStarted=!0;for(var Ne=0;Ne0?(Ve.remove(),Ge.attr("id","fullscreencontent").show(),jQuery(pt).append(Ge),window.dispatchEvent(new Event("resize"))):Qe(Ve,_e,!1),window.GGBT_wsf_view.launchFullScreen(pt)}else ne=yt,Qe(at,_e,!1);if(!window.GGBT_wsf_view)for(ut=0;utat/4*3&&(Ve=at/4*3),pt=Ve/5.8,st.setAttribute("src",E),st.setAttribute("width",Ve),st.setAttribute("height",pt);var Ge=(at-Ve)/2,qe=(_e-pt)/2;st.style.left=Ge+"px",st.style.top=qe+"px",mt.appendChild(st)}}return mt.appendChild(ut),mt},Xe=function(at){return at=at.toLowerCase(),at==="html5"||at==="screenshot"?at:"html5"},Oe=["web","webSimple","web3d","tablet","tablet3d","phone"],it=function(at,_e){if(ee=at,_e){At(ee,!0);return}var et=!ze;if(et){var yt=he(ee);!isNaN(yt)&&yt<4.4&&(et=!1)}var mt,Dt;window.location.protocol.substr(0,4)==="http"?mt=window.location.protocol:mt="http:";var ut=ee.indexOf("//");ut>0?Dt=ee:ut===0?Dt=mt+ee:Dt="https://www.geogebra.org/apps/5.2.814.0/";for(var st in Oe)if(ee.slice(Oe[st].length*-1)===Oe[st]||ee.slice((Oe[st].length+1)*-1)===Oe[st]+"/"){At(Dt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&et&&!de.is3D&&!de.AV&&!de.SV&&!de.CV&&!de.EV2&&!de.CP&&!de.PC&&!de.DA&&!de.FI&&!de.PV&&!Pe(Ee.showToolBar)&&!Pe(Ee.showMenuBar)&&!Pe(Ee.showAlgebraInput)&&!Pe(Ee.enableRightClick)&&(!Ee.appName||Ee.appName=="classic")?Dt+="webSimple/":Dt+="web3d/",At(Dt,!1)},At=function(at,_e){if(at.requirejs){ie=at;return}at.slice(-1)!=="/"&&(at+="/"),ie=at,_e===null&&(_e=at.indexOf("http")===-1),re=_e,a="web.nocache.js",y=!1;var et=ie.split("/");et.length>1&&(!_e&&et[et.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Oe.indexOf(et[et.length-2])>=0&&(a=et[et.length-2]+".nocache.js")),et=at.split("/"),ee=et[et.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var yt=parseFloat(ee);yt!==NaN&&yt<5&&at.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+yt+" is deprecated. Using version latest instead."),it("5.0",_e))},rt=function(at,_e){window.console&&window.console.log&&(!_e||typeof _e.showLogging=="undefined"||_e.showLogging&&_e.showLogging!=="false")&&console.log(at)};Ee.material_id!==void 0?ye(ct):ct();function ct(){var at=bt;ce!==null?at=ce:parseFloat(at)<5&&(at="5.0"),it(at,!1),Ae!==null&&At(Ae,re),pe=!0}return Rt},GGBAppletUtils=function(){"use strict";function Rt(){return window.GGBT_wsf_edit!==void 0}function bt(pe,ce){ce!=1?(pe.style.transformOrigin="0% 0% 0px",pe.style.webkitTransformOrigin="0% 0% 0px",pe.style.transform="scale("+ce+","+ce+")",pe.style.webkitTransform="scale("+ce+","+ce+")",pe.style.maxWidth="initial",pe.querySelector(".ggb_preview")!==null&&(pe.querySelector(".ggb_preview").style.maxWidth="initial"),pe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(pe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),pe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(pe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(pe.style.transform="none",pe.style.webkitTransform="none")}function Ee(pe,ce,Ae,oe,se,ae){var ie=null;if(ae!=null&&ae!="")for(var re=pe.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){ie=re;break}else re=re.parentNode;var ne=0,ee=0,a=0,y=0,x=0,E=0,z=0;if(ie)ne=ie.offsetWidth,ee=Math.max(oe?ie.offsetWidth:0,ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),pe){var te=pe.getBoundingClientRect();te.left>0&&te.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-te.width-te.left,E=a<=480?10:30):(E=te.left,x=a<=480?10:30),y=E+x)}if(pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=pe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return pe&&((Ae===void 0||!Ae)&&ce>0&&ce+y1&&(ae=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(pe.hasOwnProperty("disableAutoScale")&&pe.disableAutoScale))se=de(pe,ce,ae,Ae,pe.scaleContainerClass);else return oe;return ae&&(!pe.hasOwnProperty("scale")||oe===1)?se:Math.min(oe,se)}function b(pe){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),Ae=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=pe.getBoundingClientRect(),se=(ce-oe.width)/2,ae=(Ae-oe.height)/2;ae<0&&(ae=0),pe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?pe.style.left="40px":pe.style.left=se+"px",pe.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?pe.style.top="40px":pe.style.top=ae+"px",pe.style.left=se+"px")}function we(pe,ce){var Ae=pe.querySelector(".appletParameters");if(Ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==Ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(pe)}if(Ae.parentElement&&/fullscreen/.test(Ae.parentElement.className))return;var oe=ze(ce,pe);Rt()&&Ae.setAttribute("data-param-scale",oe);for(var se=null,ae=0;ae=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(Rt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Rt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Rt){var bt=c[Rt];return bt==null?null:bt},r=d,webModule.__errFn=e}function B(){function Rt(pe){var ce=pe.lastIndexOf(rb);ce==-1&&(ce=pe.length);var Ae=pe.indexOf(sb);Ae==-1&&(Ae=pe.length);var oe=pe.lastIndexOf(tb,Math.min(Ae,ce));return oe>=O?pe.substring(O,oe+P):W}function bt(pe){if(!pe.match(/^\w+:\/\//)){var ce=o.createElement(ub);ce.src=pe+vb,pe=Rt(ce.src)}return pe}function Ee(){var pe=__gwt_getMetaProperty(wb);return pe!=null?pe:W}function de(){for(var pe=o.getElementsByTagName(_),ce=O;ceO?pe[pe.length-P].href:W}function b(){var pe=o.location;return pe.href==pe.protocol+zb+pe.host+pe.pathname+pe.search+pe.hash}var we=Ee();return we==W&&(we=de()),we==W&&(we=ze()),we==W&&b()&&(we=Rt(o.location.href)),we=bt(we),we}function C(Rt){return Rt.match(/^\//)||Rt.match(/^[a-zA-Z]+:\/\//)?Rt:webModule.__moduleBase+Rt}function D(){var Rt=[],bt=O,Ee=[],de=[];function ze(pe){var ce=de[pe](),Ae=Ee[pe];if(ce in Ae)return ce;var oe=[];for(var se in Ae)oe[Ae[se]]=se;throw r&&r(pe,oe,ce),null}if(__gwt_isKnownPropertyValue=function(pe,ce){return ce in Ee[pe]},webModule.__getPropMap=function(){var pe={};for(var ce in Ee)Ee.hasOwnProperty(ce)&&(pe[ce]=ze(ce));return pe},webModule.__computePropValue=ze,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var b;try{b=Cb;var we=b.indexOf(Db);we!=-1&&(bt=parseInt(b.substring(we+P),$),b=b.substring(O,we))}catch(pe){}return webModule.__softPermutationId=bt,C(b+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(Rt,bt,Ee){"use strict";Ee.d(bt,{Ax:function(){return we},Ds:function(){return pe},KI:function(){return Ae},SI:function(){return b},f1:function(){return ze}});var de=Ee(78323);function ze(oe){let se=!0;if(oe.length>0){for(let ae=0;aey in a?b(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ae=(a,y)=>{for(var x in y||(y={}))Ae.call(y,x)&&se(a,x,y[x]);if(ce)for(var x of ce(y))oe.call(y,x)&&se(a,x,y[x]);return a},ie=(a,y)=>we(a,pe(y)),re=(a,y)=>{var x={};for(var E in a)Ae.call(a,E)&&y.indexOf(E)<0&&(x[E]=a[E]);if(a!=null&&ce)for(var E of ce(a))y.indexOf(E)<0&&oe.call(a,E)&&(x[E]=a[E]);return x},ne=(a,y,x)=>new Promise((E,z)=>{var te=ve=>{try{he(x.next(ve))}catch(me){z(me)}},ue=ve=>{try{he(x.throw(ve))}catch(me){z(me)}},he=ve=>ve.done?E(ve.value):Promise.resolve(ve.value).then(te,ue);he((x=x.apply(a,y)).next())});const ee=a=>{var y=a,{children:x}=y,E=re(y,["children"]);const[z,te]=(0,ze.useState)(!1);return ze.createElement(de.ZP,ie(ae({},E),{loading:z,onClick:ue=>ne(void 0,null,function*(){try{te(!0),yield E.onClick(ue),te(!1)}catch(he){console.error(he),te(!1)}})}),x)}},96731:function(Rt,bt,Ee){"use strict";Ee.d(bt,{ij:function(){return z},_s:function(){return E},Uf:function(){return x},ZP:function(){return ue}});var de=Ee(59301),ze={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},b=Ee(92310),we=Ee.n(b),pe=Ee(42441),ce=Ee(6848),Ae=Ee(61621),oe=Ee(71418),se=Ee(13922),ae=Ee(78323),ie=Object.defineProperty,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(he,ve,me)=>ve in he?ie(he,ve,{enumerable:!0,configurable:!0,writable:!0,value:me}):he[ve]=me,y=(he,ve)=>{for(var me in ve||(ve={}))ne.call(ve,me)&&a(he,me,ve[me]);if(re)for(var me of re(ve))ee.call(ve,me)&&a(he,me,ve[me]);return he};const x=(he={})=>{var ve,me,ye,Be;let be=(ve=he==null?void 0:he.emotion)==null?void 0:ve.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),Se=(me=he==null?void 0:he.focus)==null?void 0:me.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),Pe=(ye=he==null?void 0:he.action)==null?void 0:ye.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),Qe=(Be=he==null?void 0:he.intention)==null?void 0:Be.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:be||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:Se||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Pe||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Qe||[]}]},E=({className:he,dataSource:ve=[],col:me=4,right:ye,bottom:Be=23,precision:be=0,wrapWidth:Se=1200})=>{const Pe=(Ie="",Me,Fe="--")=>Ie?(Ie==null?void 0:Ie.length)>Me?(Ie==null?void 0:Ie.slice(0,Me-1))+"...":Ie:Fe,Qe=Math.floor((Se-(me-1)*ye)/me);return de.createElement("div",{className:we()(ze.list,he)},!!(ve!=null&&ve.length)&&(ve==null?void 0:ve.map((Ie,Me)=>{const{cover_pic:Fe,created_at:Re,emotion:He,action:Xe,intention:Oe,focus:it}=Ie;return de.createElement("div",{key:Me,className:ze.wrap,style:{width:Qe,marginRight:(1+Me)%me===0?0:ye+be,marginBottom:Be}},de.createElement("div",{className:ze.img},de.createElement("img",{src:`${ae.Z.API_SERVER}${Fe}`}),de.createElement("div",{className:ze.tips},de.createElement("div",null,de.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),de.createElement("span",null,Re))),de.createElement("div",{className:ze.footer},de.createElement("ul",null,de.createElement("li",null,de.createElement("i",{className:"iconfont icon-biaoqing"}),de.createElement("span",null,"\u8868\u60C5\uFF1A",de.createElement(ce.Z,{title:He},de.createElement("span",{className:"c-grey-333"},Pe(He,4))))),de.createElement("li",null,de.createElement("i",{className:"iconfont icon-hangwei"}),de.createElement("span",null,"\u884C\u4E3A\uFF1A",de.createElement(ce.Z,{title:Xe},de.createElement("span",{className:"c-grey-333"},Pe(Xe,4)))))),de.createElement("ul",null,de.createElement("li",null,de.createElement("i",{className:"iconfont icon-yitu"}),de.createElement("span",null,"\u610F\u56FE\uFF1A",de.createElement(ce.Z,{title:Oe},de.createElement("span",{className:"c-grey-333"},Pe(Oe,4))))),de.createElement("li",null,de.createElement("i",{className:"iconfont icon-zhuangtai"}),de.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",de.createElement(ce.Z,{title:it},de.createElement("span",{className:"c-grey-333"},Pe(it,3))))))))})))},z=({className:he,style:ve,title:me,hideBar:ye=!1,children:Be,customText:be="",noDataText:Se="",emptyData:Pe=[],loading:Qe,actionAnalysis:Ie})=>{var Me,Fe;const Re=((Me=Pe==null?void 0:Pe[0])==null?void 0:Me.every(Xe=>{var Oe;return!((Oe=Xe==null?void 0:Xe.data)!=null&&Oe.length)}))&&!((Fe=Pe==null?void 0:Pe[1])!=null&&Fe.length)||!Ie,He=Ie?Se:be;return de.createElement(Ae.Z,{loading:Qe,active:!0},Re&&de.createElement("div",{className:we()(ze.noData,he),style:ve},!!me&&de.createElement("div",{className:ze.title},!ye&&de.createElement("b",null),de.createElement("span",null,me)),de.createElement("div",{className:ze.itemWrap},de.createElement(se.Z,{customText:He}))),!Re&&Be)};var ue=({className:he,style:ve,data:me=[],title:ye,hideBar:Be=!1,loading:be=!1})=>de.createElement("div",{className:we()(ze.analysis,he),style:ve},!!ye&&de.createElement("div",{className:ze.title},!Be&&de.createElement("b",null),de.createElement("span",null,ye)),de.createElement(oe.Z,{spinning:be},de.createElement("div",{className:ze.itemWrap},me==null?void 0:me.map((Se,Pe)=>de.createElement("div",{className:ze.item,key:Pe},de.createElement(pe.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:Se==null?void 0:Se.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Qe){for(let Ie in Se==null?void 0:Se.data)if(Qe==(Se==null?void 0:Se.data[Ie].name))return Qe+" "+(Se==null?void 0:Se.data[Ie].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:Se==null?void 0:Se.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:Se==null?void 0:Se.data}]},style:{height:145}}))))))},12306:function(Rt,bt,Ee){"use strict";var de=Ee(86204),ze=Ee.n(de),b=Object.defineProperty,we=(oe,se,ae)=>se in oe?b(oe,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):oe[se]=ae,pe=(oe,se,ae)=>we(oe,typeof se!="symbol"?se+"":se,ae),ce=(oe,se,ae)=>new Promise((ie,re)=>{var ne=y=>{try{a(ae.next(y))}catch(x){re(x)}},ee=y=>{try{a(ae.throw(y))}catch(x){re(x)}},a=y=>y.done?ie(y.value):Promise.resolve(y.value).then(ne,ee);a((ae=ae.apply(oe,se)).next())});class Ae extends de.EventEmitter{constructor(se,ae){super(),pe(this,"url"),pe(this,"body"),pe(this,"fullContent",""),pe(this,"controller",null),pe(this,"buffer",""),this.url=se,this.body=ae}startStream(){return ce(this,null,function*(){this.controller=new AbortController;const{signal:se}=this.controller;try{const ae=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:se});if(!ae.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ae.status}`);const ie=ae.headers.get("content-type");if(!ie)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ie.includes("application/json")){const ee=yield ae.json();this.emit("error",ee);return}if(!ie.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const re=ae.body.getReader(),ne=new TextDecoder("utf-8");for(;;){const{done:ee,value:a}=yield re.read();if(ee)break;const y=ne.decode(a,{stream:!0});this.buffer+=y;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const E of x)if(E.startsWith("data:")){const z=E.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=E+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(ae){ae.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ae.message)}})}handleData(se){se.content&&(this.fullContent+=se.content,this.emit("data",{chunk:se,full:this.fullContent}))}cancelRequest(){var se;(se=this.controller)==null||se.abort()}}bt.Z=Ae},57593:function(Rt,bt,Ee){"use strict";Ee.d(bt,{Z:function(){return Oe}});var de=Ee(59301),ze=Ee(97831),b=Ee(66328),we=Ee(3977),pe=Ee(18369),ce=Ee(56102),Ae={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},oe=Ee(8591),se=Ee(11611),ae=Ee(13058),ie=Ee(30084),re=Ee(10787),ne=Ee(79562),ee=Ee(43428),a=Ee(95237),y=Ee(43604),x={smartWrp:"smartWrp___NjRcB"},E=Ee(95440),z=Ee(16338),te=Ee(75353),ue=Ee(59301),he=(it,At,rt)=>new Promise((ct,at)=>{var _e=mt=>{try{yt(rt.next(mt))}catch(Dt){at(Dt)}},et=mt=>{try{yt(rt.throw(mt))}catch(Dt){at(Dt)}},yt=mt=>mt.done?ct(mt.value):Promise.resolve(mt.value).then(_e,et);yt((rt=rt.apply(it,At)).next())});const ve=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(ae){ae.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ae.message)}})}handleData(se){se.content&&(this.fullContent+=se.content,this.emit("data",{chunk:se,full:this.fullContent}))}cancelRequest(){var se;(se=this.controller)==null||se.abort()}}bt.Z=Ae},57593:function(Rt,bt,Ee){"use strict";Ee.d(bt,{Z:function(){return Oe}});var de=Ee(59301),ze=Ee(97831),b=Ee(66328),we=Ee(3977),pe=Ee(18369),ce=Ee(56102),Ae={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},oe=Ee(8591),se=Ee(11611),ae=Ee(55939),ie=Ee(30084),re=Ee(10787),ne=Ee(79562),ee=Ee(43428),a=Ee(95237),y=Ee(43604),x={smartWrp:"smartWrp___NjRcB"},E=Ee(95440),z=Ee(16338),te=Ee(75353),ue=Ee(59301),he=(it,At,rt)=>new Promise((ct,at)=>{var _e=mt=>{try{yt(rt.next(mt))}catch(Dt){at(Dt)}},et=mt=>{try{yt(rt.throw(mt))}catch(Dt){at(Dt)}},yt=mt=>mt.done?ct(mt.value):Promise.resolve(mt.value).then(_e,et);yt((rt=rt.apply(it,At)).next())});const ve=` diff --git a/p__Classrooms__ThemeChange__Board.c23ec4c3.async.js b/p__Classrooms__ThemeChange__Board.0347d160.async.js similarity index 99% rename from p__Classrooms__ThemeChange__Board.c23ec4c3.async.js rename to p__Classrooms__ThemeChange__Board.0347d160.async.js index 12ea425f49..cac2043e89 100644 --- a/p__Classrooms__ThemeChange__Board.c23ec4c3.async.js +++ b/p__Classrooms__ThemeChange__Board.0347d160.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[9406],{32050:function(xe,ft,re){"use strict";re.d(ft,{Z:function(){return Ne}});var z=re(54476),se=re(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Xe=ze,Be=re(7657),We=function(De,Qe){return se.createElement(Be.Z,(0,z.Z)({},De,{ref:Qe,icon:Xe}))},Ee=se.forwardRef(We),Ne=Ee},27431:function(xe,ft){"use strict";ft.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},84828:function(xe,ft,re){"use strict";var z=re(59301),se=Object.defineProperty,ze=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,We=(Me,De,Qe)=>De in Me?se(Me,De,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Me[De]=Qe,Ee=(Me,De)=>{for(var Qe in De||(De={}))Xe.call(De,Qe)&&We(Me,Qe,De[Qe]);if(ze)for(var Qe of ze(De))Be.call(De,Qe)&&We(Me,Qe,De[Qe]);return Me};const Ne=Me=>React.createElement("svg",Ee({width:17,height:10,xmlns:"http://www.w3.org/2000/svg"},Me),React.createElement("title",null,"new"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"-5%",y1:"37.065%",x2:"100%",y2:"67.301%",id:"new_svg__a"},React.createElement("stop",{stopColor:"#FF420B",offset:"0%"}),React.createElement("stop",{stopColor:"#FF9B44",offset:"100%"}))),React.createElement("path",{d:"M700.618 185h-14.236c-.781 0-1.382.629-1.382 1.447v7.106c0 .818.6 1.447 1.382 1.447h14.236c.781 0 1.382-.629 1.382-1.447v-7.106c0-.818-.6-1.447-1.382-1.447Zm-10.692 7.358h-.961l-1.863-3.836v3.836h-.6v-4.59h.84l1.923 3.962h.06v-3.963h.6v4.591Zm1.502-2.641h2.342v.629h-2.342v.126c0 .817.24 1.195.72 1.195h1.682v.629h-1.682c-.36 0-.66-.126-.9-.44-.24-.315-.361-.818-.361-1.384v-1.07c0-1.069.66-1.509 1.321-1.635h1.622v.63h-1.561c-.24.062-.781.25-.781 1.006-.06.125-.06.188-.06.314Zm7.809 2.641h-.841l-.841-3.647-.961 3.647h-.901l-1.262-4.59h.66l1.082 3.773h.06l.961-3.774h.721l.961 3.963 1.142-3.963h.6l-1.381 4.591Z",transform:"translate(-685 -185)",fill:"url(#new_svg__a)",fillRule:"nonzero"}));ft.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItNSUiIHkxPSIzNy4wNjUlIiB4Mj0iMTAwJSIgeTI9IjY3LjMwMSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkY0MjBCIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGOUI0NCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTcwMC42MTggMTg1aC0xNC4yMzZjLS43ODEgMC0xLjM4Mi42MjktMS4zODIgMS40NDd2Ny4xMDZjMCAuODE4LjYgMS40NDcgMS4zODIgMS40NDdoMTQuMjM2Yy43ODEgMCAxLjM4Mi0uNjI5IDEuMzgyLTEuNDQ3di03LjEwNmMwLS44MTgtLjYtMS40NDctMS4zODItMS40NDdabS0xMC42OTIgNy4zNThoLS45NjFsLTEuODYzLTMuODM2djMuODM2aC0uNnYtNC41OWguODRsMS45MjMgMy45NjJoLjA2di0zLjk2M2guNnY0LjU5MVptMS41MDItMi42NDFoMi4zNDJ2LjYyOWgtMi4zNDJ2LjEyNmMwIC44MTcuMjQgMS4xOTUuNzIgMS4xOTVoMS42ODJ2LjYyOWgtMS42ODJjLS4zNiAwLS42Ni0uMTI2LS45LS40NC0uMjQtLjMxNS0uMzYxLS44MTgtLjM2MS0xLjM4NHYtMS4wN2MwLTEuMDY5LjY2LTEuNTA5IDEuMzIxLTEuNjM1aDEuNjIydi42M2gtMS41NjFjLS4yNC4wNjItLjc4MS4yNS0uNzgxIDEuMDA2LS4wNi4xMjUtLjA2LjE4OC0uMDYuMzE0Wm03LjgwOSAyLjY0MWgtLjg0MWwtLjg0MS0zLjY0Ny0uOTYxIDMuNjQ3aC0uOTAxbC0xLjI2Mi00LjU5aC42NmwxLjA4MiAzLjc3M2guMDZsLjk2MS0zLjc3NGguNzIxbC45NjEgMy45NjMgMS4xNDItMy45NjNoLjZsLTEuMzgxIDQuNTkxWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTY4NSAtMTg1KSIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+"},87851:function(){"use strict";function xe(ie,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=ie,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(xe.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(xe.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(xe.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(xe.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,a){var E=go.Shape._FigureParameters[ie];return E?E[a]:null},go.Shape.setFigureParameter=function(ie,a,E){if(!(E instanceof xe))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var x=go.Shape._FigureParameters[ie];x||(x=[],go.Shape._FigureParameters[ie]=x),x[a]=E};var ft=[];function re(ie,a){var E=ft.pop();return E===void 0?new go.Point(ie,a):(E.x=ie,E.y=a,E)}function z(){var ie=ft.pop();return ie===void 0?new go.Point:ie}function se(ie){ft.push(ie)}function ze(ie,a,E,x,y,b,ee,te,oe){oe||(oe=new go.Point);var ae=ie-E,ue=y-ee,de=NaN,Ce=NaN;if(ae===0)if(ue===0)ie===E&&(de=ie,Ce=a);else{var Se=(b-te)/ue,we=b-Se*y;de=ie,Ce=Se*de+we}else if(ue===0){var Ie=(a-x)/ae,it=a-Ie*ie;de=y,Ce=Ie*de+it}else{var Ie=(a-x)/ae,Se=(b-te)/ue,it=a-Ie*ie,we=b-Se*y;de=(we-it)/(Ie-Se),Ce=Ie*de+it}return oe.x=de,oe.y=Ce,oe}function Xe(ie,a,E,x,y,b,ee,te,oe,ae,ue,de,Ce,Se){var we=1-oe,Ie=oe,it=ie*we+E*Ie,vt=a*we+x*Ie,Gt=E*we+y*Ie,rn=x*we+b*Ie,yt=y*we+ee*Ie,Xt=b*we+te*Ie,vn=it*we+Gt*Ie,Rt=vt*we+rn*Ie,Ft=Gt*we+yt*Ie,Ot=rn*we+Xt*Ie,cn=vn*we+Ft*Ie,Tt=Rt*we+Ot*Ie;ae.x=it,ae.y=vt,ue.x=vn,ue.y=Rt,de.x=cn,de.y=Tt,Ce.x=Ft,Ce.y=Ot,Se.x=yt,Se.y=Xt}var Be=new go.Spot(.156,.156),We=new go.Spot(.844,.844),Ee=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new xe("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,a,E){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*Ee,b=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(b.spot1=new go.Spot(0,0,y,y),b.spot2=new go.Spot(1,1,-y,-y)),b}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(ie,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,a,E){var x=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Be,y.spot2=We,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ie,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(ie,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,Ee*a,0,a,(1-Ee)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,Ee*E,(1-Ee)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,Ee*E,Ee*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-Ee)*a,0,0,(1-Ee)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new xe("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y
a&&(x=a);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(x=.5);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+te,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),b.spot1=Be,b.spot2=We,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Cloud",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,a,E){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new xe("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new xe("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,a,E){var x=ie?ie.parameter1:NaN,y=ie?ie.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var b=x%360;b<0&&(b+=360);var ee=y%360,te=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,b,ee,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,a,E){var x=Ee/Math.SQRT2*.5,y=Math.SQRT2/2,b=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,b*E,a,(1-x)*E,(y+x)*a,(b+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new xe("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,a,E){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,a)/2,b=a/2,ee=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,a,ee-y)).add(new go.PathSegment(go.PathSegment.Line,a,ee+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,ee-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new xe("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,a,E){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,a)/2,b=a/2,ee=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,a,ee-y)).add(new go.PathSegment(go.PathSegment.Line,a,ee+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,ee-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new xe("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,a,E){var x=ie?ie.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var b=a/2,ee=E/2,te=Math.atan2(E,a),oe=x-Math.min(Math.cos(te)*x/2,b),ae=x-Math.min(Math.sin(te)*x/2,ee),y=new go.Geometry,ue=new go.PathFigure(oe,0,!0);return y.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b,.2*E)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a,E-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,E)),ue.add(new go.PathSegment(go.PathSegment.Line,b,.8*E)),ue.add(new go.PathSegment(go.PathSegment.Line,oe,E)),ue.add(new go.PathSegment(go.PathSegment.Line,0,E-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new xe("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,a,E){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new xe("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new xe("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,Ee*a,0,a,(.5-Ee/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+Ee/2)*E,Ee*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var b=.2,ee=.3,te=0,oe=b*Ee;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+te)*E,(.5-b+ee)*a,(.5+oe+te)*E,(.5-oe+ee)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*E,(.5+oe+ee)*a,(.5+b+te)*E,(.5+b+ee)*a,(.5+oe+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*E,(1-.5+b+ee)*a,(.5-oe+te)*E,(.5+oe+ee)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-oe+ee)*a,(.5-b+te)*E,(.5-b+ee+.05)*a,(.5-oe+te-.02)*E)),b=.2,ee=0,te=-.3,oe=b*Ee,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*E,(.5+oe+ee)*a,(.5+b+te)*E,(.5+b+ee)*a,(.5+oe+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*E,(1-.5+b+ee)*a,(.5-oe+te)*E,(.5+oe+ee)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*E,(.5-oe+ee)*a,(.5-b+te)*E,(.5-b+ee)*a,(.5-oe+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+ee)*a,(.5+b+te)*E,(.5-b+ee)*a,(.5+oe+te)*E,(.5-oe+ee)*a,(.5+b+te)*E)),b=.2,ee=-.3,te=0,oe=b*Ee,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*E,(1-.5+b+ee-.05)*a,(.5-oe+te-.02)*E,(.5+oe+ee)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*E,(.5-oe+ee)*a,(.5-b+te)*E,(.5-b+ee)*a,(.5-oe+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+te)*E,(.5-b+ee)*a,(.5+oe+te)*E,(.5-oe+ee)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+oe+ee)*a,(.5+b+te)*E,(.5+b+ee)*a,(.5+oe+te)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var b=.1,ee=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ee+b)*a,te*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,E*te,b*a,b*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),te=.75,y=new go.PathFigure((ee+b)*a,te*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,E*te,b*a,b*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ie,a,E){var x=.8535533905932737,y=.5*a,b=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,b,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=.5,ee=.5,te=.5,oe=new go.PathFigure(ee*a,(te-b)*E);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-b)*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E)),b=.4,y=Ee*.4;var ae=z(),ue=z(),de=z(),Ce=z();Xe(ee,te-b,ee+y,te-b,ee+b,te-y,ee+b,te,.42,ae,ue,de,Ce,Ce);var Se=z(),we=z(),Ie=z();Xe(ee,te-b,ee+y,te-b,ee+b,te-y,ee+b,te,.58,Ce,Ce,Ie,Se,we);var it=z(),vt=z(),Gt=z();Xe(ee,te+b,ee-y,te+b,ee-b,te+y,ee-b,te,.42,it,vt,Gt,Ce,Ce);var rn=z(),yt=z(),Xt=z();return Xe(ee,te+b,ee-y,te+b,ee-b,te+y,ee-b,te,.58,Ce,Ce,Xt,rn,yt),oe.add(new go.PathSegment(go.PathSegment.Move,Xt.x*a,Xt.y*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,rn.x*a,rn.y*E,yt.x*a,yt.y*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-b)*E,(ee-b)*a,(te-y)*E,(ee-y)*a,(te-b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,ae.x*a,ae.y*E,ue.x*a,ue.y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,Xt.x*a,Xt.y*E).close()),oe.add(new go.PathSegment(go.PathSegment.Move,Gt.x*a,Gt.y*E)),oe.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,Se.x*a,Se.y*E,we.x*a,we.y*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee+b)*a,(te+y)*E,(ee+y)*a,(te+b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Gt.x*a,Gt.y*E,it.x*a,it.y*E,vt.x*a,vt.y*E).close()),se(ae),se(ue),se(de),se(Ce),se(Se),se(we),se(Ie),se(it),se(vt),se(Gt),se(rn),se(yt),se(Xt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new xe("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,a,E){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,b=y+x;return new go.Geometry().add(new go.PathFigure(b,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,a,E){var x=new go.Geometry,y=Ee*.4,b=.4,ee=.5,te=.5,oe=z(),ae=z(),ue=z(),de=z(),Ce=new go.PathFigure((ee-b)*a,te*E,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-b)*E,(ee-b)*a,(te-y)*E,(ee-y)*a,(te-b)*E)),Xe(ee,te-b,ee+y,te-b,ee+b,te-y,ee+b,te,.44,ue,de,ae,oe,oe),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,ue.x*a,ue.y*E,de.x*a,de.y*E));var Se=re(ae.x,ae.y);Xe(ee,te-b,ee+y,te-b,ee+b,te-y,ee+b,te,.56,oe,oe,ae,ue,de);var we=re(ae.x,ae.y);Ce.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.95*.9)*a,Se.y*.1*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,Se.y*.1*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*a,.15*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*a,(we.y*.1+.05*.9)*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,ue.x*a,ue.y*E,de.x*a,de.y*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee+b)*a,(te+y)*E,(ee+y)*a,(te+b)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,(ee-y)*a,(te+b)*E,(ee-b)*a,(te+y)*E)),b=.35,y=Ee*.35;var Ie=new go.PathFigure(ee*a,(te-b)*E,!1);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-b)*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E));var it=new go.PathFigure((ee-b)*a,te*E,!1);return x.add(it),se(oe),se(ae),se(ue),se(de),se(Se),se(we),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,a,E){var x=new go.Geometry,y=.375,b=0,ee=-.125,te=y*Ee,oe=new go.PathFigure((.525+b)*a,(.5+y+ee)*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+ee)*E,(.5+te+b)*a,(.5+y+ee)*E,(.5+y+b)*a,(.5+te+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+ee)*E,(1-.5+y+b)*a,(.5-te+ee)*E,(.5+te+b)*a,(.5-y+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+ee)*E,(.5-te+b)*a,(.5-y+ee)*E,(.5-y+b)*a,(.5-te+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+b)*a,(.5+y+ee)*E,(.5-y+b)*a,(.5+te+ee)*E,(.5-te+b)*a,(.5+y+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,b=0,ee=-.125,te=y*Ee;var oe=new go.PathFigure((1-.5+y+b)*a,(.5+ee)*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5+y+ee)*E,(.5+y+b)*a,(.5+te+ee)*E,(.5+te+b)*a,(.5+y+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+ee)*E,(.5-te+b)*a,(.5+y+ee)*E,(.5-y+b)*a,(.5+te+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+ee)*E,(.5-y+b)*a,(.5-te+ee)*E,(.5-te+b)*a,(.5-y+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+ee)*E,(.5+te+b)*a,(.5-y+ee)*E,(1-.5+y+b)*a,(.5-te+ee)*E));var oe=new go.PathFigure((.525+b)*a,(.5+y+ee)*E,!1);return x.add(oe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,a,E){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,a,E){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,a,E){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new xe("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new xe("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=.3);var b=(1-x)*a,ee=(.5-y/2)*E,te=(.5+y/2)*E,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,b,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,b,E)),ae.add(new go.PathSegment(go.PathSegment.Line,b,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),oe.spot1=new go.Spot(0,ee/E);var ue=ze(0,te/E,1,te/E,b/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.setFigureParameter("Arrow2",0,new xe("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new xe("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var b=a-x,ee=(E-y)/2,te=ee+y,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,b,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,b,E)),ae.add(new go.PathSegment(go.PathSegment.Line,b,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),oe.spot1=new go.Spot(0,ee/E);var ue=ze(0,te/E,1,te/E,b/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.defineFigureGenerator("Chevron",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new xe("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,ee=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=ze(0,.5,.3,0,0,y/E,.1,y/E,z());return ee.spot1=new go.Spot(oe.x,oe.y),oe=ze(.7,1,1,.5,0,b/E,1,b/E,oe),ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new xe("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new xe("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,ee=b+x,te=(E-y)/2,oe=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,ee=b+x,te=0,oe=E):(b=0,ee=E,te=0,oe=E));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*E,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close());var de=ze(0,.5,.3,te/E,0,b/E,1,b/E,z());return ae.spot1=new go.Spot(de.x,de.y),de=ze(.7,oe/E,1,.5,0,ee/E,1,ee/E,de),ae.spot2=new go.Spot(de.x,de.y),se(de),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new xe("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,ee=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,y/E);var oe=ze(.7,1,1,.5,0,b/E,1,b/E,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new xe("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new xe("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,ee=b+x,te=(E-y)/2,oe=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,ee=b+x,te=0,oe=E):(b=0,ee=E,te=0,oe=E));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*E,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close()),ae.spot1=new go.Spot(0,b/E);var de=ze(.7,oe/E,1,.5,0,ee/E,1,ee/E,z());return ae.spot2=new go.Spot(de.x,de.y),se(de),ae}),go.Shape.setFigureParameter("Pointer",0,new xe("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ee=ze(.2,.65,1,.65,0,1,1,.5,z());return y.spot2=new go.Spot(ee.x,ee.y),se(ee),y}),go.Shape.setFigureParameter("RoundedPointer",0,new xe("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var ee=ze(0,.65,1,.65,0,1,1,.5,z());return y.spot2=new go.Spot(ee.x,ee.y),se(ee),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new xe("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,b=(.5+x/2)*E,ee=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var oe=ze(.7,1,1,.5,0,b/E,1,b/E,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new xe("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,b=y+x;x>E&&(y=0,b=E);var ee=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,y/E);var oe=ze(.7,1,1,.5,0,b/E,1,b/E,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new xe("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,x*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=Ee*.1,ee=new go.PathFigure(0,.9*E,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var b=new go.PathFigure(0,.9*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var b=new go.PathFigure(0,.3*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=Ee*.5,ee=new go.PathFigure(0,x,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ee*x,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+b)*a,0,1*a,Ee*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-Ee*x,(.5+b)*a,1*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,1*E,0,E-Ee*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var te=new go.PathFigure(a,x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-Ee*x,(.5+b)*a,2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-b)*a,2*x,0,2*x-Ee*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=Ee*.5,ee=new go.PathFigure(0,E-x,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ee*x,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+b)*a,0,a,Ee*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-Ee*x,(.5+b)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,E,0,E-Ee*x));var te=new go.PathFigure(0,E-x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-Ee*x,(.5-b)*a,E-2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+b)*a,E-2*x,a,E-x-Ee*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=Ee*.5,ee=new go.PathFigure(x,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-Ee*x,0,a,(.5-b)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-Ee*x,E)),ee.add(new go.PathSegment(go.PathSegment.Line,x,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,Ee*x,E,0,(.5+b)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,Ee*x,0));var te=new go.PathFigure(x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+Ee*x,0,2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+b)*E,x+Ee*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=Ee*.5,ee=new go.PathFigure(a-x,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-Ee*x,0,a,(.5-b)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-Ee*x,E)),ee.add(new go.PathSegment(go.PathSegment.Line,x,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,Ee*x,E,0,(.5+b)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,Ee*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var te=new go.PathFigure(a-x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-Ee*x,0,a-2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+b)*E,a-x-Ee*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.25*a,.25*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ie,a,E){var x=new go.Geometry,y=.2,b=.1,ee=Ee*y,te=Ee*b,oe=.5,ae=.1,ue=new go.PathFigure(oe*a,(ae+b)*E,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-y)*a,ae*E,(oe-ee)*a,(ae+b)*E,(oe-y)*a,(ae+te)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-b)*E,(oe-y)*a,(ae-te)*E,(oe-ee)*a,(ae-b)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+y)*a,ae*E,(oe+ee)*a,(ae-b)*E,(oe+y)*a,(ae-te)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+b)*E,(oe+y)*a,(ae+te)*E,(oe+ee)*a,(ae+b)*E));var de=.05,Ce=Ee*de;oe=.05,ae=.25;var Se=new go.PathFigure(.5*a,.2*E,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),oe=.95,ae=.25,Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+de)*a,ae*E,(oe+Ce)*a,(ae-de)*E,(oe+de)*a,(ae-Ce)*E)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),de=.025,Ce=Ee*de,oe=.825,ae=.35,Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-de)*E,(oe+de)*a,(ae-Ce)*E,(oe+Ce)*a,(ae-de)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-de)*a,ae*E,(oe-Ce)*a,(ae-de)*E,(oe-de)*a,(ae-Ce)*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),de=.05,Ce=Ee*de,oe=.5,ae=.7,Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-de)*E,(oe+de)*a,(ae-Ce)*E,(oe+Ce)*a,(ae-de)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-de)*a,ae*E,(oe-Ce)*a,(ae-de)*E,(oe-de)*a,(ae-Ce)*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),de=.025,Ce=Ee*de,oe=.175,ae=.35,Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-de)*E,(oe+de)*a,(ae-Ce)*E,(oe+Ce)*a,(ae-de)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-de)*a,ae*E,(oe-Ce)*a,(ae-de)*E,(oe-de)*a,(ae-Ce)*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),de=.05,Ce=Ee*de,oe=.05,ae=.25,Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-de)*E,(oe-de)*a,(ae-Ce)*E,(oe-Ce)*a,(ae-de)*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new xe("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,a,E){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var b=new go.PathFigure(.5*a,.5*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(0,y*E,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("Database",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=Ee*.1,ee=new go.PathFigure(a,.1*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+b)*E,(.5+y)*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+b)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=Ee*.1,ee=new go.PathFigure(a,.1*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var b=Ee*.2,ee=new go.PathFigure(0,.2*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-b)*E,(.2-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+b)*a,0,a,(.2-b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+b)*E,(.8+b)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-b)*a,E,0,(.8+b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var te=new go.PathFigure(0,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(0,y*E,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(ie,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(y*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(.1*a,.4*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.75*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var b=new go.PathFigure(a,.5*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E));var ee=new go.PathFigure(a,.5*E,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Move,0,b*E)),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x}),go.Shape.defineFigureGenerator("Junction",function(ie,a,E){var x=new go.Geometry,y=1/Math.SQRT2,b=(1-1/Math.SQRT2)/2,ee=Ee*.5,te=.5,oe=new go.PathFigure(a,te*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,E,a,(te+ee)*E,(te+ee)*a,E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,te*E,(te-ee)*a,E,0,(te+ee)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-ee)*E,(te-ee)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,te*E,(te+ee)*a,0,a,(te-ee)*E));var ae=new go.PathFigure((b+y)*a,(b+y)*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)),ae.add(new go.PathSegment(go.PathSegment.Move,b*a,(b+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Line,(b+y)*a,b*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var b=new go.PathFigure(.1*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=.5,ee=new go.PathFigure(.5*a,E,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(b+.1)*a,.9*E,a,(b+y)*E,(b+y)*a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.7);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var b=new go.PathFigure(.1*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var b=new go.PathFigure(.2*a,.1*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var b=1-y,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var te=new go.PathFigure(.5*y*a,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=.5,ee=new go.PathFigure(a,b*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ie,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure((1-y)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x}),go.Shape.defineFigureGenerator("Process",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(y*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(0,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(y*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var ee=new go.PathFigure(y*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,a,E){var x=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=.5,ee=new go.PathFigure(a,b*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,b*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E));var oe=new go.PathFigure(.8*a,.75*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),x}),go.Shape.defineFigureGenerator("Inverter",function(ie,a,E){var x=new go.Geometry,y=Ee*.1,b=.1,ee=.9,te=.5,oe=new go.PathFigure(.8*a,.5*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var ae=new go.PathFigure((ee+b)*a,te*E,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee+b)*a,(te+y)*E,(ee+y)*a,(te+b)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,(ee-y)*a,(te+b)*E,(ee-b)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-b)*E,(ee-b)*a,(te-y)*E,(ee-y)*a,(te-b)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,(ee+y)*a,(te-b)*E,(ee+b)*a,(te-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=Ee*.4,ee=Ee*.1,te=.1,oe=.9,ae=.5,ue=new go.PathFigure(.8*a,.5*E,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+b)*E,(.4+y)*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,0,E)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-b)*E));var de=new go.PathFigure((oe+te)*a,ae*E,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+te)*E,(oe+te)*a,(ae+ee)*E,(oe+ee)*a,(ae+te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a,ae*E,(oe-ee)*a,(ae+te)*E,(oe-te)*a,(ae+ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-te)*E,(oe-te)*a,(ae-ee)*E,(oe-ee)*a,(ae-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a,ae*E,(oe+ee)*a,(ae-te)*E,(oe+te)*a,(ae-ee)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ie,a,E){var x=new go.Geometry,y=.5,b=Ee*y,ee=0,te=.5,oe=new go.PathFigure(.8*a,.5*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(te+b)*E,(ee+b)*a,(te+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ee+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=Ee*.1,ee=.9,te=.5;var ae=new go.PathFigure((ee-y)*a,te*E,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-y)*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*a,te*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+y)*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*a,te*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ie,a,E){var x=new go.Geometry,y=.5,b=Ee*y,ee=0,te=.5,oe=new go.PathFigure(0,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ee+b+b)*a,(te-y)*E,.8*a,(te-b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(te+b)*E,(ee+b+b)*a,(te+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ie,a,E){var x=new go.Geometry,y=.5,b=Ee*y,ee=.2,te=.5,oe=new go.PathFigure(.1*a,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ae=new go.PathFigure(.8*a,.5*E,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(te+b)*E,(ee+b)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ee+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=Ee*.1,ee=.9,te=.5;var ue=new go.PathFigure((ee-y)*a,te*E,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-y)*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*a,te*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+y)*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*a,te*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ie,a,E){var x=new go.Geometry,y=.5,b=Ee*y,ee=.2,te=.5,oe=new go.PathFigure(.1*a,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ae=new go.PathFigure(.2*a,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ee+b)*a,(te-y)*E,.9*a,(te-b)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(te+b)*E,(ee+b)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Resistor",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),x}),go.Shape.defineFigureGenerator("Inductor",function(ie,a,E){var x=new go.Geometry,y=Ee*.1,b=.1,ee=.1,te=.5,oe=new go.PathFigure((ee-y*.5)*a,E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,0,(ee-y)*a,E,(ee-b)*a,0)),ee=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,E,(ee+b)*a,0,(ee+y)*a,E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,0,(ee-y)*a,E,(ee-b)*a,0)),ee=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,E,(ee+b)*a,0,(ee+y)*a,E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,0,(ee-y)*a,E,(ee-b)*a,0)),ee=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,E,(ee+b)*a,0,(ee+y)*a,E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,0,(ee-y)*a,E,(ee-b)*a,0)),ee=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y*.5)*a,E,(ee+b)*a,0,(ee+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,a,E){var x=new go.Geometry,y=Ee*.5,b=.5,ee=.5,te=.5,oe=new go.PathFigure((ee-b)*a,te*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-b)*E,(ee-b)*a,(te-y)*E,(ee-y)*a,(te-b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,(ee+y)*a,(te-b)*E,(ee+b)*a,(te-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee+b)*a,(te+y)*E,(ee+y)*a,(te+b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,(ee-y)*a,(te+b)*E,(ee-b)*a,(te+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Move,(ee-b+.1)*a,te*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b-.1)*a,te*E,ee*a,(te-b)*E,ee*a,(te+b)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Diode",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ie,a,E){var x=new go.Geometry,y=a,b=E;a=a*.38,E=E*.6;var ee=Ee*.8,te=.8,oe=0,ae=.5,ue=(y-a)/2,de=(b-E)/2,Ce=new go.PathFigure(oe*a+ue,(ae+te)*E+de,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a+ue,ae*E+de,(oe-ee)*a+ue,(ae+te)*E+de,(oe-te)*a+ue,(ae+ee)*E+de)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-te)*E+de,(oe-te)*a+ue,(ae-ee)*E+de,(oe-ee)*a+ue,(ae-te)*E+de)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te+ee*.5)*a+ue,ae*E+de,oe*a+ue,(ae-te)*E+de,(oe-te+ee*.5)*a+ue,(ae-ee)*E+de)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+te)*E+de,(oe-te+ee*.5)*a+ue,(ae+ee)*E+de,oe*a+ue,(ae+te)*E+de).close()),ee=Ee*.4,te=.4,oe=.2,ae=.5;var Se=new go.PathFigure(oe*a+ue,(ae+te)*E+de,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a+ue,ae*E+de,(oe-ee)*a+ue,(ae+te)*E+de,(oe-te)*a+ue,(ae+ee)*E+de)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-te)*E+de,(oe-te)*a+ue,(ae-ee)*E+de,(oe-ee)*a+ue,(ae-te)*E+de)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te+ee*.5)*a+ue,ae*E+de,oe*a+ue,(ae-te)*E+de,(oe-te+ee*.5)*a+ue,(ae-ee)*E+de)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+te)*E+de,(oe-te+ee*.5)*a+ue,(ae+ee)*E+de,oe*a+ue,(ae+te)*E+de).close()),ee=Ee*.2,te=.2,oe=.5,ae=.5;var we=new go.PathFigure((oe-te)*a+ue,ae*E+de,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-te)*E+de,(oe-te)*a+ue,(ae-ee)*E+de,(oe-ee)*a+ue,(ae-te)*E+de)),we.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a+ue,ae*E+de,(oe+ee)*a+ue,(ae-te)*E+de,(oe+te)*a+ue,(ae-ee)*E+de)),we.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+te)*E+de,(oe+te)*a+ue,(ae+ee)*E+de,(oe+ee)*a+ue,(ae+te)*E+de)),we.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a+ue,ae*E+de,(oe-ee)*a+ue,(ae+te)*E+de,(oe-te)*a+ue,(ae+ee)*E+de)),ee=Ee*.4,te=.4,oe=.8,ae=.5;var Ie=new go.PathFigure(oe*a+ue,(ae-te)*E+de,!0);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a+ue,ae*E+de,(oe+ee)*a+ue,(ae-te)*E+de,(oe+te)*a+ue,(ae-ee)*E+de)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+te)*E+de,(oe+te)*a+ue,(ae+ee)*E+de,(oe+ee)*a+ue,(ae+te)*E+de)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te-ee*.5)*a+ue,ae*E+de,oe*a+ue,(ae+te)*E+de,(oe+te-ee*.5)*a+ue,(ae+ee)*E+de)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-te)*E+de,(oe+te-ee*.5)*a+ue,(ae-ee)*E+de,oe*a+ue,(ae-te)*E+de).close()),ee=Ee*.8,te=.8,oe=1,ae=.5;var it=new go.PathFigure(oe*a+ue,(ae-te)*E+de,!0);return x.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a+ue,ae*E+de,(oe+ee)*a+ue,(ae-te)*E+de,(oe+te)*a+ue,(ae-ee)*E+de)),it.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+te)*E+de,(oe+te)*a+ue,(ae+ee)*E+de,(oe+ee)*a+ue,(ae+te)*E+de)),it.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te-ee*.5)*a+ue,ae*E+de,oe*a+ue,(ae+te)*E+de,(oe+te-ee*.5)*a+ue,(ae+ee)*E+de)),it.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-te)*E+de,(oe+te-ee*.5)*a+ue,(ae-ee)*E+de,oe*a+ue,(ae-te)*E+de).close()),x}),go.Shape.defineFigureGenerator("Email",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var b=new go.PathFigure(.1*a,E,!0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var ee=new go.PathFigure(.6*a,E,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var te=new go.PathFigure(0,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),te.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(ie,a,E){var x=new go.Geometry,y=Ee*.4,b=.4,ee=.5,te=.5,oe=z(),ae=z(),ue=z(),de=z();Xe(ee,te-b,ee+y,te-b,ee+b,te-y,ee+b,te,.5,oe,oe,ae,ue,de);var Ce=re(ae.x,ae.y),Se=new go.PathFigure(ae.x*a,ae.y*E,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,ue.x*a,ue.y*E,de.x*a,de.y*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee+b)*a,(te+y)*E,(ee+y)*a,(te+b)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,(ee-y)*a,(te+b)*E,(ee-b)*a,(te+y)*E)),Xe(ee-b,te,ee-b,te-y,ee-y,te-b,ee,te-b,.5,ue,de,ae,oe,oe),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,ue.x*a,ue.y*E,de.x*a,de.y*E)),y=Ee*.3,b=.3,Xe(ee-b,te,ee-b,te-y,ee-y,te-b,ee,te-b,.5,ue,de,ae,oe,oe),Se.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,te*E,de.x*a,de.y*E,ue.x*a,ue.y*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+b)*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,te*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),Xe(ee,te-b,ee+y,te-b,ee+b,te-y,ee+b,te,.5,oe,oe,ae,ue,de),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,de.x*a,de.y*E,ue.x*a,ue.y*E).close());var Se=new go.PathFigure(.45*a,0,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),se(oe),se(ae),se(ue),se(de),se(Ce),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function b(ee,te,oe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*a,(.8+oe)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*a,(.5+oe)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*a,(.5+oe)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*a,(.8+oe)*E).close())}return b(y,0,0),b(y,.4,0),b(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,a,E){var x=new go.Geometry,y=.5,b=0,ee=0,te=y*Ee,oe=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,ue=1,de=.5,Ce=.5,Se=0,we=new go.PathFigure(oe*a,(1-ae)*E,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,de*E,ue*a,.7*E,ue*a,de*E)),we.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+b)*a,(Se+b)*E,(.5+y+b)*a,(.5-te+b)*E,(.5+te+b)*a,(.5-y+b)*E)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+ee)*E,(.5-te+b)*a,(.5-y+ee)*E,(.5-y+b)*a,(.5-te+ee)*E)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.35+b)*a,.9*E,(.5-y+b)*a,(.5+te+ee)*E,(.5-te+b)*a,.9*E)),we.add(new go.PathSegment(go.PathSegment.Move,(.25+b)*a,.8*E)),we.add(new go.PathSegment(go.PathSegment.Line,(.35+b)*a,.9*E)),we.add(new go.PathSegment(go.PathSegment.Line,(.2+b)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var ee=new go.PathFigure(0,.5*E,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var b=new go.PathFigure(.45*a,.73*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),b.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),b.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(.335*a,(1-.555)*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),b.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var ee=.5-.285,te=.5,oe=ee,ae=Math.PI/4,ue=4*(1-Math.cos(ae))/(3*Math.sin(ae)),de=ue*.5,Ce=ee,Se=ee,we=ue*Ce,Ie=ue*Se;b.add(new go.PathSegment(go.PathSegment.Bezier,(te-Ce)*a,oe*E,(te-(we+Ce)/2)*a,(oe+(Se+Ie)/2)*E,(te-Ce)*a,(oe+Ie)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-Se)*E,(te-Ce)*a,(oe-Ie)*E,(te-we)*a,(oe-Se)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(te+Ce)*a,oe*E,(te+we)*a,(oe-Se)*E,(te+Ce)*a,(oe-Ie)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(te+Ce)*a,(oe+Ie)*E,(te+(we+Ce)/2)*a,(oe+(Se+Ie)/2)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var it=new go.PathFigure(.2*a,E,!1);x.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var vt=new go.PathFigure(.8*a,E,!1);return x.add(vt),vt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var b=new go.PathFigure(.2*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var ee=new go.PathFigure(.1*a,E,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var b=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-b)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,b*a,b*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),x}),go.Shape.defineFigureGenerator("Recycle",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var b=new go.PathFigure(.475*a,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),b.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var ee=new go.PathFigure(.675*a,.575*E,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,a,E){var x=new go.Geometry,y=.5,b=Ee*.5,ee=new go.PathFigure(a,y*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+b)*E,(y+b)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-b)*a,E,0,(y+b)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-b)*E,(y-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+b)*a,0,a,(y-b)*E));var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,.15*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ee=new go.PathFigure(0,.5*E,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var b=new go.PathFigure(0,.2*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var ee=new go.PathFigure(0,.6*E,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var b=new go.PathFigure(.15*a,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(a,.8*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var ee=.1,te=Ee*.1,oe=.2,ae=.9,ue=new go.PathFigure((oe-ee)*a,ae*E,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*E,(oe-ee)*a,(ae-te)*E,(oe-te)*a,(ae-ee)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*E,(oe+te)*a,(ae-ee)*E,(oe+ee)*a,(ae-te)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*E,(oe+ee)*a,(ae+te)*E,(oe+te)*a,(ae+ee)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*E,(oe-te)*a,(ae+ee)*E,(oe-ee)*a,(ae+te)*E).close()),ee=.1,te=Ee*.1,oe=.8,ae=.9;var de=new go.PathFigure((oe-ee)*a,ae*E,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*E,(oe-ee)*a,(ae-te)*E,(oe-te)*a,(ae-ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*E,(oe+te)*a,(ae-ee)*E,(oe+ee)*a,(ae-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*E,(oe+ee)*a,(ae+te)*E,(oe+te)*a,(ae+ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*E,(oe-te)*a,(ae+ee)*E,(oe-ee)*a,(ae+te)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),x}),go.Shape.defineFigureGenerator("Forklift",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var b=new go.PathFigure(0,.5*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var ee=new go.PathFigure(.5*a,.8*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var te=new go.PathFigure(.5*a,.7*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var oe=.1,ae=Ee*.1,ue=.1,de=.9,Ce=new go.PathFigure((ue-oe)*a,de*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(de-oe)*E,(ue-oe)*a,(de-ae)*E,(ue-ae)*a,(de-oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,de*E,(ue+ae)*a,(de-oe)*E,(ue+oe)*a,(de-ae)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(de+oe)*E,(ue+oe)*a,(de+ae)*E,(ue+ae)*a,(de+oe)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,de*E,(ue-ae)*a,(de+oe)*E,(ue-oe)*a,(de+ae)*E)),oe=.1,ae=Ee*.1,ue=.4,de=.9;var Se=new go.PathFigure((ue-oe)*a,de*E,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(de-oe)*E,(ue-oe)*a,(de-ae)*E,(ue-ae)*a,(de-oe)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,de*E,(ue+ae)*a,(de-oe)*E,(ue+oe)*a,(de-ae)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(de+oe)*E,(ue+oe)*a,(de+ae)*E,(ue+ae)*a,(de+oe)*E)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,de*E,(ue-ae)*a,(de+oe)*E,(ue-oe)*a,(de+ae)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var b=new go.PathFigure(.45*a,.7*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var ee=new go.PathFigure(.55*a,.4*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var ue=.05,de=Ee*.05,Ce=.175,Se=.95,te=new go.PathFigure((Ce-ue)*a,Se*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se-ue)*E,(Ce-ue)*a,(Se-de)*E,(Ce-de)*a,(Se-ue)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*a,Se*E,(Ce+de)*a,(Se-ue)*E,(Ce+ue)*a,(Se-de)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se+ue)*E,(Ce+ue)*a,(Se+de)*E,(Ce+de)*a,(Se+ue)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*a,Se*E,(Ce-de)*a,(Se+ue)*E,(Ce-ue)*a,(Se+de)*E));var ue=.05,de=Ee*.05,Ce=.375,Se=.95,oe=new go.PathFigure((Ce-ue)*a,Se*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se-ue)*E,(Ce-ue)*a,(Se-de)*E,(Ce-de)*a,(Se-ue)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*a,Se*E,(Ce+de)*a,(Se-ue)*E,(Ce+ue)*a,(Se-de)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se+ue)*E,(Ce+ue)*a,(Se+de)*E,(Ce+de)*a,(Se+ue)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*a,Se*E,(Ce-de)*a,(Se+ue)*E,(Ce-ue)*a,(Se+de)*E));var ue=.05,de=Ee*.05,Ce=.625,Se=.95,ae=new go.PathFigure((Ce-ue)*a,Se*E,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se-ue)*E,(Ce-ue)*a,(Se-de)*E,(Ce-de)*a,(Se-ue)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*a,Se*E,(Ce+de)*a,(Se-ue)*E,(Ce+ue)*a,(Se-de)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se+ue)*E,(Ce+ue)*a,(Se+de)*E,(Ce+de)*a,(Se+ue)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*a,Se*E,(Ce-de)*a,(Se+ue)*E,(Ce-ue)*a,(Se+de)*E));var ue=.05,de=Ee*.05,Ce=.825,Se=.95,we=new go.PathFigure((Ce-ue)*a,Se*E,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se-ue)*E,(Ce-ue)*a,(Se-de)*E,(Ce-de)*a,(Se-ue)*E)),we.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ue)*a,Se*E,(Ce+de)*a,(Se-ue)*E,(Ce+ue)*a,(Se-de)*E)),we.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Se+ue)*E,(Ce+ue)*a,(Se+de)*E,(Ce+de)*a,(Se+ue)*E)),we.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ue)*a,Se*E,(Ce-de)*a,(Se+ue)*E,(Ce-ue)*a,(Se+de)*E).close());var Ie=new go.PathFigure(0,E,!1);return x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ee=new go.PathFigure(.15*a,E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var te=.05,oe=Ee*.05,ae=.35,ue=.775,de=new go.PathFigure((ae-te)*a,ue*E,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue-te)*E,(ae-te)*a,(ue-oe)*E,(ae-oe)*a,(ue-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*a,ue*E,(ae+oe)*a,(ue-te)*E,(ae+te)*a,(ue-oe)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue+te)*E,(ae+te)*a,(ue+oe)*E,(ae+oe)*a,(ue+te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*a,ue*E,(ae-oe)*a,(ue+te)*E,(ae-te)*a,(ue+oe)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Globe",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),x}),go.Shape.defineFigureGenerator("Wave",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),x}),go.Shape.defineFigureGenerator("Operator",function(ie,a,E){var x=new go.Geometry,y=.3,b=Ee*.3,ee=.5,te=.7,oe=new go.PathFigure((ee-y)*a,te*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-y)*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*a,te*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+y)*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*a,te*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E));var ae=new go.PathFigure(0,.7*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var b=new go.PathFigure(0,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(ie,a,E){var x=new go.Geometry,y=.5,b=Ee*.5,ee=.5,te=.5,oe=new go.PathFigure((ee-y)*a,te*E,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-y)*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*a,te*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+y)*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*a,te*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E));var ae=new go.PathFigure(.15*a,.5*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),x}),go.Shape.defineFigureGenerator("Help",function(ie,a,E){var x=new go.Geometry,y=.5,b=Ee*.5,ee=.5,te=.5,oe=new go.PathFigure((ee-y)*a,te*E,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-y)*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*a,te*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+y)*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*a,te*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E).close()),y=.05,b=Ee*.05,ee=.5,te=.8;var ae=new go.PathFigure((ee-y)*a,te*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-y)*E,(ee-y)*a,(te-b)*E,(ee-b)*a,(te-y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*a,te*E,(ee+b)*a,(te-y)*E,(ee+y)*a,(te-b)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te+y)*E,(ee+y)*a,(te+b)*E,(ee+b)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*a,te*E,(ee-b)*a,(te+y)*E,(ee-y)*a,(te+b)*E).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),x}),go.Shape.defineFigureGenerator("Gear",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),x}),go.Shape.defineFigureGenerator("Map",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),x}),go.Shape.defineFigureGenerator("Eject",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var b=new go.PathFigure(0,E*.6,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var b=new go.PathFigure(.126*a,.85*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var ee=new go.PathFigure(.402*a,.85*E,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var te=new go.PathFigure(.678*a,.85*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var oe=new go.PathFigure(.5*a,.1*E,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var b=new go.PathFigure(a*.204,E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var ee=new go.PathFigure(a*.408,E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var te=new go.PathFigure(a*.612,E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var oe=new go.PathFigure(a*.816,E,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var b=new go.PathFigure(a*.055,.07*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var ee=new go.PathFigure(a*.055,.13*E,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var te=new go.PathFigure(a*.055,.18*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var oe=new go.PathFigure(a*1,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),x}),go.Shape.defineFigureGenerator("Key",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var ee=new go.PathFigure(a*.11,E*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var te=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,a,E){var x=new go.Geometry,y=8,b=y*Ee,ee=new go.PathFigure(y,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,b,b,0).close());var te=new go.PathFigure(a*.83,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var oe=new go.PathFigure(a*.83,E*1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var ae=new go.PathFigure(a*.78,E*.05,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,a,E){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*Ee,b=E*.8,ee=new go.Geometry,te=new go.PathFigure(x,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,b-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,b,a,b-y,a-y,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),te.add(new go.PathSegment(go.PathSegment.Line,a*.55,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b-x,y,b,0,b-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ee.spot1=new go.Spot(0,0,y,y),ee.spot2=new go.Spot(1,.8,-y,-y)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var b=new go.PathFigure(a*1,E*.55,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var b=new go.PathFigure(a*.1,E*.2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var ee=new go.PathFigure(a*.28,E*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ie,a,E){var x=new go.Geometry,y=15,b=y*Ee,ee=new go.PathFigure(a*.62,E*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),b>1?(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var ee=new go.PathFigure(a*.4,E*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var ee=new go.PathFigure(a*.5,E*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var b=new go.PathFigure(a*.235,E*.28,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),b.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),b.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ie,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var xe={},ft="5.0",re={},z=null,se=!1,ze=!1,Xe=null,Be=!1,We=null,Ee=null,Ne=0;Ne4?parseFloat(Fe):5};xe.setHTML5Codebase=function(Fe,et){Ee=Fe,Ot(Fe,et)},xe.setJavaCodebase=xe.setJavaCodebaseVersion=xe.isCompiledInstalled=xe.setPreCompiledScriptPath=xe.setPreCompiledResourcePath=function(){},xe.setHTML5CodebaseVersion=function(Fe,et){var gt=parseFloat(Fe);if(gt!==NaN&><5){console.log("The GeoGebra HTML5 codebase version "+gt+" is deprecated. Using version latest instead.");return}We=Fe,Ft(Fe,et)},xe.getHTML5CodebaseVersion=function(){return ie},xe.getParameters=function(){return re},xe.setFontsCSSURL=function(Fe){ee=Fe},xe.setGiacJSURL=function(Fe){},xe.setJNLPFile=function(Fe){De=Fe},xe.setJNLPBaseDir=function(Fe){},xe.inject=function(){function Fe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var et="auto",gt=re.id,Jt,rt=!1,en=0;en=5)return!0;var Fe=xe.getAppletObject();return Fe&&typeof Fe.recalculateEnvironments=="function"?(Fe.recalculateEnvironments(),!0):!1},xe.startAnimation=function(){var Fe=xe.getAppletObject();return Fe&&typeof Fe.startAnimation=="function"?(Fe.startAnimation(),!0):!1},xe.stopAnimation=function(){var Fe=xe.getAppletObject();return Fe&&typeof Fe.stopAnimation=="function"?(Fe.stopAnimation(),!0):!1},xe.getAppletObject=function(){var Fe=re.id!==void 0?re.id:"ggbApplet";return window[Fe]},xe.resize=function(){};var we=function(Fe,et,gt){var Jt=document.createElement("param");Jt.setAttribute("name",et),Jt.setAttribute("value",gt),Fe.appendChild(Jt)},Ie=function(Fe){return Fe&&Fe!=="false"},it=function(Fe,et,gt){oe(ie)<=4.2&&(gt=!0);var Jt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Jt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var rt=document.createElement("div");rt.classList.add("appletParameters","notranslate");var en=et.width,fe=et.height;if(et.disableAutoScale=et.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():et.disableAutoScale,et.width!==void 0)if(oe(ie)<=4.4)Ie(et.showToolBar)&&(et.height-=7),Ie(et.showAlgebraInput)&&(et.height-=37),et.width<605&&Ie(et.showToolBar)&&(et.width=605,en=605);else{var $e=100;(Ie(et.showToolBar)||Ie(et.showMenuBar))&&(et.hasOwnProperty("customToolBar")&&(et.customToolbar=et.customToolBar),$e=Ie(et.showMenuBar)?245:155),en<$e&&(et.width=$e,en=$e)}rt.style.border="none",rt.style.display="inline-block";for(var Pt in et)et.hasOwnProperty(Pt)&&Pt!=="appletOnLoad"&&rt.setAttribute("data-param-"+Pt,et[Pt]);ee&&rt.setAttribute("data-param-fontscssurl",ee),xe.resize=function(){GGBAppletUtils.responsiveResize(Fe,et)},window.addEventListener("resize",function(qn){xe.resize()});var Mt=typeof et.appletOnLoad=="function"?et.appletOnLoad:function(){};if(!gt&&et.width!==void 0){et.hasOwnProperty("showSplash")||rt.setAttribute("data-param-showSplash","false");var zt=Fe.querySelector(".applet_scaler.prerender"),Zn=zt!==null;if(Zn)var va=zt.querySelector(".ggb_preview");else{var va=Xt(en,fe,et.borderColor,!1);zt=document.createElement("div"),zt.className="applet_scaler",zt.style.position="relative",zt.style.display="block",zt.style.width=en+"px",zt.style.height=fe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(zt,"66%"),oe(ie)>=5?(et.appletOnLoad=function(qn){var Aa=Fe.querySelector(".ggb_preview");Aa&&Aa.parentNode.removeChild(Aa),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(zt),window.GGBT_wsf_view&&$(window).trigger("resize"),Mt(qn)},Zn||zt.appendChild(va)):rt.appendChild(va),zt.appendChild(rt),Zn||Fe.appendChild(zt),setTimeout(function(){xe.resize()},1)}else{var wn=document.createElement("div");wn.className="applet_scaler",wn.style.position="relative",wn.style.display="block",wn.appendChild(rt),Fe.appendChild(wn),et.appletOnLoad=function(qn){xe.resize(),Mt(qn)}}function Wn(qn,Aa){Aa&&typeof Aa.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(qn,Aa.appletOnLoad):renderGGBElement(qn),cn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Aa)}function ga(qn,Aa){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:qn,params:Aa}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(qo){Wn(qo.article,qo.params)}),html5AppletsToProcess=null)},oe(ie)<5&&(qn.className+=" geogebraweb")):Wn(qn,Aa)}if(Jt){scriptLoadStarted=!0;for(var ca=0;ca0?(Pt.remove(),zt.attr("id","fullscreencontent").show(),jQuery(Mt).append(zt),window.dispatchEvent(new Event("resize"))):it(Pt,et,!1),window.GGBT_wsf_view.launchFullScreen(Mt)}else je=Jt,it(Fe,et,!1);if(!window.GGBT_wsf_view)for(fe=0;fe<$e.length;fe++)Fe.removeChild($e[fe])},en=Fe.getElementsByClassName("ggb_preview_play"),fe=0;feFe/4*3&&(Pt=Fe/4*3),Mt=Pt/5.8,$e.setAttribute("src",y),$e.setAttribute("width",Pt),$e.setAttribute("height",Mt);var zt=(Fe-Pt)/2,Zn=(et-Mt)/2;$e.style.left=zt+"px",$e.style.top=Zn+"px",rt.appendChild($e)}}return rt.appendChild(fe),rt},vn=function(Fe){return Fe=Fe.toLowerCase(),Fe==="html5"||Fe==="screenshot"?Fe:"html5"},Rt=["web","webSimple","web3d","tablet","tablet3d","phone"],Ft=function(Fe,et){if(ie=Fe,et){Ot(ie,!0);return}var gt=!se;if(gt){var Jt=oe(ie);!isNaN(Jt)&&Jt<4.4&&(gt=!1)}var rt,en;window.location.protocol.substr(0,4)==="http"?rt=window.location.protocol:rt="http:";var fe=ie.indexOf("//");fe>0?en=ie:fe===0?en=rt+ie:en="https://www.geogebra.org/apps/5.2.814.0/";for(var $e in Rt)if(ie.slice(Rt[$e].length*-1)===Rt[$e]||ie.slice((Rt[$e].length+1)*-1)===Rt[$e]+"/"){Ot(en,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&>&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!Ie(re.showToolBar)&&!Ie(re.showMenuBar)&&!Ie(re.showAlgebraInput)&&!Ie(re.enableRightClick)&&(!re.appName||re.appName=="classic")?en+="webSimple/":en+="web3d/",Ot(en,!1)},Ot=function(Fe,et){if(Fe.requirejs){Qe=Fe;return}Fe.slice(-1)!=="/"&&(Fe+="/"),Qe=Fe,et===null&&(et=Fe.indexOf("http")===-1),Ye=et,a="web.nocache.js",E=!1;var gt=Qe.split("/");gt.length>1&&(!et&>[gt.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):Rt.indexOf(gt[gt.length-2])>=0&&(a=gt[gt.length-2]+".nocache.js")),gt=Fe.split("/"),ie=gt[gt.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 Jt=parseFloat(ie);Jt!==NaN&&Jt<5&&Fe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Jt+" is deprecated. Using version latest instead."),Ft("5.0",et))},cn=function(Fe,et){window.console&&window.console.log&&(!et||typeof et.showLogging=="undefined"||et.showLogging&&et.showLogging!=="false")&&console.log(Fe)};re.material_id!==void 0?de(Tt):Tt();function Tt(){var Fe=ft;We!==null?Fe=We:parseFloat(Fe)<5&&(Fe="5.0"),Ft(Fe,!1),Ee!==null&&Ot(Ee,Ye),Be=!0}return xe},GGBAppletUtils=function(){"use strict";function xe(){return window.GGBT_wsf_edit!==void 0}function ft(Be,We){We!=1?(Be.style.transformOrigin="0% 0% 0px",Be.style.webkitTransformOrigin="0% 0% 0px",Be.style.transform="scale("+We+","+We+")",Be.style.webkitTransform="scale("+We+","+We+")",Be.style.maxWidth="initial",Be.querySelector(".ggb_preview")!==null&&(Be.querySelector(".ggb_preview").style.maxWidth="initial"),Be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Be.style.transform="none",Be.style.webkitTransform="none")}function re(Be,We,Ee,Ne,Me,De){var Qe=null;if(De!=null&&De!="")for(var Ye=Be.parentNode;Ye!=null;)if((" "+Ye.className+" ").indexOf(" "+De+" ")>-1){Qe=Ye;break}else Ye=Ye.parentNode;var je=0,ie=0,a=0,E=0,x=0,y=0,b=0;if(Qe)je=Qe.offsetWidth,ie=Math.max(Ne?Qe.offsetWidth:0,Qe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(je=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),a=je):(je=window.innerWidth,ie=window.innerHeight,a=window.innerWidth),Be){var ee=Be.getBoundingClientRect();ee.left>0&&ee.left<=je&&(Me===void 0||!Me)&&(document.dir==="rtl"?(x=je-ee.width-ee.left,y=a<=480?10:30):(y=ee.left,x=a<=480?10:30),E=y+x)}if(Be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=Be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,b=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,b=40)}}return Be&&((Ee===void 0||!Ee)&&We>0&&We+E1&&(De=!0)),We&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(De=!0),!(Be.hasOwnProperty("disableAutoScale")&&Be.disableAutoScale))Me=z(Be,We,De,Ee,Be.scaleContainerClass);else return Ne;return De&&(!Be.hasOwnProperty("scale")||Ne===1)?Me:Math.min(Ne,Me)}function ze(Be){var We=Math.min(window.innerWidth,document.documentElement.clientWidth),Ee=Math.min(window.innerHeight,document.documentElement.clientHeight),Ne=Be.getBoundingClientRect(),Me=(We-Ne.width)/2,De=(Ee-Ne.height)/2;De<0&&(De=0),Be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?Be.style.left="40px":Be.style.left=Me+"px",Be.style.top=De+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(De<40?Be.style.top="40px":Be.style.top=De+"px",Be.style.left=Me+"px")}function Xe(Be,We){var Ee=Be.querySelector(".appletParameters");if(Ee){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(We.id!==Ee.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Be)}if(Ee.parentElement&&/fullscreen/.test(Ee.parentElement.className))return;var Ne=se(We,Be);xe()&&Ee.setAttribute("data-param-scale",Ne);for(var Me=null,De=0;De=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(xe){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(xe){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(xe){var ft=c[xe];return ft==null?null:ft},r=d,webModule.__errFn=e}function B(){function xe(Be){var We=Be.lastIndexOf(rb);We==-1&&(We=Be.length);var Ee=Be.indexOf(sb);Ee==-1&&(Ee=Be.length);var Ne=Be.lastIndexOf(tb,Math.min(Ee,We));return Ne>=O?Be.substring(O,Ne+P):W}function ft(Be){if(!Be.match(/^\w+:\/\//)){var We=o.createElement(ub);We.src=Be+vb,Be=xe(We.src)}return Be}function re(){var Be=__gwt_getMetaProperty(wb);return Be!=null?Be:W}function z(){for(var Be=o.getElementsByTagName(_),We=O;WeO?Be[Be.length-P].href:W}function ze(){var Be=o.location;return Be.href==Be.protocol+zb+Be.host+Be.pathname+Be.search+Be.hash}var Xe=re();return Xe==W&&(Xe=z()),Xe==W&&(Xe=se()),Xe==W&&ze()&&(Xe=xe(o.location.href)),Xe=ft(Xe),Xe}function C(xe){return xe.match(/^\//)||xe.match(/^[a-zA-Z]+:\/\//)?xe:webModule.__moduleBase+xe}function D(){var xe=[],ft=O,re=[],z=[];function se(Be){var We=z[Be](),Ee=re[Be];if(We in Ee)return We;var Ne=[];for(var Me in Ee)Ne[Ee[Me]]=Me;throw r&&r(Be,Ne,We),null}if(__gwt_isKnownPropertyValue=function(Be,We){return We in re[Be]},webModule.__getPropMap=function(){var Be={};for(var We in re)re.hasOwnProperty(We)&&(Be[We]=se(We));return Be},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ze;try{ze=Cb;var Xe=ze.indexOf(Db);Xe!=-1&&(ft=parseInt(ze.substring(Xe+P),$),ze=ze.substring(O,Xe))}catch(Be){}return webModule.__softPermutationId=ft,C(ze+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(xe,ft,re){"use strict";re.d(ft,{Ax:function(){return Xe},Ds:function(){return Be},KI:function(){return Ee},SI:function(){return ze},f1:function(){return se}});var z=re(78323);function se(Ne){let Me=!0;if(Ne.length>0){for(let De=0;DeE in a?ze(a,E,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[E]=x,De=(a,E)=>{for(var x in E||(E={}))Ee.call(E,x)&&Me(a,x,E[x]);if(We)for(var x of We(E))Ne.call(E,x)&&Me(a,x,E[x]);return a},Qe=(a,E)=>Xe(a,Be(E)),Ye=(a,E)=>{var x={};for(var y in a)Ee.call(a,y)&&E.indexOf(y)<0&&(x[y]=a[y]);if(a!=null&&We)for(var y of We(a))E.indexOf(y)<0&&Ne.call(a,y)&&(x[y]=a[y]);return x},je=(a,E,x)=>new Promise((y,b)=>{var ee=ae=>{try{oe(x.next(ae))}catch(ue){b(ue)}},te=ae=>{try{oe(x.throw(ae))}catch(ue){b(ue)}},oe=ae=>ae.done?y(ae.value):Promise.resolve(ae.value).then(ee,te);oe((x=x.apply(a,E)).next())});const ie=a=>{var E=a,{children:x}=E,y=Ye(E,["children"]);const[b,ee]=(0,se.useState)(!1);return se.createElement(z.ZP,Qe(De({},y),{loading:b,onClick:te=>je(void 0,null,function*(){try{ee(!0),yield y.onClick(te),ee(!1)}catch(oe){console.error(oe),ee(!1)}})}),x)}},12306:function(xe,ft,re){"use strict";var z=re(86204),se=re.n(z),ze=Object.defineProperty,Xe=(Ne,Me,De)=>Me in Ne?ze(Ne,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ne[Me]=De,Be=(Ne,Me,De)=>Xe(Ne,typeof Me!="symbol"?Me+"":Me,De),We=(Ne,Me,De)=>new Promise((Qe,Ye)=>{var je=E=>{try{a(De.next(E))}catch(x){Ye(x)}},ie=E=>{try{a(De.throw(E))}catch(x){Ye(x)}},a=E=>E.done?Qe(E.value):Promise.resolve(E.value).then(je,ie);a((De=De.apply(Ne,Me)).next())});class Ee extends z.EventEmitter{constructor(Me,De){super(),Be(this,"url"),Be(this,"body"),Be(this,"fullContent",""),Be(this,"controller",null),Be(this,"buffer",""),this.url=Me,this.body=De}startStream(){return We(this,null,function*(){this.controller=new AbortController;const{signal:Me}=this.controller;try{const De=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Me});if(!De.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${De.status}`);const Qe=De.headers.get("content-type");if(!Qe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Qe.includes("application/json")){const ie=yield De.json();this.emit("error",ie);return}if(!Qe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ye=De.body.getReader(),je=new TextDecoder("utf-8");for(;;){const{done:ie,value:a}=yield Ye.read();if(ie)break;const E=je.decode(a,{stream:!0});this.buffer+=E;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const b=y.slice(5).trim();if(b==="[DONE]")break;try{const ee=JSON.parse(b);ee.data&&this.handleData(ee.data)}catch(ee){this.buffer=y+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(De){De.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",De.message)}})}handleData(Me){Me.content&&(this.fullContent+=Me.content,this.emit("data",{chunk:Me,full:this.fullContent}))}cancelRequest(){var Me;(Me=this.controller)==null||Me.abort()}}ft.Z=Ee},57593:function(xe,ft,re){"use strict";re.d(ft,{Z:function(){return Rt}});var z=re(59301),se=re(97831),ze=re(66328),Xe=re(3977),Be=re(18369),We=re(56102),Ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Ne=re(8591),Me=re(11611),De=re(13058),Qe=re(30084),Ye=re(10787),je=re(79562),ie=re(43428),a=re(95237),E=re(43604),x={smartWrp:"smartWrp___NjRcB"},y=re(95440),b=re(16338),ee=re(75353),te=re(59301),oe=(Ft,Ot,cn)=>new Promise((Tt,Fe)=>{var et=rt=>{try{Jt(cn.next(rt))}catch(en){Fe(en)}},gt=rt=>{try{Jt(cn.throw(rt))}catch(en){Fe(en)}},Jt=rt=>rt.done?Tt(rt.value):Promise.resolve(rt.value).then(et,gt);Jt((cn=cn.apply(Ft,Ot)).next())});const ae=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(De){De.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",De.message)}})}handleData(Me){Me.content&&(this.fullContent+=Me.content,this.emit("data",{chunk:Me,full:this.fullContent}))}cancelRequest(){var Me;(Me=this.controller)==null||Me.abort()}}ft.Z=Ee},57593:function(xe,ft,re){"use strict";re.d(ft,{Z:function(){return Rt}});var z=re(59301),se=re(97831),ze=re(66328),Xe=re(3977),Be=re(18369),We=re(56102),Ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Ne=re(8591),Me=re(11611),De=re(55939),Qe=re(30084),Ye=re(10787),je=re(79562),ie=re(43428),a=re(95237),E=re(43604),x={smartWrp:"smartWrp___NjRcB"},y=re(95440),b=re(16338),ee=re(75353),te=re(59301),oe=(Ft,Ot,cn)=>new Promise((Tt,Fe)=>{var et=rt=>{try{Jt(cn.next(rt))}catch(en){Fe(en)}},gt=rt=>{try{Jt(cn.throw(rt))}catch(en){Fe(en)}},Jt=rt=>rt.done?Tt(rt.value):Promise.resolve(rt.value).then(et,gt);Jt((cn=cn.apply(Ft,Ot)).next())});const ae=` diff --git a/p__Paperlibrary__Add__index.1f8abdcc.async.js b/p__Paperlibrary__Add__index.062769ef.async.js similarity index 99% rename from p__Paperlibrary__Add__index.1f8abdcc.async.js rename to p__Paperlibrary__Add__index.062769ef.async.js index 8806834c96..2b3962de33 100644 --- a/p__Paperlibrary__Add__index.1f8abdcc.async.js +++ b/p__Paperlibrary__Add__index.062769ef.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[3260],{87169:function($e,wt,oe){"use strict";oe.d(wt,{Z:function(){return Ye}});var b=oe(54476),pe=oe(59301),Ee={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"},Ke=Ee,Ce=oe(7657),Ze=function(xe,Oe){return pe.createElement(Ce.Z,(0,b.Z)({},xe,{ref:Oe,icon:Ke}))},Be=pe.forwardRef(Ze),Ye=Be},12893:function($e,wt,oe){"use strict";oe.d(wt,{Z:function(){return Ye}});var b=oe(54476),pe=oe(59301),Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Ke=Ee,Ce=oe(7657),Ze=function(xe,Oe){return pe.createElement(Ce.Z,(0,b.Z)({},xe,{ref:Oe,icon:Ke}))},Be=pe.forwardRef(Ze),Ye=Be},32134:function($e,wt,oe){"use strict";oe.d(wt,{Z:function(){return Ye}});var b=oe(54476),pe=oe(59301),Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Ke=Ee,Ce=oe(7657),Ze=function(xe,Oe){return pe.createElement(Ce.Z,(0,b.Z)({},xe,{ref:Oe,icon:Ke}))},Be=pe.forwardRef(Ze),Ye=Be},27431:function($e,wt){"use strict";wt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},20577:function($e,wt){"use strict";wt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},19201:function($e,wt){"use strict";wt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},53956:function($e,wt,oe){"use strict";var b=oe(59301),pe=Object.defineProperty,Ee=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Ze=(Re,xe,Oe)=>xe in Re?pe(Re,xe,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Re[xe]=Oe,Be=(Re,xe)=>{for(var Oe in xe||(xe={}))Ke.call(xe,Oe)&&Ze(Re,Oe,xe[Oe]);if(Ee)for(var Oe of Ee(xe))Ce.call(xe,Oe)&&Ze(Re,Oe,xe[Oe]);return Re};const Ye=Re=>React.createElement("svg",Be({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Re),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));wt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},12082:function($e,wt,oe){"use strict";var b=oe(59301),pe=Object.defineProperty,Ee=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Ze=(Re,xe,Oe)=>xe in Re?pe(Re,xe,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Re[xe]=Oe,Be=(Re,xe)=>{for(var Oe in xe||(xe={}))Ke.call(xe,Oe)&&Ze(Re,Oe,xe[Oe]);if(Ee)for(var Oe of Ee(xe))Ce.call(xe,Oe)&&Ze(Re,Oe,xe[Oe]);return Re};const Ye=Re=>React.createElement("svg",Be({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Re),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));wt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},87851:function(){"use strict";function $e(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty($e.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty($e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty($e.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty($e.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof $e))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 x=go.Shape._FigureParameters[le];x||(x=[],go.Shape._FigureParameters[le]=x),x[E]=a};var wt=[];function oe(le,E){var a=wt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function b(){var le=wt.pop();return le===void 0?new go.Point:le}function pe(le){wt.push(le)}function Ee(le,E,a,x,y,z,ne,re,ie){ie||(ie=new go.Point);var ce=le-a,fe=y-ne,Pe=NaN,Ve=NaN;if(ce===0)if(fe===0)le===a&&(Pe=le,Ve=E);else{var Le=(z-re)/fe,gt=z-Le*y;Pe=le,Ve=Le*Pe+gt}else if(fe===0){var De=(E-x)/ce,be=E-De*le;Pe=y,Ve=De*Pe+be}else{var De=(E-x)/ce,Le=(z-re)/fe,be=E-De*le,gt=z-Le*y;Pe=(gt-be)/(De-Le),Ve=De*Pe+be}return ie.x=Pe,ie.y=Ve,ie}function Ke(le,E,a,x,y,z,ne,re,ie,ce,fe,Pe,Ve,Le){var gt=1-ie,De=ie,be=le*gt+a*De,et=E*gt+x*De,at=a*gt+y*De,Fe=x*gt+z*De,mt=y*gt+ne*De,yt=z*gt+re*De,kt=be*gt+at*De,ut=et*gt+Fe*De,zt=at*gt+mt*De,Qt=Fe*gt+yt*De,Ot=kt*gt+zt*De,Nt=ut*gt+Qt*De;ce.x=be,ce.y=et,fe.x=kt,fe.y=ut,Pe.x=Ot,Pe.y=Nt,Ve.x=zt,Ve.y=Qt,Le.x=mt,Le.y=yt}var Ce=new go.Spot(.156,.156),Ze=new go.Spot(.844,.844),Be=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new $e("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*Be,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ce,y.spot2=Ze,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,Be*E,0,E,(1-Be)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,Be*a,(1-Be)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,Be*a,Be*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-Be)*E,0,0,(1-Be)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new $e("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y0&&(ne.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=Ce,z.spot2=Ze,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new $e("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new $e("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ne=y%360,re=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ne,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=Be/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new $e("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new $e("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new $e("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ne=a/2,re=Math.atan2(a,E),ie=x-Math.min(Math.cos(re)*x/2,z),ce=x-Math.min(Math.sin(re)*x/2,ne),y=new go.Geometry,fe=new go.PathFigure(ie,0,!0);return y.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),fe.add(new go.PathSegment(go.PathSegment.Line,E-ie,0)),fe.add(new go.PathSegment(go.PathSegment.Line,E,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,E,a-ce)),fe.add(new go.PathSegment(go.PathSegment.Line,E-ie,a)),fe.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),fe.add(new go.PathSegment(go.PathSegment.Line,ie,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a-ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new $e("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new $e("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new $e("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,Be*E,0,E,(.5-Be/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+Be/2)*a,Be*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ne=.3,re=0,ie=z*Be;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ie+re)*a,(.5-ie+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ie+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ie+re)*a,(.5+ie+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ie+ne)*E,(.5-z+re)*a,(.5-z+ne+.05)*E,(.5-ie+re-.02)*a)),z=.2,ne=0,re=-.3,ie=z*Be,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ie+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ie+re)*a,(.5+ie+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ie+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ie+re)*a,(.5-ie+ne)*E,(.5+z+re)*a)),z=.2,ne=-.3,re=0,ie=z*Be,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne-.05)*E,(.5-ie+re-.02)*a,(.5+ie+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ie+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ie+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ie+re)*a,(.5-ie+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ie+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ie+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ne=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ne,a*re,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,y=new go.PathFigure((ne+z)*E,re*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ne,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure(ne*E,(re-z)*a);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),z=.4,y=Be*.4;var ce=b(),fe=b(),Pe=b(),Ve=b();Ke(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.42,ce,fe,Pe,Ve,Ve);var Le=b(),gt=b(),De=b();Ke(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.58,Ve,Ve,De,Le,gt);var be=b(),et=b(),at=b();Ke(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.42,be,et,at,Ve,Ve);var Fe=b(),mt=b(),yt=b();return Ke(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.58,Ve,Ve,yt,Fe,mt),ie.add(new go.PathSegment(go.PathSegment.Move,yt.x*E,yt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,Fe.x*E,Fe.y*a,mt.x*E,mt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*E,Pe.y*a,ce.x*E,ce.y*a,fe.x*E,fe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,yt.x*E,yt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,at.x*E,at.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,De.x*E,De.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,Le.x*E,Le.y*a,gt.x*E,gt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,at.x*E,at.y*a,be.x*E,be.y*a,et.x*E,et.y*a).close()),pe(ce),pe(fe),pe(Pe),pe(Ve),pe(Le),pe(gt),pe(De),pe(be),pe(et),pe(at),pe(Fe),pe(mt),pe(yt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new $e("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,E,a){var x=new go.Geometry,y=Be*.4,z=.4,ne=.5,re=.5,ie=b(),ce=b(),fe=b(),Pe=b(),Ve=new go.PathFigure((ne-z)*E,re*a,!1);x.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),Ke(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.44,fe,Pe,ce,ie,ie),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a));var Le=oe(ce.x,ce.y);Ke(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.56,ie,ie,ce,fe,Pe);var gt=oe(ce.x,ce.y);Ve.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.95*.9)*E,Le.y*.1*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*E,Le.y*.1*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,E,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,(gt.x*.1+.9)*E,.15*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,(gt.x*.1+.9)*E,(gt.y*.1+.05*.9)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,gt.x*E,gt.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),z=.35,y=Be*.35;var De=new go.PathFigure(ne*E,(re-z)*a,!1);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a));var be=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(be),pe(ie),pe(ce),pe(fe),pe(Pe),pe(Le),pe(gt),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(le,E,a){var x=new go.Geometry,y=.375,z=0,ne=-.125,re=y*Be,ie=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a,(.5+re+z)*E,(.5-y+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,(.5+y+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ne=-.125,re=y*Be;var ie=new go.PathFigure((1-.5+y+z)*E,(.5+ne)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a,(.5+re+z)*E,(.5+y+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a,(.5-re+z)*E,(.5-y+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a));var ie=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);return x.add(ie),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new $e("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new $e("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=le?le.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,ne=(.5-y/2)*a,re=(.5+y/2)*a,ie=new go.Geometry,ce=new go.PathFigure(0,ne,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ce.add(new go.PathSegment(go.PathSegment.Line,z,0)),ce.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,re)),ce.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,ne/a);var fe=Ee(0,re/a,1,re/a,z/E,1,1,.5,b());return ie.spot2=new go.Spot(fe.x,fe.y),pe(fe),ie}),go.Shape.setFigureParameter("Arrow2",0,new $e("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new $e("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=le?le.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,ne=(a-y)/2,re=ne+y,ie=new go.Geometry,ce=new go.PathFigure(0,ne,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ce.add(new go.PathSegment(go.PathSegment.Line,z,0)),ce.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,re)),ce.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,ne/a);var fe=Ee(0,re/a,1,re/a,z/E,1,1,.5,b());return ie.spot2=new go.Spot(fe.x,fe.y),pe(fe),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new $e("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ie=Ee(0,.5,.3,0,0,y/a,.1,y/a,b());return ne.spot1=new go.Spot(ie.x,ie.y),ie=Ee(.7,1,1,.5,0,z/a,1,z/a,ie),ne.spot2=new go.Spot(ie.x,ie.y),pe(ie),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new $e("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new $e("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ie=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var ce=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ce.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var Pe=Ee(0,.5,.3,re/a,0,z/a,1,z/a,b());return ce.spot1=new go.Spot(Pe.x,Pe.y),Pe=Ee(.7,ie/a,1,.5,0,ne/a,1,ne/a,Pe),ce.spot2=new go.Spot(Pe.x,Pe.y),pe(Pe),ce}),go.Shape.setFigureParameter("IBeamArrow",0,new $e("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(0,y/a);var ie=Ee(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ie.x,ie.y),pe(ie),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new $e("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new $e("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ie=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var ce=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ce.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ce.spot1=new go.Spot(0,z/a);var Pe=Ee(.7,ie/a,1,.5,0,ne/a,1,ne/a,b());return ce.spot2=new go.Spot(Pe.x,Pe.y),pe(Pe),ce}),go.Shape.setFigureParameter("Pointer",0,new $e("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Ee(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),pe(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new $e("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var ne=Ee(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),pe(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new $e("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,.3);var ie=Ee(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ie.x,ie.y),pe(ie),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new $e("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,y/a);var ie=Ee(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ie.x,ie.y),pe(ie),ne}),go.Shape.setFigureParameter("SquareArrow",0,new $e("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=Be*.1,ne=new go.PathFigure(0,.9*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=Be*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,Be*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,Be*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-Be*x,(.5+z)*E,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-Be*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-Be*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-Be*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=Be*.5,ne=new go.PathFigure(0,a-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,Be*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,Be*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-Be*x,(.5+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-Be*x));var re=new go.PathFigure(0,a-x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-Be*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-Be*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=Be*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-Be*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-Be*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Be*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,Be*x,0));var re=new go.PathFigure(x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+Be*x,0,2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+Be*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=Be*.5,ne=new go.PathFigure(E-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-Be*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-Be*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Be*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,Be*x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var re=new go.PathFigure(E-x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-Be*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-Be*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(le,E,a){var x=new go.Geometry,y=.2,z=.1,ne=Be*y,re=Be*z,ie=.5,ce=.1,fe=new go.PathFigure(ie*E,(ce+z)*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-y)*E,ce*a,(ie-ne)*E,(ce+z)*a,(ie-y)*E,(ce+re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-z)*a,(ie-y)*E,(ce-re)*a,(ie-ne)*E,(ce-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+y)*E,ce*a,(ie+ne)*E,(ce-z)*a,(ie+y)*E,(ce-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+z)*a,(ie+y)*E,(ce+re)*a,(ie+ne)*E,(ce+z)*a));var Pe=.05,Ve=Be*Pe;ie=.05,ce=.25;var Le=new go.PathFigure(.5*E,.2*a,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ie=.95,ce=.25,Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie+Pe)*E,ce*a,(ie+Ve)*E,(ce-Pe)*a,(ie+Pe)*E,(ce-Ve)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),Pe=.025,Ve=Be*Pe,ie=.825,ce=.35,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-Pe)*a,(ie+Pe)*E,(ce-Ve)*a,(ie+Ve)*E,(ce-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Pe)*E,ce*a,(ie-Ve)*E,(ce-Pe)*a,(ie-Pe)*E,(ce-Ve)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),Pe=.05,Ve=Be*Pe,ie=.5,ce=.7,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-Pe)*a,(ie+Pe)*E,(ce-Ve)*a,(ie+Ve)*E,(ce-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Pe)*E,ce*a,(ie-Ve)*E,(ce-Pe)*a,(ie-Pe)*E,(ce-Ve)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),Pe=.025,Ve=Be*Pe,ie=.175,ce=.35,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-Pe)*a,(ie+Pe)*E,(ce-Ve)*a,(ie+Ve)*E,(ce-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Pe)*E,ce*a,(ie-Ve)*E,(ce-Pe)*a,(ie-Pe)*E,(ce-Ve)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Pe=.05,Ve=Be*Pe,ie=.05,ce=.25,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-Pe)*a,(ie-Pe)*E,(ce-Ve)*a,(ie-Ve)*E,(ce-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new $e("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=Be*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=Be*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=Be*.2,ne=new go.PathFigure(0,.2*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ne=new go.PathFigure(E,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=Be*.5,re=.5,ie=new go.PathFigure(E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+ne)*a,(re+ne)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*E,a,0,(re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-ne)*a,(re-ne)*E,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+ne)*E,0,E,(re-ne)*a));var ce=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ce.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=.5,ne=new go.PathFigure(.5*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*y*E,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-y)*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ie=new go.PathFigure(.8*E,.75*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,y=Be*.1,z=.1,ne=.9,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ce=new go.PathFigure((ne+z)*E,re*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=Be*.4,ne=Be*.1,re=.1,ie=.9,ce=.5,fe=new go.PathFigure(.8*E,.5*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var Pe=new go.PathFigure((ie+re)*E,ce*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+re)*a,(ie+re)*E,(ce+ne)*a,(ie+ne)*E,(ce+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ce*a,(ie-ne)*E,(ce+re)*a,(ie-re)*E,(ce+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-re)*a,(ie-re)*E,(ce-ne)*a,(ie-ne)*E,(ce-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ce*a,(ie+ne)*E,(ce-re)*a,(ie+re)*E,(ce-ne)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=Be*y,ne=0,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=Be*.1,ne=.9,re=.5;var ce=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,y=.5,z=Be*y,ne=0,re=.5,ie=new go.PathFigure(0,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(ne+z+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=Be*y,ne=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ce=new go.PathFigure(.8*E,.5*a,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=Be*.1,ne=.9,re=.5;var fe=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=Be*y,ne=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ce=new go.PathFigure(.2*E,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z)*E,(re-y)*a,.9*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,y=Be*.1,z=.1,ne=.1,re=.5,ie=new go.PathFigure((ne-y*.5)*E,a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*E,a,(ne+z)*E,0,(ne+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,y=Be*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*E,re*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*E,re*a,ne*E,(re-z)*a,ne*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(le,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ne=Be*.8,re=.8,ie=0,ce=.5,fe=(y-E)/2,Pe=(z-a)/2,Ve=new go.PathFigure(ie*E+fe,(ce+re)*a+Pe,!0);x.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ce*a+Pe,(ie-ne)*E+fe,(ce+re)*a+Pe,(ie-re)*E+fe,(ce+ne)*a+Pe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce-re)*a+Pe,(ie-re)*E+fe,(ce-ne)*a+Pe,(ie-ne)*E+fe,(ce-re)*a+Pe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*E+fe,ce*a+Pe,ie*E+fe,(ce-re)*a+Pe,(ie-re+ne*.5)*E+fe,(ce-ne)*a+Pe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce+re)*a+Pe,(ie-re+ne*.5)*E+fe,(ce+ne)*a+Pe,ie*E+fe,(ce+re)*a+Pe).close()),ne=Be*.4,re=.4,ie=.2,ce=.5;var Le=new go.PathFigure(ie*E+fe,(ce+re)*a+Pe,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ce*a+Pe,(ie-ne)*E+fe,(ce+re)*a+Pe,(ie-re)*E+fe,(ce+ne)*a+Pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce-re)*a+Pe,(ie-re)*E+fe,(ce-ne)*a+Pe,(ie-ne)*E+fe,(ce-re)*a+Pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*E+fe,ce*a+Pe,ie*E+fe,(ce-re)*a+Pe,(ie-re+ne*.5)*E+fe,(ce-ne)*a+Pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce+re)*a+Pe,(ie-re+ne*.5)*E+fe,(ce+ne)*a+Pe,ie*E+fe,(ce+re)*a+Pe).close()),ne=Be*.2,re=.2,ie=.5,ce=.5;var gt=new go.PathFigure((ie-re)*E+fe,ce*a+Pe,!0);x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce-re)*a+Pe,(ie-re)*E+fe,(ce-ne)*a+Pe,(ie-ne)*E+fe,(ce-re)*a+Pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ce*a+Pe,(ie+ne)*E+fe,(ce-re)*a+Pe,(ie+re)*E+fe,(ce-ne)*a+Pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce+re)*a+Pe,(ie+re)*E+fe,(ce+ne)*a+Pe,(ie+ne)*E+fe,(ce+re)*a+Pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ce*a+Pe,(ie-ne)*E+fe,(ce+re)*a+Pe,(ie-re)*E+fe,(ce+ne)*a+Pe)),ne=Be*.4,re=.4,ie=.8,ce=.5;var De=new go.PathFigure(ie*E+fe,(ce-re)*a+Pe,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ce*a+Pe,(ie+ne)*E+fe,(ce-re)*a+Pe,(ie+re)*E+fe,(ce-ne)*a+Pe)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce+re)*a+Pe,(ie+re)*E+fe,(ce+ne)*a+Pe,(ie+ne)*E+fe,(ce+re)*a+Pe)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*E+fe,ce*a+Pe,ie*E+fe,(ce+re)*a+Pe,(ie+re-ne*.5)*E+fe,(ce+ne)*a+Pe)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce-re)*a+Pe,(ie+re-ne*.5)*E+fe,(ce-ne)*a+Pe,ie*E+fe,(ce-re)*a+Pe).close()),ne=Be*.8,re=.8,ie=1,ce=.5;var be=new go.PathFigure(ie*E+fe,(ce-re)*a+Pe,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ce*a+Pe,(ie+ne)*E+fe,(ce-re)*a+Pe,(ie+re)*E+fe,(ce-ne)*a+Pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce+re)*a+Pe,(ie+re)*E+fe,(ce+ne)*a+Pe,(ie+ne)*E+fe,(ce+re)*a+Pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*E+fe,ce*a+Pe,ie*E+fe,(ce+re)*a+Pe,(ie+re-ne*.5)*E+fe,(ce+ne)*a+Pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ce-re)*a+Pe,(ie+re-ne*.5)*E+fe,(ce-ne)*a+Pe,ie*E+fe,(ce-re)*a+Pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ne=new go.PathFigure(.6*E,a,!0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(le,E,a){var x=new go.Geometry,y=Be*.4,z=.4,ne=.5,re=.5,ie=b(),ce=b(),fe=b(),Pe=b();Ke(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ie,ie,ce,fe,Pe);var Ve=oe(ce.x,ce.y),Le=new go.PathFigure(ce.x*E,ce.y*a,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),Ke(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,fe,Pe,ce,ie,ie),Le.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,fe.x*E,fe.y*a,Pe.x*E,Pe.y*a)),y=Be*.3,z=.3,Ke(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,fe,Pe,ce,ie,ie),Le.add(new go.PathSegment(go.PathSegment.Line,ce.x*E,ce.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,Pe.x*E,Pe.y*a,fe.x*E,fe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),Ke(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ie,ie,ce,fe,Pe),Le.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,Pe.x*E,Pe.y*a,fe.x*E,fe.y*a).close());var Le=new go.PathFigure(.45*E,0,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),pe(ie),pe(ce),pe(fe),pe(Pe),pe(Ve),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ne,re,ie){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ie)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,E,a){var x=new go.Geometry,y=.5,z=0,ne=0,re=y*Be,ie=.4*Math.SQRT2/2+.5,ce=.5-.5*Math.SQRT2/2,fe=1,Pe=.5,Ve=.5,Le=0,gt=new go.PathFigure(ie*E,(1-ce)*a,!1);return x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,Pe*a,fe*E,.7*a,fe*E,Pe*a)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+z)*E,(Le+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,.9*a)),gt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),gt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),gt.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ne=.5-.285,re=.5,ie=ne,ce=Math.PI/4,fe=4*(1-Math.cos(ce))/(3*Math.sin(ce)),Pe=fe*.5,Ve=ne,Le=ne,gt=fe*Ve,De=fe*Le;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ve)*E,ie*a,(re-(gt+Ve)/2)*E,(ie+(Le+De)/2)*a,(re-Ve)*E,(ie+De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ie-Le)*a,(re-Ve)*E,(ie-De)*a,(re-gt)*E,(ie-Le)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ve)*E,ie*a,(re+gt)*E,(ie-Le)*a,(re+Ve)*E,(ie-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+Ve)*E,(ie+De)*a,(re+(gt+Ve)/2)*E,(ie+(Le+De)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var be=new go.PathFigure(.2*E,a,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var et=new go.PathFigure(.8*E,a,!1);return x.add(et),et.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(.1*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ne=new go.PathFigure(.675*E,.575*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,E,a){var x=new go.Geometry,y=.5,z=Be*.5,ne=new go.PathFigure(E,y*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.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()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ne=.1,re=Be*.1,ie=.2,ce=.9,fe=new go.PathFigure((ie-ne)*E,ce*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-ne)*a,(ie-ne)*E,(ce-re)*a,(ie-re)*E,(ce-ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*E,ce*a,(ie+re)*E,(ce-ne)*a,(ie+ne)*E,(ce-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+ne)*a,(ie+ne)*E,(ce+re)*a,(ie+re)*E,(ce+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*E,ce*a,(ie-re)*E,(ce+ne)*a,(ie-ne)*E,(ce+re)*a).close()),ne=.1,re=Be*.1,ie=.8,ce=.9;var Pe=new go.PathFigure((ie-ne)*E,ce*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce-ne)*a,(ie-ne)*E,(ce-re)*a,(ie-re)*E,(ce-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*E,ce*a,(ie+re)*E,(ce-ne)*a,(ie+ne)*E,(ce-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ce+ne)*a,(ie+ne)*E,(ce+re)*a,(ie+re)*E,(ce+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*E,ce*a,(ie-re)*E,(ce+ne)*a,(ie-ne)*E,(ce+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*E,.8*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ie=.1,ce=Be*.1,fe=.1,Pe=.9,Ve=new go.PathFigure((fe-ie)*E,Pe*a,!0);x.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe-ie)*a,(fe-ie)*E,(Pe-ce)*a,(fe-ce)*E,(Pe-ie)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ie)*E,Pe*a,(fe+ce)*E,(Pe-ie)*a,(fe+ie)*E,(Pe-ce)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe+ie)*a,(fe+ie)*E,(Pe+ce)*a,(fe+ce)*E,(Pe+ie)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ie)*E,Pe*a,(fe-ce)*E,(Pe+ie)*a,(fe-ie)*E,(Pe+ce)*a)),ie=.1,ce=Be*.1,fe=.4,Pe=.9;var Le=new go.PathFigure((fe-ie)*E,Pe*a,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe-ie)*a,(fe-ie)*E,(Pe-ce)*a,(fe-ce)*E,(Pe-ie)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ie)*E,Pe*a,(fe+ce)*E,(Pe-ie)*a,(fe+ie)*E,(Pe-ce)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(Pe+ie)*a,(fe+ie)*E,(Pe+ce)*a,(fe+ce)*E,(Pe+ie)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ie)*E,Pe*a,(fe-ce)*E,(Pe+ie)*a,(fe-ie)*E,(Pe+ce)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ne=new go.PathFigure(.55*E,.4*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var fe=.05,Pe=Be*.05,Ve=.175,Le=.95,re=new go.PathFigure((Ve-fe)*E,Le*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le-fe)*a,(Ve-fe)*E,(Le-Pe)*a,(Ve-Pe)*E,(Le-fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Le*a,(Ve+Pe)*E,(Le-fe)*a,(Ve+fe)*E,(Le-Pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le+fe)*a,(Ve+fe)*E,(Le+Pe)*a,(Ve+Pe)*E,(Le+fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Le*a,(Ve-Pe)*E,(Le+fe)*a,(Ve-fe)*E,(Le+Pe)*a));var fe=.05,Pe=Be*.05,Ve=.375,Le=.95,ie=new go.PathFigure((Ve-fe)*E,Le*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le-fe)*a,(Ve-fe)*E,(Le-Pe)*a,(Ve-Pe)*E,(Le-fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Le*a,(Ve+Pe)*E,(Le-fe)*a,(Ve+fe)*E,(Le-Pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le+fe)*a,(Ve+fe)*E,(Le+Pe)*a,(Ve+Pe)*E,(Le+fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Le*a,(Ve-Pe)*E,(Le+fe)*a,(Ve-fe)*E,(Le+Pe)*a));var fe=.05,Pe=Be*.05,Ve=.625,Le=.95,ce=new go.PathFigure((Ve-fe)*E,Le*a,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le-fe)*a,(Ve-fe)*E,(Le-Pe)*a,(Ve-Pe)*E,(Le-fe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Le*a,(Ve+Pe)*E,(Le-fe)*a,(Ve+fe)*E,(Le-Pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le+fe)*a,(Ve+fe)*E,(Le+Pe)*a,(Ve+Pe)*E,(Le+fe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Le*a,(Ve-Pe)*E,(Le+fe)*a,(Ve-fe)*E,(Le+Pe)*a));var fe=.05,Pe=Be*.05,Ve=.825,Le=.95,gt=new go.PathFigure((Ve-fe)*E,Le*a,!0);x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le-fe)*a,(Ve-fe)*E,(Le-Pe)*a,(Ve-Pe)*E,(Le-fe)*a)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+fe)*E,Le*a,(Ve+Pe)*E,(Le-fe)*a,(Ve+fe)*E,(Le-Pe)*a)),gt.add(new go.PathSegment(go.PathSegment.Bezier,Ve*E,(Le+fe)*a,(Ve+fe)*E,(Le+Pe)*a,(Ve+Pe)*E,(Le+fe)*a)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-fe)*E,Le*a,(Ve-Pe)*E,(Le+fe)*a,(Ve-fe)*E,(Le+Pe)*a).close());var De=new go.PathFigure(0,a,!1);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ne=new go.PathFigure(.15*E,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ie=Be*.05,ce=.35,fe=.775,Pe=new go.PathFigure((ce-re)*E,fe*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(fe-re)*a,(ce-re)*E,(fe-ie)*a,(ce-ie)*E,(fe-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*E,fe*a,(ce+ie)*E,(fe-re)*a,(ce+re)*E,(fe-ie)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*E,(fe+re)*a,(ce+re)*E,(fe+ie)*a,(ce+ie)*E,(fe+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*E,fe*a,(ce-ie)*E,(fe+re)*a,(ce-re)*E,(fe+ie)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,y=.3,z=Be*.3,ne=.5,re=.7,ie=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ce=new go.PathFigure(0,.7*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(le,E,a){var x=new go.Geometry,y=.5,z=Be*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ce=new go.PathFigure(.15*E,.5*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(le,E,a){var x=new go.Geometry,y=.5,z=Be*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-y)*E,re*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),y=.05,z=Be*.05,ne=.5,re=.8;var ce=new go.PathFigure((ne-y)*E,re*a,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),ce.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ne=new go.PathFigure(.402*E,.85*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ie=new go.PathFigure(.5*E,.1*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ne=new go.PathFigure(E*.408,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ie=new go.PathFigure(E*.816,a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ne=new go.PathFigure(E*.055,.13*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ie=new go.PathFigure(E*1,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ne=new go.PathFigure(E*.11,a*.1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,y=8,z=y*Be,ne=new go.PathFigure(y,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ie=new go.PathFigure(E*.83,a*1,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ce=new go.PathFigure(E*.78,a*.05,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ce.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ce.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*Be,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(x,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ne=new go.PathFigure(E*.28,a*.37,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(le,E,a){var x=new go.Geometry,y=15,z=y*Be,ne=new go.PathFigure(E*.62,a*.475,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.4,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.5,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var $e={},wt="5.0",oe={},b=null,pe=!1,Ee=!1,Ke=null,Ce=!1,Ze=null,Be=null,Ye=0;Ye4?parseFloat(Te):5};$e.setHTML5Codebase=function(Te,ke){Be=Te,Qt(Te,ke)},$e.setJavaCodebase=$e.setJavaCodebaseVersion=$e.isCompiledInstalled=$e.setPreCompiledScriptPath=$e.setPreCompiledResourcePath=function(){},$e.setHTML5CodebaseVersion=function(Te,ke){var Et=parseFloat(Te);if(Et!==NaN&&Et<5){console.log("The GeoGebra HTML5 codebase version "+Et+" is deprecated. Using version latest instead.");return}Ze=Te,zt(Te,ke)},$e.getHTML5CodebaseVersion=function(){return le},$e.getParameters=function(){return oe},$e.setFontsCSSURL=function(Te){ne=Te},$e.setGiacJSURL=function(Te){},$e.setJNLPFile=function(Te){xe=Te},$e.setJNLPBaseDir=function(Te){},$e.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Et=oe.id,Rt,st=!1,Zt=0;Zt=5)return!0;var Te=$e.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},$e.startAnimation=function(){var Te=$e.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},$e.stopAnimation=function(){var Te=$e.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},$e.getAppletObject=function(){var Te=oe.id!==void 0?oe.id:"ggbApplet";return window[Te]},$e.resize=function(){};var gt=function(Te,ke,Et){var Rt=document.createElement("param");Rt.setAttribute("name",ke),Rt.setAttribute("value",Et),Te.appendChild(Rt)},De=function(Te){return Te&&Te!=="false"},be=function(Te,ke,Et){ie(le)<=4.2&&(Et=!0);var Rt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Rt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var st=document.createElement("div");st.classList.add("appletParameters","notranslate");var Zt=ke.width,ye=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(ie(le)<=4.4)De(ke.showToolBar)&&(ke.height-=7),De(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&De(ke.showToolBar)&&(ke.width=605,Zt=605);else{var rt=100;(De(ke.showToolBar)||De(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),rt=De(ke.showMenuBar)?245:155),Zt=5?(ke.appletOnLoad=function(Yt){var _n=Te.querySelector(".ggb_preview");_n&&_n.parentNode.removeChild(_n),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(tt),window.GGBT_wsf_view&&$(window).trigger("resize"),pt(Yt)},En||tt.appendChild(nt)):st.appendChild(nt),tt.appendChild(st),En||Te.appendChild(tt),setTimeout(function(){$e.resize()},1)}else{var He=document.createElement("div");He.className="applet_scaler",He.style.position="relative",He.style.display="block",He.appendChild(st),Te.appendChild(He),ke.appletOnLoad=function(Yt){$e.resize(),pt(Yt)}}function At(Yt,_n){_n&&typeof _n.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Yt,_n.appletOnLoad):renderGGBElement(Yt),Ot("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",_n)}function Nn(Yt,_n){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Yt,params:_n}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(sa){At(sa.article,sa.params)}),html5AppletsToProcess=null)},ie(le)<5&&(Yt.className+=" geogebraweb")):At(Yt,_n)}if(Rt){scriptLoadStarted=!0;for(var Fn=0;Fn0?(rn.remove(),tt.attr("id","fullscreencontent").show(),jQuery(pt).append(tt),window.dispatchEvent(new Event("resize"))):be(rn,ke,!1),window.GGBT_wsf_view.launchFullScreen(pt)}else We=Rt,be(Te,ke,!1);if(!window.GGBT_wsf_view)for(ye=0;yeTe/4*3&&(rn=Te/4*3),pt=rn/5.8,rt.setAttribute("src",y),rt.setAttribute("width",rn),rt.setAttribute("height",pt);var tt=(Te-rn)/2,En=(ke-pt)/2;rt.style.left=tt+"px",rt.style.top=En+"px",st.appendChild(rt)}}return st.appendChild(ye),st},kt=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},ut=["web","webSimple","web3d","tablet","tablet3d","phone"],zt=function(Te,ke){if(le=Te,ke){Qt(le,!0);return}var Et=!pe;if(Et){var Rt=ie(le);!isNaN(Rt)&&Rt<4.4&&(Et=!1)}var st,Zt;window.location.protocol.substr(0,4)==="http"?st=window.location.protocol:st="http:";var ye=le.indexOf("//");ye>0?Zt=le:ye===0?Zt=st+le:Zt="https://www.geogebra.org/apps/5.2.814.0/";for(var rt in ut)if(le.slice(ut[rt].length*-1)===ut[rt]||le.slice((ut[rt].length+1)*-1)===ut[rt]+"/"){Qt(Zt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Et&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!De(oe.showToolBar)&&!De(oe.showMenuBar)&&!De(oe.showAlgebraInput)&&!De(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?Zt+="webSimple/":Zt+="web3d/",Qt(Zt,!1)},Qt=function(Te,ke){if(Te.requirejs){Oe=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),Oe=Te,ke===null&&(ke=Te.indexOf("http")===-1),je=ke,E="web.nocache.js",a=!1;var Et=Oe.split("/");Et.length>1&&(!ke&&Et[Et.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):ut.indexOf(Et[Et.length-2])>=0&&(E=Et[Et.length-2]+".nocache.js")),Et=Te.split("/"),le=Et[Et.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var Rt=parseFloat(le);Rt!==NaN&&Rt<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead."),zt("5.0",ke))},Ot=function(Te,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Te)};oe.material_id!==void 0?Pe(Nt):Nt();function Nt(){var Te=wt;Ze!==null?Te=Ze:parseFloat(Te)<5&&(Te="5.0"),zt(Te,!1),Be!==null&&Qt(Be,je),Ce=!0}return $e},GGBAppletUtils=function(){"use strict";function $e(){return window.GGBT_wsf_edit!==void 0}function wt(Ce,Ze){Ze!=1?(Ce.style.transformOrigin="0% 0% 0px",Ce.style.webkitTransformOrigin="0% 0% 0px",Ce.style.transform="scale("+Ze+","+Ze+")",Ce.style.webkitTransform="scale("+Ze+","+Ze+")",Ce.style.maxWidth="initial",Ce.querySelector(".ggb_preview")!==null&&(Ce.querySelector(".ggb_preview").style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ce.style.transform="none",Ce.style.webkitTransform="none")}function oe(Ce,Ze,Be,Ye,Re,xe){var Oe=null;if(xe!=null&&xe!="")for(var je=Ce.parentNode;je!=null;)if((" "+je.className+" ").indexOf(" "+xe+" ")>-1){Oe=je;break}else je=je.parentNode;var We=0,le=0,E=0,a=0,x=0,y=0,z=0;if(Oe)We=Oe.offsetWidth,le=Math.max(Ye?Oe.offsetWidth:0,Oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(We=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=We):(We=window.innerWidth,le=window.innerHeight,E=window.innerWidth),Ce){var ne=Ce.getBoundingClientRect();ne.left>0&&ne.left<=We&&(Re===void 0||!Re)&&(document.dir==="rtl"?(x=We-ne.width-ne.left,y=E<=480?10:30):(y=ne.left,x=E<=480?10:30),a=y+x)}if(Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ce&&((Be===void 0||!Be)&&Ze>0&&Ze+a1&&(xe=!0)),Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe=!0),!(Ce.hasOwnProperty("disableAutoScale")&&Ce.disableAutoScale))Re=b(Ce,Ze,xe,Be,Ce.scaleContainerClass);else return Ye;return xe&&(!Ce.hasOwnProperty("scale")||Ye===1)?Re:Math.min(Ye,Re)}function Ee(Ce){var Ze=Math.min(window.innerWidth,document.documentElement.clientWidth),Be=Math.min(window.innerHeight,document.documentElement.clientHeight),Ye=Ce.getBoundingClientRect(),Re=(Ze-Ye.width)/2,xe=(Be-Ye.height)/2;xe<0&&(xe=0),Ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Re<40?Ce.style.left="40px":Ce.style.left=Re+"px",Ce.style.top=xe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(xe<40?Ce.style.top="40px":Ce.style.top=xe+"px",Ce.style.left=Re+"px")}function Ke(Ce,Ze){var Be=Ce.querySelector(".appletParameters");if(Be){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ze.id!==Be.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ce)}if(Be.parentElement&&/fullscreen/.test(Be.parentElement.className))return;var Ye=pe(Ze,Ce);$e()&&Be.setAttribute("data-param-scale",Ye);for(var Re=null,xe=0;xe=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($e){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch($e){alert(nb+k+qb)}}}__gwt_getMetaProperty=function($e){var wt=c[$e];return wt==null?null:wt},r=d,webModule.__errFn=e}function B(){function $e(Ce){var Ze=Ce.lastIndexOf(rb);Ze==-1&&(Ze=Ce.length);var Be=Ce.indexOf(sb);Be==-1&&(Be=Ce.length);var Ye=Ce.lastIndexOf(tb,Math.min(Be,Ze));return Ye>=O?Ce.substring(O,Ye+P):W}function wt(Ce){if(!Ce.match(/^\w+:\/\//)){var Ze=o.createElement(ub);Ze.src=Ce+vb,Ce=$e(Ze.src)}return Ce}function oe(){var Ce=__gwt_getMetaProperty(wb);return Ce!=null?Ce:W}function b(){for(var Ce=o.getElementsByTagName(_),Ze=O;ZeO?Ce[Ce.length-P].href:W}function Ee(){var Ce=o.location;return Ce.href==Ce.protocol+zb+Ce.host+Ce.pathname+Ce.search+Ce.hash}var Ke=oe();return Ke==W&&(Ke=b()),Ke==W&&(Ke=pe()),Ke==W&&Ee()&&(Ke=$e(o.location.href)),Ke=wt(Ke),Ke}function C($e){return $e.match(/^\//)||$e.match(/^[a-zA-Z]+:\/\//)?$e:webModule.__moduleBase+$e}function D(){var $e=[],wt=O,oe=[],b=[];function pe(Ce){var Ze=b[Ce](),Be=oe[Ce];if(Ze in Be)return Ze;var Ye=[];for(var Re in Be)Ye[Be[Re]]=Re;throw r&&r(Ce,Ye,Ze),null}if(__gwt_isKnownPropertyValue=function(Ce,Ze){return Ze in oe[Ce]},webModule.__getPropMap=function(){var Ce={};for(var Ze in oe)oe.hasOwnProperty(Ze)&&(Ce[Ze]=pe(Ze));return Ce},webModule.__computePropValue=pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ee;try{Ee=Cb;var Ke=Ee.indexOf(Db);Ke!=-1&&(wt=parseInt(Ee.substring(Ke+P),$),Ee=Ee.substring(O,Ke))}catch(Ce){}return webModule.__softPermutationId=wt,C(Ee+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function($e,wt,oe){"use strict";oe.d(wt,{Ax:function(){return Ke},Ds:function(){return Ce},KI:function(){return Be},SI:function(){return Ee},f1:function(){return pe}});var b=oe(78323);function pe(Ye){let Re=!0;if(Ye.length>0){for(let xe=0;xea in E?Ee(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,xe=(E,a)=>{for(var x in a||(a={}))Be.call(a,x)&&Re(E,x,a[x]);if(Ze)for(var x of Ze(a))Ye.call(a,x)&&Re(E,x,a[x]);return E},Oe=(E,a)=>Ke(E,Ce(a)),je=(E,a)=>{var x={};for(var y in E)Be.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&Ze)for(var y of Ze(E))a.indexOf(y)<0&&Ye.call(E,y)&&(x[y]=E[y]);return x},We=(E,a,x)=>new Promise((y,z)=>{var ne=ce=>{try{ie(x.next(ce))}catch(fe){z(fe)}},re=ce=>{try{ie(x.throw(ce))}catch(fe){z(fe)}},ie=ce=>ce.done?y(ce.value):Promise.resolve(ce.value).then(ne,re);ie((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,y=je(a,["children"]);const[z,ne]=(0,pe.useState)(!1);return pe.createElement(b.ZP,Oe(xe({},y),{loading:z,onClick:re=>We(void 0,null,function*(){try{ne(!0),yield y.onClick(re),ne(!1)}catch(ie){console.error(ie),ne(!1)}})}),x)}},12306:function($e,wt,oe){"use strict";var b=oe(86204),pe=oe.n(b),Ee=Object.defineProperty,Ke=(Ye,Re,xe)=>Re in Ye?Ee(Ye,Re,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Ye[Re]=xe,Ce=(Ye,Re,xe)=>Ke(Ye,typeof Re!="symbol"?Re+"":Re,xe),Ze=(Ye,Re,xe)=>new Promise((Oe,je)=>{var We=a=>{try{E(xe.next(a))}catch(x){je(x)}},le=a=>{try{E(xe.throw(a))}catch(x){je(x)}},E=a=>a.done?Oe(a.value):Promise.resolve(a.value).then(We,le);E((xe=xe.apply(Ye,Re)).next())});class Be extends b.EventEmitter{constructor(Re,xe){super(),Ce(this,"url"),Ce(this,"body"),Ce(this,"fullContent",""),Ce(this,"controller",null),Ce(this,"buffer",""),this.url=Re,this.body=xe}startStream(){return Ze(this,null,function*(){this.controller=new AbortController;const{signal:Re}=this.controller;try{const xe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Re});if(!xe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${xe.status}`);const Oe=xe.headers.get("content-type");if(!Oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Oe.includes("application/json")){const le=yield xe.json();this.emit("error",le);return}if(!Oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const je=xe.body.getReader(),We=new TextDecoder("utf-8");for(;;){const{done:le,value:E}=yield je.read();if(le)break;const a=We.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const z=y.slice(5).trim();if(z==="[DONE]")break;try{const ne=JSON.parse(z);ne.data&&this.handleData(ne.data)}catch(ne){this.buffer=y+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ne)}}}this.emit("done",this.fullContent)}catch(xe){xe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",xe.message)}})}handleData(Re){Re.content&&(this.fullContent+=Re.content,this.emit("data",{chunk:Re,full:this.fullContent}))}cancelRequest(){var Re;(Re=this.controller)==null||Re.abort()}}wt.Z=Be},57593:function($e,wt,oe){"use strict";oe.d(wt,{Z:function(){return ut}});var b=oe(59301),pe=oe(97831),Ee=oe(66328),Ke=oe(3977),Ce=oe(18369),Ze=oe(56102),Be={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Ye=oe(8591),Re=oe(11611),xe=oe(13058),Oe=oe(30084),je=oe(10787),We=oe(79562),le=oe(43428),E=oe(95237),a=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(95440),z=oe(16338),ne=oe(75353),re=oe(59301),ie=(zt,Qt,Ot)=>new Promise((Nt,Te)=>{var ke=st=>{try{Rt(Ot.next(st))}catch(Zt){Te(Zt)}},Et=st=>{try{Rt(Ot.throw(st))}catch(Zt){Te(Zt)}},Rt=st=>st.done?Nt(st.value):Promise.resolve(st.value).then(ke,Et);Rt((Ot=Ot.apply(zt,Qt)).next())});const ce=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ne)}}}this.emit("done",this.fullContent)}catch(xe){xe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",xe.message)}})}handleData(Re){Re.content&&(this.fullContent+=Re.content,this.emit("data",{chunk:Re,full:this.fullContent}))}cancelRequest(){var Re;(Re=this.controller)==null||Re.abort()}}wt.Z=Be},57593:function($e,wt,oe){"use strict";oe.d(wt,{Z:function(){return ut}});var b=oe(59301),pe=oe(97831),Ee=oe(66328),Ke=oe(3977),Ce=oe(18369),Ze=oe(56102),Be={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Ye=oe(8591),Re=oe(11611),xe=oe(55939),Oe=oe(30084),je=oe(10787),We=oe(79562),le=oe(43428),E=oe(95237),a=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(95440),z=oe(16338),ne=oe(75353),re=oe(59301),ie=(zt,Qt,Ot)=>new Promise((Nt,Te)=>{var ke=st=>{try{Rt(Ot.next(st))}catch(Zt){Te(Zt)}},Et=st=>{try{Rt(Ot.throw(st))}catch(Zt){Te(Zt)}},Rt=st=>st.done?Nt(st.value):Promise.resolve(st.value).then(ke,Et);Rt((Ot=Ot.apply(zt,Qt)).next())});const ce=` diff --git a/p__Paperlibrary__ThemeChange__index.3b67784f.async.js b/p__Paperlibrary__ThemeChange__index.bc70e9c3.async.js similarity index 99% rename from p__Paperlibrary__ThemeChange__index.3b67784f.async.js rename to p__Paperlibrary__ThemeChange__index.bc70e9c3.async.js index d4635ea9c4..0d5326b49f 100644 --- a/p__Paperlibrary__ThemeChange__index.3b67784f.async.js +++ b/p__Paperlibrary__ThemeChange__index.bc70e9c3.async.js @@ -1,6 +1,6 @@ !(function(){"use strict";var Bo=Math.pow;var Yo=(Ht,st,u)=>new Promise((a,s)=>{var B=j=>{try{C(u.next(j))}catch(W){s(W)}},x=j=>{try{C(u.throw(j))}catch(W){s(W)}},C=j=>j.done?a(j.value):Promise.resolve(j.value).then(B,x);C((u=u.apply(Ht,st)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[2099],{40001:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},65363:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},84105:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},18785:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},87169:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={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"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},73331:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},15277:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},62772:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},61485:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},47472:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},87395:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(54476),s=u(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},x=B,C=u(7657),j=function(b,D){return s.createElement(C.Z,(0,a.Z)({},b,{ref:D,icon:x}))},W=s.forwardRef(j),g=W},27431:function(Ht,st){st.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},57150:function(Ht,st){st.Z={threeBtnSty:"threeBtnSty___TLi14",threeTableSty:"threeTableSty___TPPHp",threeSelectSty:"threeSelectSty___FTtcH",threeCheckboxSty:"threeCheckboxSty___lOX9B",inputStyComm:"inputStyComm___eu0su",threeInputSty:"threeInputSty___mTodi",threeSuffixInputSty:"threeSuffixInputSty___TXvX8",threeRadioSty:"threeRadioSty___d2bpk",threeFormSty:"threeFormSty___OJPML"}},53956:function(Ht,st,u){var a=u(59301),s=Object.defineProperty,B=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(h,b,D)=>b in h?s(h,b,{enumerable:!0,configurable:!0,writable:!0,value:D}):h[b]=D,W=(h,b)=>{for(var D in b||(b={}))x.call(b,D)&&j(h,D,b[D]);if(B)for(var D of B(b))C.call(b,D)&&j(h,D,b[D]);return h};const g=h=>React.createElement("svg",W({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},h),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));st.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},63549:function(Ht,st,u){var a=u(59301),s=Object.defineProperty,B=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(h,b,D)=>b in h?s(h,b,{enumerable:!0,configurable:!0,writable:!0,value:D}):h[b]=D,W=(h,b)=>{for(var D in b||(b={}))x.call(b,D)&&j(h,D,b[D]);if(B)for(var D of B(b))C.call(b,D)&&j(h,D,b[D]);return h};const g=h=>React.createElement("svg",W({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},h),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));st.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},12082:function(Ht,st,u){var a=u(59301),s=Object.defineProperty,B=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(h,b,D)=>b in h?s(h,b,{enumerable:!0,configurable:!0,writable:!0,value:D}):h[b]=D,W=(h,b)=>{for(var D in b||(b={}))x.call(b,D)&&j(h,D,b[D]);if(B)for(var D of B(b))C.call(b,D)&&j(h,D,b[D]);return h};const g=h=>React.createElement("svg",W({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},h),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));st.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},88457:function(Ht,st,u){u.d(st,{Ax:function(){return x},Ds:function(){return C},KI:function(){return W},SI:function(){return B},f1:function(){return s}});var a=u(78323);function s(g){let h=!0;if(g.length>0){for(let b=0;bbe in pe?B(pe,be,{enumerable:!0,configurable:!0,writable:!0,value:ee}):pe[be]=ee,b=(pe,be)=>{for(var ee in be||(be={}))W.call(be,ee)&&h(pe,ee,be[ee]);if(j)for(var ee of j(be))g.call(be,ee)&&h(pe,ee,be[ee]);return pe},D=(pe,be)=>x(pe,C(be)),p=(pe,be)=>{var ee={};for(var de in pe)W.call(pe,de)&&be.indexOf(de)<0&&(ee[de]=pe[de]);if(pe!=null&&j)for(var de of j(pe))be.indexOf(de)<0&&g.call(pe,de)&&(ee[de]=pe[de]);return ee},P=(pe,be,ee)=>new Promise((de,Pe)=>{var V=A=>{try{L(ee.next(A))}catch(K){Pe(K)}},Z=A=>{try{L(ee.throw(A))}catch(K){Pe(K)}},L=A=>A.done?de(A.value):Promise.resolve(A.value).then(V,Z);L((ee=ee.apply(pe,be)).next())});const xe=pe=>{var be=pe,{children:ee}=be,de=p(be,["children"]);const[Pe,V]=(0,s.useState)(!1);return s.createElement(a.ZP,D(b({},de),{loading:Pe,onClick:Z=>P(void 0,null,function*(){try{V(!0),yield de.onClick(Z),V(!1)}catch(L){console.error(L),V(!1)}})}),ee)}},81900:function(Ht,st,u){u.d(st,{Z:function(){return g}});var a=u(59301),s=u(95392),B=u(43418),x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAACE5JREFUWAmtWH1snVUZ/533tuvYVreyjGy3Y6srTBo2srI4XbtKgFQxIrKYzeAfk8AfCzHbCkPMjPjBP0aCsjr1D01USCQ6oosyiLF8xMGqc2BHauUj1I2Ntghs7dqytuu99/j7nfOee9/73js+jKd53+d5n3Oe5/zO8zznOafX4EO2ta/bhqlJfM4adFJ1hQWyxiIrM5QNG2CY7EnKei5agMf7V5pR9X3QRv0P1pr77WaO3AGLDoKokZYlY2hBtFqLDHLse9ZE2De41hyoNiYte19AzX22nfPdT8NtnJr6UgkIAl/dTLKXwHupeM9gqzmcBpH8rm6JI7ZYm3nhBfyAQHYlFcr4NL6yTn4kEamPxkxkutevx+5Hjcmnh+u7KqB1fXbR+Az2U195UmyWnjH8E1ULvGgsKDlRghTg8MnhPQvrsPVYqxnziqV3BSCBGZuUe21LMUGUKGx6F42K14rZJ6oWeFG19+w3eGnhPLSlQUVOM34pTGfHsR95tCBPozlOFCh5q++YOj7uqyfUxhqDbAYQjxzB8JFuoJ739qRrZ22L5tKcSQx+KbFk1VN2b8Fa5ky8QvojhEVDAh9C1DAH2NYIdFwMNM3TCIsT5wwOnbH45SlgIufDG8arv+RnsQb0SPe/rzdd0lYrAmr+s23PWzznxdXfyRzK1gEPrgU+cbHBa5MWr07KmsHq+RaXLTAYGAe29wFDMyVb6RC62YmxJjKbBj/td5+rJ1LJzeL+ihWUbHkuzpe5GYM9lwsM8MSbwLcGDMZmqc1cWlhrsOsyi20rgTubDb45YDGl0MZNPio1yS1yec2NdsldDq18jEUvzzqjjVj2UMF9i/JRDpFeMc/ihqUWT71p8fU+i3fO0eisRZ4hOjNl8f1/MWxvG3wha/GxedKVntct0SB3tM1hCIAwix0+YZWEVKRhPYF3SRjLxa+tN6hlGX56hHky7RNXyevHAe/OWPxpyCoUuKpem0F9frGBaqGBd5QYOAI1Kw7aBjuFDuWbckQt0DQfYr5srhuGkXdJ5cG4JZP+P+pjWzIn9gR5Vx746ajrLc3Fc7BDWCJM4EZu0xoXkmJ4OLqMl9HYY6Svj3vgrQ00SI9Z5Y+ewJOua/BjBrjj5IEybzjbmkN2YyoMxBJR0OmF5UreSDAmygmoLHqY5/kb3FlfWgWsJygdAu4giOnVlG39KHCcO63/HfXRd/HkgQZbgcquKaAz85GbvrMTBduEApFqUYGKTz2mIH8D4zMGs+Q/swK4Zhkno+w8vbCEpeCLBPmNq4HFDOuP+4G/vBHblN3UIz1LmajnzShD5e8yHO4BcE4HxAnKX/STE0TUPsyJjjUBG5YC937ccE2hz+DEWYs9PNN/N0hjBc0mo2waIz4ey7xxcznq+pGtYf5wc/oW95eqZcjiosRiOYvebWssNrMOLb7IYHSaRXEUGGMBHJ0G/j5icZS16QTDZQjcY/AzsHw54MKoFrAFvBRla2xeFz3fUgugMED1dDUT9YFrgdalBi++Rf6IxaFTrENTCiHcExblLIYP0lpWvFuvZLjPA799+QLzcd8oZCMEUu+HlCCE70DXLAEeuN5g1SLgJ89b/PwYcPoce90yw6hy/RCSWh6fX+Ex87UNwKkJ4DfMLdcI1EVPwH0bUciGWRdW6ztZR+IBjlzCg/NHvBk1EvZ9h4BH+lmV6bQwXkUyp4RNeMQpckwdD6fbrgJ2f5IX7bME1cMebfVqLcJwZHK8kMfb0m098qJ6pDiHS7j3U8Dliw26/0Yw9EyBVVw6GjOHbtjUaFGrpbp646n4OoZ8+zrgbl5+jzPPup4AnmeIHSDaZrr4UhLzZrZwMioU8GSpcGkSDeJS4wlX8zTvbAaO0NCv/0Exz6zk+C0twE8/b3B7qyE4r6t+VgB8dYNBF8G8+jaw6zHgRR4nwa5bcGoBNh/11GQKOJjPubXRueU+l/0tTMT5LP8PHy1gbJKAKSuGnEw/i+QwQ3F3h/4VsfjZEYMMd9fOjcAdGw3+yR131x+BV1ggK1rZdCYXZfC4s738u/Zp5tG1aYV6LvNXtwDLmcg3/4ITaytzkEC5pjAxqdfw5P/hTbwLXcLb1iGL+XUG2wmoj7Xqrj8Ag6fD8PIrb3Lf89r7zNC3zXX0Clse+1gxCSis30+5gMnc1GDwylvAmQkaUxgJItyZg68Ghgx2/p4Xtpt5B7qGt0CiPnqSYA4wd04HmzEoT/w7rI6U69onIasDz6X7zAEeC71lhx0nj5iw2rITU8AMjwuf6J6K97nk6ctDwM79zBN65a/HPX+ctcrbFE3yRED7ShRRLrRXGIRFGF3L7rHtVHou6QHxlzKpx3gBm2AVDttcVI1QijIn4KuZ9WqaJ//QmDdOGKVJXM2iRJStOFfGbBr+nr/CFgFpQOOd+b08M3cVk0S9CYvvB6iyvwRK9uNzxFMncCHqHnow0xV/+pCFj7aN0W7DrRfqhLs5qlZc8AZJ26pXcn1iC/twSq5weuqvvxrH77j+mELUoznD/KJlHpKgqcsumjlve2mqJeWg0nIrtKSpVqHhxcU3wZTGvFRXa9pO7C3/77WqaYE6P23380rRGaaQzcqQVOZQce73YLhLe+rmmq1pMFJxuyytq4Ht15nP8ljpdpX7QiFRyU+EIIQiUJUJ8aKOp51MIereRNvVwAhHVQ8lAWZv588xBf0cY6v8HJMcSXCxQVG14F1ReqWXpeWe4Yf+x59jnMXEa9k2u5mgdrASdHBqV1BTu7hiExGEfPss6b6Rh/9PP1glMDl2xZdtA8vMjRaFTl7tLqVQN86sOukJnmx8jD3FstpTCxw8+ciH+0nvv4gFlb/v9tJbAAAAAElFTkSuQmCC",C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABq1JREFUWAmVWGuIVVUU/vaZ2zjjOC9TwzFtwAjKHlJBNj4IYgJp/hghIWEE/ahAlCypqB8JoSiRJljQw6KoEGz6oQmNvxqdoB9hailZoZbj2xlndHzMvWf3rX3OOnefc888XLDv2nvttdda+1tr73PONbhJsnZdM64NPsll7YCZBYQtQMAmFPayz2ZPcNCFmvpdxrzR56bG+WPGqQc79PoShOEKGLMQ1hbcOstfsSA8j4wpcrIbQbDFTFzfmaeSlY0ZkB14bT5suIFBtGUXMzj6YzTChbQvXMifN+ghemtMw8Z90WT+74gBWbu9Cv0979HJyvyllI6JkKcjRkQ/MJvR1LbamKUlEWUpNyDbt6oJpeJ2GmCdeDQaAp7ayN14B4b1VVVYapo39Wd1KwJywVy/Tnjt3VnlcsHosixEIleZrNa+cCF/3hzGhOq2bFBq2am7NJ3q2l1GZgSDQTMw9U2gqsmty/0pXQTOrmVMQ950xp4xXZjevthPX3RadMl/u1kzmTTpnM/Dy9xsDZ2FwBXWqG7L+aPJukepHQBF6oE6I5Ex7RCfwCpVUVOwx5/jabJ7dSKX+xucvBxoeBw4vRG4djBSl1M1kcFMfRHo5ym/9H3aTLYGNYVBsMDc8YU7fdxGTMXiBhR5bZTYhOe1kAdD5MIv/RgtrH+MY6IgTebqGaQl799DW7G+8LwmdpxOaYOG4RCyfz3DS89+p8Jx8xlvEZF7GcyN8pKgGhjkmTj9QVk2nl5gnjJ3ftsZ1VBxeIU7EAqhFkUWYv+iEydnPgcmd7BTJaOIBJ0LOyKkVZZw2b/mXbrsJzaxgpJOY48va8bg0FkO0gVOQQUli+PS8w1WKN+0oIj6idMKGBjsYNBRMBq8cKHMhlI7ijSAFhZwze06Aq6fBE5+FI/HMJi2z1iGOgoYLrVrhnIdll1VBjihFZjCB39xgCm6yszVAZMeAM7/AFz9hyvTHsvpinecjTcotRd4Yma6QMRxxXqu0DS5eSpommRc/6D8Akff5n10GGheBMxmodc9xMI+yomsx4yDzJAHa6YE1JIEpM6EC2UXRNLyb8PDRGeQzhmMXID9vzAGHuVGBtT7VY6BMQJkARR4d7REOyn7GVcvqGV6eOQv/sR0xce+xNQN/k7k7qEJ3uSlK2lTFRvOIA7DgMJhCytQCGV3EElzfxtZKwHPwsWf6ZioOOJ6GTfcz6Dm8vgz2MRmrJJiGX/G2IDGTrnbWW5od3PGXG9R5dmbtukR+qLBCxIQ17jGwM67JwAg8ypL5lVPOfUTHdc/VWBAvTR8VypwHWhBCxfyIW+eB1z+k6fpDCfieWEDR3j0z/HC5LxsQmQChKMKRMo2Zd6glwgVTyTPIjEgz6QEDdmJ7oJ9N0deMwuonR6hoTIfBUFpwjTqtMYIxIiornBp7rkY8+jZeSLgK8SeCDZxGDsXLs0tiLn0xalw2b3Que5IpvpuQ9QXuZCipPPF4dguud/XeRt2FXAj3IkgLDIdlY+ODMIJ/LfOB4b5rnPhV0LOADVlWsBn99Ix5VOo9/enLrb8H80nuXyh1Jldgek42Me0dJfTxB1qyiRy3bXfb+JxL/JIy9F3utxxSZrok+MWzjPgxjmxTG0ySKcjvKJ1m4UH+6L3oVK4JUehcpELioYOrWcdsUbmfRY9LrQmxEmBr7XztgHV5KKXciyBSSAaoM8ZA0kwc2R3tO4j4m1JWkTqIRopebLZy4G57/De2Q90PxshVt0ILPqGyPD74MBaPlIYmNoY3V6PefoY8+tefIUJhWtShSxoZIval4mz395l4fICbCNS1VOABV/GwRCZIx9HaOhhSJDxEYr7hr5jShCSsf16xiaYcGVyb+juEq2sgFU/5xXgvlfp/BrTV8M0vc+2Ue2nOdVTiLnZYLNZdnKVKkY1pKNC22reD10OKb+Ik5x7hSvFK7s/wNfhQ5uiYP7YCuxfV64Rh06MtI+22JbGYw7x6VGyd5XZztYmDPKl2OZ9KKpWDq+9Lb61/bkcRBUiww/F+vo2s+RYf3aFP3Z9u62pieHzU9q2pzAe7VHiVo4SgD8vH4gwS83z/algRCWdMreIqqJY98Ripm9z6phWpCC+9v1jL3096tr350GbtJ0XjLivSFkcU8LsJ7Xz+e6V/3dMRZFmBD6ixvRw+2vMC1f5oBuZxgxIl9oPq5ewCOVzaSFl0WPGd+gUMwEh/sPK8A+rl250qq3R+LgDUiN2a2Mzwsv8GJP6sjMp5xuna6LSGzXzL8HvQjBpp3n5Up9MjJf+B5WVB7lfjXHfAAAAAElFTkSuQmCC",j={tilte:"tilte___IfiMG",flexRow:"flexRow___pQP78",flexColumn:"flexColumn___xrBZQ",footerWrap:"footerWrap___C5kCC",img:"img___GoWZu",content:"content___pumTK",modalContent:"modalContent___XvHiZ"};const W=({visible:h,occupationValue:b,onCancel:D=()=>{}})=>{const p=()=>a.createElement("div",{className:j.flexColumn},a.createElement("img",{className:j.img,src:C}),a.createElement("span",{className:j.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),P=()=>a.createElement("div",{className:j.flexColumn},a.createElement("img",{className:j.img,src:x}),a.createElement("span",{className:j.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),xe=()=>b===3?a.createElement(a.Fragment,null,P(),p()):b===2?p():P();return a.createElement(B.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:h,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{D(),s.history.push("/account/certification")},onCancel:()=>{D()}},a.createElement("div",{className:j.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),a.createElement("div",{className:j.flexRow},xe()))};var g=(0,s.connect)(({paperlibrary:h,loading:b,globalSetting:D})=>({paperlibrary:h,globalSetting:D,loading:b.effects}))(W)},12306:function(Ht,st,u){var a=u(86204),s=u.n(a),B=Object.defineProperty,x=(g,h,b)=>h in g?B(g,h,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[h]=b,C=(g,h,b)=>x(g,typeof h!="symbol"?h+"":h,b),j=(g,h,b)=>new Promise((D,p)=>{var P=be=>{try{pe(b.next(be))}catch(ee){p(ee)}},xe=be=>{try{pe(b.throw(be))}catch(ee){p(ee)}},pe=be=>be.done?D(be.value):Promise.resolve(be.value).then(P,xe);pe((b=b.apply(g,h)).next())});class W extends a.EventEmitter{constructor(h,b){super(),C(this,"url"),C(this,"body"),C(this,"fullContent",""),C(this,"controller",null),C(this,"buffer",""),this.url=h,this.body=b}startStream(){return j(this,null,function*(){this.controller=new AbortController;const{signal:h}=this.controller;try{const b=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:h});if(!b.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${b.status}`);const D=b.headers.get("content-type");if(!D)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(D.includes("application/json")){const xe=yield b.json();this.emit("error",xe);return}if(!D.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const p=b.body.getReader(),P=new TextDecoder("utf-8");for(;;){const{done:xe,value:pe}=yield p.read();if(xe)break;const be=P.decode(pe,{stream:!0});this.buffer+=be;const ee=this.buffer.split(` `);this.buffer=ee.pop()||"";for(const de of ee)if(de.startsWith("data:")){const Pe=de.slice(5).trim();if(Pe==="[DONE]")break;try{const V=JSON.parse(Pe);V.data&&this.handleData(V.data)}catch(V){this.buffer=de+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",V)}}}this.emit("done",this.fullContent)}catch(b){b.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",b.message)}})}handleData(h){h.content&&(this.fullContent+=h.content,this.emit("data",{chunk:h,full:this.fullContent}))}cancelRequest(){var h;(h=this.controller)==null||h.abort()}}st.Z=W},57593:function(Ht,st,u){u.d(st,{Z:function(){return ae}});var a=u(59301),s=u(97831),B=u(66328),x=u(3977),C=u(18369),j=u(56102),W={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},g=u(8591),h=u(11611),b=u(13058),D=u(30084),p=u(10787),P=u(79562),xe=u(43428),pe=u(95237),be=u(43604),ee={smartWrp:"smartWrp___NjRcB"},de=u(95440),Pe=u(16338),V=u(75353),Z=u(59301),L=(q,ue,J)=>new Promise((N,Q)=>{var ce=Be=>{try{Je(J.next(Be))}catch(Ye){Q(Ye)}},We=Be=>{try{Je(J.throw(Be))}catch(Ye){Q(Ye)}},Je=Be=>Be.done?N(Be.value):Promise.resolve(Be.value).then(ce,We);Je((J=J.apply(q,ue)).next())});const A=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",V)}}}this.emit("done",this.fullContent)}catch(b){b.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",b.message)}})}handleData(h){h.content&&(this.fullContent+=h.content,this.emit("data",{chunk:h,full:this.fullContent}))}cancelRequest(){var h;(h=this.controller)==null||h.abort()}}st.Z=W},57593:function(Ht,st,u){u.d(st,{Z:function(){return ae}});var a=u(59301),s=u(97831),B=u(66328),x=u(3977),C=u(18369),j=u(56102),W={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},g=u(8591),h=u(11611),b=u(55939),D=u(30084),p=u(10787),P=u(79562),xe=u(43428),pe=u(95237),be=u(43604),ee={smartWrp:"smartWrp___NjRcB"},de=u(95440),Pe=u(16338),V=u(75353),Z=u(59301),L=(q,ue,J)=>new Promise((N,Q)=>{var ce=Be=>{try{Je(J.next(Be))}catch(Ye){Q(Ye)}},We=Be=>{try{Je(J.throw(Be))}catch(Ye){Q(Ye)}},Je=Be=>Be.done?N(Be.value):Promise.resolve(Be.value).then(ce,We);Je((J=J.apply(q,ue)).next())});const A=` diff --git a/p__Problemset__NewItem__index.fa074b89.async.js b/p__Problemset__NewItem__index.c5c9c0a0.async.js similarity index 99% rename from p__Problemset__NewItem__index.fa074b89.async.js rename to p__Problemset__NewItem__index.c5c9c0a0.async.js index 37dccfc5d0..e08c2266e9 100644 --- a/p__Problemset__NewItem__index.fa074b89.async.js +++ b/p__Problemset__NewItem__index.c5c9c0a0.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[1953],{87169:function(Me,xt,ne){"use strict";ne.d(xt,{Z:function(){return ye}});var b=ne(54476),ge=ne(59301),Ie={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"},Ve=Ie,he=ne(7657),Oe=function(Be,Ze){return ge.createElement(he.Z,(0,b.Z)({},Be,{ref:Ze,icon:Ve}))},fe=ge.forwardRef(Oe),ye=fe},12893:function(Me,xt,ne){"use strict";ne.d(xt,{Z:function(){return ye}});var b=ne(54476),ge=ne(59301),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Ve=Ie,he=ne(7657),Oe=function(Be,Ze){return ge.createElement(he.Z,(0,b.Z)({},Be,{ref:Ze,icon:Ve}))},fe=ge.forwardRef(Oe),ye=fe},32134:function(Me,xt,ne){"use strict";ne.d(xt,{Z:function(){return ye}});var b=ne(54476),ge=ne(59301),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Ve=Ie,he=ne(7657),Oe=function(Be,Ze){return ge.createElement(he.Z,(0,b.Z)({},Be,{ref:Ze,icon:Ve}))},fe=ge.forwardRef(Oe),ye=fe},27431:function(Me,xt){"use strict";xt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},20577:function(Me,xt){"use strict";xt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},87851:function(){"use strict";function Me(oe,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=oe,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Me.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(Me.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(Me.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(Me.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,E){var a=go.Shape._FigureParameters[oe];return a?a[E]:null},go.Shape.setFigureParameter=function(oe,E,a){if(!(a instanceof Me))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 x=go.Shape._FigureParameters[oe];x||(x=[],go.Shape._FigureParameters[oe]=x),x[E]=a};var xt=[];function ne(oe,E){var a=xt.pop();return a===void 0?new go.Point(oe,E):(a.x=oe,a.y=E,a)}function b(){var oe=xt.pop();return oe===void 0?new go.Point:oe}function ge(oe){xt.push(oe)}function Ie(oe,E,a,x,y,z,ee,te,ae){ae||(ae=new go.Point);var re=oe-a,le=y-ee,ue=NaN,Ee=NaN;if(re===0)if(le===0)oe===a&&(ue=oe,Ee=E);else{var se=(z-te)/le,$e=z-se*y;ue=oe,Ee=se*ue+$e}else if(le===0){var Se=(E-x)/re,Ye=E-Se*oe;ue=y,Ee=Se*ue+Ye}else{var Se=(E-x)/re,se=(z-te)/le,Ye=E-Se*oe,$e=z-se*y;ue=($e-Ye)/(Se-se),Ee=Se*ue+Ye}return ae.x=ue,ae.y=Ee,ae}function Ve(oe,E,a,x,y,z,ee,te,ae,re,le,ue,Ee,se){var $e=1-ae,Se=ae,Ye=oe*$e+a*Se,De=E*$e+x*Se,Le=a*$e+y*Se,me=x*$e+z*Se,Re=y*$e+ee*Se,Xe=z*$e+te*Se,gt=Ye*$e+Le*Se,je=De*$e+me*Se,kt=Le*$e+Re*Se,wt=me*$e+Xe*Se,ft=gt*$e+kt*Se,ut=je*$e+wt*Se;re.x=Ye,re.y=De,le.x=gt,le.y=je,ue.x=ft,ue.y=ut,Ee.x=kt,Ee.y=wt,se.x=Re,se.y=Xe}var he=new go.Spot(.156,.156),Oe=new go.Spot(.844,.844),fe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Me("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,E,a){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*fe,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(oe,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(oe,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(oe,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(oe,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=he,y.spot2=Oe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(oe,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(oe,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,fe*E,0,E,(1-fe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,fe*a,(1-fe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,fe*a,fe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-fe)*E,0,0,(1-fe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Me("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y0&&(ee.add(new go.PathSegment(go.PathSegment.Move,E/2+te,E/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),z.spot1=he,z.spot2=Oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(oe,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Me("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Me("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,E,a){var x=oe?oe.parameter1:NaN,y=oe?oe.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ee=y%360,te=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,z,ee,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,E,a){var x=fe/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Me("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,E,a){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Me("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,E,a){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ee-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Me("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,E,a){var x=oe?oe.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ee=a/2,te=Math.atan2(a,E),ae=x-Math.min(Math.cos(te)*x/2,z),re=x-Math.min(Math.sin(te)*x/2,ee),y=new go.Geometry,le=new go.PathFigure(ae,0,!0);return y.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),le.add(new go.PathSegment(go.PathSegment.Line,E-ae,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,re)),le.add(new go.PathSegment(go.PathSegment.Line,.8*E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,E,a-re)),le.add(new go.PathSegment(go.PathSegment.Line,E-ae,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),le.add(new go.PathSegment(go.PathSegment.Line,ae,a)),le.add(new go.PathSegment(go.PathSegment.Line,0,a-re)),le.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Me("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,E,a){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new Me("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new Me("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,fe*E,0,E,(.5-fe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+fe/2)*a,fe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ee=.3,te=0,ae=z*fe;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+te)*a,(.5-z+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+te)*a,(.5+ae+ee)*E,(.5+z+te)*a,(.5+z+ee)*E,(.5+ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+te)*a,(1-.5+z+ee)*E,(.5-ae+te)*a,(.5+ae+ee)*E,(.5-z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ae+ee)*E,(.5-z+te)*a,(.5-z+ee+.05)*E,(.5-ae+te-.02)*a)),z=.2,ee=0,te=-.3,ae=z*fe,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*E,(.5+te)*a,(.5+ae+ee)*E,(.5+z+te)*a,(.5+z+ee)*E,(.5+ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+te)*a,(1-.5+z+ee)*E,(.5-ae+te)*a,(.5+ae+ee)*E,(.5-z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+te)*a,(.5-ae+ee)*E,(.5-z+te)*a,(.5-z+ee)*E,(.5-ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+ee)*E,(.5+z+te)*a,(.5-z+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+z+te)*a)),z=.2,ee=-.3,te=0,ae=z*fe,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-z+te)*a,(1-.5+z+ee-.05)*E,(.5-ae+te-.02)*a,(.5+ae+ee)*E,(.5-z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*E,(.5+te)*a,(.5-ae+ee)*E,(.5-z+te)*a,(.5-z+ee)*E,(.5-ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+z+te)*a,(.5-z+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+z+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ae+ee)*E,(.5+z+te)*a,(.5+z+ee)*E,(.5+ae+te)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ee=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*E,te*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ee,a*te,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),te=.75,y=new go.PathFigure((ee+z)*E,te*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ee,a*te,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(oe,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=.5,ee=.5,te=.5,ae=new go.PathFigure(ee*E,(te-z)*a);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),z=.4,y=fe*.4;var re=b(),le=b(),ue=b(),Ee=b();Ve(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.42,re,le,ue,Ee,Ee);var se=b(),$e=b(),Se=b();Ve(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.58,Ee,Ee,Se,se,$e);var Ye=b(),De=b(),Le=b();Ve(ee,te+z,ee-y,te+z,ee-z,te+y,ee-z,te,.42,Ye,De,Le,Ee,Ee);var me=b(),Re=b(),Xe=b();return Ve(ee,te+z,ee-y,te+z,ee-z,te+y,ee-z,te,.58,Ee,Ee,Xe,me,Re),ae.add(new go.PathSegment(go.PathSegment.Move,Xe.x*E,Xe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,me.x*E,me.y*a,Re.x*E,Re.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*E,ue.y*a,re.x*E,re.y*a,le.x*E,le.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,Xe.x*E,Xe.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Le.x*E,Le.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,Se.x*E,Se.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,se.x*E,se.y*a,$e.x*E,$e.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*E,Le.y*a,Ye.x*E,Ye.y*a,De.x*E,De.y*a).close()),ge(re),ge(le),ge(ue),ge(Ee),ge(se),ge($e),ge(Se),ge(Ye),ge(De),ge(Le),ge(me),ge(Re),ge(Xe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Me("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,E,a){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(oe,E,a){var x=new go.Geometry,y=fe*.4,z=.4,ee=.5,te=.5,ae=b(),re=b(),le=b(),ue=b(),Ee=new go.PathFigure((ee-z)*E,te*a,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),Ve(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.44,le,ue,re,ae,ae),Ee.add(new go.PathSegment(go.PathSegment.Bezier,re.x*E,re.y*a,le.x*E,le.y*a,ue.x*E,ue.y*a));var se=ne(re.x,re.y);Ve(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.56,ae,ae,re,le,ue);var $e=ne(re.x,re.y);Ee.add(new go.PathSegment(go.PathSegment.Line,(se.x*.1+.95*.9)*E,se.y*.1*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*E,se.y*.1*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,($e.x*.1+.9)*E,.15*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,($e.x*.1+.9)*E,($e.y*.1+.05*.9)*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,$e.x*E,$e.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,le.x*E,le.y*a,ue.x*E,ue.y*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),z=.35,y=fe*.35;var Se=new go.PathFigure(ee*E,(te-z)*a,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a));var Ye=new go.PathFigure((ee-z)*E,te*a,!1);return x.add(Ye),ge(ae),ge(re),ge(le),ge(ue),ge(se),ge($e),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(oe,E,a){var x=new go.Geometry,y=.375,z=0,ee=-.125,te=y*fe,ae=new go.PathFigure((.525+z)*E,(.5+y+ee)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ee)*a,(.5+te+z)*E,(.5+y+ee)*a,(.5+y+z)*E,(.5+te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ee)*a,(1-.5+y+z)*E,(.5-te+ee)*a,(.5+te+z)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-te+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ee)*a,(.5-y+z)*E,(.5+te+ee)*a,(.5-te+z)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ee=-.125,te=y*fe;var ae=new go.PathFigure((1-.5+y+z)*E,(.5+ee)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ee)*a,(.5+y+z)*E,(.5+te+ee)*a,(.5+te+z)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-te+z)*E,(.5+y+ee)*a,(.5-y+z)*E,(.5+te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-te+ee)*a,(.5-te+z)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ee)*a,(.5+te+z)*E,(.5-y+ee)*a,(1-.5+y+z)*E,(.5-te+ee)*a));var ae=new go.PathFigure((.525+z)*E,(.5+y+ee)*a,!1);return x.add(ae),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(oe,E,a){var x=oe?oe.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(oe,E,a){var x=oe?oe.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(oe,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(oe,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Me("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Me("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,ee=(.5-y/2)*a,te=(.5+y/2)*a,ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,z,a)),re.add(new go.PathSegment(go.PathSegment.Line,z,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ae.spot1=new go.Spot(0,ee/a);var le=Ie(0,te/a,1,te/a,z/E,1,1,.5,b());return ae.spot2=new go.Spot(le.x,le.y),ge(le),ae}),go.Shape.setFigureParameter("Arrow2",0,new Me("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Me("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,ee=(a-y)/2,te=ee+y,ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,z,a)),re.add(new go.PathSegment(go.PathSegment.Line,z,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ae.spot1=new go.Spot(0,ee/a);var le=Ie(0,te/a,1,te/a,z/E,1,1,.5,b());return ae.spot2=new go.Spot(le.x,le.y),ge(le),ae}),go.Shape.defineFigureGenerator("Chevron",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Me("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ae=Ie(0,.5,.3,0,0,y/a,.1,y/a,b());return ee.spot1=new go.Spot(ae.x,ae.y),ae=Ie(.7,1,1,.5,0,z/a,1,z/a,ae),ee.spot2=new go.Spot(ae.x,ae.y),ge(ae),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Me("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Me("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ee=z+x,te=(a-y)/2,ae=te+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ee=z+x,te=0,ae=a):(z=0,ee=a,te=0,ae=a));var re=new go.Geometry,le=new go.PathFigure(E,.5*a,!0);re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),le.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close());var ue=Ie(0,.5,.3,te/a,0,z/a,1,z/a,b());return re.spot1=new go.Spot(ue.x,ue.y),ue=Ie(.7,ae/a,1,.5,0,ee/a,1,ee/a,ue),re.spot2=new go.Spot(ue.x,ue.y),ge(ue),re}),go.Shape.setFigureParameter("IBeamArrow",0,new Me("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,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,.2*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(0,y/a);var ae=Ie(.7,1,1,.5,0,z/a,1,z/a,b());return ee.spot2=new go.Spot(ae.x,ae.y),ge(ae),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Me("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Me("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ee=z+x,te=(a-y)/2,ae=te+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ee=z+x,te=0,ae=a):(z=0,ee=a,te=0,ae=a));var re=new go.Geometry,le=new go.PathFigure(E,.5*a,!0);re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),le.add(new go.PathSegment(go.PathSegment.Line,0,ae)),le.add(new go.PathSegment(go.PathSegment.Line,0,te)),le.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),le.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close()),re.spot1=new go.Spot(0,z/a);var ue=Ie(.7,ae/a,1,.5,0,ee/a,1,ee/a,b());return re.spot2=new go.Spot(ue.x,ue.y),ge(ue),re}),go.Shape.setFigureParameter("Pointer",0,new Me("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ee=Ie(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ee.x,ee.y),ge(ee),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Me("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var ee=Ie(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ee.x,ee.y),ge(ee),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Me("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,0,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,.3);var ae=Ie(.7,1,1,.5,0,z/a,1,z/a,b());return ee.spot2=new go.Spot(ae.x,ae.y),ge(ae),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Me("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),te.add(new go.PathSegment(go.PathSegment.Line,0,z)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,y/a);var ae=Ie(.7,1,1,.5,0,z/a,1,z/a,b());return ee.spot2=new go.Spot(ae.x,ae.y),ge(ae),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Me("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=fe*.1,ee=new go.PathFigure(0,.9*a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=fe*.5,ee=new go.PathFigure(0,x,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,fe*x,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,fe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-fe*x,(.5+z)*E,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-fe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var te=new go.PathFigure(E,x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-fe*x,(.5+z)*E,2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-fe*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=fe*.5,ee=new go.PathFigure(0,a-x,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,fe*x,(.5-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,fe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-fe*x,(.5+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-fe*x));var te=new go.PathFigure(0,a-x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-fe*x,(.5-z)*E,a-2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-fe*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=fe*.5,ee=new go.PathFigure(x,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-fe*x,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-fe*x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,fe*x,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,fe*x,0));var te=new go.PathFigure(x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+fe*x,0,2*x,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+fe*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=fe*.5,ee=new go.PathFigure(E-x,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-fe*x,0,E,(.5-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-fe*x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,fe*x,a,0,(.5+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,fe*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var te=new go.PathFigure(E-x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-fe*x,0,E-2*x,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-fe*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(oe,E,a){var x=new go.Geometry,y=.2,z=.1,ee=fe*y,te=fe*z,ae=.5,re=.1,le=new go.PathFigure(ae*E,(re+z)*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-y)*E,re*a,(ae-ee)*E,(re+z)*a,(ae-y)*E,(re+te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-z)*a,(ae-y)*E,(re-te)*a,(ae-ee)*E,(re-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ae+y)*E,re*a,(ae+ee)*E,(re-z)*a,(ae+y)*E,(re-te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re+z)*a,(ae+y)*E,(re+te)*a,(ae+ee)*E,(re+z)*a));var ue=.05,Ee=fe*ue;ae=.05,re=.25;var se=new go.PathFigure(.5*E,.2*a,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ae=.95,re=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ue)*E,re*a,(ae+Ee)*E,(re-ue)*a,(ae+ue)*E,(re-Ee)*a)),se.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),ue=.025,Ee=fe*ue,ae=.825,re=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-ue)*a,(ae+ue)*E,(re-Ee)*a,(ae+Ee)*E,(re-ue)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ue)*E,re*a,(ae-Ee)*E,(re-ue)*a,(ae-ue)*E,(re-Ee)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),ue=.05,Ee=fe*ue,ae=.5,re=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-ue)*a,(ae+ue)*E,(re-Ee)*a,(ae+Ee)*E,(re-ue)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ue)*E,re*a,(ae-Ee)*E,(re-ue)*a,(ae-ue)*E,(re-Ee)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),ue=.025,Ee=fe*ue,ae=.175,re=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-ue)*a,(ae+ue)*E,(re-Ee)*a,(ae+Ee)*E,(re-ue)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ue)*E,re*a,(ae-Ee)*E,(re-ue)*a,(ae-ue)*E,(re-Ee)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ue=.05,Ee=fe*ue,ae=.05,re=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-ue)*a,(ae-ue)*E,(re-Ee)*a,(ae-Ee)*E,(re-ue)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Me("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,E,a){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=fe*.1,ee=new go.PathFigure(E,.1*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var te=new go.PathFigure(E,.1*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=fe*.1,ee=new go.PathFigure(E,.1*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var te=new go.PathFigure(E,.1*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=fe*.2,ee=new go.PathFigure(0,.2*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(oe,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ee=new go.PathFigure(E,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(oe,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=fe*.5,te=.5,ae=new go.PathFigure(E,te*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,E,(te+ee)*a,(te+ee)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-ee)*E,a,0,(te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,0,0,(te-ee)*a,(te-ee)*E,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,te*a,(te+ee)*E,0,E,(te-ee)*a));var re=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),re.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),re.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=.5,ee=new go.PathFigure(.5*E,a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(oe,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var te=new go.PathFigure(.5*y*E,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(oe,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-y)*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ee=new go.PathFigure(y*E,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,E,a){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=.5,ee=new go.PathFigure(E,z*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var te=new go.PathFigure(E,z*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ae=new go.PathFigure(.8*E,.75*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(oe,E,a){var x=new go.Geometry,y=fe*.1,z=.1,ee=.9,te=.5,ae=new go.PathFigure(.8*E,.5*a,!0);x.add(ae),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,.8*E,.5*a));var re=new go.PathFigure((ee+z)*E,te*a,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te-z)*a,(ee+z)*E,(te-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=fe*.4,ee=fe*.1,te=.1,ae=.9,re=.5,le=new go.PathFigure(.8*E,.5*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),le.add(new go.PathSegment(go.PathSegment.Line,0,a)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var ue=new go.PathFigure((ae+te)*E,re*a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re+te)*a,(ae+te)*E,(re+ee)*a,(ae+ee)*E,(re+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E,re*a,(ae-ee)*E,(re+te)*a,(ae-te)*E,(re+ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-te)*a,(ae-te)*E,(re-ee)*a,(ae-ee)*E,(re-te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E,re*a,(ae+ee)*E,(re-te)*a,(ae+te)*E,(re-ee)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(oe,E,a){var x=new go.Geometry,y=.5,z=fe*y,ee=0,te=.5,ae=new go.PathFigure(.8*E,.5*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(te-y)*a,.7*E,(te-z)*a)),y=.1,z=fe*.1,ee=.9,te=.5;var re=new go.PathFigure((ee-y)*E,te*a,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(oe,E,a){var x=new go.Geometry,y=.5,z=fe*y,ee=0,te=.5,ae=new go.PathFigure(0,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z+z)*E,(te-y)*a,.8*E,(te-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(te+z)*a,(ee+z+z)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(oe,E,a){var x=new go.Geometry,y=.5,z=fe*y,ee=.2,te=.5,ae=new go.PathFigure(.1*E,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var re=new go.PathFigure(.8*E,.5*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+z)*E,(te-y)*a,.7*E,(te-z)*a)),y=.1,z=fe*.1,ee=.9,te=.5;var le=new go.PathFigure((ee-y)*E,te*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(oe,E,a){var x=new go.Geometry,y=.5,z=fe*y,ee=.2,te=.5,ae=new go.PathFigure(.1*E,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var re=new go.PathFigure(.2*E,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+z)*E,(te-y)*a,.9*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(oe,E,a){var x=new go.Geometry,y=fe*.1,z=.1,ee=.1,te=.5,ae=new go.PathFigure((ee-y*.5)*E,a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+z)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,0,(ee-y)*E,a,(ee-z)*E,0)),ee=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y*.5)*E,a,(ee+z)*E,0,(ee+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,E,a){var x=new go.Geometry,y=fe*.5,z=.5,ee=.5,te=.5,ae=new go.PathFigure((ee-z)*E,te*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-z)*a,(ee-z)*E,(te-y)*a,(ee-y)*E,(te-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te-z)*a,(ee+z)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*E,te*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*E,te*a,ee*E,(te-z)*a,ee*E,(te+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(oe,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ee=fe*.8,te=.8,ae=0,re=.5,le=(y-E)/2,ue=(z-a)/2,Ee=new go.PathFigure(ae*E+le,(re+te)*a+ue,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+le,re*a+ue,(ae-ee)*E+le,(re+te)*a+ue,(ae-te)*E+le,(re+ee)*a+ue)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re-te)*a+ue,(ae-te)*E+le,(re-ee)*a+ue,(ae-ee)*E+le,(re-te)*a+ue)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te+ee*.5)*E+le,re*a+ue,ae*E+le,(re-te)*a+ue,(ae-te+ee*.5)*E+le,(re-ee)*a+ue)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re+te)*a+ue,(ae-te+ee*.5)*E+le,(re+ee)*a+ue,ae*E+le,(re+te)*a+ue).close()),ee=fe*.4,te=.4,ae=.2,re=.5;var se=new go.PathFigure(ae*E+le,(re+te)*a+ue,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+le,re*a+ue,(ae-ee)*E+le,(re+te)*a+ue,(ae-te)*E+le,(re+ee)*a+ue)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re-te)*a+ue,(ae-te)*E+le,(re-ee)*a+ue,(ae-ee)*E+le,(re-te)*a+ue)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te+ee*.5)*E+le,re*a+ue,ae*E+le,(re-te)*a+ue,(ae-te+ee*.5)*E+le,(re-ee)*a+ue)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re+te)*a+ue,(ae-te+ee*.5)*E+le,(re+ee)*a+ue,ae*E+le,(re+te)*a+ue).close()),ee=fe*.2,te=.2,ae=.5,re=.5;var $e=new go.PathFigure((ae-te)*E+le,re*a+ue,!0);x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re-te)*a+ue,(ae-te)*E+le,(re-ee)*a+ue,(ae-ee)*E+le,(re-te)*a+ue)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+le,re*a+ue,(ae+ee)*E+le,(re-te)*a+ue,(ae+te)*E+le,(re-ee)*a+ue)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re+te)*a+ue,(ae+te)*E+le,(re+ee)*a+ue,(ae+ee)*E+le,(re+te)*a+ue)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+le,re*a+ue,(ae-ee)*E+le,(re+te)*a+ue,(ae-te)*E+le,(re+ee)*a+ue)),ee=fe*.4,te=.4,ae=.8,re=.5;var Se=new go.PathFigure(ae*E+le,(re-te)*a+ue,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+le,re*a+ue,(ae+ee)*E+le,(re-te)*a+ue,(ae+te)*E+le,(re-ee)*a+ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re+te)*a+ue,(ae+te)*E+le,(re+ee)*a+ue,(ae+ee)*E+le,(re+te)*a+ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te-ee*.5)*E+le,re*a+ue,ae*E+le,(re+te)*a+ue,(ae+te-ee*.5)*E+le,(re+ee)*a+ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re-te)*a+ue,(ae+te-ee*.5)*E+le,(re-ee)*a+ue,ae*E+le,(re-te)*a+ue).close()),ee=fe*.8,te=.8,ae=1,re=.5;var Ye=new go.PathFigure(ae*E+le,(re-te)*a+ue,!0);return x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+le,re*a+ue,(ae+ee)*E+le,(re-te)*a+ue,(ae+te)*E+le,(re-ee)*a+ue)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re+te)*a+ue,(ae+te)*E+le,(re+ee)*a+ue,(ae+ee)*E+le,(re+te)*a+ue)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te-ee*.5)*E+le,re*a+ue,ae*E+le,(re+te)*a+ue,(ae+te-ee*.5)*E+le,(re+ee)*a+ue)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+le,(re-te)*a+ue,(ae+te-ee*.5)*E+le,(re-ee)*a+ue,ae*E+le,(re-te)*a+ue).close()),x}),go.Shape.defineFigureGenerator("Email",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ee=new go.PathFigure(.6*E,a,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(oe,E,a){var x=new go.Geometry,y=fe*.4,z=.4,ee=.5,te=.5,ae=b(),re=b(),le=b(),ue=b();Ve(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.5,ae,ae,re,le,ue);var Ee=ne(re.x,re.y),se=new go.PathFigure(re.x*E,re.y*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,le.x*E,le.y*a,ue.x*E,ue.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee+z)*E,(te+y)*a,(ee+y)*E,(te+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,(ee-y)*E,(te+z)*a,(ee-z)*E,(te+y)*a)),Ve(ee-z,te,ee-z,te-y,ee-y,te-z,ee,te-z,.5,le,ue,re,ae,ae),se.add(new go.PathSegment(go.PathSegment.Bezier,re.x*E,re.y*a,le.x*E,le.y*a,ue.x*E,ue.y*a)),y=fe*.3,z=.3,Ve(ee-z,te,ee-z,te-y,ee-y,te-z,ee,te-z,.5,le,ue,re,ae,ae),se.add(new go.PathSegment(go.PathSegment.Line,re.x*E,re.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*E,te*a,ue.x*E,ue.y*a,le.x*E,le.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+z)*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*E,te*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),Ve(ee,te-z,ee+y,te-z,ee+z,te-y,ee+z,te,.5,ae,ae,re,le,ue),se.add(new go.PathSegment(go.PathSegment.Bezier,re.x*E,re.y*a,ue.x*E,ue.y*a,le.x*E,le.y*a).close());var se=new go.PathFigure(.45*E,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),ge(ae),ge(re),ge(le),ge(ue),ge(Ee),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ee,te,ae){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*E,(.8+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*E,(.8+ae)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,E,a){var x=new go.Geometry,y=.5,z=0,ee=0,te=y*fe,ae=.4*Math.SQRT2/2+.5,re=.5-.5*Math.SQRT2/2,le=1,ue=.5,Ee=.5,se=0,$e=new go.PathFigure(ae*E,(1-re)*a,!1);return x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,le*E,ue*a,le*E,.7*a,le*E,ue*a)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+z)*E,(se+z)*a,(.5+y+z)*E,(.5-te+z)*a,(.5+te+z)*E,(.5-y+z)*a)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ee)*a,(.5-te+z)*E,(.5-y+ee)*a,(.5-y+z)*E,(.5-te+ee)*a)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+te+ee)*a,(.5-te+z)*E,.9*a)),$e.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),$e.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),$e.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ee=new go.PathFigure(0,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ee=.5-.285,te=.5,ae=ee,re=Math.PI/4,le=4*(1-Math.cos(re))/(3*Math.sin(re)),ue=le*.5,Ee=ee,se=ee,$e=le*Ee,Se=le*se;z.add(new go.PathSegment(go.PathSegment.Bezier,(te-Ee)*E,ae*a,(te-($e+Ee)/2)*E,(ae+(se+Se)/2)*a,(te-Ee)*E,(ae+Se)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-se)*a,(te-Ee)*E,(ae-Se)*a,(te-$e)*E,(ae-se)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(te+Ee)*E,ae*a,(te+$e)*E,(ae-se)*a,(te+Ee)*E,(ae-Se)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(te+Ee)*E,(ae+Se)*a,(te+($e+Ee)/2)*E,(ae+(se+Se)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Ye=new go.PathFigure(.2*E,a,!1);x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var De=new go.PathFigure(.8*E,a,!1);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ee=new go.PathFigure(.1*E,a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ee=new go.PathFigure(.675*E,.575*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,E,a){var x=new go.Geometry,y=.5,z=fe*.5,ee=new go.PathFigure(E,y*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ee=new go.PathFigure(0,.6*a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ee=.1,te=fe*.1,ae=.2,re=.9,le=new go.PathFigure((ae-ee)*E,re*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-ee)*a,(ae-ee)*E,(re-te)*a,(ae-te)*E,(re-ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,re*a,(ae+te)*E,(re-ee)*a,(ae+ee)*E,(re-te)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re+ee)*a,(ae+ee)*E,(re+te)*a,(ae+te)*E,(re+ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,re*a,(ae-te)*E,(re+ee)*a,(ae-ee)*E,(re+te)*a).close()),ee=.1,te=fe*.1,ae=.8,re=.9;var ue=new go.PathFigure((ae-ee)*E,re*a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re-ee)*a,(ae-ee)*E,(re-te)*a,(ae-te)*E,(re-ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,re*a,(ae+te)*E,(re-ee)*a,(ae+ee)*E,(re-te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(re+ee)*a,(ae+ee)*E,(re+te)*a,(ae+te)*E,(re+ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,re*a,(ae-te)*E,(re+ee)*a,(ae-ee)*E,(re+te)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*E,.8*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var te=new go.PathFigure(.5*E,.7*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ae=.1,re=fe*.1,le=.1,ue=.9,Ee=new go.PathFigure((le-ae)*E,ue*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ue-ae)*a,(le-ae)*E,(ue-re)*a,(le-re)*E,(ue-ae)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*E,ue*a,(le+re)*E,(ue-ae)*a,(le+ae)*E,(ue-re)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ue+ae)*a,(le+ae)*E,(ue+re)*a,(le+re)*E,(ue+ae)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*E,ue*a,(le-re)*E,(ue+ae)*a,(le-ae)*E,(ue+re)*a)),ae=.1,re=fe*.1,le=.4,ue=.9;var se=new go.PathFigure((le-ae)*E,ue*a,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ue-ae)*a,(le-ae)*E,(ue-re)*a,(le-re)*E,(ue-ae)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*E,ue*a,(le+re)*E,(ue-ae)*a,(le+ae)*E,(ue-re)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(ue+ae)*a,(le+ae)*E,(ue+re)*a,(le+re)*E,(ue+ae)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*E,ue*a,(le-re)*E,(ue+ae)*a,(le-ae)*E,(ue+re)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ee=new go.PathFigure(.55*E,.4*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var le=.05,ue=fe*.05,Ee=.175,se=.95,te=new go.PathFigure((Ee-le)*E,se*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se-le)*a,(Ee-le)*E,(se-ue)*a,(Ee-ue)*E,(se-le)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+le)*E,se*a,(Ee+ue)*E,(se-le)*a,(Ee+le)*E,(se-ue)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se+le)*a,(Ee+le)*E,(se+ue)*a,(Ee+ue)*E,(se+le)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-le)*E,se*a,(Ee-ue)*E,(se+le)*a,(Ee-le)*E,(se+ue)*a));var le=.05,ue=fe*.05,Ee=.375,se=.95,ae=new go.PathFigure((Ee-le)*E,se*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se-le)*a,(Ee-le)*E,(se-ue)*a,(Ee-ue)*E,(se-le)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+le)*E,se*a,(Ee+ue)*E,(se-le)*a,(Ee+le)*E,(se-ue)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se+le)*a,(Ee+le)*E,(se+ue)*a,(Ee+ue)*E,(se+le)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-le)*E,se*a,(Ee-ue)*E,(se+le)*a,(Ee-le)*E,(se+ue)*a));var le=.05,ue=fe*.05,Ee=.625,se=.95,re=new go.PathFigure((Ee-le)*E,se*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se-le)*a,(Ee-le)*E,(se-ue)*a,(Ee-ue)*E,(se-le)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+le)*E,se*a,(Ee+ue)*E,(se-le)*a,(Ee+le)*E,(se-ue)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se+le)*a,(Ee+le)*E,(se+ue)*a,(Ee+ue)*E,(se+le)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-le)*E,se*a,(Ee-ue)*E,(se+le)*a,(Ee-le)*E,(se+ue)*a));var le=.05,ue=fe*.05,Ee=.825,se=.95,$e=new go.PathFigure((Ee-le)*E,se*a,!0);x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se-le)*a,(Ee-le)*E,(se-ue)*a,(Ee-ue)*E,(se-le)*a)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+le)*E,se*a,(Ee+ue)*E,(se-le)*a,(Ee+le)*E,(se-ue)*a)),$e.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(se+le)*a,(Ee+le)*E,(se+ue)*a,(Ee+ue)*E,(se+le)*a)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-le)*E,se*a,(Ee-ue)*E,(se+le)*a,(Ee-le)*E,(se+ue)*a).close());var Se=new go.PathFigure(0,a,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(.15*E,a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var te=.05,ae=fe*.05,re=.35,le=.775,ue=new go.PathFigure((re-te)*E,le*a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(le-te)*a,(re-te)*E,(le-ae)*a,(re-ae)*E,(le-te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*E,le*a,(re+ae)*E,(le-te)*a,(re+te)*E,(le-ae)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(le+te)*a,(re+te)*E,(le+ae)*a,(re+ae)*E,(le+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*E,le*a,(re-ae)*E,(le+te)*a,(re-te)*E,(le+ae)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(oe,E,a){var x=new go.Geometry,y=.3,z=fe*.3,ee=.5,te=.7,ae=new go.PathFigure((ee-y)*E,te*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a));var re=new go.PathFigure(0,.7*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(oe,E,a){var x=new go.Geometry,y=.5,z=fe*.5,ee=.5,te=.5,ae=new go.PathFigure((ee-y)*E,te*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a));var re=new go.PathFigure(.15*E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(oe,E,a){var x=new go.Geometry,y=.5,z=fe*.5,ee=.5,te=.5,ae=new go.PathFigure((ee-y)*E,te*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a).close()),y=.05,z=fe*.05,ee=.5,te=.8;var re=new go.PathFigure((ee-y)*E,te*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-z)*a,(ee-z)*E,(te-y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+z)*E,(te-y)*a,(ee+y)*E,(te-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+z)*a,(ee+z)*E,(te+y)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-z)*E,(te+y)*a,(ee-y)*E,(te+z)*a).close()),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ee=new go.PathFigure(.402*E,.85*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var te=new go.PathFigure(.678*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ae=new go.PathFigure(.5*E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ee=new go.PathFigure(E*.408,a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var te=new go.PathFigure(E*.612,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ae=new go.PathFigure(E*.816,a,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ee=new go.PathFigure(E*.055,.13*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var te=new go.PathFigure(E*.055,.18*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ae=new go.PathFigure(E*1,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ee=new go.PathFigure(E*.11,a*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var te=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ae=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,E,a){var x=new go.Geometry,y=8,z=y*fe,ee=new go.PathFigure(y,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var te=new go.PathFigure(E*.83,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ae=new go.PathFigure(E*.83,a*1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var re=new go.PathFigure(E*.78,a*.05,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),re.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),re.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,E,a){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*fe,z=a*.8,ee=new go.Geometry,te=new go.PathFigure(x,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),te.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),te.add(new go.PathSegment(go.PathSegment.Line,x,z)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ee.spot1=new go.Spot(0,0,y,y),ee.spot2=new go.Spot(1,.8,-y,-y)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ee=new go.PathFigure(E*.28,a*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(oe,E,a){var x=new go.Geometry,y=15,z=y*fe,ee=new go.PathFigure(E*.62,a*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.4,a*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ee=new go.PathFigure(E*.5,a*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(oe,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Me={},xt="5.0",ne={},b=null,ge=!1,Ie=!1,Ve=null,he=!1,Oe=null,fe=null,ye=0;ye4?parseFloat(Ae):5};Me.setHTML5Codebase=function(Ae,we){fe=Ae,wt(Ae,we)},Me.setJavaCodebase=Me.setJavaCodebaseVersion=Me.isCompiledInstalled=Me.setPreCompiledScriptPath=Me.setPreCompiledResourcePath=function(){},Me.setHTML5CodebaseVersion=function(Ae,we){var qe=parseFloat(Ae);if(qe!==NaN&&qe<5){console.log("The GeoGebra HTML5 codebase version "+qe+" is deprecated. Using version latest instead.");return}Oe=Ae,kt(Ae,we)},Me.getHTML5CodebaseVersion=function(){return oe},Me.getParameters=function(){return ne},Me.setFontsCSSURL=function(Ae){ee=Ae},Me.setGiacJSURL=function(Ae){},Me.setJNLPFile=function(Ae){Be=Ae},Me.setJNLPBaseDir=function(Ae){},Me.inject=function(){function Ae(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var we="auto",qe=ne.id,ct,We=!1,Ct=0;Ct=5)return!0;var Ae=Me.getAppletObject();return Ae&&typeof Ae.recalculateEnvironments=="function"?(Ae.recalculateEnvironments(),!0):!1},Me.startAnimation=function(){var Ae=Me.getAppletObject();return Ae&&typeof Ae.startAnimation=="function"?(Ae.startAnimation(),!0):!1},Me.stopAnimation=function(){var Ae=Me.getAppletObject();return Ae&&typeof Ae.stopAnimation=="function"?(Ae.stopAnimation(),!0):!1},Me.getAppletObject=function(){var Ae=ne.id!==void 0?ne.id:"ggbApplet";return window[Ae]},Me.resize=function(){};var $e=function(Ae,we,qe){var ct=document.createElement("param");ct.setAttribute("name",we),ct.setAttribute("value",qe),Ae.appendChild(ct)},Se=function(Ae){return Ae&&Ae!=="false"},Ye=function(Ae,we,qe){ae(oe)<=4.2&&(qe=!0);var ct=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(ct=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var We=document.createElement("div");We.classList.add("appletParameters","notranslate");var Ct=we.width,de=we.height;if(we.disableAutoScale=we.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():we.disableAutoScale,we.width!==void 0)if(ae(oe)<=4.4)Se(we.showToolBar)&&(we.height-=7),Se(we.showAlgebraInput)&&(we.height-=37),we.width<605&&Se(we.showToolBar)&&(we.width=605,Ct=605);else{var ze=100;(Se(we.showToolBar)||Se(we.showMenuBar))&&(we.hasOwnProperty("customToolBar")&&(we.customToolbar=we.customToolBar),ze=Se(we.showMenuBar)?245:155),Ct=5?(we.appletOnLoad=function(Nt){var sn=Ae.querySelector(".ggb_preview");sn&&sn.parentNode.removeChild(sn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ne),window.GGBT_wsf_view&&$(window).trigger("resize"),Qe(Nt)},qt||Ne.appendChild(nt)):We.appendChild(nt),Ne.appendChild(We),qt||Ae.appendChild(Ne),setTimeout(function(){Me.resize()},1)}else{var Ke=document.createElement("div");Ke.className="applet_scaler",Ke.style.position="relative",Ke.style.display="block",Ke.appendChild(We),Ae.appendChild(Ke),we.appletOnLoad=function(Nt){Me.resize(),Qe(Nt)}}function rt(Nt,sn){sn&&typeof sn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Nt,sn.appletOnLoad):renderGGBElement(Nt),ft("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",sn)}function Jt(Nt,sn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Nt,params:sn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(hn){rt(hn.article,hn.params)}),html5AppletsToProcess=null)},ae(oe)<5&&(Nt.className+=" geogebraweb")):rt(Nt,sn)}if(ct){scriptLoadStarted=!0;for(var Kt=0;Kt0?(Zt.remove(),Ne.attr("id","fullscreencontent").show(),jQuery(Qe).append(Ne),window.dispatchEvent(new Event("resize"))):Ye(Zt,we,!1),window.GGBT_wsf_view.launchFullScreen(Qe)}else xe=ct,Ye(Ae,we,!1);if(!window.GGBT_wsf_view)for(de=0;deAe/4*3&&(Zt=Ae/4*3),Qe=Zt/5.8,ze.setAttribute("src",y),ze.setAttribute("width",Zt),ze.setAttribute("height",Qe);var Ne=(Ae-Zt)/2,qt=(we-Qe)/2;ze.style.left=Ne+"px",ze.style.top=qt+"px",We.appendChild(ze)}}return We.appendChild(de),We},gt=function(Ae){return Ae=Ae.toLowerCase(),Ae==="html5"||Ae==="screenshot"?Ae:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],kt=function(Ae,we){if(oe=Ae,we){wt(oe,!0);return}var qe=!ge;if(qe){var ct=ae(oe);!isNaN(ct)&&ct<4.4&&(qe=!1)}var We,Ct;window.location.protocol.substr(0,4)==="http"?We=window.location.protocol:We="http:";var de=oe.indexOf("//");de>0?Ct=oe:de===0?Ct=We+oe:Ct="https://www.geogebra.org/apps/5.2.814.0/";for(var ze in je)if(oe.slice(je[ze].length*-1)===je[ze]||oe.slice((je[ze].length+1)*-1)===je[ze]+"/"){wt(Ct,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&qe&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Se(ne.showToolBar)&&!Se(ne.showMenuBar)&&!Se(ne.showAlgebraInput)&&!Se(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?Ct+="webSimple/":Ct+="web3d/",wt(Ct,!1)},wt=function(Ae,we){if(Ae.requirejs){Ze=Ae;return}Ae.slice(-1)!=="/"&&(Ae+="/"),Ze=Ae,we===null&&(we=Ae.indexOf("http")===-1),ot=we,E="web.nocache.js",a=!1;var qe=Ze.split("/");qe.length>1&&(!we&&qe[qe.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):je.indexOf(qe[qe.length-2])>=0&&(E=qe[qe.length-2]+".nocache.js")),qe=Ae.split("/"),oe=qe[qe.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var ct=parseFloat(oe);ct!==NaN&&ct<5&&Ae.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ct+" is deprecated. Using version latest instead."),kt("5.0",we))},ft=function(Ae,we){window.console&&window.console.log&&(!we||typeof we.showLogging=="undefined"||we.showLogging&&we.showLogging!=="false")&&console.log(Ae)};ne.material_id!==void 0?ue(ut):ut();function ut(){var Ae=xt;Oe!==null?Ae=Oe:parseFloat(Ae)<5&&(Ae="5.0"),kt(Ae,!1),fe!==null&&wt(fe,ot),he=!0}return Me},GGBAppletUtils=function(){"use strict";function Me(){return window.GGBT_wsf_edit!==void 0}function xt(he,Oe){Oe!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+Oe+","+Oe+")",he.style.webkitTransform="scale("+Oe+","+Oe+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function ne(he,Oe,fe,ye,Pe,Be){var Ze=null;if(Be!=null&&Be!="")for(var ot=he.parentNode;ot!=null;)if((" "+ot.className+" ").indexOf(" "+Be+" ")>-1){Ze=ot;break}else ot=ot.parentNode;var xe=0,oe=0,E=0,a=0,x=0,y=0,z=0;if(Ze)xe=Ze.offsetWidth,oe=Math.max(ye?Ze.offsetWidth:0,Ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(xe=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),E=xe):(xe=window.innerWidth,oe=window.innerHeight,E=window.innerWidth),he){var ee=he.getBoundingClientRect();ee.left>0&&ee.left<=xe&&(Pe===void 0||!Pe)&&(document.dir==="rtl"?(x=xe-ee.width-ee.left,y=E<=480?10:30):(y=ee.left,x=E<=480?10:30),a=y+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return he&&((fe===void 0||!fe)&&Oe>0&&Oe+a1&&(Be=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Be=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))Pe=b(he,Oe,Be,fe,he.scaleContainerClass);else return ye;return Be&&(!he.hasOwnProperty("scale")||ye===1)?Pe:Math.min(ye,Pe)}function Ie(he){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),fe=Math.min(window.innerHeight,document.documentElement.clientHeight),ye=he.getBoundingClientRect(),Pe=(Oe-ye.width)/2,Be=(fe-ye.height)/2;Be<0&&(Be=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Pe<40?he.style.left="40px":he.style.left=Pe+"px",he.style.top=Be+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Be<40?he.style.top="40px":he.style.top=Be+"px",he.style.left=Pe+"px")}function Ve(he,Oe){var fe=he.querySelector(".appletParameters");if(fe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==fe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(fe.parentElement&&/fullscreen/.test(fe.parentElement.className))return;var ye=ge(Oe,he);Me()&&fe.setAttribute("data-param-scale",ye);for(var Pe=null,Be=0;Be=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(Me){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Me){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Me){var xt=c[Me];return xt==null?null:xt},r=d,webModule.__errFn=e}function B(){function Me(he){var Oe=he.lastIndexOf(rb);Oe==-1&&(Oe=he.length);var fe=he.indexOf(sb);fe==-1&&(fe=he.length);var ye=he.lastIndexOf(tb,Math.min(fe,Oe));return ye>=O?he.substring(O,ye+P):W}function xt(he){if(!he.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=he+vb,he=Me(Oe.src)}return he}function ne(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function b(){for(var he=o.getElementsByTagName(_),Oe=O;OeO?he[he.length-P].href:W}function Ie(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var Ve=ne();return Ve==W&&(Ve=b()),Ve==W&&(Ve=ge()),Ve==W&&Ie()&&(Ve=Me(o.location.href)),Ve=xt(Ve),Ve}function C(Me){return Me.match(/^\//)||Me.match(/^[a-zA-Z]+:\/\//)?Me:webModule.__moduleBase+Me}function D(){var Me=[],xt=O,ne=[],b=[];function ge(he){var Oe=b[he](),fe=ne[he];if(Oe in fe)return Oe;var ye=[];for(var Pe in fe)ye[fe[Pe]]=Pe;throw r&&r(he,ye,Oe),null}if(__gwt_isKnownPropertyValue=function(he,Oe){return Oe in ne[he]},webModule.__getPropMap=function(){var he={};for(var Oe in ne)ne.hasOwnProperty(Oe)&&(he[Oe]=ge(Oe));return he},webModule.__computePropValue=ge,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ie;try{Ie=Cb;var Ve=Ie.indexOf(Db);Ve!=-1&&(xt=parseInt(Ie.substring(Ve+P),$),Ie=Ie.substring(O,Ve))}catch(he){}return webModule.__softPermutationId=xt,C(Ie+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(Me,xt,ne){"use strict";ne.d(xt,{Ax:function(){return Ve},Ds:function(){return he},KI:function(){return fe},SI:function(){return Ie},f1:function(){return ge}});var b=ne(78323);function ge(ye){let Pe=!0;if(ye.length>0){for(let Be=0;Bea in E?Ie(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Be=(E,a)=>{for(var x in a||(a={}))fe.call(a,x)&&Pe(E,x,a[x]);if(Oe)for(var x of Oe(a))ye.call(a,x)&&Pe(E,x,a[x]);return E},Ze=(E,a)=>Ve(E,he(a)),ot=(E,a)=>{var x={};for(var y in E)fe.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&Oe)for(var y of Oe(E))a.indexOf(y)<0&&ye.call(E,y)&&(x[y]=E[y]);return x},xe=(E,a,x)=>new Promise((y,z)=>{var ee=re=>{try{ae(x.next(re))}catch(le){z(le)}},te=re=>{try{ae(x.throw(re))}catch(le){z(le)}},ae=re=>re.done?y(re.value):Promise.resolve(re.value).then(ee,te);ae((x=x.apply(E,a)).next())});const oe=E=>{var a=E,{children:x}=a,y=ot(a,["children"]);const[z,ee]=(0,ge.useState)(!1);return ge.createElement(b.ZP,Ze(Be({},y),{loading:z,onClick:te=>xe(void 0,null,function*(){try{ee(!0),yield y.onClick(te),ee(!1)}catch(ae){console.error(ae),ee(!1)}})}),x)}},12306:function(Me,xt,ne){"use strict";var b=ne(86204),ge=ne.n(b),Ie=Object.defineProperty,Ve=(ye,Pe,Be)=>Pe in ye?Ie(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ye[Pe]=Be,he=(ye,Pe,Be)=>Ve(ye,typeof Pe!="symbol"?Pe+"":Pe,Be),Oe=(ye,Pe,Be)=>new Promise((Ze,ot)=>{var xe=a=>{try{E(Be.next(a))}catch(x){ot(x)}},oe=a=>{try{E(Be.throw(a))}catch(x){ot(x)}},E=a=>a.done?Ze(a.value):Promise.resolve(a.value).then(xe,oe);E((Be=Be.apply(ye,Pe)).next())});class fe extends b.EventEmitter{constructor(Pe,Be){super(),he(this,"url"),he(this,"body"),he(this,"fullContent",""),he(this,"controller",null),he(this,"buffer",""),this.url=Pe,this.body=Be}startStream(){return Oe(this,null,function*(){this.controller=new AbortController;const{signal:Pe}=this.controller;try{const Be=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Pe});if(!Be.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Be.status}`);const Ze=Be.headers.get("content-type");if(!Ze)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ze.includes("application/json")){const oe=yield Be.json();this.emit("error",oe);return}if(!Ze.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ot=Be.body.getReader(),xe=new TextDecoder("utf-8");for(;;){const{done:oe,value:E}=yield ot.read();if(oe)break;const a=xe.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const z=y.slice(5).trim();if(z==="[DONE]")break;try{const ee=JSON.parse(z);ee.data&&this.handleData(ee.data)}catch(ee){this.buffer=y+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(Be){Be.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Be.message)}})}handleData(Pe){Pe.content&&(this.fullContent+=Pe.content,this.emit("data",{chunk:Pe,full:this.fullContent}))}cancelRequest(){var Pe;(Pe=this.controller)==null||Pe.abort()}}xt.Z=fe},57593:function(Me,xt,ne){"use strict";ne.d(xt,{Z:function(){return je}});var b=ne(59301),ge=ne(97831),Ie=ne(66328),Ve=ne(3977),he=ne(18369),Oe=ne(56102),fe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ye=ne(8591),Pe=ne(11611),Be=ne(13058),Ze=ne(30084),ot=ne(10787),xe=ne(79562),oe=ne(43428),E=ne(95237),a=ne(43604),x={smartWrp:"smartWrp___NjRcB"},y=ne(95440),z=ne(16338),ee=ne(75353),te=ne(59301),ae=(kt,wt,ft)=>new Promise((ut,Ae)=>{var we=We=>{try{ct(ft.next(We))}catch(Ct){Ae(Ct)}},qe=We=>{try{ct(ft.throw(We))}catch(Ct){Ae(Ct)}},ct=We=>We.done?ut(We.value):Promise.resolve(We.value).then(we,qe);ct((ft=ft.apply(kt,wt)).next())});const re=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(Be){Be.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Be.message)}})}handleData(Pe){Pe.content&&(this.fullContent+=Pe.content,this.emit("data",{chunk:Pe,full:this.fullContent}))}cancelRequest(){var Pe;(Pe=this.controller)==null||Pe.abort()}}xt.Z=fe},57593:function(Me,xt,ne){"use strict";ne.d(xt,{Z:function(){return je}});var b=ne(59301),ge=ne(97831),Ie=ne(66328),Ve=ne(3977),he=ne(18369),Oe=ne(56102),fe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ye=ne(8591),Pe=ne(11611),Be=ne(55939),Ze=ne(30084),ot=ne(10787),xe=ne(79562),oe=ne(43428),E=ne(95237),a=ne(43604),x={smartWrp:"smartWrp___NjRcB"},y=ne(95440),z=ne(16338),ee=ne(75353),te=ne(59301),ae=(kt,wt,ft)=>new Promise((ut,Ae)=>{var we=We=>{try{ct(ft.next(We))}catch(Ct){Ae(Ct)}},qe=We=>{try{ct(ft.throw(We))}catch(Ct){Ae(Ct)}},ct=We=>We.done?ut(We.value):Promise.resolve(We.value).then(we,qe);ct((ft=ft.apply(kt,wt)).next())});const re=` diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.c01d8d5b.async.js b/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.ee9f1125.async.js similarity index 99% rename from p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.c01d8d5b.async.js rename to p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.ee9f1125.async.js index 2fd8c70e3d..ead4b90893 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.c01d8d5b.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.ee9f1125.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[1657],{32050:function(ce,Ve,oe){"use strict";oe.d(Ve,{Z:function(){return Be}});var z=oe(54476),Qe=oe(59301),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},De=Oe,Pe=oe(7657),ye=function(Ce,Ie){return Qe.createElement(Pe.Z,(0,z.Z)({},Ce,{ref:Ie,icon:De}))},ue=Qe.forwardRef(ye),Be=ue},27431:function(ce,Ve){"use strict";Ve.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},14521:function(ce,Ve,oe){"use strict";var z=oe(59301),Qe=Object.defineProperty,Oe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,ye=(Ee,Ce,Ie)=>Ce in Ee?Qe(Ee,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Ee[Ce]=Ie,ue=(Ee,Ce)=>{for(var Ie in Ce||(Ce={}))De.call(Ce,Ie)&&ye(Ee,Ie,Ce[Ie]);if(Oe)for(var Ie of Oe(Ce))Pe.call(Ce,Ie)&&ye(Ee,Ie,Ce[Ie]);return Ee};const Be=Ee=>React.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},Ee),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));Ve.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},87851:function(){"use strict";function ce(ae,E,a,y){a===void 0&&(a=0),y===void 0&&(y=1/0),this._name=ae,this._defaultValue=E,this._minimum=a,this._maximum=y}Object.defineProperty(ce.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ce.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ce.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ce.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,E){var a=go.Shape._FigureParameters[ae];return a?a[E]:null},go.Shape.setFigureParameter=function(ae,E,a){if(!(a instanceof ce))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 y=go.Shape._FigureParameters[ae];y||(y=[],go.Shape._FigureParameters[ae]=y),y[E]=a};var Ve=[];function oe(ae,E){var a=Ve.pop();return a===void 0?new go.Point(ae,E):(a.x=ae,a.y=E,a)}function z(){var ae=Ve.pop();return ae===void 0?new go.Point:ae}function Qe(ae){Ve.push(ae)}function Oe(ae,E,a,y,x,b,ee,te,ne){ne||(ne=new go.Point);var ge=ae-a,re=x-ee,Ae=NaN,Se=NaN;if(ge===0)if(re===0)ae===a&&(Ae=ae,Se=E);else{var se=(b-te)/re,Le=b-se*x;Ae=ae,Se=se*Ae+Le}else if(re===0){var de=(E-y)/ge,Ue=E-de*ae;Ae=x,Se=de*Ae+Ue}else{var de=(E-y)/ge,se=(b-te)/re,Ue=E-de*ae,Le=b-se*x;Ae=(Le-Ue)/(de-se),Se=de*Ae+Ue}return ne.x=Ae,ne.y=Se,ne}function De(ae,E,a,y,x,b,ee,te,ne,ge,re,Ae,Se,se){var Le=1-ne,de=ne,Ue=ae*Le+a*de,Xe=E*Le+y*de,Ye=a*Le+x*de,et=y*Le+b*de,Bt=x*Le+ee*de,Ct=b*Le+te*de,$t=Ue*Le+Ye*de,vt=Xe*Le+et*de,At=Ye*Le+Bt*de,nt=et*Le+Ct*de,pt=$t*Le+At*de,qe=vt*Le+nt*de;ge.x=Ue,ge.y=Xe,re.x=$t,re.y=vt,Ae.x=pt,Ae.y=qe,Se.x=At,Se.y=nt,se.x=Bt,se.y=Ct}var Pe=new go.Spot(.156,.156),ye=new go.Spot(.844,.844),ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ce("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,E,a){var y=ae?ae.parameter1:NaN;(isNaN(y)||y<0)&&(y=5),y=Math.min(y,E/3),y=Math.min(y,a/3);var x=y*ue,b=new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,y,E-x,0,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,a-y)).add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-x,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,x,a,0,a-x)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close()));return x>1&&(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)),b}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,E,a){var y=new go.Geometry(go.Geometry.Line);return y.startX=0,y.startY=a/2,y.endX=E,y.endY=a/2,y}),go.Shape.defineFigureGenerator("LineV",function(ae,E,a){var y=new go.Geometry(go.Geometry.Line);return y.startX=E/2,y.startY=0,y.endX=E/2,y.endY=a,y}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,E,a){var y=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(y*E,(1-y)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,y*a)).add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)).add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,(1-y)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,E,a){var y=E/2,x=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close()));return x.spot1=Pe,x.spot2=ye,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Line1",function(ae,E,a){var y=new go.Geometry(go.Geometry.Line);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}),go.Shape.defineFigureGenerator("Line2",function(ae,E,a){var y=new go.Geometry(go.Geometry.Line);return y.startX=E,y.startY=0,y.endX=0,y.endY=a,y}),go.Shape.defineFigureGenerator("Curve1",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,ue*E,0,E,(1-ue)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,ue*a,(1-ue)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,ue*a,ue*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-ue)*E,0,0,(1-ue)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ce("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)?y=.1:y<-1?y=-1:y>1&&(y=1);var x=Math.abs(y)*E;if(y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var b=new go.Geometry;return y>0?b.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),xE&&(y=E);var x=Math.abs(y);if(y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var b=new go.Geometry;return y>0?b.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),x.5&&(y=.5);var x=Math.abs(y)*E;if(y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var b=new go.Geometry;return y>0?b.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),xE&&(y=E/2);var x=Math.abs(y);if(y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var b=new go.Geometry;return y>0?b.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())),xE&&(y=E/2);var x=Math.abs(y);if(y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var b=new go.Geometry;return y>0?b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-x,a)).add(new go.PathSegment(go.PathSegment.Line,x,a).close())):b.add(new go.PathFigure(x,0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),x0&&(ee.add(new go.PathSegment(go.PathSegment.Move,E/2+te,E/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,x,x,te,te).close())),b.spot1=Pe,b.spot2=ye,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Cloud",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,E,a){var y=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(y*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,y*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)).add(new go.PathSegment(go.PathSegment.Line,y*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a)).add(new go.PathSegment(go.PathSegment.Line,0,y*a).close())).setSpots(y/2,y/2,1-y/2,1-y/2)}),go.Shape.setFigureParameter("Pie",0,new ce("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ce("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,E,a){var y=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(y)&&(y=0),isNaN(x)&&(x=315);var b=y%360;b<0&&(b+=360);var ee=x%360,te=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,b,ee,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,E,a){var y=ue/Math.SQRT2*.5,x=Math.SQRT2/2,b=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,x*E,b*a,E,(1-y)*a,(x+y)*E,(b+y)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ce("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,E,a){var y=ae?ae.parameter1:NaN;(isNaN(y)||y<0)&&(y=30);var x=Math.min(y,E)/2,b=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(b-x,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+x,0)).add(new go.PathSegment(go.PathSegment.Line,b+x,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee+x)).add(new go.PathSegment(go.PathSegment.Line,b+x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,b+x,a)).add(new go.PathSegment(go.PathSegment.Line,b-x,a)).add(new go.PathSegment(go.PathSegment.Line,b-x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee-x)).add(new go.PathSegment(go.PathSegment.Line,b-x,ee-x).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ce("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,E,a){var y=ae?ae.parameter1:NaN;(isNaN(y)||y<0)&&(y=10);var x=Math.min(y,E)/2,b=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(b-x,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+x,0)).add(new go.PathSegment(go.PathSegment.Line,b+x,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee-x)).add(new go.PathSegment(go.PathSegment.Line,E,ee+x)).add(new go.PathSegment(go.PathSegment.Line,b+x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,b+x,a)).add(new go.PathSegment(go.PathSegment.Line,b-x,a)).add(new go.PathSegment(go.PathSegment.Line,b-x,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee+x)).add(new go.PathSegment(go.PathSegment.Line,0,ee-x)).add(new go.PathSegment(go.PathSegment.Line,b-x,ee-x).close()))}),go.Shape.setFigureParameter("ThickX",0,new ce("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,E,a){var y=ae?ae.parameter1:NaN;if((isNaN(y)||y<0)&&(y=30),E===0||a===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var b=E/2,ee=a/2,te=Math.atan2(a,E),ne=y-Math.min(Math.cos(te)*y/2,b),ge=y-Math.min(Math.sin(te)*y/2,ee),x=new go.Geometry,re=new go.PathFigure(ne,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,.2*a)),re.add(new go.PathSegment(go.PathSegment.Line,E-ne,0)),re.add(new go.PathSegment(go.PathSegment.Line,E,ge)),re.add(new go.PathSegment(go.PathSegment.Line,.8*E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,E,a-ge)),re.add(new go.PathSegment(go.PathSegment.Line,E-ne,a)),re.add(new go.PathSegment(go.PathSegment.Line,b,.8*a)),re.add(new go.PathSegment(go.PathSegment.Line,ne,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a-ge)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),x}}),go.Shape.setFigureParameter("ThinX",0,new ce("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,E,a){var y=ae?ae.parameter1:NaN;(isNaN(y)||y<0)&&(y=10);var x=new go.Geometry,b=new go.PathFigure(.1*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),x}),go.Shape.setFigureParameter("SquareIBeam",0,new ce("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.2);var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+y/2)*E,y*a)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+y/2)*E,(1-y)*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-y/2)*E,(1-y)*a)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-y/2)*E,y*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*a).close()),x}),go.Shape.setFigureParameter("RoundedIBeam",0,new ce("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.5);var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-y)*E,.25*a,Math.abs(1-y)*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,y*E,.75*a,y*E,.25*a).close()),x}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,ue*E,0,E,(.5-ue/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+ue/2)*a,ue*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.4*E,.6*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var b=.2,ee=.3,te=0,ne=b*ue;return x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+b+te)*a,(.5-b+ee)*E,(.5+ne+te)*a,(.5-ne+ee)*E,(.5+b+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*E,(.5+te)*a,(.5+ne+ee)*E,(.5+b+te)*a,(.5+b+ee)*E,(.5+ne+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-b+te)*a,(1-.5+b+ee)*E,(.5-ne+te)*a,(.5+ne+ee)*E,(.5-b+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ne+ee)*E,(.5-b+te)*a,(.5-b+ee+.05)*E,(.5-ne+te-.02)*a)),b=.2,ee=0,te=-.3,ne=b*ue,x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*E,(.5+te)*a,(.5+ne+ee)*E,(.5+b+te)*a,(.5+b+ee)*E,(.5+ne+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-b+te)*a,(1-.5+b+ee)*E,(.5-ne+te)*a,(.5+ne+ee)*E,(.5-b+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*E,(.5+te)*a,(.5-ne+ee)*E,(.5-b+te)*a,(.5-b+ee)*E,(.5-ne+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+ee)*E,(.5+b+te)*a,(.5-b+ee)*E,(.5+ne+te)*a,(.5-ne+ee)*E,(.5+b+te)*a)),b=.2,ee=-.3,te=0,ne=b*ue,x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-b+te)*a,(1-.5+b+ee-.05)*E,(.5-ne+te-.02)*a,(.5+ne+ee)*E,(.5-b+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*E,(.5+te)*a,(.5-ne+ee)*E,(.5-b+te)*a,(.5-b+ee)*E,(.5-ne+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+b+te)*a,(.5-b+ee)*E,(.5+ne+te)*a,(.5-ne+ee)*E,(.5+b+te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ne+ee)*E,(.5+b+te)*a,(.5+b+ee)*E,(.5+ne+te)*a).close()),y.setSpots(.06,.33,.93,.68),y}),go.Shape.defineFigureGenerator("YinYang",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*.5,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),x.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var b=.1,ee=.5,te=.25;return x.add(new go.PathSegment(go.PathSegment.Move,(ee+b)*E,te*a)),x.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ee,a*te,b*E,b*E).close()),x=new go.PathFigure(E*.5,0,!1),y.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),te=.75,x=new go.PathFigure((ee+b)*E,te*a,!0),y.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ee,a*te,b*E,b*E).close()),y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Peace",function(ae,E,a){var y=.8535533905932737,x=.5*E,b=.5*a;return new go.Geometry().add(new go.PathFigure(x,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,x,b,x,b)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Move,x,b)).add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,y*a)).add(new go.PathSegment(go.PathSegment.Move,x,b)).add(new go.PathSegment(go.PathSegment.Line,y*E,y*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=.5,ee=.5,te=.5,ne=new go.PathFigure(ee*E,(te-b)*a);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-b)*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a)),b=.4,x=ue*.4;var ge=z(),re=z(),Ae=z(),Se=z();De(ee,te-b,ee+x,te-b,ee+b,te-x,ee+b,te,.42,ge,re,Ae,Se,Se);var se=z(),Le=z(),de=z();De(ee,te-b,ee+x,te-b,ee+b,te-x,ee+b,te,.58,Se,Se,de,se,Le);var Ue=z(),Xe=z(),Ye=z();De(ee,te+b,ee-x,te+b,ee-b,te+x,ee-b,te,.42,Ue,Xe,Ye,Se,Se);var et=z(),Bt=z(),Ct=z();return De(ee,te+b,ee-x,te+b,ee-b,te+x,ee-b,te,.58,Se,Se,Ct,et,Bt),ne.add(new go.PathSegment(go.PathSegment.Move,Ct.x*E,Ct.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,et.x*E,et.y*a,Bt.x*E,Bt.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-b)*a,(ee-b)*E,(te-x)*a,(ee-x)*E,(te-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ae.x*E,Ae.y*a,ge.x*E,ge.y*a,re.x*E,re.y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,Ct.x*E,Ct.y*a).close()),ne.add(new go.PathSegment(go.PathSegment.Move,Ye.x*E,Ye.y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,de.x*E,de.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,se.x*E,se.y*a,Le.x*E,Le.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee+b)*E,(te+x)*a,(ee+x)*E,(te+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ye.x*E,Ye.y*a,Ue.x*E,Ue.y*a,Xe.x*E,Xe.y*a).close()),Qe(ge),Qe(re),Qe(Ae),Qe(Se),Qe(se),Qe(Le),Qe(de),Qe(Ue),Qe(Xe),Qe(Ye),Qe(et),Qe(Bt),Qe(Ct),y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Fragile",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ce("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,E,a){var y=ae?ae.parameter1:NaN;(isNaN(y)||y<0)&&(y=30),y>E&&(y=E);var x=(E-y)/2,b=x+y;return new go.Geometry().add(new go.PathFigure(b,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,x,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,E,a){var y=new go.Geometry,x=ue*.4,b=.4,ee=.5,te=.5,ne=z(),ge=z(),re=z(),Ae=z(),Se=new go.PathFigure((ee-b)*E,te*a,!1);y.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-b)*a,(ee-b)*E,(te-x)*a,(ee-x)*E,(te-b)*a)),De(ee,te-b,ee+x,te-b,ee+b,te-x,ee+b,te,.44,re,Ae,ge,ne,ne),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,re.x*E,re.y*a,Ae.x*E,Ae.y*a));var se=oe(ge.x,ge.y);De(ee,te-b,ee+x,te-b,ee+b,te-x,ee+b,te,.56,ne,ne,ge,re,Ae);var Le=oe(ge.x,ge.y);Se.add(new go.PathSegment(go.PathSegment.Line,(se.x*.1+.95*.9)*E,se.y*.1*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*E,se.y*.1*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Se.add(new go.PathSegment(go.PathSegment.Line,E,0)),Se.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Se.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.9)*E,.15*a)),Se.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.9)*E,(Le.y*.1+.05*.9)*a)),Se.add(new go.PathSegment(go.PathSegment.Line,Le.x*E,Le.y*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,re.x*E,re.y*a,Ae.x*E,Ae.y*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee+b)*E,(te+x)*a,(ee+x)*E,(te+b)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,(ee-x)*E,(te+b)*a,(ee-b)*E,(te+x)*a)),b=.35,x=ue*.35;var de=new go.PathFigure(ee*E,(te-b)*a,!1);y.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-b)*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a));var Ue=new go.PathFigure((ee-b)*E,te*a,!1);return y.add(Ue),Qe(ne),Qe(ge),Qe(re),Qe(Ae),Qe(se),Qe(Le),y.spot1=new go.Spot(.202,.257),y.spot2=new go.Spot(.792,.739),y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,E,a){var y=new go.Geometry,x=.375,b=0,ee=-.125,te=x*ue,ne=new go.PathFigure((.525+b)*E,(.5+x+ee)*a,!1);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+b)*E,(.5+ee)*a,(.5+te+b)*E,(.5+x+ee)*a,(.5+x+b)*E,(.5+te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*E,(.5-x+ee)*a,(1-.5+x+b)*E,(.5-te+ee)*a,(.5+te+b)*E,(.5-x+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+b)*E,(.5+ee)*a,(.5-te+b)*E,(.5-x+ee)*a,(.5-x+b)*E,(.5-te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+b)*E,(.5+x+ee)*a,(.5-x+b)*E,(.5+te+ee)*a,(.5-te+b)*E,(.5+x+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),x=.325,b=0,ee=-.125,te=x*ue;var ne=new go.PathFigure((1-.5+x+b)*E,(.5+ee)*a,!1);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*E,(.5+x+ee)*a,(.5+x+b)*E,(.5+te+ee)*a,(.5+te+b)*E,(.5+x+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+b)*E,(.5+ee)*a,(.5-te+b)*E,(.5+x+ee)*a,(.5-x+b)*E,(.5+te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*E,(.5-x+ee)*a,(.5-x+b)*E,(.5-te+ee)*a,(.5-te+b)*E,(.5-x+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+b)*E,(.5+ee)*a,(.5+te+b)*E,(.5-x+ee)*a,(1-.5+x+b)*E,(.5-te+ee)*a));var ne=new go.PathFigure((.525+b)*E,(.5+x+ee)*a,!1);return y.add(ne),y.spot1=new go.Spot(.232,.136),y.spot2=new go.Spot(.682,.611),y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,E,a){var y=ae?ae.parameter1:NaN;return isNaN(y)&&(y=.2),new go.Geometry().add(new go.PathFigure((1-y)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,E,a){var y=ae?ae.parameter1:NaN;return isNaN(y)&&(y=.2),new go.Geometry().add(new go.PathFigure((1-y)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,E,a){var y=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,E,a){var y=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,y*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,y*E,y*a,y*E,y*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,E,a){var y=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,y*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,y*E,y*a,y*E,y*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ce("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ce("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.3);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=.3);var b=(1-y)*E,ee=(.5-x/2)*a,te=(.5+x/2)*a,ne=new go.Geometry,ge=new go.PathFigure(0,ee,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,b,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,b,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,b,a)),ge.add(new go.PathSegment(go.PathSegment.Line,b,te)),ge.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,ee/a);var re=Oe(0,te/a,1,te/a,b/E,1,1,.5,z());return ne.spot2=new go.Spot(re.x,re.y),Qe(re),ne}),go.Shape.setFigureParameter("Arrow2",0,new ce("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ce("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=30),y>E&&(y=E);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=30),x=Math.min(x,a/2);var b=E-y,ee=(a-x)/2,te=ee+x,ne=new go.Geometry,ge=new go.PathFigure(0,ee,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,b,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,b,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,b,a)),ge.add(new go.PathSegment(go.PathSegment.Line,b,te)),ge.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,ee/a);var re=Oe(0,te/a,1,te/a,b/E,1,1,.5,z());return ne.spot2=new go.Spot(re.x,re.y),Qe(re),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),y}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),y}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ce("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.3);var x=(.5-y/2)*a,b=(.5+y/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ne=Oe(0,.5,.3,0,0,x/a,.1,x/a,z());return ee.spot1=new go.Spot(ne.x,ne.y),ne=Oe(.7,1,1,.5,0,b/a,1,b/a,ne),ee.spot2=new go.Spot(ne.x,ne.y),Qe(ne),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ce("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ce("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=40);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=100);var b=(a-y)/2,ee=b+y,te=(a-x)/2,ne=te+x;(y>a||x>a)&&(x>y?(y=y*a/x,b=(a-y)/2,ee=b+y,te=0,ne=a):(b=0,ee=a,te=0,ne=a));var ge=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ge.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close());var Ae=Oe(0,.5,.3,te/a,0,b/a,1,b/a,z());return ge.spot1=new go.Spot(Ae.x,Ae.y),Ae=Oe(.7,ne/a,1,.5,0,ee/a,1,ee/a,Ae),ge.spot2=new go.Spot(Ae.x,Ae.y),Qe(Ae),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ce("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.3);var x=(.5-y/2)*a,b=(.5+y/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,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,.2*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(0,x/a);var ne=Oe(.7,1,1,.5,0,b/a,1,b/a,z());return ee.spot2=new go.Spot(ne.x,ne.y),Qe(ne),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new ce("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ce("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=40);var x=ae?ae.parameter2:NaN;isNaN(x)&&(x=100);var b=(a-y)/2,ee=b+y,te=(a-x)/2,ne=te+x;(y>a||x>a)&&(x>y?(y=y*a/x,b=(a-y)/2,ee=b+y,te=0,ne=a):(b=0,ee=a,te=0,ne=a));var ge=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ge.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,te)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close()),ge.spot1=new go.Spot(0,b/a);var Ae=Oe(.7,ne/a,1,.5,0,ee/a,1,ee/a,z());return ge.spot2=new go.Spot(Ae.x,Ae.y),Qe(Ae),ge}),go.Shape.setFigureParameter("Pointer",0,new ce("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),x.spot1=new go.Spot(y,.35);var ee=Oe(.2,.65,1,.65,0,1,1,.5,z());return x.spot2=new go.Spot(ee.x,ee.y),Qe(ee),x}),go.Shape.setFigureParameter("RoundedPointer",0,new ce("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.3);var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,y*E,.75*a,y*E,.25*a).close()),x.spot1=new go.Spot(y,.35);var ee=Oe(0,.65,1,.65,0,1,1,.5,z());return x.spot2=new go.Spot(ee.x,ee.y),Qe(ee),x}),go.Shape.setFigureParameter("SplitEndArrow",0,new ce("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.4);var x=(.5-y/2)*a,b=(.5+y/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,.3);var ne=Oe(.7,1,1,.5,0,b/a,1,b/a,z());return ee.spot2=new go.Spot(ne.x,ne.y),Qe(ne),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ce("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=50);var x=(a-y)/2,b=x+y;y>a&&(x=0,b=a);var ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,x/a);var ne=Oe(.7,1,1,.5,0,b/a,1,b/a,z());return ee.spot2=new go.Spot(ne.x,ne.y),Qe(ne),ee}),go.Shape.setFigureParameter("SquareArrow",0,new ce("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y*E,0).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(y,1),x}),go.Shape.defineFigureGenerator("Cone1",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=ue*.1,ee=new go.PathFigure(0,.9*a,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+b)*a,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-x)*E,a,0,(.9+b)*a).close()),y.spot1=new go.Spot(.25,.5),y.spot2=new go.Spot(.75,.97),y}),go.Shape.defineFigureGenerator("Cone2",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.9*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var b=new go.PathFigure(0,.9*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),y.spot1=new go.Spot(.25,.5),y.spot2=new go.Spot(.75,.82),y}),go.Shape.defineFigureGenerator("Cube1",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var b=new go.PathFigure(.5*E,a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.spot1=new go.Spot(0,.3),y.spot2=new go.Spot(.5,.85),y}),go.Shape.defineFigureGenerator("Cube2",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.3*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var b=new go.PathFigure(0,.3*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.spot1=new go.Spot(0,.3),y.spot2=new go.Spot(.7,1),y}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=5),y=Math.min(y,a/3);var x=new go.Geometry,b=ue*.5,ee=new go.PathFigure(0,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,ue*y,(.5-b)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*E,y,(.5+b)*E,0,1*E,ue*y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-ue*y,(.5+b)*E,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,(.5-b)*E,1*a,0,a-ue*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y));var te=new go.PathFigure(E,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*y,1*E,2*y-ue*y,(.5+b)*E,2*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,(.5-b)*E,2*y,0,2*y-ue*y)),x.spot1=new go.Spot(0,0,0,2*y),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=5),y=Math.min(y,a/3);var x=new go.Geometry,b=ue*.5,ee=new go.PathFigure(0,a-y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,ue*y,(.5-b)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,y,(.5+b)*E,0,E,ue*y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-ue*y,(.5+b)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,(.5-b)*E,a,0,a-ue*y));var te=new go.PathFigure(0,a-y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*y,0,a-y-ue*y,(.5-b)*E,a-2*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,a-y,(.5+b)*E,a-2*y,E,a-y-ue*y)),x.spot1=new go.Spot(0,0),x.spot2=new go.Spot(1,1,0,-2*y),x}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=5),y=Math.min(y,E/3);var x=new go.Geometry,b=ue*.5,ee=new go.PathFigure(y,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E-y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-ue*y,0,E,(.5-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,(.5+b)*a,E-ue*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ue*y,a,0,(.5+b)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,(.5-b)*a,ue*y,0));var te=new go.PathFigure(y,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*y,.5*a,y+ue*y,0,2*y,(.5-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,a,2*y,(.5+b)*a,y+ue*y,a)),x.spot1=new go.Spot(0,0,2*y,0),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=5),y=Math.min(y,E/3);var x=new go.Geometry,b=ue*.5,ee=new go.PathFigure(E-y,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-ue*y,0,E,(.5-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,(.5+b)*a,E-ue*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ue*y,a,0,(.5+b)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,(.5-b)*a,ue*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E-y,0));var te=new go.PathFigure(E-y,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E-2*y,.5*a,E-y-ue*y,0,E-2*y,(.5-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E-2*y,(.5+b)*a,E-y-ue*y,a)),x.spot1=new go.Spot(0,0),x.spot2=new go.Spot(1,1,-2*y,0),x}),go.Shape.defineFigureGenerator("Prism1",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.25*E,.25*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var b=new go.PathFigure(.25*E,.25*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.spot1=new go.Spot(.408,.172),y.spot2=new go.Spot(.833,.662),y}),go.Shape.defineFigureGenerator("Prism2",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.25*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var b=new go.PathFigure(0,a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),y.spot1=new go.Spot(.25,.5),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var b=new go.PathFigure(.5*E,0,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.spot1=new go.Spot(.25,.367),y.spot2=new go.Spot(.75,.875),y}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var b=new go.PathFigure(.5*E,0,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.spot1=new go.Spot(.25,.367),y.spot2=new go.Spot(.75,.875),y}),go.Shape.defineFigureGenerator("Actor",function(ae,E,a){var y=new go.Geometry,x=.2,b=.1,ee=ue*x,te=ue*b,ne=.5,ge=.1,re=new go.PathFigure(ne*E,(ge+b)*a,!0);y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-x)*E,ge*a,(ne-ee)*E,(ge+b)*a,(ne-x)*E,(ge+te)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-b)*a,(ne-x)*E,(ge-te)*a,(ne-ee)*E,(ge-b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+x)*E,ge*a,(ne+ee)*E,(ge-b)*a,(ne+x)*E,(ge-te)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge+b)*a,(ne+x)*E,(ge+te)*a,(ne+ee)*E,(ge+b)*a));var Ae=.05,Se=ue*Ae;ne=.05,ge=.25;var se=new go.PathFigure(.5*E,.2*a,!0);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ne=.95,ge=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+Ae)*E,ge*a,(ne+Se)*E,(ge-Ae)*a,(ne+Ae)*E,(ge-Se)*a)),se.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),Ae=.025,Se=ue*Ae,ne=.825,ge=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-Ae)*a,(ne+Ae)*E,(ge-Se)*a,(ne+Se)*E,(ge-Ae)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-Ae)*E,ge*a,(ne-Se)*E,(ge-Ae)*a,(ne-Ae)*E,(ge-Se)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),Ae=.05,Se=ue*Ae,ne=.5,ge=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-Ae)*a,(ne+Ae)*E,(ge-Se)*a,(ne+Se)*E,(ge-Ae)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-Ae)*E,ge*a,(ne-Se)*E,(ge-Ae)*a,(ne-Ae)*E,(ge-Se)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),Ae=.025,Se=ue*Ae,ne=.175,ge=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-Ae)*a,(ne+Ae)*E,(ge-Se)*a,(ne+Se)*E,(ge-Ae)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-Ae)*E,ge*a,(ne-Se)*E,(ge-Ae)*a,(ne-Ae)*E,(ge-Se)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ae=.05,Se=ue*Ae,ne=.05,ge=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-Ae)*a,(ne-Ae)*E,(ge-Se)*a,(ne-Se)*E,(ge-Ae)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.spot1=new go.Spot(.2,.2),y.spot2=new go.Spot(.8,.65),y}),go.Shape.setFigureParameter("Card",0,new ce("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,E,a){var y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.2);var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*E,0).close()),x.spot1=new go.Spot(0,y),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Collate",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var b=new go.PathFigure(.5*E,.5*a,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.spot1=new go.Spot(.25,0),y.spot2=new go.Spot(.75,.25),y}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.PathFigure(0,0,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,x*a,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),y}),go.Shape.defineFigureGenerator("Database",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=ue*.1,ee=new go.PathFigure(E,.1*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+b)*a,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-x)*E,a,0,(.9+b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-b)*a,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+x)*E,0,E,(.1-b)*a));var te=new go.PathFigure(E,.1*a,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+b)*a,(.5+x)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-x)*E,.2*a,0,(.1+b)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+b)*a,(.5+x)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-x)*E,.3*a,0,(.2+b)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+b)*a,(.5+x)*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-x)*E,.4*a,0,(.3+b)*a)),y.spot1=new go.Spot(0,.4),y.spot2=new go.Spot(1,.9),y}),go.Shape.defineFigureGenerator("DataStorage",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),y.spot1=new go.Spot(.226,0),y.spot2=new go.Spot(.81,1),y}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=ue*.1,ee=new go.PathFigure(E,.1*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+b)*a,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-x)*E,a,0,(.9+b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-b)*a,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+x)*E,0,E,(.1-b)*a));var te=new go.PathFigure(E,.1*a,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+b)*a,(.5+x)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-x)*E,.2*a,0,(.1+b)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+b)*a,(.5+x)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-x)*E,.3*a,0,(.2+b)*a)),y.spot1=new go.Spot(0,.3),y.spot2=new go.Spot(1,.9),y}),go.Shape.defineFigureGenerator("Display",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.25*E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),y.spot1=new go.Spot(.25,0),y.spot2=new go.Spot(.75,1),y}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)?x=.2:x<.15&&(x=.15);var b=ue*.2,ee=new go.PathFigure(0,.2*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-b)*a,(.2-b)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+b)*E,0,E,(.2-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+b)*a,(.8+b)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-b)*E,a,0,(.8+b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var te=new go.PathFigure(0,x*a,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),y}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;(isNaN(x)||x<.1)&&(x=.1);var b=new go.PathFigure(0,0,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,x*a,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),y}),go.Shape.defineFigureGenerator("Document",function(ae,E,a){var y=new go.Geometry;a=a/.8;var x=new go.PathFigure(0,.7*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(1,.6),y}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;(isNaN(x)||x<.2)&&(x=.2);var b=new go.PathFigure(0,0,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(x*E,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),ee.add(new go.PathSegment(go.PathSegment.Move,E,x*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),y}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var b=new go.PathFigure(.1*E,.4*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("File",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var b=new go.PathFigure(.75*E,0,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.spot1=new go.Spot(0,.25),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Interrupt",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var b=new go.PathFigure(E,.5*a,!1);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a));var ee=new go.PathFigure(E,.5*a,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.spot1=new go.Spot(0,.25),y.spot2=new go.Spot(.5,.75),y}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(x)&&(x=.1),isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(x*E,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),y}),go.Shape.defineFigureGenerator("Junction",function(ae,E,a){var y=new go.Geometry,x=1/Math.SQRT2,b=(1-1/Math.SQRT2)/2,ee=ue*.5,te=.5,ne=new go.PathFigure(E,te*a,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,E,(te+ee)*a,(te+ee)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-ee)*E,a,0,(te+ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,0,0,(te-ee)*a,(te-ee)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,te*a,(te+ee)*E,0,E,(te-ee)*a));var ge=new go.PathFigure((b+x)*E,(b+x)*a,!1);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,b*E,b*a)),ge.add(new go.PathSegment(go.PathSegment.Move,b*E,(b+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Line,(b+x)*E,b*a)),y}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,E,a){var y=new go.Geometry;a=a/.8;var x=new go.PathFigure(0,.7*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var b=new go.PathFigure(.1*E,0,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),y.spot1=new go.Spot(.1,0),y.spot2=new go.Spot(1,.6),y}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),y.spot1=new go.Spot(0,.25),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=.5,ee=new go.PathFigure(.5*E,a,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*E,a,0,(b+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-x)*a,(b-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+x)*E,0,E,(b-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(b+.1)*E,.9*a,E,(b+x)*a,(b+x)*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.8),y}),go.Shape.defineFigureGenerator("ManualInput",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),y.spot1=new go.Spot(0,.25),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.spot1=go.Spot.TopLeft,y}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.25);var b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,x*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-x)*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.spot1=new go.Spot(0,.25),y.spot2=new go.Spot(1,.75),y}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,E,a){var y=new go.Geometry;a=a/.8;var x=new go.PathFigure(E,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var b=new go.PathFigure(.1*E,.2*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),y.spot1=new go.Spot(0,.25),y.spot2=new go.Spot(.8,.77),y}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.1*E,.1*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var b=new go.PathFigure(.2*E,.1*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.spot1=new go.Spot(0,.2),y.spot2=new go.Spot(.8,1),y}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var b=1-x,ee=new go.PathFigure(0,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var te=new go.PathFigure(.5*x*E,x*a,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*x)*E,x*a)),y}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(.75,1),y}),go.Shape.defineFigureGenerator("Or",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=.5,ee=new go.PathFigure(E,b*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*E,a,E,(b+x)*a,(b+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*E,a,0,(b+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-x)*a,(b-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+x)*E,0,E,(b-x)*a));var te=new go.PathFigure(E,.5*a,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y}),go.Shape.defineFigureGenerator("PaperTape",function(ae,E,a){var y=new go.Geometry;a=a/.8;var x=new go.PathFigure(0,.7*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),y.spot1=new go.Spot(0,.49),y.spot2=new go.Spot(1,.75),y}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(x)&&(x=.1),isNaN(b)&&(b=.3);var ee=new go.PathFigure(0,0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(x)&&(x=.1),isNaN(b)&&(b=.3);var ee=new go.PathFigure(0,0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y}),go.Shape.defineFigureGenerator("Procedure",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.PathFigure(0,0,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-x)*E,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,x*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),y}),go.Shape.defineFigureGenerator("Process",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.PathFigure(0,0,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(x*E,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Sort",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var b=new go.PathFigure(0,.5*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.5),y}),go.Shape.defineFigureGenerator("Start",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.25);var b=new go.PathFigure(x*E,0,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ee=new go.PathFigure(x*E,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)),y.spot1=new go.Spot(x,0),y.spot2=new go.Spot(1-x,1),y}),go.Shape.defineFigureGenerator("Terminator",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.25*E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),y.spot1=new go.Spot(.23,0),y.spot2=new go.Spot(.77,1),y}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,E,a){var y=new go.Geometry,x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-x)*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a).close()),y.spot1=go.Spot.TopLeft,y}),go.Shape.defineFigureGenerator("AndGate",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+x)*E,0,E,(.5-x)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+x)*a,(.5+x)*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(.55,1),y}),go.Shape.defineFigureGenerator("Buffer",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.spot1=new go.Spot(0,.25),y.spot2=new go.Spot(.5,.75),y}),go.Shape.defineFigureGenerator("Clock",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=.5,ee=new go.PathFigure(E,b*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*E,a,E,(b+x)*a,(b+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*E,a,0,(b+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-x)*a,(b-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+x)*E,0,E,(b-x)*a));var te=new go.PathFigure(E,b*a,!1);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a));var ne=new go.PathFigure(.8*E,.75*a,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),y}),go.Shape.defineFigureGenerator("Ground",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y}),go.Shape.defineFigureGenerator("Inverter",function(ae,E,a){var y=new go.Geometry,x=ue*.1,b=.1,ee=.9,te=.5,ne=new go.PathFigure(.8*E,.5*a,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ge=new go.PathFigure((ee+b)*E,te*a,!0);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee+b)*E,(te+x)*a,(ee+x)*E,(te+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,(ee-x)*E,(te+b)*a,(ee-b)*E,(te+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-b)*a,(ee-b)*E,(te-x)*a,(ee-x)*E,(te-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,(ee+x)*E,(te-b)*a,(ee+b)*E,(te-x)*a)),y.spot1=new go.Spot(0,.25),y.spot2=new go.Spot(.4,.75),y}),go.Shape.defineFigureGenerator("NandGate",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=ue*.4,ee=ue*.1,te=.1,ne=.9,ge=.5,re=new go.PathFigure(.8*E,.5*a,!0);y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+b)*a,(.4+x)*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+x)*E,0,.8*E,(.5-b)*a));var Ae=new go.PathFigure((ne+te)*E,ge*a,!0);return y.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge+te)*a,(ne+te)*E,(ge+ee)*a,(ne+ee)*E,(ge+te)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E,ge*a,(ne-ee)*E,(ge+te)*a,(ne-te)*E,(ge+ee)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-te)*a,(ne-te)*E,(ge-ee)*a,(ne-ee)*E,(ge-te)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E,ge*a,(ne+ee)*E,(ge-te)*a,(ne+te)*E,(ge-ee)*a)),y.spot1=new go.Spot(0,.05),y.spot2=new go.Spot(.55,.95),y}),go.Shape.defineFigureGenerator("NorGate",function(ae,E,a){var y=new go.Geometry,x=.5,b=ue*x,ee=0,te=.5,ne=new go.PathFigure(.8*E,.5*a,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+b)*E,(te-x)*a,.7*E,(te-b)*a)),x=.1,b=ue*.1,ee=.9,te=.5;var ge=new go.PathFigure((ee-x)*E,te*a,!0);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a)),y.spot1=new go.Spot(.2,.25),y.spot2=new go.Spot(.6,.75),y}),go.Shape.defineFigureGenerator("OrGate",function(ae,E,a){var y=new go.Geometry,x=.5,b=ue*x,ee=0,te=.5,ne=new go.PathFigure(0,0,!0);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+b+b)*E,(te-x)*a,.8*E,(te-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(te+b)*a,(ee+b+b)*E,(te+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),y.spot1=new go.Spot(.2,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("XnorGate",function(ae,E,a){var y=new go.Geometry,x=.5,b=ue*x,ee=.2,te=.5,ne=new go.PathFigure(.1*E,0,!1);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.8*E,.5*a,!0);y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+b)*E,(te-x)*a,.7*E,(te-b)*a)),x=.1,b=ue*.1,ee=.9,te=.5;var re=new go.PathFigure((ee-x)*E,te*a,!0);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a)),y.spot1=new go.Spot(.4,.25),y.spot2=new go.Spot(.65,.75),y}),go.Shape.defineFigureGenerator("XorGate",function(ae,E,a){var y=new go.Geometry,x=.5,b=ue*x,ee=.2,te=.5,ne=new go.PathFigure(.1*E,0,!1);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.2*E,0,!0);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+b)*E,(te-x)*a,.9*E,(te-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),y.spot1=new go.Spot(.4,.25),y.spot2=new go.Spot(.8,.75),y}),go.Shape.defineFigureGenerator("Capacitor",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),y}),go.Shape.defineFigureGenerator("Resistor",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.5*a,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y}),go.Shape.defineFigureGenerator("Inductor",function(ae,E,a){var y=new go.Geometry,x=ue*.1,b=.1,ee=.1,te=.5,ne=new go.PathFigure((ee-x*.5)*E,a,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,0,(ee-x)*E,a,(ee-b)*E,0)),ee=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+b)*E,0,(ee+x)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,0,(ee-x)*E,a,(ee-b)*E,0)),ee=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+b)*E,0,(ee+x)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,0,(ee-x)*E,a,(ee-b)*E,0)),ee=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+b)*E,0,(ee+x)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,0,(ee-x)*E,a,(ee-b)*E,0)),ee=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x*.5)*E,a,(ee+b)*E,0,(ee+x)*E,a)),y}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,E,a){var y=new go.Geometry,x=ue*.5,b=.5,ee=.5,te=.5,ne=new go.PathFigure((ee-b)*E,te*a,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-b)*a,(ee-b)*E,(te-x)*a,(ee-x)*E,(te-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,(ee+x)*E,(te-b)*a,(ee+b)*E,(te-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee+b)*E,(te+x)*a,(ee+x)*E,(te+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,(ee-x)*E,(te+b)*a,(ee-b)*E,(te+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,(ee-b+.1)*E,te*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b-.1)*E,te*a,ee*E,(te-b)*a,ee*E,(te+b)*a)),y}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.75*a,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),y}),go.Shape.defineFigureGenerator("Diode",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.spot1=new go.Spot(0,.25),y.spot2=new go.Spot(.5,.75),y}),go.Shape.defineFigureGenerator("Wifi",function(ae,E,a){var y=new go.Geometry,x=E,b=a;E=E*.38,a=a*.6;var ee=ue*.8,te=.8,ne=0,ge=.5,re=(x-E)/2,Ae=(b-a)/2,Se=new go.PathFigure(ne*E+re,(ge+te)*a+Ae,!0);y.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E+re,ge*a+Ae,(ne-ee)*E+re,(ge+te)*a+Ae,(ne-te)*E+re,(ge+ee)*a+Ae)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge-te)*a+Ae,(ne-te)*E+re,(ge-ee)*a+Ae,(ne-ee)*E+re,(ge-te)*a+Ae)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+ee*.5)*E+re,ge*a+Ae,ne*E+re,(ge-te)*a+Ae,(ne-te+ee*.5)*E+re,(ge-ee)*a+Ae)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge+te)*a+Ae,(ne-te+ee*.5)*E+re,(ge+ee)*a+Ae,ne*E+re,(ge+te)*a+Ae).close()),ee=ue*.4,te=.4,ne=.2,ge=.5;var se=new go.PathFigure(ne*E+re,(ge+te)*a+Ae,!0);y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E+re,ge*a+Ae,(ne-ee)*E+re,(ge+te)*a+Ae,(ne-te)*E+re,(ge+ee)*a+Ae)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge-te)*a+Ae,(ne-te)*E+re,(ge-ee)*a+Ae,(ne-ee)*E+re,(ge-te)*a+Ae)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+ee*.5)*E+re,ge*a+Ae,ne*E+re,(ge-te)*a+Ae,(ne-te+ee*.5)*E+re,(ge-ee)*a+Ae)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge+te)*a+Ae,(ne-te+ee*.5)*E+re,(ge+ee)*a+Ae,ne*E+re,(ge+te)*a+Ae).close()),ee=ue*.2,te=.2,ne=.5,ge=.5;var Le=new go.PathFigure((ne-te)*E+re,ge*a+Ae,!0);y.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge-te)*a+Ae,(ne-te)*E+re,(ge-ee)*a+Ae,(ne-ee)*E+re,(ge-te)*a+Ae)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E+re,ge*a+Ae,(ne+ee)*E+re,(ge-te)*a+Ae,(ne+te)*E+re,(ge-ee)*a+Ae)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge+te)*a+Ae,(ne+te)*E+re,(ge+ee)*a+Ae,(ne+ee)*E+re,(ge+te)*a+Ae)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*E+re,ge*a+Ae,(ne-ee)*E+re,(ge+te)*a+Ae,(ne-te)*E+re,(ge+ee)*a+Ae)),ee=ue*.4,te=.4,ne=.8,ge=.5;var de=new go.PathFigure(ne*E+re,(ge-te)*a+Ae,!0);y.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E+re,ge*a+Ae,(ne+ee)*E+re,(ge-te)*a+Ae,(ne+te)*E+re,(ge-ee)*a+Ae)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge+te)*a+Ae,(ne+te)*E+re,(ge+ee)*a+Ae,(ne+ee)*E+re,(ge+te)*a+Ae)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-ee*.5)*E+re,ge*a+Ae,ne*E+re,(ge+te)*a+Ae,(ne+te-ee*.5)*E+re,(ge+ee)*a+Ae)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge-te)*a+Ae,(ne+te-ee*.5)*E+re,(ge-ee)*a+Ae,ne*E+re,(ge-te)*a+Ae).close()),ee=ue*.8,te=.8,ne=1,ge=.5;var Ue=new go.PathFigure(ne*E+re,(ge-te)*a+Ae,!0);return y.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*E+re,ge*a+Ae,(ne+ee)*E+re,(ge-te)*a+Ae,(ne+te)*E+re,(ge-ee)*a+Ae)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge+te)*a+Ae,(ne+te)*E+re,(ge+ee)*a+Ae,(ne+ee)*E+re,(ge+te)*a+Ae)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-ee*.5)*E+re,ge*a+Ae,ne*E+re,(ge+te)*a+Ae,(ne+te-ee*.5)*E+re,(ge+ee)*a+Ae)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E+re,(ge-te)*a+Ae,(ne+te-ee*.5)*E+re,(ge-ee)*a+Ae,ne*E+re,(ge-te)*a+Ae).close()),y}),go.Shape.defineFigureGenerator("Email",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,0,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),y}),go.Shape.defineFigureGenerator("Ethernet",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.35*E,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var b=new go.PathFigure(.1*E,a,!0,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ee=new go.PathFigure(.6*E,a,!0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var te=new go.PathFigure(0,.5*a,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),y}),go.Shape.defineFigureGenerator("Power",function(ae,E,a){var y=new go.Geometry,x=ue*.4,b=.4,ee=.5,te=.5,ne=z(),ge=z(),re=z(),Ae=z();De(ee,te-b,ee+x,te-b,ee+b,te-x,ee+b,te,.5,ne,ne,ge,re,Ae);var Se=oe(ge.x,ge.y),se=new go.PathFigure(ge.x*E,ge.y*a,!0);y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,re.x*E,re.y*a,Ae.x*E,Ae.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee+b)*E,(te+x)*a,(ee+x)*E,(te+b)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,(ee-x)*E,(te+b)*a,(ee-b)*E,(te+x)*a)),De(ee-b,te,ee-b,te-x,ee-x,te-b,ee,te-b,.5,re,Ae,ge,ne,ne),se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,re.x*E,re.y*a,Ae.x*E,Ae.y*a)),x=ue*.3,b=.3,De(ee-b,te,ee-b,te-x,ee-x,te-b,ee,te-b,.5,re,Ae,ge,ne,ne),se.add(new go.PathSegment(go.PathSegment.Line,ge.x*E,ge.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*E,te*a,Ae.x*E,Ae.y*a,re.x*E,re.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+b)*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*E,te*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),De(ee,te-b,ee+x,te-b,ee+b,te-x,ee+b,te,.5,ne,ne,ge,re,Ae),se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,Ae.x*E,Ae.y*a,re.x*E,re.y*a).close());var se=new go.PathFigure(.45*E,0,!0);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),se.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),Qe(ne),Qe(ge),Qe(re),Qe(Ae),Qe(Se),y.spot1=new go.Spot(.25,.45),y.spot2=new go.Spot(.75,.8),y}),go.Shape.defineFigureGenerator("Fallout",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a/2,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function b(ee,te,ne){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*E,(.8+ne)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*E,(.5+ne)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*E,(.5+ne)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*E,(.8+ne)*a).close())}return b(x,0,0),b(x,.4,0),b(x,.2,-.3),y}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.2*E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),y.spot1=new go.Spot(.3,.3),y.spot2=new go.Spot(.7,.7),y}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.37*E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),x.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),x.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),x.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),x.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),y}),go.Shape.defineFigureGenerator("FireHazard",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.1*E,a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),y.spot1=new go.Spot(.07,.445),y.spot2=new go.Spot(.884,.958),y}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,E,a){var y=new go.Geometry,x=.5,b=0,ee=0,te=x*ue,ne=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,re=1,Ae=.5,Se=.5,se=0,Le=new go.PathFigure(ne*E,(1-ge)*a,!1);return y.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,re*E,Ae*a,re*E,.7*a,re*E,Ae*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Se+b)*E,(se+b)*a,(.5+x+b)*E,(.5-te+b)*a,(.5+te+b)*E,(.5-x+b)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+b)*E,(.5+ee)*a,(.5-te+b)*E,(.5-x+ee)*a,(.5-x+b)*E,(.5-te+ee)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(.35+b)*E,.9*a,(.5-x+b)*E,(.5+te+ee)*a,(.5-te+b)*E,.9*a)),Le.add(new go.PathSegment(go.PathSegment.Move,(.25+b)*E,.8*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(.35+b)*E,.9*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(.2+b)*E,.95*a)),y}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),y}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),y}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);y.add(x);var b=new go.PathFigure(E,a,!1);y.add(b);var ee=new go.PathFigure(0,.5*a,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),y}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),y}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.2*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var x=new go.PathFigure(0,.2*a,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.7*E,a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var b=new go.PathFigure(.45*E,.73*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),b.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),b.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),y}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);y.add(x);var b=new go.PathFigure(.335*E,(1-.555)*a,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),b.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ee=.5-.285,te=.5,ne=ee,ge=Math.PI/4,re=4*(1-Math.cos(ge))/(3*Math.sin(ge)),Ae=re*.5,Se=ee,se=ee,Le=re*Se,de=re*se;b.add(new go.PathSegment(go.PathSegment.Bezier,(te-Se)*E,ne*a,(te-(Le+Se)/2)*E,(ne+(se+de)/2)*a,(te-Se)*E,(ne+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ne-se)*a,(te-Se)*E,(ne-de)*a,(te-Le)*E,(ne-se)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(te+Se)*E,ne*a,(te+Le)*E,(ne-se)*a,(te+Se)*E,(ne-de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(te+Se)*E,(ne+de)*a,(te+(Le+Se)/2)*E,(ne+(se+de)/2)*a)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),b.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Ue=new go.PathFigure(.2*E,a,!1);y.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Xe=new go.PathFigure(.8*E,a,!1);return y.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),y}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.1*E,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var b=new go.PathFigure(.2*E,.2*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),y}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),y}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);y.add(x);var b=new go.PathFigure(E,a,!1);y.add(b);var ee=new go.PathFigure(.1*E,a,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),y}),go.Shape.defineFigureGenerator("Caution",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.05*E,a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var b=.05;return x.add(new go.PathSegment(go.PathSegment.Move,(.5-b)*E,.875*a)),x.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,b*E,b*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),y}),go.Shape.defineFigureGenerator("Recycle",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.45*E,.95*a,!1);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),x.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),x.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var b=new go.PathFigure(.475*E,.2*a,!1);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),b.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ee=new go.PathFigure(.675*E,.575*a,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),y}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,E,a){var y=new go.Geometry,x=.5,b=ue*.5,ee=new go.PathFigure(E,x*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,a,E,(x+b)*a,(x+b)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*E,a,0,(x+b)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-b)*a,(x-b)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+b)*E,0,E,(x-b)*a));var te=new go.PathFigure(x*E,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*E,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,x*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,x*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,x*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,x*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*E,x*a)),te.add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)),te.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)),te.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),y}),go.Shape.defineFigureGenerator("Package",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.15*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var b=new go.PathFigure(0,.15*a,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),y.spot1=new go.Spot(0,.1),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Class",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*a,!1);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),y}),go.Shape.defineFigureGenerator("Component",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E,a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var b=new go.PathFigure(0,.2*a,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ee=new go.PathFigure(0,.6*a,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),y}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.15*E,.6*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var b=new go.PathFigure(.15*E,.6*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E,a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),y}),go.Shape.defineFigureGenerator("Workcell",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y}),go.Shape.defineFigureGenerator("Supermarket",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),y}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(E,.8*a,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ee=.1,te=ue*.1,ne=.2,ge=.9,re=new go.PathFigure((ne-ee)*E,ge*a,!0);y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-ee)*a,(ne-ee)*E,(ge-te)*a,(ne-te)*E,(ge-ee)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*E,ge*a,(ne+te)*E,(ge-ee)*a,(ne+ee)*E,(ge-te)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge+ee)*a,(ne+ee)*E,(ge+te)*a,(ne+te)*E,(ge+ee)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*E,ge*a,(ne-te)*E,(ge+ee)*a,(ne-ee)*E,(ge+te)*a).close()),ee=.1,te=ue*.1,ne=.8,ge=.9;var Ae=new go.PathFigure((ne-ee)*E,ge*a,!0);return y.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge-ee)*a,(ne-ee)*E,(ge-te)*a,(ne-te)*E,(ge-ee)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*E,ge*a,(ne+te)*E,(ge-ee)*a,(ne+ee)*E,(ge-te)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(ge+ee)*a,(ne+ee)*E,(ge+te)*a,(ne+te)*E,(ge+ee)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*E,ge*a,(ne-te)*E,(ge+ee)*a,(ne-ee)*E,(ge+te)*a).close()),y}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.2*E,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y}),go.Shape.defineFigureGenerator("Forklift",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,0));var b=new go.PathFigure(0,.5*a,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*E,.8*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var te=new go.PathFigure(.5*E,.7*a,!1);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ne=.1,ge=ue*.1,re=.1,Ae=.9,Se=new go.PathFigure((re-ne)*E,Ae*a,!0);y.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(Ae-ne)*a,(re-ne)*E,(Ae-ge)*a,(re-ge)*E,(Ae-ne)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*E,Ae*a,(re+ge)*E,(Ae-ne)*a,(re+ne)*E,(Ae-ge)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(Ae+ne)*a,(re+ne)*E,(Ae+ge)*a,(re+ge)*E,(Ae+ne)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*E,Ae*a,(re-ge)*E,(Ae+ne)*a,(re-ne)*E,(Ae+ge)*a)),ne=.1,ge=ue*.1,re=.4,Ae=.9;var se=new go.PathFigure((re-ne)*E,Ae*a,!0);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(Ae-ne)*a,(re-ne)*E,(Ae-ge)*a,(re-ge)*E,(Ae-ne)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*E,Ae*a,(re+ge)*E,(Ae-ne)*a,(re+ne)*E,(Ae-ge)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(Ae+ne)*a,(re+ne)*E,(Ae+ge)*a,(re+ge)*E,(Ae+ne)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*E,Ae*a,(re-ge)*E,(Ae+ne)*a,(re-ne)*E,(Ae+ge)*a)),y}),go.Shape.defineFigureGenerator("RailShipment",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.1*E,.4*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var b=new go.PathFigure(.45*E,.7*a,!1);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ee=new go.PathFigure(.55*E,.4*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var re=.05,Ae=ue*.05,Se=.175,se=.95,te=new go.PathFigure((Se-re)*E,se*a,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se-re)*a,(Se-re)*E,(se-Ae)*a,(Se-Ae)*E,(se-re)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+re)*E,se*a,(Se+Ae)*E,(se-re)*a,(Se+re)*E,(se-Ae)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se+re)*a,(Se+re)*E,(se+Ae)*a,(Se+Ae)*E,(se+re)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-re)*E,se*a,(Se-Ae)*E,(se+re)*a,(Se-re)*E,(se+Ae)*a));var re=.05,Ae=ue*.05,Se=.375,se=.95,ne=new go.PathFigure((Se-re)*E,se*a,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se-re)*a,(Se-re)*E,(se-Ae)*a,(Se-Ae)*E,(se-re)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se+re)*E,se*a,(Se+Ae)*E,(se-re)*a,(Se+re)*E,(se-Ae)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se+re)*a,(Se+re)*E,(se+Ae)*a,(Se+Ae)*E,(se+re)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Se-re)*E,se*a,(Se-Ae)*E,(se+re)*a,(Se-re)*E,(se+Ae)*a));var re=.05,Ae=ue*.05,Se=.625,se=.95,ge=new go.PathFigure((Se-re)*E,se*a,!0);y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se-re)*a,(Se-re)*E,(se-Ae)*a,(Se-Ae)*E,(se-re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se+re)*E,se*a,(Se+Ae)*E,(se-re)*a,(Se+re)*E,(se-Ae)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se+re)*a,(Se+re)*E,(se+Ae)*a,(Se+Ae)*E,(se+re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se-re)*E,se*a,(Se-Ae)*E,(se+re)*a,(Se-re)*E,(se+Ae)*a));var re=.05,Ae=ue*.05,Se=.825,se=.95,Le=new go.PathFigure((Se-re)*E,se*a,!0);y.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se-re)*a,(Se-re)*E,(se-Ae)*a,(Se-Ae)*E,(se-re)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Se+re)*E,se*a,(Se+Ae)*E,(se-re)*a,(Se+re)*E,(se-Ae)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,Se*E,(se+re)*a,(Se+re)*E,(se+Ae)*a,(Se+Ae)*E,(se+re)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Se-re)*E,se*a,(Se-Ae)*E,(se+re)*a,(Se-re)*E,(se+Ae)*a).close());var de=new go.PathFigure(0,a,!1);return y.add(de),de.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),y}),go.Shape.defineFigureGenerator("Warehouse",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*a,!1);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ee=new go.PathFigure(.15*E,a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var te=.05,ne=ue*.05,ge=.35,re=.775,Ae=new go.PathFigure((ge-te)*E,re*a,!0);return y.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(re-te)*a,(ge-te)*E,(re-ne)*a,(ge-ne)*E,(re-te)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*E,re*a,(ge+ne)*E,(re-te)*a,(ge+te)*E,(re-ne)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(re+te)*a,(ge+te)*E,(re+ne)*a,(ge+ne)*E,(re+te)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*E,re*a,(ge-ne)*E,(re+te)*a,(ge-te)*E,(re+ne)*a).close()),y}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),y}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.75*a,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y}),go.Shape.defineFigureGenerator("Bookmark",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),y}),go.Shape.defineFigureGenerator("Bookmark",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),y}),go.Shape.defineFigureGenerator("Globe",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),y}),go.Shape.defineFigureGenerator("Wave",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.25*a,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),y}),go.Shape.defineFigureGenerator("Operator",function(ae,E,a){var y=new go.Geometry,x=.3,b=ue*.3,ee=.5,te=.7,ne=new go.PathFigure((ee-x)*E,te*a,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a));var ge=new go.PathFigure(0,.7*a,!1);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),y}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.5*E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),y}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),y}),go.Shape.defineFigureGenerator("Battery",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var b=new go.PathFigure(0,.6*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y}),go.Shape.defineFigureGenerator("Delete",function(ae,E,a){var y=new go.Geometry,x=.5,b=ue*.5,ee=.5,te=.5,ne=new go.PathFigure((ee-x)*E,te*a,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a));var ge=new go.PathFigure(.15*E,.5*a,!1);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),y}),go.Shape.defineFigureGenerator("Flag",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.1*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),y}),go.Shape.defineFigureGenerator("Help",function(ae,E,a){var y=new go.Geometry,x=.5,b=ue*.5,ee=.5,te=.5,ne=new go.PathFigure((ee-x)*E,te*a,!1);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a).close()),x=.05,b=ue*.05,ee=.5,te=.8;var ge=new go.PathFigure((ee-x)*E,te*a,!1);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-b)*a,(ee-b)*E,(te-x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+b)*E,(te-x)*a,(ee+x)*E,(te-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+b)*a,(ee+b)*E,(te+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-b)*E,(te+x)*a,(ee-x)*E,(te+b)*a).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),y}),go.Shape.defineFigureGenerator("Location",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var b=new go.PathFigure(.2*E,.5*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),y}),go.Shape.defineFigureGenerator("Unlocked",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var b=new go.PathFigure(.2*E,.5*a,!1);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),y}),go.Shape.defineFigureGenerator("Gear",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.5*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),y}),go.Shape.defineFigureGenerator("Map",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,.2*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y}),go.Shape.defineFigureGenerator("Eject",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var b=new go.PathFigure(0,a*.6,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),y}),go.Shape.defineFigureGenerator("Pencil",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*1,a*1,!1);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),x.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),x.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),x.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var b=new go.PathFigure(.126*E,.85*a,!1);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ee=new go.PathFigure(.402*E,.85*a,!1);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var te=new go.PathFigure(.678*E,.85*a,!1);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ne=new go.PathFigure(.5*E,.1*a,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),y}),go.Shape.defineFigureGenerator("Staircase",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a*1,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),x.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),x.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),y}),go.Shape.defineFigureGenerator("5Bars",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,a*1,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var b=new go.PathFigure(E*.204,a,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),b.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),b.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ee=new go.PathFigure(E*.408,a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var te=new go.PathFigure(E*.612,a,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ne=new go.PathFigure(E*.816,a,!0);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),y}),go.Shape.defineFigureGenerator("PC",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var b=new go.PathFigure(E*.055,.07*a,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),b.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ee=new go.PathFigure(E*.055,.13*a,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var te=new go.PathFigure(E*.055,.18*a,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ne=new go.PathFigure(E*1,0,!0);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),y}),go.Shape.defineFigureGenerator("Plane",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(.55*E,a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),y}),go.Shape.defineFigureGenerator("Key",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*1,a*.5,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),x.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),x.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),y}),go.Shape.defineFigureGenerator("FilmTape",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(0,0,!1);y.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),x.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),x.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var b=new go.PathFigure(0,0,!1);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ee=new go.PathFigure(E*.11,a*.1,!1);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var te=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ne=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),y}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,E,a){var y=new go.Geometry,x=8,b=x*ue,ee=new go.PathFigure(x,0,!1);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-b,E-b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close());var te=new go.PathFigure(E*.83,0,!1);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ne=new go.PathFigure(E*.83,a*1,!1);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ge=new go.PathFigure(E*.78,a*.05,!1);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),y}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,E,a){var y=ae?ae.parameter1:NaN;(isNaN(y)||y<0)&&(y=15),y=Math.min(y,E/3),y=Math.min(y,a/3);var x=y*ue,b=a*.8,ee=new go.Geometry,te=new go.PathFigure(y,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,y,E-x,0,E,x)),te.add(new go.PathSegment(go.PathSegment.Line,E,b-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,b,E,b-x,E-x,b)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,b)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),te.add(new go.PathSegment(go.PathSegment.Line,E*.55,b)),te.add(new go.PathSegment(go.PathSegment.Line,y,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b-y,x,b,0,b-x)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close()),x>1?(ee.spot1=new go.Spot(0,0,x,x),ee.spot2=new go.Spot(1,.8,-x,-x)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*0,a*.45,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),x.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var b=new go.PathFigure(E*1,a*.55,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),y}),go.Shape.defineFigureGenerator("Windows",function(ae,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*0,a*.1,!1);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var b=new go.PathFigure(E*.1,a*.2,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),b.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),b.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),b.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),b.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ee=new go.PathFigure(E*.28,a*.37,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),y}),go.Shape.defineFigureGenerator("Beaker",function(ae,E,a){var y=new go.Geometry,x=15,b=x*ue,ee=new go.PathFigure(E*.62,a*.475,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-b,E-b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),b>1?(y.spot1=new go.Spot(0,0,b,b),y.spot2=new go.Spot(1,1,-b,-b)):(y.spot1=go.Spot.TopLeft,y.spot2=go.Spot.BottomRight),y}),go.Shape.defineFigureGenerator("Download",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*0,a*1,!0);y.add(x);var b=.1/.3;x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-b)).close());var ee=new go.PathFigure(E*.4,a*0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),y}),go.Shape.defineFigureGenerator("Bin",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*0,a*1,!0);y.add(x);var b=.1/.3;return x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-b)).close()),y}),go.Shape.defineFigureGenerator("Upload",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*0,a*1,!0);y.add(x);var b=.1/.3;x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-b))),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-b)).close());var ee=new go.PathFigure(E*.5,a*0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),y}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*.15,a*0,!1);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),y}),go.Shape.defineFigureGenerator("Drink",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*.15,a*0,!1);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var b=new go.PathFigure(E*.235,a*.28,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),b.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),b.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),y}),go.Shape.defineFigureGenerator("4Arrows",function(ae,E,a){var y=new go.Geometry,x=new go.PathFigure(E*.5,a*0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),x.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),x.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),x.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),y}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ce={},Ve="5.0",oe={},z=null,Qe=!1,Oe=!1,De=null,Pe=!1,ye=null,ue=null,Be=0;Be4?parseFloat(he):5};ce.setHTML5Codebase=function(he,Me){ue=he,nt(he,Me)},ce.setJavaCodebase=ce.setJavaCodebaseVersion=ce.isCompiledInstalled=ce.setPreCompiledScriptPath=ce.setPreCompiledResourcePath=function(){},ce.setHTML5CodebaseVersion=function(he,Me){var ke=parseFloat(he);if(ke!==NaN&&ke<5){console.log("The GeoGebra HTML5 codebase version "+ke+" is deprecated. Using version latest instead.");return}ye=he,At(he,Me)},ce.getHTML5CodebaseVersion=function(){return ae},ce.getParameters=function(){return oe},ce.setFontsCSSURL=function(he){ee=he},ce.setGiacJSURL=function(he){},ce.setJNLPFile=function(he){Ce=he},ce.setJNLPBaseDir=function(he){},ce.inject=function(){function he(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Me="auto",ke=oe.id,ut,je=!1,ft=0;ft=5)return!0;var he=ce.getAppletObject();return he&&typeof he.recalculateEnvironments=="function"?(he.recalculateEnvironments(),!0):!1},ce.startAnimation=function(){var he=ce.getAppletObject();return he&&typeof he.startAnimation=="function"?(he.startAnimation(),!0):!1},ce.stopAnimation=function(){var he=ce.getAppletObject();return he&&typeof he.stopAnimation=="function"?(he.stopAnimation(),!0):!1},ce.getAppletObject=function(){var he=oe.id!==void 0?oe.id:"ggbApplet";return window[he]},ce.resize=function(){};var Le=function(he,Me,ke){var ut=document.createElement("param");ut.setAttribute("name",Me),ut.setAttribute("value",ke),he.appendChild(ut)},de=function(he){return he&&he!=="false"},Ue=function(he,Me,ke){ne(ae)<=4.2&&(ke=!0);var ut=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(ut=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var je=document.createElement("div");je.classList.add("appletParameters","notranslate");var ft=Me.width,le=Me.height;if(Me.disableAutoScale=Me.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Me.disableAutoScale,Me.width!==void 0)if(ne(ae)<=4.4)de(Me.showToolBar)&&(Me.height-=7),de(Me.showAlgebraInput)&&(Me.height-=37),Me.width<605&&de(Me.showToolBar)&&(Me.width=605,ft=605);else{var He=100;(de(Me.showToolBar)||de(Me.showMenuBar))&&(Me.hasOwnProperty("customToolBar")&&(Me.customToolbar=Me.customToolBar),He=de(Me.showMenuBar)?245:155),ft=5?(Me.appletOnLoad=function(En){var zn=he.querySelector(".ggb_preview");zn&&zn.parentNode.removeChild(zn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ne),window.GGBT_wsf_view&&$(window).trigger("resize"),Jt(En)},tn||Ne.appendChild(vn)):je.appendChild(vn),Ne.appendChild(je),tn||he.appendChild(Ne),setTimeout(function(){ce.resize()},1)}else{var Tt=document.createElement("div");Tt.className="applet_scaler",Tt.style.position="relative",Tt.style.display="block",Tt.appendChild(je),he.appendChild(Tt),Me.appletOnLoad=function(En){ce.resize(),Jt(En)}}function xt(En,zn){zn&&typeof zn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(En,zn.appletOnLoad):renderGGBElement(En),pt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",zn)}function yt(En,zn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:En,params:zn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Aa){xt(Aa.article,Aa.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(En.className+=" geogebraweb")):xt(En,zn)}if(ut){scriptLoadStarted=!0;for(var Ht=0;Ht0?(Lt.remove(),Ne.attr("id","fullscreencontent").show(),jQuery(Jt).append(Ne),window.dispatchEvent(new Event("resize"))):Ue(Lt,Me,!1),window.GGBT_wsf_view.launchFullScreen(Jt)}else xe=ut,Ue(he,Me,!1);if(!window.GGBT_wsf_view)for(le=0;lehe/4*3&&(Lt=he/4*3),Jt=Lt/5.8,He.setAttribute("src",x),He.setAttribute("width",Lt),He.setAttribute("height",Jt);var Ne=(he-Lt)/2,tn=(Me-Jt)/2;He.style.left=Ne+"px",He.style.top=tn+"px",je.appendChild(He)}}return je.appendChild(le),je},$t=function(he){return he=he.toLowerCase(),he==="html5"||he==="screenshot"?he:"html5"},vt=["web","webSimple","web3d","tablet","tablet3d","phone"],At=function(he,Me){if(ae=he,Me){nt(ae,!0);return}var ke=!Qe;if(ke){var ut=ne(ae);!isNaN(ut)&&ut<4.4&&(ke=!1)}var je,ft;window.location.protocol.substr(0,4)==="http"?je=window.location.protocol:je="http:";var le=ae.indexOf("//");le>0?ft=ae:le===0?ft=je+ae:ft="https://www.geogebra.org/apps/5.2.814.0/";for(var He in vt)if(ae.slice(vt[He].length*-1)===vt[He]||ae.slice((vt[He].length+1)*-1)===vt[He]+"/"){nt(ft,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ke&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!de(oe.showToolBar)&&!de(oe.showMenuBar)&&!de(oe.showAlgebraInput)&&!de(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?ft+="webSimple/":ft+="web3d/",nt(ft,!1)},nt=function(he,Me){if(he.requirejs){Ie=he;return}he.slice(-1)!=="/"&&(he+="/"),Ie=he,Me===null&&(Me=he.indexOf("http")===-1),be=Me,E="web.nocache.js",a=!1;var ke=Ie.split("/");ke.length>1&&(!Me&&ke[ke.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):vt.indexOf(ke[ke.length-2])>=0&&(E=ke[ke.length-2]+".nocache.js")),ke=he.split("/"),ae=ke[ke.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var ut=parseFloat(ae);ut!==NaN&&ut<5&&he.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead."),At("5.0",Me))},pt=function(he,Me){window.console&&window.console.log&&(!Me||typeof Me.showLogging=="undefined"||Me.showLogging&&Me.showLogging!=="false")&&console.log(he)};oe.material_id!==void 0?Ae(qe):qe();function qe(){var he=Ve;ye!==null?he=ye:parseFloat(he)<5&&(he="5.0"),At(he,!1),ue!==null&&nt(ue,be),Pe=!0}return ce},GGBAppletUtils=function(){"use strict";function ce(){return window.GGBT_wsf_edit!==void 0}function Ve(Pe,ye){ye!=1?(Pe.style.transformOrigin="0% 0% 0px",Pe.style.webkitTransformOrigin="0% 0% 0px",Pe.style.transform="scale("+ye+","+ye+")",Pe.style.webkitTransform="scale("+ye+","+ye+")",Pe.style.maxWidth="initial",Pe.querySelector(".ggb_preview")!==null&&(Pe.querySelector(".ggb_preview").style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Pe.style.transform="none",Pe.style.webkitTransform="none")}function oe(Pe,ye,ue,Be,Ee,Ce){var Ie=null;if(Ce!=null&&Ce!="")for(var be=Pe.parentNode;be!=null;)if((" "+be.className+" ").indexOf(" "+Ce+" ")>-1){Ie=be;break}else be=be.parentNode;var xe=0,ae=0,E=0,a=0,y=0,x=0,b=0;if(Ie)xe=Ie.offsetWidth,ae=Math.max(Be?Ie.offsetWidth:0,Ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(xe=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),E=xe):(xe=window.innerWidth,ae=window.innerHeight,E=window.innerWidth),Pe){var ee=Pe.getBoundingClientRect();ee.left>0&&ee.left<=xe&&(Ee===void 0||!Ee)&&(document.dir==="rtl"?(y=xe-ee.width-ee.left,x=E<=480?10:30):(x=ee.left,y=E<=480?10:30),a=x+y)}if(Pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=Pe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,b=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,b=40)}}return Pe&&((ue===void 0||!ue)&&ye>0&&ye+a1&&(Ce=!0)),ye&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ce=!0),!(Pe.hasOwnProperty("disableAutoScale")&&Pe.disableAutoScale))Ee=z(Pe,ye,Ce,ue,Pe.scaleContainerClass);else return Be;return Ce&&(!Pe.hasOwnProperty("scale")||Be===1)?Ee:Math.min(Be,Ee)}function Oe(Pe){var ye=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),Be=Pe.getBoundingClientRect(),Ee=(ye-Be.width)/2,Ce=(ue-Be.height)/2;Ce<0&&(Ce=0),Pe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee<40?Pe.style.left="40px":Pe.style.left=Ee+"px",Pe.style.top=Ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ce<40?Pe.style.top="40px":Pe.style.top=Ce+"px",Pe.style.left=Ee+"px")}function De(Pe,ye){var ue=Pe.querySelector(".appletParameters");if(ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ye.id!==ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Pe)}if(ue.parentElement&&/fullscreen/.test(ue.parentElement.className))return;var Be=Qe(ye,Pe);ce()&&ue.setAttribute("data-param-scale",Be);for(var Ee=null,Ce=0;Ce=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ce){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ce){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ce){var Ve=c[ce];return Ve==null?null:Ve},r=d,webModule.__errFn=e}function B(){function ce(Pe){var ye=Pe.lastIndexOf(rb);ye==-1&&(ye=Pe.length);var ue=Pe.indexOf(sb);ue==-1&&(ue=Pe.length);var Be=Pe.lastIndexOf(tb,Math.min(ue,ye));return Be>=O?Pe.substring(O,Be+P):W}function Ve(Pe){if(!Pe.match(/^\w+:\/\//)){var ye=o.createElement(ub);ye.src=Pe+vb,Pe=ce(ye.src)}return Pe}function oe(){var Pe=__gwt_getMetaProperty(wb);return Pe!=null?Pe:W}function z(){for(var Pe=o.getElementsByTagName(_),ye=O;yeO?Pe[Pe.length-P].href:W}function Oe(){var Pe=o.location;return Pe.href==Pe.protocol+zb+Pe.host+Pe.pathname+Pe.search+Pe.hash}var De=oe();return De==W&&(De=z()),De==W&&(De=Qe()),De==W&&Oe()&&(De=ce(o.location.href)),De=Ve(De),De}function C(ce){return ce.match(/^\//)||ce.match(/^[a-zA-Z]+:\/\//)?ce:webModule.__moduleBase+ce}function D(){var ce=[],Ve=O,oe=[],z=[];function Qe(Pe){var ye=z[Pe](),ue=oe[Pe];if(ye in ue)return ye;var Be=[];for(var Ee in ue)Be[ue[Ee]]=Ee;throw r&&r(Pe,Be,ye),null}if(__gwt_isKnownPropertyValue=function(Pe,ye){return ye in oe[Pe]},webModule.__getPropMap=function(){var Pe={};for(var ye in oe)oe.hasOwnProperty(ye)&&(Pe[ye]=Qe(ye));return Pe},webModule.__computePropValue=Qe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var De=Oe.indexOf(Db);De!=-1&&(Ve=parseInt(Oe.substring(De+P),$),Oe=Oe.substring(O,De))}catch(Pe){}return webModule.__softPermutationId=Ve,C(Oe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(ce,Ve,oe){"use strict";oe.d(Ve,{Ax:function(){return De},Ds:function(){return Pe},KI:function(){return ue},SI:function(){return Oe},f1:function(){return Qe}});var z=oe(78323);function Qe(Be){let Ee=!0;if(Be.length>0){for(let Ce=0;Cea in E?Oe(E,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):E[a]=y,Ce=(E,a)=>{for(var y in a||(a={}))ue.call(a,y)&&Ee(E,y,a[y]);if(ye)for(var y of ye(a))Be.call(a,y)&&Ee(E,y,a[y]);return E},Ie=(E,a)=>De(E,Pe(a)),be=(E,a)=>{var y={};for(var x in E)ue.call(E,x)&&a.indexOf(x)<0&&(y[x]=E[x]);if(E!=null&&ye)for(var x of ye(E))a.indexOf(x)<0&&Be.call(E,x)&&(y[x]=E[x]);return y},xe=(E,a,y)=>new Promise((x,b)=>{var ee=ge=>{try{ne(y.next(ge))}catch(re){b(re)}},te=ge=>{try{ne(y.throw(ge))}catch(re){b(re)}},ne=ge=>ge.done?x(ge.value):Promise.resolve(ge.value).then(ee,te);ne((y=y.apply(E,a)).next())});const ae=E=>{var a=E,{children:y}=a,x=be(a,["children"]);const[b,ee]=(0,Qe.useState)(!1);return Qe.createElement(z.ZP,Ie(Ce({},x),{loading:b,onClick:te=>xe(void 0,null,function*(){try{ee(!0),yield x.onClick(te),ee(!1)}catch(ne){console.error(ne),ee(!1)}})}),y)}},12306:function(ce,Ve,oe){"use strict";var z=oe(86204),Qe=oe.n(z),Oe=Object.defineProperty,De=(Be,Ee,Ce)=>Ee in Be?Oe(Be,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):Be[Ee]=Ce,Pe=(Be,Ee,Ce)=>De(Be,typeof Ee!="symbol"?Ee+"":Ee,Ce),ye=(Be,Ee,Ce)=>new Promise((Ie,be)=>{var xe=a=>{try{E(Ce.next(a))}catch(y){be(y)}},ae=a=>{try{E(Ce.throw(a))}catch(y){be(y)}},E=a=>a.done?Ie(a.value):Promise.resolve(a.value).then(xe,ae);E((Ce=Ce.apply(Be,Ee)).next())});class ue extends z.EventEmitter{constructor(Ee,Ce){super(),Pe(this,"url"),Pe(this,"body"),Pe(this,"fullContent",""),Pe(this,"controller",null),Pe(this,"buffer",""),this.url=Ee,this.body=Ce}startStream(){return ye(this,null,function*(){this.controller=new AbortController;const{signal:Ee}=this.controller;try{const Ce=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ee});if(!Ce.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Ce.status}`);const Ie=Ce.headers.get("content-type");if(!Ie)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ie.includes("application/json")){const ae=yield Ce.json();this.emit("error",ae);return}if(!Ie.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const be=Ce.body.getReader(),xe=new TextDecoder("utf-8");for(;;){const{done:ae,value:E}=yield be.read();if(ae)break;const a=xe.decode(E,{stream:!0});this.buffer+=a;const y=this.buffer.split(` `);this.buffer=y.pop()||"";for(const x of y)if(x.startsWith("data:")){const b=x.slice(5).trim();if(b==="[DONE]")break;try{const ee=JSON.parse(b);ee.data&&this.handleData(ee.data)}catch(ee){this.buffer=x+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(Ce){Ce.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Ce.message)}})}handleData(Ee){Ee.content&&(this.fullContent+=Ee.content,this.emit("data",{chunk:Ee,full:this.fullContent}))}cancelRequest(){var Ee;(Ee=this.controller)==null||Ee.abort()}}Ve.Z=ue},57593:function(ce,Ve,oe){"use strict";oe.d(Ve,{Z:function(){return vt}});var z=oe(59301),Qe=oe(97831),Oe=oe(66328),De=oe(3977),Pe=oe(18369),ye=oe(56102),ue={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Be=oe(8591),Ee=oe(11611),Ce=oe(13058),Ie=oe(30084),be=oe(10787),xe=oe(79562),ae=oe(43428),E=oe(95237),a=oe(43604),y={smartWrp:"smartWrp___NjRcB"},x=oe(95440),b=oe(16338),ee=oe(75353),te=oe(59301),ne=(At,nt,pt)=>new Promise((qe,he)=>{var Me=je=>{try{ut(pt.next(je))}catch(ft){he(ft)}},ke=je=>{try{ut(pt.throw(je))}catch(ft){he(ft)}},ut=je=>je.done?qe(je.value):Promise.resolve(je.value).then(Me,ke);ut((pt=pt.apply(At,nt)).next())});const ge=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(Ce){Ce.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Ce.message)}})}handleData(Ee){Ee.content&&(this.fullContent+=Ee.content,this.emit("data",{chunk:Ee,full:this.fullContent}))}cancelRequest(){var Ee;(Ee=this.controller)==null||Ee.abort()}}Ve.Z=ue},57593:function(ce,Ve,oe){"use strict";oe.d(Ve,{Z:function(){return vt}});var z=oe(59301),Qe=oe(97831),Oe=oe(66328),De=oe(3977),Pe=oe(18369),ye=oe(56102),ue={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Be=oe(8591),Ee=oe(11611),Ce=oe(55939),Ie=oe(30084),be=oe(10787),xe=oe(79562),ae=oe(43428),E=oe(95237),a=oe(43604),y={smartWrp:"smartWrp___NjRcB"},x=oe(95440),b=oe(16338),ee=oe(75353),te=oe(59301),ne=(At,nt,pt)=>new Promise((qe,he)=>{var Me=je=>{try{ut(pt.next(je))}catch(ft){he(ft)}},ke=je=>{try{ut(pt.throw(je))}catch(ft){he(ft)}},ut=je=>je.done?qe(je.value):Promise.resolve(je.value).then(Me,ke);ut((pt=pt.apply(At,nt)).next())});const ge=` diff --git a/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.f61945cd.async.js b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.ee72e8fa.async.js similarity index 99% rename from p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.f61945cd.async.js rename to p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.ee72e8fa.async.js index 45b7f0cdc9..0f781d6454 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.f61945cd.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.ee72e8fa.async.js @@ -1,6 +1,6 @@ (self.webpackChunk=self.webpackChunk||[]).push([[4498],{32050:function(me,$e,oe){"use strict";oe.d($e,{Z:function(){return we}});var ee=oe(54476),be=oe(59301),Ge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Fe=Ge,Ae=oe(7657),Me=function(xe,Ie){return be.createElement(Ae.Z,(0,ee.Z)({},xe,{ref:Ie,icon:Fe}))},de=be.forwardRef(Me),we=de},27431:function(me,$e){"use strict";$e.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},87851:function(){"use strict";function me(ae,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=ae,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(me.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(me.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(me.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(me.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var E=go.Shape._FigureParameters[ae];return E?E[a]:null},go.Shape.setFigureParameter=function(ae,a,E){if(!(E instanceof me))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var x=go.Shape._FigureParameters[ae];x||(x=[],go.Shape._FigureParameters[ae]=x),x[a]=E};var $e=[];function oe(ae,a){var E=$e.pop();return E===void 0?new go.Point(ae,a):(E.x=ae,E.y=a,E)}function ee(){var ae=$e.pop();return ae===void 0?new go.Point:ae}function be(ae){$e.push(ae)}function Ge(ae,a,E,x,y,b,z,te,ne){ne||(ne=new go.Point);var re=ae-E,ge=y-z,ie=NaN,he=NaN;if(re===0)if(ge===0)ae===E&&(ie=ae,he=a);else{var ue=(b-te)/ge,Ce=b-ue*y;ie=ae,he=ue*ie+Ce}else if(ge===0){var Ne=(a-x)/re,lt=a-Ne*ae;ie=y,he=Ne*ie+lt}else{var Ne=(a-x)/re,ue=(b-te)/ge,lt=a-Ne*ae,Ce=b-ue*y;ie=(Ce-lt)/(Ne-ue),he=Ne*ie+lt}return ne.x=ie,ne.y=he,ne}function Fe(ae,a,E,x,y,b,z,te,ne,re,ge,ie,he,ue){var Ce=1-ne,Ne=ne,lt=ae*Ce+E*Ne,gt=a*Ce+x*Ne,yt=E*Ce+y*Ne,Ft=x*Ce+b*Ne,Mt=y*Ce+z*Ne,Nt=b*Ce+te*Ne,Jt=lt*Ce+yt*Ne,Oe=gt*Ce+Ft*Ne,Re=yt*Ce+Mt*Ne,Ue=Ft*Ce+Nt*Ne,Je=Jt*Ce+Re*Ne,ze=Oe*Ce+Ue*Ne;re.x=lt,re.y=gt,ge.x=Jt,ge.y=Oe,ie.x=Je,ie.y=ze,he.x=Re,he.y=Ue,ue.x=Mt,ue.y=Nt}var Ae=new go.Spot(.156,.156),Me=new go.Spot(.844,.844),de=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new me("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*de,b=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(b.spot1=new go.Spot(0,0,y,y),b.spot2=new go.Spot(1,1,-y,-y)),b}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,a,E){var x=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ae,y.spot2=Me,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,de*a,0,a,(1-de)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,de*E,(1-de)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,de*E,de*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-de)*a,0,0,(1-de)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new me("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(x=.5);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+te,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),b.spot1=Ae,b.spot2=Me,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Cloud",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,a,E){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new me("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new me("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,E){var x=ae?ae.parameter1:NaN,y=ae?ae.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var b=x%360;b<0&&(b+=360);var z=y%360,te=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,b,z,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,E){var x=de/Math.SQRT2*.5,y=Math.SQRT2/2,b=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,b*E,a,(1-x)*E,(y+x)*a,(b+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new me("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new me("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new me("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,E){var x=ae?ae.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var b=a/2,z=E/2,te=Math.atan2(E,a),ne=x-Math.min(Math.cos(te)*x/2,b),re=x-Math.min(Math.sin(te)*x/2,z),y=new go.Geometry,ge=new go.PathFigure(ne,0,!0);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,b,.2*E)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,a,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,b,.8*E)),ge.add(new go.PathSegment(go.PathSegment.Line,ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new me("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new me("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new me("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,de*a,0,a,(.5-de/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+de/2)*E,de*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var b=.2,z=.3,te=0,ne=b*de;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z+.05)*a,(.5-ne+te-.02)*E)),b=.2,z=0,te=-.3,ne=b*de,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),b=.2,z=-.3,te=0,ne=b*de,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z-.05)*a,(.5-ne+te-.02)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var b=.1,z=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+b)*a,te*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*te,b*a,b*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),te=.75,y=new go.PathFigure((z+b)*a,te*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*te,b*a,b*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ae,a,E){var x=.8535533905932737,y=.5*a,b=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,b,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure(z*a,(te-b)*E);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),b=.4,y=de*.4;var re=ee(),ge=ee(),ie=ee(),he=ee();Fe(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.42,re,ge,ie,he,he);var ue=ee(),Ce=ee(),Ne=ee();Fe(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.58,he,he,Ne,ue,Ce);var lt=ee(),gt=ee(),yt=ee();Fe(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.42,lt,gt,yt,he,he);var Ft=ee(),Mt=ee(),Nt=ee();return Fe(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.58,he,he,Nt,Ft,Mt),ne.add(new go.PathSegment(go.PathSegment.Move,Nt.x*a,Nt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,Ft.x*a,Ft.y*E,Mt.x*a,Mt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,re.x*a,re.y*E,ge.x*a,ge.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Nt.x*a,Nt.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,yt.x*a,yt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Ne.x*a,Ne.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ue.x*a,ue.y*E,Ce.x*a,Ce.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,yt.x*a,yt.y*E,lt.x*a,lt.y*E,gt.x*a,gt.y*E).close()),be(re),be(ge),be(ie),be(he),be(ue),be(Ce),be(Ne),be(lt),be(gt),be(yt),be(Ft),be(Mt),be(Nt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new me("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,b=y+x;return new go.Geometry().add(new go.PathFigure(b,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,a,E){var x=new go.Geometry,y=de*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),ie=ee(),he=new go.PathFigure((z-b)*a,te*E,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),Fe(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.44,ge,ie,re,ne,ne),he.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E));var ue=oe(re.x,re.y);Fe(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.56,ne,ne,re,ge,ie);var Ce=oe(re.x,re.y);he.add(new go.PathSegment(go.PathSegment.Line,(ue.x*.1+.95*.9)*a,ue.y*.1*E)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,ue.y*.1*E)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),he.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*a,.15*E)),he.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*a,(Ce.y*.1+.05*.9)*E)),he.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*E)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E)),he.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),b=.35,y=de*.35;var Ne=new go.PathFigure(z*a,(te-b)*E,!1);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E));var lt=new go.PathFigure((z-b)*a,te*E,!1);return x.add(lt),be(ne),be(re),be(ge),be(ie),be(ue),be(Ce),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,a,E){var x=new go.Geometry,y=.375,b=0,z=-.125,te=y*de,ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E,(.5+te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,b=0,z=-.125,te=y*de;var ne=new go.PathFigure((1-.5+y+b)*a,(.5+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E,(.5+te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E,(.5-te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E));var ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);return x.add(ne),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,a,E){var x=ae?ae.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,a,E){var x=ae?ae.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,a,E){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new me("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new me("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=.3);var b=(1-x)*a,z=(.5-y/2)*E,te=(.5+y/2)*E,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=Ge(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),be(ge),ne}),go.Shape.setFigureParameter("Arrow2",0,new me("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new me("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var b=a-x,z=(E-y)/2,te=z+y,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=Ge(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),be(ge),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new me("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=Ge(0,.5,.3,0,0,y/E,.1,y/E,ee());return z.spot1=new go.Spot(ne.x,ne.y),ne=Ge(.7,1,1,.5,0,b/E,1,b/E,ne),z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new me("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new me("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close());var ie=Ge(0,.5,.3,te/E,0,b/E,1,b/E,ee());return re.spot1=new go.Spot(ie.x,ie.y),ie=Ge(.7,ne/E,1,.5,0,z/E,1,z/E,ie),re.spot2=new go.Spot(ie.x,ie.y),be(ie),re}),go.Shape.setFigureParameter("IBeamArrow",0,new me("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=Ge(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new me("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new me("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close()),re.spot1=new go.Spot(0,b/E);var ie=Ge(.7,ne/E,1,.5,0,z/E,1,z/E,ee());return re.spot2=new go.Spot(ie.x,ie.y),be(ie),re}),go.Shape.setFigureParameter("Pointer",0,new me("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var z=Ge(.2,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),be(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new me("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var z=Ge(0,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),be(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new me("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Ge(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new me("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,b=y+x;x>E&&(y=0,b=E);var z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=Ge(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new me("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,x*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=de*.1,z=new go.PathFigure(0,.9*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var b=new go.PathFigure(0,.9*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var b=new go.PathFigure(0,.3*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=de*.5,z=new go.PathFigure(0,x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,de*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+b)*a,0,1*a,de*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-de*x,(.5+b)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,1*E,0,E-de*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var te=new go.PathFigure(a,x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-de*x,(.5+b)*a,2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-b)*a,2*x,0,2*x-de*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=de*.5,z=new go.PathFigure(0,E-x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,de*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+b)*a,0,a,de*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-de*x,(.5+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,E,0,E-de*x));var te=new go.PathFigure(0,E-x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-de*x,(.5-b)*a,E-2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+b)*a,E-2*x,a,E-x-de*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=de*.5,z=new go.PathFigure(x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-de*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-de*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,de*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,de*x,0));var te=new go.PathFigure(x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+de*x,0,2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+b)*E,x+de*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=de*.5,z=new go.PathFigure(a-x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-de*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-de*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,de*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,de*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var te=new go.PathFigure(a-x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-de*x,0,a-2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+b)*E,a-x-de*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.25*a,.25*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ae,a,E){var x=new go.Geometry,y=.2,b=.1,z=de*y,te=de*b,ne=.5,re=.1,ge=new go.PathFigure(ne*a,(re+b)*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,re*E,(ne-z)*a,(re+b)*E,(ne-y)*a,(re+te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-b)*E,(ne-y)*a,(re-te)*E,(ne-z)*a,(re-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,re*E,(ne+z)*a,(re-b)*E,(ne+y)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+b)*E,(ne+y)*a,(re+te)*E,(ne+z)*a,(re+b)*E));var ie=.05,he=de*ie;ne=.05,re=.25;var ue=new go.PathFigure(.5*a,.2*E,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,re=.25,ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ie)*a,re*E,(ne+he)*a,(re-ie)*E,(ne+ie)*a,(re-he)*E)),ue.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),ie=.025,he=de*ie,ne=.825,re=.35,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne+ie)*a,(re-he)*E,(ne+he)*a,(re-ie)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,re*E,(ne-he)*a,(re-ie)*E,(ne-ie)*a,(re-he)*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),ie=.05,he=de*ie,ne=.5,re=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne+ie)*a,(re-he)*E,(ne+he)*a,(re-ie)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,re*E,(ne-he)*a,(re-ie)*E,(ne-ie)*a,(re-he)*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),ie=.025,he=de*ie,ne=.175,re=.35,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne+ie)*a,(re-he)*E,(ne+he)*a,(re-ie)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,re*E,(ne-he)*a,(re-ie)*E,(ne-ie)*a,(re-he)*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),ie=.05,he=de*ie,ne=.05,re=.25,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne-ie)*a,(re-he)*E,(ne-he)*a,(re-ie)*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new me("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var b=new go.PathFigure(.5*a,.5*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("Database",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=de*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+b)*E,(.5+y)*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+b)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=de*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var b=de*.2,z=new go.PathFigure(0,.2*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-b)*E,(.2-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+b)*a,0,a,(.2-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+b)*E,(.8+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-b)*a,E,0,(.8+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var te=new go.PathFigure(0,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(.1*a,.4*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.75*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var b=new go.PathFigure(a,.5*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Move,0,b*E)),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x}),go.Shape.defineFigureGenerator("Junction",function(ae,a,E){var x=new go.Geometry,y=1/Math.SQRT2,b=(1-1/Math.SQRT2)/2,z=de*.5,te=.5,ne=new go.PathFigure(a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,E,a,(te+z)*E,(te+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*E,(te-z)*a,E,0,(te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-z)*E,(te-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,te*E,(te+z)*a,0,a,(te-z)*E));var re=new go.PathFigure((b+y)*a,(b+y)*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,(b+y)*E)),re.add(new go.PathSegment(go.PathSegment.Line,(b+y)*a,b*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var b=new go.PathFigure(.1*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=.5,z=new go.PathFigure(.5*a,E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(b+.1)*a,.9*E,a,(b+y)*E,(b+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var b=new go.PathFigure(.1*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var b=new go.PathFigure(.2*a,.1*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=1-y,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var te=new go.PathFigure(.5*y*a,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x}),go.Shape.defineFigureGenerator("Process",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(0,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(y*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,b*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),x}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,E){var x=new go.Geometry,y=de*.1,b=.1,z=.9,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var re=new go.PathFigure((z+b)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=de*.4,z=de*.1,te=.1,ne=.9,re=.5,ge=new go.PathFigure(.8*a,.5*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+b)*E,(.4+y)*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-b)*E));var ie=new go.PathFigure((ne+te)*a,re*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+te)*E,(ne+te)*a,(re+z)*E,(ne+z)*a,(re+te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a,re*E,(ne-z)*a,(re+te)*E,(ne-te)*a,(re+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-te)*E,(ne-te)*a,(re-z)*E,(ne-z)*a,(re-te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a,re*E,(ne+z)*a,(re-te)*E,(ne+te)*a,(re-z)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=de*y,z=0,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=de*.1,z=.9,te=.5;var re=new go.PathFigure((z-y)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=de*y,z=0,te=.5,ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b+b)*a,(te-y)*E,.8*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(te+b)*E,(z+b+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=de*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.8*a,.5*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=de*.1,z=.9,te=.5;var ge=new go.PathFigure((z-y)*a,te*E,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=de*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.2*a,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b)*a,(te-y)*E,.9*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),x}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,E){var x=new go.Geometry,y=de*.1,b=.1,z=.1,te=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+b)*a,0,(z+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,E){var x=new go.Geometry,y=de*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure((z-b)*a,te*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-b+.1)*a,te*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b-.1)*a,te*E,z*a,(te-b)*E,z*a,(te+b)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Diode",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,E){var x=new go.Geometry,y=a,b=E;a=a*.38,E=E*.6;var z=de*.8,te=.8,ne=0,re=.5,ge=(y-a)/2,ie=(b-E)/2,he=new go.PathFigure(ne*a+ge,(re+te)*E+ie,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+ie,(ne-z)*a+ge,(re+te)*E+ie,(ne-te)*a+ge,(re+z)*E+ie)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne-te)*a+ge,(re-z)*E+ie,(ne-z)*a+ge,(re-te)*E+ie)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+ie,ne*a+ge,(re-te)*E+ie,(ne-te+z*.5)*a+ge,(re-z)*E+ie)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne-te+z*.5)*a+ge,(re+z)*E+ie,ne*a+ge,(re+te)*E+ie).close()),z=de*.4,te=.4,ne=.2,re=.5;var ue=new go.PathFigure(ne*a+ge,(re+te)*E+ie,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+ie,(ne-z)*a+ge,(re+te)*E+ie,(ne-te)*a+ge,(re+z)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne-te)*a+ge,(re-z)*E+ie,(ne-z)*a+ge,(re-te)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+ie,ne*a+ge,(re-te)*E+ie,(ne-te+z*.5)*a+ge,(re-z)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne-te+z*.5)*a+ge,(re+z)*E+ie,ne*a+ge,(re+te)*E+ie).close()),z=de*.2,te=.2,ne=.5,re=.5;var Ce=new go.PathFigure((ne-te)*a+ge,re*E+ie,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne-te)*a+ge,(re-z)*E+ie,(ne-z)*a+ge,(re-te)*E+ie)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+ie,(ne+z)*a+ge,(re-te)*E+ie,(ne+te)*a+ge,(re-z)*E+ie)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne+te)*a+ge,(re+z)*E+ie,(ne+z)*a+ge,(re+te)*E+ie)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+ie,(ne-z)*a+ge,(re+te)*E+ie,(ne-te)*a+ge,(re+z)*E+ie)),z=de*.4,te=.4,ne=.8,re=.5;var Ne=new go.PathFigure(ne*a+ge,(re-te)*E+ie,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+ie,(ne+z)*a+ge,(re-te)*E+ie,(ne+te)*a+ge,(re-z)*E+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne+te)*a+ge,(re+z)*E+ie,(ne+z)*a+ge,(re+te)*E+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+ie,ne*a+ge,(re+te)*E+ie,(ne+te-z*.5)*a+ge,(re+z)*E+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne+te-z*.5)*a+ge,(re-z)*E+ie,ne*a+ge,(re-te)*E+ie).close()),z=de*.8,te=.8,ne=1,re=.5;var lt=new go.PathFigure(ne*a+ge,(re-te)*E+ie,!0);return x.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+ie,(ne+z)*a+ge,(re-te)*E+ie,(ne+te)*a+ge,(re-z)*E+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne+te)*a+ge,(re+z)*E+ie,(ne+z)*a+ge,(re+te)*E+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+ie,ne*a+ge,(re+te)*E+ie,(ne+te-z*.5)*a+ge,(re+z)*E+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne+te-z*.5)*a+ge,(re-z)*E+ie,ne*a+ge,(re-te)*E+ie).close()),x}),go.Shape.defineFigureGenerator("Email",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var b=new go.PathFigure(.1*a,E,!0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var te=new go.PathFigure(0,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),te.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(ae,a,E){var x=new go.Geometry,y=de*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),ie=ee();Fe(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,ie);var he=oe(re.x,re.y),ue=new go.PathFigure(re.x*a,re.y*E,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),Fe(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,ie,re,ne,ne),ue.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E)),y=de*.3,b=.3,Fe(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,ie,re,ne,ne),ue.add(new go.PathSegment(go.PathSegment.Line,re.x*a,re.y*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,ie.x*a,ie.y*E,ge.x*a,ge.y*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),Fe(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,ie),ue.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ie.x*a,ie.y*E,ge.x*a,ge.y*E).close());var ue=new go.PathFigure(.45*a,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),be(ne),be(re),be(ge),be(ie),be(he),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function b(z,te,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*a,(.8+ne)*E).close())}return b(y,0,0),b(y,.4,0),b(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,E){var x=new go.Geometry,y=.5,b=0,z=0,te=y*de,ne=.4*Math.SQRT2/2+.5,re=.5-.5*Math.SQRT2/2,ge=1,ie=.5,he=.5,ue=0,Ce=new go.PathFigure(ne*a,(1-re)*E,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,ie*E,ge*a,.7*E,ge*a,ie*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(he+b)*a,(ue+b)*E,(.5+y+b)*a,(.5-te+b)*E,(.5+te+b)*a,(.5-y+b)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.35+b)*a,.9*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,.9*E)),Ce.add(new go.PathSegment(go.PathSegment.Move,(.25+b)*a,.8*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.35+b)*a,.9*E)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.2+b)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var b=new go.PathFigure(.45*a,.73*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),b.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),b.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(.335*a,(1-.555)*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),b.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,te=.5,ne=z,re=Math.PI/4,ge=4*(1-Math.cos(re))/(3*Math.sin(re)),ie=ge*.5,he=z,ue=z,Ce=ge*he,Ne=ge*ue;b.add(new go.PathSegment(go.PathSegment.Bezier,(te-he)*a,ne*E,(te-(Ce+he)/2)*a,(ne+(ue+Ne)/2)*E,(te-he)*a,(ne+Ne)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-ue)*E,(te-he)*a,(ne-Ne)*E,(te-Ce)*a,(ne-ue)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(te+he)*a,ne*E,(te+Ce)*a,(ne-ue)*E,(te+he)*a,(ne-Ne)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(te+he)*a,(ne+Ne)*E,(te+(Ce+he)/2)*a,(ne+(ue+Ne)/2)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var lt=new go.PathFigure(.2*a,E,!1);x.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var gt=new go.PathFigure(.8*a,E,!1);return x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var b=new go.PathFigure(.2*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(.1*a,E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var b=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-b)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,b*a,b*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),x}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var b=new go.PathFigure(.475*a,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),b.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,E){var x=new go.Geometry,y=.5,b=de*.5,z=new go.PathFigure(a,y*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+b)*E,(y+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-b)*a,E,0,(y+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-b)*E,(y-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+b)*a,0,a,(y-b)*E));var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,.15*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var b=new go.PathFigure(0,.2*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var b=new go.PathFigure(.15*a,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(a,.8*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,te=de*.1,ne=.2,re=.9,ge=new go.PathFigure((ne-z)*a,re*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),z=.1,te=de*.1,ne=.8,re=.9;var ie=new go.PathFigure((ne-z)*a,re*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),x}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var b=new go.PathFigure(0,.5*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var te=new go.PathFigure(.5*a,.7*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,re=de*.1,ge=.1,ie=.9,he=new go.PathFigure((ge-ne)*a,ie*E,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie-ne)*E,(ge-ne)*a,(ie-re)*E,(ge-re)*a,(ie-ne)*E)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,ie*E,(ge+re)*a,(ie-ne)*E,(ge+ne)*a,(ie-re)*E)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie+ne)*E,(ge+ne)*a,(ie+re)*E,(ge+re)*a,(ie+ne)*E)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,ie*E,(ge-re)*a,(ie+ne)*E,(ge-ne)*a,(ie+re)*E)),ne=.1,re=de*.1,ge=.4,ie=.9;var ue=new go.PathFigure((ge-ne)*a,ie*E,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie-ne)*E,(ge-ne)*a,(ie-re)*E,(ge-re)*a,(ie-ne)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,ie*E,(ge+re)*a,(ie-ne)*E,(ge+ne)*a,(ie-re)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie+ne)*E,(ge+ne)*a,(ie+re)*E,(ge+re)*a,(ie+ne)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,ie*E,(ge-re)*a,(ie+ne)*E,(ge-ne)*a,(ie+re)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var b=new go.PathFigure(.45*a,.7*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var ge=.05,ie=de*.05,he=.175,ue=.95,te=new go.PathFigure((he-ge)*a,ue*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue-ge)*E,(he-ge)*a,(ue-ie)*E,(he-ie)*a,(ue-ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,ue*E,(he+ie)*a,(ue-ge)*E,(he+ge)*a,(ue-ie)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue+ge)*E,(he+ge)*a,(ue+ie)*E,(he+ie)*a,(ue+ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,ue*E,(he-ie)*a,(ue+ge)*E,(he-ge)*a,(ue+ie)*E));var ge=.05,ie=de*.05,he=.375,ue=.95,ne=new go.PathFigure((he-ge)*a,ue*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue-ge)*E,(he-ge)*a,(ue-ie)*E,(he-ie)*a,(ue-ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,ue*E,(he+ie)*a,(ue-ge)*E,(he+ge)*a,(ue-ie)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue+ge)*E,(he+ge)*a,(ue+ie)*E,(he+ie)*a,(ue+ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,ue*E,(he-ie)*a,(ue+ge)*E,(he-ge)*a,(ue+ie)*E));var ge=.05,ie=de*.05,he=.625,ue=.95,re=new go.PathFigure((he-ge)*a,ue*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue-ge)*E,(he-ge)*a,(ue-ie)*E,(he-ie)*a,(ue-ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,ue*E,(he+ie)*a,(ue-ge)*E,(he+ge)*a,(ue-ie)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue+ge)*E,(he+ge)*a,(ue+ie)*E,(he+ie)*a,(ue+ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,ue*E,(he-ie)*a,(ue+ge)*E,(he-ge)*a,(ue+ie)*E));var ge=.05,ie=de*.05,he=.825,ue=.95,Ce=new go.PathFigure((he-ge)*a,ue*E,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue-ge)*E,(he-ge)*a,(ue-ie)*E,(he-ie)*a,(ue-ge)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,ue*E,(he+ie)*a,(ue-ge)*E,(he+ge)*a,(ue-ie)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ue+ge)*E,(he+ge)*a,(ue+ie)*E,(he+ie)*a,(ue+ge)*E)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,ue*E,(he-ie)*a,(ue+ge)*E,(he-ge)*a,(ue+ie)*E).close());var Ne=new go.PathFigure(0,E,!1);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var te=.05,ne=de*.05,re=.35,ge=.775,ie=new go.PathFigure((re-te)*a,ge*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge-te)*E,(re-te)*a,(ge-ne)*E,(re-ne)*a,(ge-te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ge*E,(re+ne)*a,(ge-te)*E,(re+te)*a,(ge-ne)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge+te)*E,(re+te)*a,(ge+ne)*E,(re+ne)*a,(ge+te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ge*E,(re-ne)*a,(ge+te)*E,(re-te)*a,(ge+ne)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Globe",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),x}),go.Shape.defineFigureGenerator("Wave",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),x}),go.Shape.defineFigureGenerator("Operator",function(ae,a,E){var x=new go.Geometry,y=.3,b=de*.3,z=.5,te=.7,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(0,.7*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var b=new go.PathFigure(0,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(ae,a,E){var x=new go.Geometry,y=.5,b=de*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(.15*a,.5*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),x}),go.Shape.defineFigureGenerator("Help",function(ae,a,E){var x=new go.Geometry,y=.5,b=de*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),y=.05,b=de*.05,z=.5,te=.8;var re=new go.PathFigure((z-y)*a,te*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),x}),go.Shape.defineFigureGenerator("Gear",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),x}),go.Shape.defineFigureGenerator("Map",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),x}),go.Shape.defineFigureGenerator("Eject",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var b=new go.PathFigure(0,E*.6,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var b=new go.PathFigure(.126*a,.85*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var te=new go.PathFigure(.678*a,.85*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var b=new go.PathFigure(a*.204,E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var te=new go.PathFigure(a*.612,E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var b=new go.PathFigure(a*.055,.07*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var te=new go.PathFigure(a*.055,.18*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),x}),go.Shape.defineFigureGenerator("Key",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var te=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,E){var x=new go.Geometry,y=8,b=y*de,z=new go.PathFigure(y,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,b,b,0).close());var te=new go.PathFigure(a*.83,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var re=new go.PathFigure(a*.78,E*.05,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*de,b=E*.8,z=new go.Geometry,te=new go.PathFigure(x,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,b-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,b,a,b-y,a-y,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),te.add(new go.PathSegment(go.PathSegment.Line,a*.55,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b-x,y,b,0,b-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var b=new go.PathFigure(a*1,E*.55,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var b=new go.PathFigure(a*.1,E*.2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,E){var x=new go.Geometry,y=15,b=y*de,z=new go.PathFigure(a*.62,E*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),b>1?(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.4,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.5,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var b=new go.PathFigure(a*.235,E*.28,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),b.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),b.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var me={},$e="5.0",oe={},ee=null,be=!1,Ge=!1,Fe=null,Ae=!1,Me=null,de=null,we=0;we4?parseFloat(Se):5};me.setHTML5Codebase=function(Se,Ee){de=Se,Ue(Se,Ee)},me.setJavaCodebase=me.setJavaCodebaseVersion=me.isCompiledInstalled=me.setPreCompiledScriptPath=me.setPreCompiledResourcePath=function(){},me.setHTML5CodebaseVersion=function(Se,Ee){var Qe=parseFloat(Se);if(Qe!==NaN&&Qe<5){console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead.");return}Me=Se,Re(Se,Ee)},me.getHTML5CodebaseVersion=function(){return ae},me.getParameters=function(){return oe},me.setFontsCSSURL=function(Se){z=Se},me.setGiacJSURL=function(Se){},me.setJNLPFile=function(Se){xe=Se},me.setJNLPBaseDir=function(Se){},me.inject=function(){function Se(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ee="auto",Qe=oe.id,it,Te=!1,at=0;at=5)return!0;var Se=me.getAppletObject();return Se&&typeof Se.recalculateEnvironments=="function"?(Se.recalculateEnvironments(),!0):!1},me.startAnimation=function(){var Se=me.getAppletObject();return Se&&typeof Se.startAnimation=="function"?(Se.startAnimation(),!0):!1},me.stopAnimation=function(){var Se=me.getAppletObject();return Se&&typeof Se.stopAnimation=="function"?(Se.stopAnimation(),!0):!1},me.getAppletObject=function(){var Se=oe.id!==void 0?oe.id:"ggbApplet";return window[Se]},me.resize=function(){};var Ce=function(Se,Ee,Qe){var it=document.createElement("param");it.setAttribute("name",Ee),it.setAttribute("value",Qe),Se.appendChild(it)},Ne=function(Se){return Se&&Se!=="false"},lt=function(Se,Ee,Qe){ne(ae)<=4.2&&(Qe=!0);var it=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(it=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Te=document.createElement("div");Te.classList.add("appletParameters","notranslate");var at=Ee.width,le=Ee.height;if(Ee.disableAutoScale=Ee.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ee.disableAutoScale,Ee.width!==void 0)if(ne(ae)<=4.4)Ne(Ee.showToolBar)&&(Ee.height-=7),Ne(Ee.showAlgebraInput)&&(Ee.height-=37),Ee.width<605&&Ne(Ee.showToolBar)&&(Ee.width=605,at=605);else{var fe=100;(Ne(Ee.showToolBar)||Ne(Ee.showMenuBar))&&(Ee.hasOwnProperty("customToolBar")&&(Ee.customToolbar=Ee.customToolBar),fe=Ne(Ee.showMenuBar)?245:155),at=5?(Ee.appletOnLoad=function(en){var sn=Se.querySelector(".ggb_preview");sn&&sn.parentNode.removeChild(sn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ve),window.GGBT_wsf_view&&$(window).trigger("resize"),et(en)},Lt||Ve.appendChild(It)):Te.appendChild(It),Ve.appendChild(Te),Lt||Se.appendChild(Ve),setTimeout(function(){me.resize()},1)}else{var vt=document.createElement("div");vt.className="applet_scaler",vt.style.position="relative",vt.style.display="block",vt.appendChild(Te),Se.appendChild(vt),Ee.appletOnLoad=function(en){me.resize(),et(en)}}function Qt(en,sn){sn&&typeof sn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(en,sn.appletOnLoad):renderGGBElement(en),Je("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",sn)}function Rt(en,sn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:en,params:sn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Tt){Qt(Tt.article,Tt.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(en.className+=" geogebraweb")):Qt(en,sn)}if(it){scriptLoadStarted=!0;for(var Ot=0;Ot0?(He.remove(),Ve.attr("id","fullscreencontent").show(),jQuery(et).append(Ve),window.dispatchEvent(new Event("resize"))):lt(He,Ee,!1),window.GGBT_wsf_view.launchFullScreen(et)}else De=it,lt(Se,Ee,!1);if(!window.GGBT_wsf_view)for(le=0;leSe/4*3&&(He=Se/4*3),et=He/5.8,fe.setAttribute("src",y),fe.setAttribute("width",He),fe.setAttribute("height",et);var Ve=(Se-He)/2,Lt=(Ee-et)/2;fe.style.left=Ve+"px",fe.style.top=Lt+"px",Te.appendChild(fe)}}return Te.appendChild(le),Te},Jt=function(Se){return Se=Se.toLowerCase(),Se==="html5"||Se==="screenshot"?Se:"html5"},Oe=["web","webSimple","web3d","tablet","tablet3d","phone"],Re=function(Se,Ee){if(ae=Se,Ee){Ue(ae,!0);return}var Qe=!be;if(Qe){var it=ne(ae);!isNaN(it)&&it<4.4&&(Qe=!1)}var Te,at;window.location.protocol.substr(0,4)==="http"?Te=window.location.protocol:Te="http:";var le=ae.indexOf("//");le>0?at=ae:le===0?at=Te+ae:at="https://www.geogebra.org/apps/5.2.814.0/";for(var fe in Oe)if(ae.slice(Oe[fe].length*-1)===Oe[fe]||ae.slice((Oe[fe].length+1)*-1)===Oe[fe]+"/"){Ue(at,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Qe&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!Ne(oe.showToolBar)&&!Ne(oe.showMenuBar)&&!Ne(oe.showAlgebraInput)&&!Ne(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?at+="webSimple/":at+="web3d/",Ue(at,!1)},Ue=function(Se,Ee){if(Se.requirejs){Ie=Se;return}Se.slice(-1)!=="/"&&(Se+="/"),Ie=Se,Ee===null&&(Ee=Se.indexOf("http")===-1),ke=Ee,a="web.nocache.js",E=!1;var Qe=Ie.split("/");Qe.length>1&&(!Ee&&Qe[Qe.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):Oe.indexOf(Qe[Qe.length-2])>=0&&(a=Qe[Qe.length-2]+".nocache.js")),Qe=Se.split("/"),ae=Qe[Qe.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var it=parseFloat(ae);it!==NaN&&it<5&&Se.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead."),Re("5.0",Ee))},Je=function(Se,Ee){window.console&&window.console.log&&(!Ee||typeof Ee.showLogging=="undefined"||Ee.showLogging&&Ee.showLogging!=="false")&&console.log(Se)};oe.material_id!==void 0?ie(ze):ze();function ze(){var Se=$e;Me!==null?Se=Me:parseFloat(Se)<5&&(Se="5.0"),Re(Se,!1),de!==null&&Ue(de,ke),Ae=!0}return me},GGBAppletUtils=function(){"use strict";function me(){return window.GGBT_wsf_edit!==void 0}function $e(Ae,Me){Me!=1?(Ae.style.transformOrigin="0% 0% 0px",Ae.style.webkitTransformOrigin="0% 0% 0px",Ae.style.transform="scale("+Me+","+Me+")",Ae.style.webkitTransform="scale("+Me+","+Me+")",Ae.style.maxWidth="initial",Ae.querySelector(".ggb_preview")!==null&&(Ae.querySelector(".ggb_preview").style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ae.style.transform="none",Ae.style.webkitTransform="none")}function oe(Ae,Me,de,we,ye,xe){var Ie=null;if(xe!=null&&xe!="")for(var ke=Ae.parentNode;ke!=null;)if((" "+ke.className+" ").indexOf(" "+xe+" ")>-1){Ie=ke;break}else ke=ke.parentNode;var De=0,ae=0,a=0,E=0,x=0,y=0,b=0;if(Ie)De=Ie.offsetWidth,ae=Math.max(we?Ie.offsetWidth:0,Ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(De=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=De):(De=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),Ae){var z=Ae.getBoundingClientRect();z.left>0&&z.left<=De&&(ye===void 0||!ye)&&(document.dir==="rtl"?(x=De-z.width-z.left,y=a<=480?10:30):(y=z.left,x=a<=480?10:30),E=y+x)}if(Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=Ae.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,b=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,b=40)}}return Ae&&((de===void 0||!de)&&Me>0&&Me+E1&&(xe=!0)),Me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))ye=ee(Ae,Me,xe,de,Ae.scaleContainerClass);else return we;return xe&&(!Ae.hasOwnProperty("scale")||we===1)?ye:Math.min(we,ye)}function Ge(Ae){var Me=Math.min(window.innerWidth,document.documentElement.clientWidth),de=Math.min(window.innerHeight,document.documentElement.clientHeight),we=Ae.getBoundingClientRect(),ye=(Me-we.width)/2,xe=(de-we.height)/2;xe<0&&(xe=0),Ae.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ye<40?Ae.style.left="40px":Ae.style.left=ye+"px",Ae.style.top=xe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(xe<40?Ae.style.top="40px":Ae.style.top=xe+"px",Ae.style.left=ye+"px")}function Fe(Ae,Me){var de=Ae.querySelector(".appletParameters");if(de){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Me.id!==de.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ae)}if(de.parentElement&&/fullscreen/.test(de.parentElement.className))return;var we=be(Me,Ae);me()&&de.setAttribute("data-param-scale",we);for(var ye=null,xe=0;xe=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(me){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(me){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(me){var $e=c[me];return $e==null?null:$e},r=d,webModule.__errFn=e}function B(){function me(Ae){var Me=Ae.lastIndexOf(rb);Me==-1&&(Me=Ae.length);var de=Ae.indexOf(sb);de==-1&&(de=Ae.length);var we=Ae.lastIndexOf(tb,Math.min(de,Me));return we>=O?Ae.substring(O,we+P):W}function $e(Ae){if(!Ae.match(/^\w+:\/\//)){var Me=o.createElement(ub);Me.src=Ae+vb,Ae=me(Me.src)}return Ae}function oe(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function ee(){for(var Ae=o.getElementsByTagName(_),Me=O;MeO?Ae[Ae.length-P].href:W}function Ge(){var Ae=o.location;return Ae.href==Ae.protocol+zb+Ae.host+Ae.pathname+Ae.search+Ae.hash}var Fe=oe();return Fe==W&&(Fe=ee()),Fe==W&&(Fe=be()),Fe==W&&Ge()&&(Fe=me(o.location.href)),Fe=$e(Fe),Fe}function C(me){return me.match(/^\//)||me.match(/^[a-zA-Z]+:\/\//)?me:webModule.__moduleBase+me}function D(){var me=[],$e=O,oe=[],ee=[];function be(Ae){var Me=ee[Ae](),de=oe[Ae];if(Me in de)return Me;var we=[];for(var ye in de)we[de[ye]]=ye;throw r&&r(Ae,we,Me),null}if(__gwt_isKnownPropertyValue=function(Ae,Me){return Me in oe[Ae]},webModule.__getPropMap=function(){var Ae={};for(var Me in oe)oe.hasOwnProperty(Me)&&(Ae[Me]=be(Me));return Ae},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ge;try{Ge=Cb;var Fe=Ge.indexOf(Db);Fe!=-1&&($e=parseInt(Ge.substring(Fe+P),$),Ge=Ge.substring(O,Fe))}catch(Ae){}return webModule.__softPermutationId=$e,C(Ge+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(me,$e,oe){"use strict";oe.d($e,{Ax:function(){return Fe},Ds:function(){return Ae},KI:function(){return de},SI:function(){return Ge},f1:function(){return be}});var ee=oe(78323);function be(we){let ye=!0;if(we.length>0){for(let xe=0;xeE in a?Ge(a,E,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[E]=x,xe=(a,E)=>{for(var x in E||(E={}))de.call(E,x)&&ye(a,x,E[x]);if(Me)for(var x of Me(E))we.call(E,x)&&ye(a,x,E[x]);return a},Ie=(a,E)=>Fe(a,Ae(E)),ke=(a,E)=>{var x={};for(var y in a)de.call(a,y)&&E.indexOf(y)<0&&(x[y]=a[y]);if(a!=null&&Me)for(var y of Me(a))E.indexOf(y)<0&&we.call(a,y)&&(x[y]=a[y]);return x},De=(a,E,x)=>new Promise((y,b)=>{var z=re=>{try{ne(x.next(re))}catch(ge){b(ge)}},te=re=>{try{ne(x.throw(re))}catch(ge){b(ge)}},ne=re=>re.done?y(re.value):Promise.resolve(re.value).then(z,te);ne((x=x.apply(a,E)).next())});const ae=a=>{var E=a,{children:x}=E,y=ke(E,["children"]);const[b,z]=(0,be.useState)(!1);return be.createElement(ee.ZP,Ie(xe({},y),{loading:b,onClick:te=>De(void 0,null,function*(){try{z(!0),yield y.onClick(te),z(!1)}catch(ne){console.error(ne),z(!1)}})}),x)}},12306:function(me,$e,oe){"use strict";var ee=oe(86204),be=oe.n(ee),Ge=Object.defineProperty,Fe=(we,ye,xe)=>ye in we?Ge(we,ye,{enumerable:!0,configurable:!0,writable:!0,value:xe}):we[ye]=xe,Ae=(we,ye,xe)=>Fe(we,typeof ye!="symbol"?ye+"":ye,xe),Me=(we,ye,xe)=>new Promise((Ie,ke)=>{var De=E=>{try{a(xe.next(E))}catch(x){ke(x)}},ae=E=>{try{a(xe.throw(E))}catch(x){ke(x)}},a=E=>E.done?Ie(E.value):Promise.resolve(E.value).then(De,ae);a((xe=xe.apply(we,ye)).next())});class de extends ee.EventEmitter{constructor(ye,xe){super(),Ae(this,"url"),Ae(this,"body"),Ae(this,"fullContent",""),Ae(this,"controller",null),Ae(this,"buffer",""),this.url=ye,this.body=xe}startStream(){return Me(this,null,function*(){this.controller=new AbortController;const{signal:ye}=this.controller;try{const xe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:ye});if(!xe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${xe.status}`);const Ie=xe.headers.get("content-type");if(!Ie)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ie.includes("application/json")){const ae=yield xe.json();this.emit("error",ae);return}if(!Ie.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ke=xe.body.getReader(),De=new TextDecoder("utf-8");for(;;){const{done:ae,value:a}=yield ke.read();if(ae)break;const E=De.decode(a,{stream:!0});this.buffer+=E;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const b=y.slice(5).trim();if(b==="[DONE]")break;try{const z=JSON.parse(b);z.data&&this.handleData(z.data)}catch(z){this.buffer=y+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(xe){xe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",xe.message)}})}handleData(ye){ye.content&&(this.fullContent+=ye.content,this.emit("data",{chunk:ye,full:this.fullContent}))}cancelRequest(){var ye;(ye=this.controller)==null||ye.abort()}}$e.Z=de},57593:function(me,$e,oe){"use strict";oe.d($e,{Z:function(){return Oe}});var ee=oe(59301),be=oe(97831),Ge=oe(66328),Fe=oe(3977),Ae=oe(18369),Me=oe(56102),de={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},we=oe(8591),ye=oe(11611),xe=oe(13058),Ie=oe(30084),ke=oe(10787),De=oe(79562),ae=oe(43428),a=oe(95237),E=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(95440),b=oe(16338),z=oe(75353),te=oe(59301),ne=(Re,Ue,Je)=>new Promise((ze,Se)=>{var Ee=Te=>{try{it(Je.next(Te))}catch(at){Se(at)}},Qe=Te=>{try{it(Je.throw(Te))}catch(at){Se(at)}},it=Te=>Te.done?ze(Te.value):Promise.resolve(Te.value).then(Ee,Qe);it((Je=Je.apply(Re,Ue)).next())});const re=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(xe){xe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",xe.message)}})}handleData(ye){ye.content&&(this.fullContent+=ye.content,this.emit("data",{chunk:ye,full:this.fullContent}))}cancelRequest(){var ye;(ye=this.controller)==null||ye.abort()}}$e.Z=de},57593:function(me,$e,oe){"use strict";oe.d($e,{Z:function(){return Oe}});var ee=oe(59301),be=oe(97831),Ge=oe(66328),Fe=oe(3977),Ae=oe(18369),Me=oe(56102),de={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},we=oe(8591),ye=oe(11611),xe=oe(55939),Ie=oe(30084),ke=oe(10787),De=oe(79562),ae=oe(43428),a=oe(95237),E=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(95440),b=oe(16338),z=oe(75353),te=oe(59301),ne=(Re,Ue,Je)=>new Promise((ze,Se)=>{var Ee=Te=>{try{it(Je.next(Te))}catch(at){Se(at)}},Qe=Te=>{try{it(Je.throw(Te))}catch(at){Se(at)}},it=Te=>Te.done?ze(Te.value):Promise.resolve(Te.value).then(Ee,Qe);it((Je=Je.apply(Re,Ue)).next())});const re=` diff --git a/p__tasks__Jupyter__index.681a9257.async.js b/p__tasks__Jupyter__index.85328514.async.js similarity index 99% rename from p__tasks__Jupyter__index.681a9257.async.js rename to p__tasks__Jupyter__index.85328514.async.js index c895e328b9..bd2b2ffa4a 100644 --- a/p__tasks__Jupyter__index.681a9257.async.js +++ b/p__tasks__Jupyter__index.85328514.async.js @@ -1,6 +1,6 @@ !(function(){var Ul=Object.defineProperty,Vl=Object.defineProperties;var Kl=Object.getOwnPropertyDescriptors;var ci=Object.getOwnPropertySymbols;var tl=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable;var el=(ee,F,t)=>F in ee?Ul(ee,F,{enumerable:!0,configurable:!0,writable:!0,value:t}):ee[F]=t,Fo=(ee,F)=>{for(var t in F||(F={}))tl.call(F,t)&&el(ee,t,F[t]);if(ci)for(var t of ci(F))nl.call(F,t)&&el(ee,t,F[t]);return ee},bi=(ee,F)=>Vl(ee,Kl(F));var rl=(ee,F)=>{var t={};for(var e in ee)tl.call(ee,e)&&F.indexOf(e)<0&&(t[e]=ee[e]);if(ee!=null&&ci)for(var e of ci(ee))F.indexOf(e)<0&&nl.call(ee,e)&&(t[e]=ee[e]);return t};(self.webpackChunk=self.webpackChunk||[]).push([[700],{40001:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},84105:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},18785:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},87169:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={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"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},73331:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},15277:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},61481:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},62772:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},76618:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},61485:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},47472:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},87395:function(ee,F,t){"use strict";t.d(F,{Z:function(){return p}});var e=t(54476),R=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},f=i,o=t(7657),g=function(A,b){return R.createElement(o.Z,(0,e.Z)({},A,{ref:b,icon:f}))},E=R.forwardRef(g),p=E},47114:function(ee,F){"use strict";F.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},70122:function(){"use strict"},14521:function(ee,F,t){"use strict";var e=t(59301),R=Object.defineProperty,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,g=(v,A,b)=>A in v?R(v,A,{enumerable:!0,configurable:!0,writable:!0,value:b}):v[A]=b,E=(v,A)=>{for(var b in A||(A={}))f.call(A,b)&&g(v,b,A[b]);if(i)for(var b of i(A))o.call(A,b)&&g(v,b,A[b]);return v};const p=v=>React.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},v),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));F.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},65774:function(ee,F,t){"use strict";var e=t(59301),R=Object.defineProperty,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,g=(v,A,b)=>A in v?R(v,A,{enumerable:!0,configurable:!0,writable:!0,value:b}):v[A]=b,E=(v,A)=>{for(var b in A||(A={}))f.call(A,b)&&g(v,b,A[b]);if(i)for(var b of i(A))o.call(A,b)&&g(v,b,A[b]);return v};const p=v=>React.createElement("svg",E({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},v),React.createElement("title",null,"\u7F16\u7EC4\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#D55",cx:18,cy:18,r:18}),React.createElement("path",{d:"M18 6a2.818 2.818 0 0 1 2.813 2.994l-.688 11.01a2.129 2.129 0 0 1-4.25 0l-.688-11.01A2.818 2.818 0 0 1 18 6Z",fill:"#172740"}),React.createElement("circle",{fill:"#172740",cx:18,cy:26.5,r:2.5})));F.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNENTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0xOCA2YTIuODE4IDIuODE4IDAgMCAxIDIuODEzIDIuOTk0bC0uNjg4IDExLjAxYTIuMTI5IDIuMTI5IDAgMCAxLTQuMjUgMGwtLjY4OC0xMS4wMUEyLjgxOCAyLjgxOCAwIDAgMSAxOCA2WiIgZmlsbD0iIzE3Mjc0MCIvPjxjaXJjbGUgZmlsbD0iIzE3Mjc0MCIgY3g9IjE4IiBjeT0iMjYuNSIgcj0iMi41Ii8+PC9nPjwvc3ZnPg=="},41473:function(ee,F,t){"use strict";var e=t(59301),R=Object.defineProperty,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,g=(v,A,b)=>A in v?R(v,A,{enumerable:!0,configurable:!0,writable:!0,value:b}):v[A]=b,E=(v,A)=>{for(var b in A||(A={}))f.call(A,b)&&g(v,b,A[b]);if(i)for(var b of i(A))o.call(A,b)&&g(v,b,A[b]);return v};const p=v=>React.createElement("svg",E({width:31,height:30,xmlns:"http://www.w3.org/2000/svg"},v),React.createElement("title",null,"\u7F16\u7EC4 7"),React.createElement("g",{transform:"translate(2 1)",fill:"none",fillRule:"evenodd"},React.createElement("circle",{stroke:"#D55",strokeWidth:2,cx:14,cy:14,r:14}),React.createElement("path",{d:"M14 5a2 2 0 0 1 2 2v8a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2Z",fill:"#D55"}),React.createElement("circle",{fill:"#D55",cx:14,cy:21,r:2})));F.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzEiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0iI0Q1NSIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMTQiIGN5PSIxNCIgcj0iMTQiLz48cGF0aCBkPSJNMTQgNWEyIDIgMCAwIDEgMiAydjhhMiAyIDAgMSAxLTQgMFY3YTIgMiAwIDAgMSAyLTJaIiBmaWxsPSIjRDU1Ii8+PGNpcmNsZSBmaWxsPSIjRDU1IiBjeD0iMTQiIGN5PSIyMSIgcj0iMiIvPjwvZz48L3N2Zz4="},57874:function(ee,F,t){"use strict";var e=t(59301),R=Object.defineProperty,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,g=(v,A,b)=>A in v?R(v,A,{enumerable:!0,configurable:!0,writable:!0,value:b}):v[A]=b,E=(v,A)=>{for(var b in A||(A={}))f.call(A,b)&&g(v,b,A[b]);if(i)for(var b of i(A))o.call(A,b)&&g(v,b,A[b]);return v};const p=v=>React.createElement("svg",E({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},v),React.createElement("title",null,"\u7F16\u7EC4"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#19CB70",cx:18,cy:18,r:18}),React.createElement("path",{stroke:"#172740",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",d:"M10 18.85 15.274 24 26 14"})));F.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiMxOUNCNzAiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIHN0cm9rZT0iIzE3Mjc0MCIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGQ9Ik0xMCAxOC44NSAxNS4yNzQgMjQgMjYgMTQiLz48L2c+PC9zdmc+"},92859:function(ee,F,t){"use strict";t.d(F,{G0:function(){return ae},JW:function(){return te},Jd:function(){return Oe},Kl:function(){return Y},L5:function(){return y},MH:function(){return X},MI:function(){return se},Qo:function(){return n},SO:function(){return L},Tf:function(){return U},VT:function(){return Ne},XO:function(){return d},Xy:function(){return H},Y0:function(){return me},Ye:function(){return ne},Yv:function(){return Qe},ZH:function(){return lt},am:function(){return vt},bD:function(){return Ie},eA:function(){return w},fA:function(){return xe},fY:function(){return x},g6:function(){return C},g7:function(){return Ae},gT:function(){return k},gn:function(){return Ye},h$:function(){return Je},hG:function(){return N},i8:function(){return Ee},j3:function(){return ue},lH:function(){return $e},li:function(){return S},n4:function(){return Z},pU:function(){return ze},qK:function(){return I},sA:function(){return Ke},sP:function(){return P},t$:function(){return Be},wj:function(){return K},zl:function(){return h}});var e=t(57193),R=t(63949),i=Object.defineProperty,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,E=(Q,z,le)=>z in Q?i(Q,z,{enumerable:!0,configurable:!0,writable:!0,value:le}):Q[z]=le,p=(Q,z)=>{for(var le in z||(z={}))o.call(z,le)&&E(Q,le,z[le]);if(f)for(var le of f(z))g.call(z,le)&&E(Q,le,z[le]);return Q},v=(Q,z,le)=>new Promise((fe,we)=>{var nt=Ge=>{try{gt(le.next(Ge))}catch(xt){we(xt)}},ge=Ge=>{try{gt(le.throw(Ge))}catch(xt){we(xt)}},gt=Ge=>Ge.done?fe(Ge.value):Promise.resolve(Ge.value).then(nt,ge);gt((le=le.apply(Q,z)).next())});const A=(0,R.oP)(),b={};A!=null&&A.homework_common_id&&(b.homework_common_id=A==null?void 0:A.homework_common_id),A!=null&&A.exercisesId&&(b.exercise_id=A==null?void 0:A.exercisesId),console.log(A,b,"urlParamsAll");function d(Q,z){return(0,e.U2)(`tasks/${Q}.json`,p(p({},z),b))}function C(Q,z={}){return(0,e.U2)(`myshixuns/${Q}/challenges.json`,p({},z))}function L(Q,z){return(0,e.U2)(`myshixuns/${Q}/subject_challenges.json`,z)}function y(Q,z,le){return(0,e.U2)(`tasks/${Q}/star.json`,{shixun_id:z,star:le})}function S(Q,z){return z.path&&(z.path=encodeURIComponent(z.path)),(0,e.U2)(`tasks/${Q}/rep_content.json`,p(p({},z),b))}function Z(Q,z){return(0,e.v_)(`myshixuns/${Q}/update_file.json`,p(p({},z),b))}function I(Q,z){return(0,e.U2)(`tasks/${Q}/reset_original_code.json`,p(p({},z),b))}function U(Q,z){return(0,e.v_)(`myshixuns/${Q}/reset_repository.json`,z)}function N(Q,z){return(0,e.U2)(`tasks/${Q}/reset_passed_code.json`,p(p({},z),b))}function H(Q,z){return(0,e.v_)(`tasks/${Q}/game_build.json`,p(p({},z),b))}function w(Q){return(0,e.ZP)("http://localhost:49352/api/game_build",{method:"post",body:Q})}function n(Q,z){return(0,e.U2)(`tasks/${Q}/game_status.json`,p(p({},z),b))}function h(Q,z){return(0,e.v_)(`tasks/${Q}/choose_build.json`,p(p({},z),b))}function x(Q){return(0,e.U2)(`myshixuns/${Q}/get_remaining_time.json`)}function k(Q){return(0,e.U2)(`tasks/${Q}/picture_display.json`,b)}function W(Q,z){return get(`courses/${Q}/inform_detail.json`,z)}function me(Q){return(0,e.v_)(`tasks/${Q}/plus_or_cancel_praise.json`)}function ze(Q,z={}){return(0,e.v_)(`myshixuns/${Q}/repository.json`,z)}function Ke(Q,z={}){return(0,e.U2)(`myshixuns/${Q}/start.json`,z)}function Ne(Q,z={}){return(0,e.v_)(`myshixuns/${Q}/force_delete_pod.json`,z)}function It(Q,z={}){return get(`myshixuns/${Q}/set_tpisession.json`,z)}function dt(Q){return get(`myshixuns/${Q}/reset_pod.json`)}function vt(Q,z){return(0,e.U2)(`myshixuns/${Q}/reset_pod.json`,z)}function Oe(Q,z){return(0,e.ZP)(`/api/tasks/${Q}/reboot_esc.json`,{method:"post",body:z})}function Be(Q){return(0,e.U2)(`tasks/${Q}/check_test_sets.json`)}function $e(Q){return(0,e.U2)(`tasks/${Q}/get_answer_info.json`)}function P(Q){return(0,e.U2)(`tasks/${Q}/get_choose_answer.json`)}function X(Q){return(0,e.U2)(`tasks/${Q}/unlock_choose_answer.json`)}function ue(Q,z){return(0,e.U2)(`tasks/${Q}/unlock_answer.json`,{answer_id:z})}function te(Q,z,le,fe){return(0,e.v_)(`tasks/${Q}/set_games_status.json`,p({result:z,data:le},fe||{}))}function Y(Q,z){return(0,e.U2)(`myshixuns/${Q}/active_pod.json`,z)}function Ee(Q,z){return(0,e.U2)(`tasks/${Q}/rank_list.json`,z)}function xe(Q,z){return(0,e.v_)(`tasks/${Q}/close_windows_vnc.json`,{tpi_id:z})}function lt(Q,z){return(0,e.U2)(`tasks/${Q}/commit_files.json`,z)}function Ye(Q,z){return(0,e.U2)(`tasks/${Q}/pull_files.json`,z)}function Je(Q,z){return(0,e.v_)(`tasks/${Q}/log_output`,z)}function Qe(Q,z){return(0,e.U2)(`tasks/${Q}/stop_log_output.json`,z)}function se(Q){return v(this,null,function*(){return(0,e.ZP)(`/api/myshixuns/${Q.id}/add_file.json`,{method:"post",body:Q})})}function Ie(Q){return v(this,null,function*(){return(0,e.ZP)(`/api/myshixuns/${Q.id}/delete_git_file.json`,{method:"Delete",body:Q})})}function Ae(Q){return v(this,null,function*(){return(0,e.ZP)(`/api/myshixuns/${Q.id}/mv_file.json`,{method:"post",body:Q})})}function We(Q){return v(this,null,function*(){return Q.path&&(Q.path=encodeURIComponent(Q.path)),Fetch(`/api/tasks/${Q.id}/rep_content.json`,{method:"get",params:Q})})}function ne(Q,z){return(0,e.ZP)(`/api/shixuns/${Q}/set_start_permanent.json`,{method:"put",body:z})}function K(Q){return v(this,null,function*(){return(0,e.ZP)("/api/myshixuns/wuying_record.json",{method:"get",params:Q})})}function ae(Q){return v(this,null,function*(){return(0,e.ZP)("/api/jupyters/save_with_wuying_tpi.json",{method:"Get",params:Q})})}},75353:function(ee,F,t){"use strict";t.d(F,{Z:function(){return L}});var e=t(3113),R=t(59301),i=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,v=(y,S,Z)=>S in y?i(y,S,{enumerable:!0,configurable:!0,writable:!0,value:Z}):y[S]=Z,A=(y,S)=>{for(var Z in S||(S={}))E.call(S,Z)&&v(y,Z,S[Z]);if(g)for(var Z of g(S))p.call(S,Z)&&v(y,Z,S[Z]);return y},b=(y,S)=>f(y,o(S)),d=(y,S)=>{var Z={};for(var I in y)E.call(y,I)&&S.indexOf(I)<0&&(Z[I]=y[I]);if(y!=null&&g)for(var I of g(y))S.indexOf(I)<0&&p.call(y,I)&&(Z[I]=y[I]);return Z},C=(y,S,Z)=>new Promise((I,U)=>{var N=n=>{try{w(Z.next(n))}catch(h){U(h)}},H=n=>{try{w(Z.throw(n))}catch(h){U(h)}},w=n=>n.done?I(n.value):Promise.resolve(n.value).then(N,H);w((Z=Z.apply(y,S)).next())});const L=y=>{var S=y,{children:Z}=S,I=d(S,["children"]);const[U,N]=(0,R.useState)(!1);return R.createElement(e.ZP,b(A({},I),{loading:U,onClick:H=>C(void 0,null,function*(){try{N(!0),yield I.onClick(H),N(!1)}catch(w){console.error(w),N(!1)}})}),Z)}},12306:function(ee,F,t){"use strict";var e=t(86204),R=t.n(e),i=Object.defineProperty,f=(p,v,A)=>v in p?i(p,v,{enumerable:!0,configurable:!0,writable:!0,value:A}):p[v]=A,o=(p,v,A)=>f(p,typeof v!="symbol"?v+"":v,A),g=(p,v,A)=>new Promise((b,d)=>{var C=S=>{try{y(A.next(S))}catch(Z){d(Z)}},L=S=>{try{y(A.throw(S))}catch(Z){d(Z)}},y=S=>S.done?b(S.value):Promise.resolve(S.value).then(C,L);y((A=A.apply(p,v)).next())});class E extends e.EventEmitter{constructor(v,A){super(),o(this,"url"),o(this,"body"),o(this,"fullContent",""),o(this,"controller",null),o(this,"buffer",""),this.url=v,this.body=A}startStream(){return g(this,null,function*(){this.controller=new AbortController;const{signal:v}=this.controller;try{const A=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:v});if(!A.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${A.status}`);const b=A.headers.get("content-type");if(!b)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(b.includes("application/json")){const L=yield A.json();this.emit("error",L);return}if(!b.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const d=A.body.getReader(),C=new TextDecoder("utf-8");for(;;){const{done:L,value:y}=yield d.read();if(L)break;const S=C.decode(y,{stream:!0});this.buffer+=S;const Z=this.buffer.split(` `);this.buffer=Z.pop()||"";for(const I of Z)if(I.startsWith("data:")){const U=I.slice(5).trim();if(U==="[DONE]")break;try{const N=JSON.parse(U);N.data&&this.handleData(N.data)}catch(N){this.buffer=I+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",N)}}}this.emit("done",this.fullContent)}catch(A){A.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",A.message)}})}handleData(v){v.content&&(this.fullContent+=v.content,this.emit("data",{chunk:v,full:this.fullContent}))}cancelRequest(){var v;(v=this.controller)==null||v.abort()}}F.Z=E},57593:function(ee,F,t){"use strict";t.d(F,{Z:function(){return $e}});var e=t(59301),R=t(97831),i=t(66328),f=t(3977),o=t(18369),g=t(56102),E={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},p=t(8591),v=t(11611),A=t(13058),b=t(30084),d=t(10787),C=t(79562),L=t(43428),y=t(95237),S=t(43604),Z={smartWrp:"smartWrp___NjRcB"},I=t(95440),U=t(16338),N=t(75353),H=t(59301),w=(P,X,ue)=>new Promise((te,Y)=>{var Ee=Ye=>{try{lt(ue.next(Ye))}catch(Je){Y(Je)}},xe=Ye=>{try{lt(ue.throw(Ye))}catch(Je){Y(Je)}},lt=Ye=>Ye.done?te(Ye.value):Promise.resolve(Ye.value).then(Ee,xe);lt((ue=ue.apply(P,X)).next())});const n=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",N)}}}this.emit("done",this.fullContent)}catch(A){A.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",A.message)}})}handleData(v){v.content&&(this.fullContent+=v.content,this.emit("data",{chunk:v,full:this.fullContent}))}cancelRequest(){var v;(v=this.controller)==null||v.abort()}}F.Z=E},57593:function(ee,F,t){"use strict";t.d(F,{Z:function(){return $e}});var e=t(59301),R=t(97831),i=t(66328),f=t(3977),o=t(18369),g=t(56102),E={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},p=t(8591),v=t(11611),A=t(55939),b=t(30084),d=t(10787),C=t(79562),L=t(43428),y=t(95237),S=t(43604),Z={smartWrp:"smartWrp___NjRcB"},I=t(95440),U=t(16338),N=t(75353),H=t(59301),w=(P,X,ue)=>new Promise((te,Y)=>{var Ee=Ye=>{try{lt(ue.next(Ye))}catch(Je){Y(Je)}},xe=Ye=>{try{lt(ue.throw(Ye))}catch(Je){Y(Je)}},lt=Ye=>Ye.done?te(Ye.value):Promise.resolve(Ye.value).then(Ee,xe);lt((ue=ue.apply(P,X)).next())});const n=` diff --git a/p__tasks__ThemeChange__index.2040a0cd.async.js b/p__tasks__ThemeChange__index.bd6e4749.async.js similarity index 99% rename from p__tasks__ThemeChange__index.2040a0cd.async.js rename to p__tasks__ThemeChange__index.bd6e4749.async.js index 27015ab32c..90a630c957 100644 --- a/p__tasks__ThemeChange__index.2040a0cd.async.js +++ b/p__tasks__ThemeChange__index.bd6e4749.async.js @@ -1,6 +1,6 @@ !(function(){var Ry=Object.defineProperty,Oy=Object.defineProperties;var jy=Object.getOwnPropertyDescriptors;var Mf=Object.getOwnPropertySymbols;var Hg=Object.prototype.hasOwnProperty,Yg=Object.prototype.propertyIsEnumerable;var Qg=(qt,Ze,ye)=>Ze in qt?Ry(qt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:ye}):qt[Ze]=ye,el=(qt,Ze)=>{for(var ye in Ze||(Ze={}))Hg.call(Ze,ye)&&Qg(qt,ye,Ze[ye]);if(Mf)for(var ye of Mf(Ze))Yg.call(Ze,ye)&&Qg(qt,ye,Ze[ye]);return qt},Yd=(qt,Ze)=>Oy(qt,jy(Ze));var rh=(qt,Ze)=>{var ye={};for(var he in qt)Hg.call(qt,he)&&Ze.indexOf(he)<0&&(ye[he]=qt[he]);if(qt!=null&&Mf)for(var he of Mf(qt))Ze.indexOf(he)<0&&Yg.call(qt,he)&&(ye[he]=qt[he]);return ye};(self.webpackChunk=self.webpackChunk||[]).push([[7289],{87169:function(qt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ae}});var he=ye(54476),ce=ye(59301),b={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"},ge=b,de=ye(7657),re=function(le,oe){return ce.createElement(de.Z,(0,he.Z)({},le,{ref:oe,icon:ge}))},ue=ce.forwardRef(re),ae=ue},61481:function(qt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ae}});var he=ye(54476),ce=ye(59301),b={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},ge=b,de=ye(7657),re=function(le,oe){return ce.createElement(de.Z,(0,he.Z)({},le,{ref:oe,icon:ge}))},ue=ce.forwardRef(re),ae=ue},76618:function(qt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ae}});var he=ye(54476),ce=ye(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},ge=b,de=ye(7657),re=function(le,oe){return ce.createElement(de.Z,(0,he.Z)({},le,{ref:oe,icon:ge}))},ue=ce.forwardRef(re),ae=ue},32050:function(qt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ae}});var he=ye(54476),ce=ye(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},ge=b,de=ye(7657),re=function(le,oe){return ce.createElement(de.Z,(0,he.Z)({},le,{ref:oe,icon:ge}))},ue=ce.forwardRef(re),ae=ue},31615:function(){"use strict"},27431:function(qt,Ze){"use strict";Ze.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},47114:function(qt,Ze){"use strict";Ze.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},70122:function(){"use strict"},26316:function(){"use strict"},14521:function(qt,Ze,ye){"use strict";var he=ye(59301),ce=Object.defineProperty,b=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,re=(ie,le,oe)=>le in ie?ce(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ie[le]=oe,ue=(ie,le)=>{for(var oe in le||(le={}))ge.call(le,oe)&&re(ie,oe,le[oe]);if(b)for(var oe of b(le))de.call(le,oe)&&re(ie,oe,le[oe]);return ie};const ae=ie=>React.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},ie),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));Ze.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},65774:function(qt,Ze,ye){"use strict";var he=ye(59301),ce=Object.defineProperty,b=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,re=(ie,le,oe)=>le in ie?ce(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ie[le]=oe,ue=(ie,le)=>{for(var oe in le||(le={}))ge.call(le,oe)&&re(ie,oe,le[oe]);if(b)for(var oe of b(le))de.call(le,oe)&&re(ie,oe,le[oe]);return ie};const ae=ie=>React.createElement("svg",ue({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#D55",cx:18,cy:18,r:18}),React.createElement("path",{d:"M18 6a2.818 2.818 0 0 1 2.813 2.994l-.688 11.01a2.129 2.129 0 0 1-4.25 0l-.688-11.01A2.818 2.818 0 0 1 18 6Z",fill:"#172740"}),React.createElement("circle",{fill:"#172740",cx:18,cy:26.5,r:2.5})));Ze.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNENTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0xOCA2YTIuODE4IDIuODE4IDAgMCAxIDIuODEzIDIuOTk0bC0uNjg4IDExLjAxYTIuMTI5IDIuMTI5IDAgMCAxLTQuMjUgMGwtLjY4OC0xMS4wMUEyLjgxOCAyLjgxOCAwIDAgMSAxOCA2WiIgZmlsbD0iIzE3Mjc0MCIvPjxjaXJjbGUgZmlsbD0iIzE3Mjc0MCIgY3g9IjE4IiBjeT0iMjYuNSIgcj0iMi41Ii8+PC9nPjwvc3ZnPg=="},41473:function(qt,Ze,ye){"use strict";var he=ye(59301),ce=Object.defineProperty,b=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,re=(ie,le,oe)=>le in ie?ce(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ie[le]=oe,ue=(ie,le)=>{for(var oe in le||(le={}))ge.call(le,oe)&&re(ie,oe,le[oe]);if(b)for(var oe of b(le))de.call(le,oe)&&re(ie,oe,le[oe]);return ie};const ae=ie=>React.createElement("svg",ue({width:31,height:30,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4 7"),React.createElement("g",{transform:"translate(2 1)",fill:"none",fillRule:"evenodd"},React.createElement("circle",{stroke:"#D55",strokeWidth:2,cx:14,cy:14,r:14}),React.createElement("path",{d:"M14 5a2 2 0 0 1 2 2v8a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2Z",fill:"#D55"}),React.createElement("circle",{fill:"#D55",cx:14,cy:21,r:2})));Ze.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzEiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0iI0Q1NSIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMTQiIGN5PSIxNCIgcj0iMTQiLz48cGF0aCBkPSJNMTQgNWEyIDIgMCAwIDEgMiAydjhhMiAyIDAgMSAxLTQgMFY3YTIgMiAwIDAgMSAyLTJaIiBmaWxsPSIjRDU1Ii8+PGNpcmNsZSBmaWxsPSIjRDU1IiBjeD0iMTQiIGN5PSIyMSIgcj0iMiIvPjwvZz48L3N2Zz4="},57874:function(qt,Ze,ye){"use strict";var he=ye(59301),ce=Object.defineProperty,b=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,re=(ie,le,oe)=>le in ie?ce(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ie[le]=oe,ue=(ie,le)=>{for(var oe in le||(le={}))ge.call(le,oe)&&re(ie,oe,le[oe]);if(b)for(var oe of b(le))de.call(le,oe)&&re(ie,oe,le[oe]);return ie};const ae=ie=>React.createElement("svg",ue({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#19CB70",cx:18,cy:18,r:18}),React.createElement("path",{stroke:"#172740",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",d:"M10 18.85 15.274 24 26 14"})));Ze.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiMxOUNCNzAiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIHN0cm9rZT0iIzE3Mjc0MCIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGQ9Ik0xMCAxOC44NSAxNS4yNzQgMjQgMjYgMTQiLz48L2c+PC9zdmc+"},87851:function(){"use strict";function qt(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(qt.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(qt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(qt.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(qt.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof qt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var Ze=[];function ye(z,a){var y=Ze.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function he(){var z=Ze.pop();return z===void 0?new go.Point:z}function ce(z){Ze.push(z)}function b(z,a,y,x,E,ee,te,fe,Ae){Ae||(Ae=new go.Point);var me=z-y,pe=E-te,ve=NaN,Ee=NaN;if(me===0)if(pe===0)z===y&&(ve=z,Ee=a);else{var Ce=(ee-fe)/pe,De=ee-Ce*E;ve=z,Ee=Ce*ve+De}else if(pe===0){var Ie=(a-x)/me,Qe=a-Ie*z;ve=E,Ee=Ie*ve+Qe}else{var Ie=(a-x)/me,Ce=(ee-fe)/pe,Qe=a-Ie*z,De=ee-Ce*E;ve=(De-Qe)/(Ie-Ce),Ee=Ie*ve+Qe}return Ae.x=ve,Ae.y=Ee,Ae}function ge(z,a,y,x,E,ee,te,fe,Ae,me,pe,ve,Ee,Ce){var De=1-Ae,Ie=Ae,Qe=z*De+y*Ie,Te=a*De+x*Ie,ze=y*De+E*Ie,Fe=x*De+ee*Ie,qe=E*De+te*Ie,Je=ee*De+fe*Ie,vt=Qe*De+ze*Ie,Ke=Te*De+Fe*Ie,lt=ze*De+qe*Ie,Ft=Fe*De+Je*Ie,Bt=vt*De+lt*Ie,kt=Ke*De+Ft*Ie;me.x=Qe,me.y=Te,pe.x=vt,pe.y=Ke,ve.x=Bt,ve.y=kt,Ee.x=lt,Ee.y=Ft,Ce.x=qe,Ce.y=Je}var de=new go.Spot(.156,.156),re=new go.Spot(.844,.844),ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new qt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*ue,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()));return E>1&&(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,1,-E,-E)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(z,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(z,a,y){var x=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return E.spot1=de,E.spot2=re,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ue*a,0,a,(1-ue)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ue*y,(1-ue)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ue*y,ue*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ue)*a,0,0,(1-ue)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new qt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var E=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a);var E=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(x=.5);var E=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):ee.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+fe,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,fe,fe).close())),ee.spot1=de,ee.spot2=re,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(z,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new qt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new qt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,E=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(E)&&(E=315);var ee=x%360;ee<0&&(ee+=360);var te=E%360,fe=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(fe,fe).add(new go.PathSegment(go.PathSegment.Arc,ee,te,fe,fe,fe,fe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=ue/Math.SQRT2*.5,E=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,ee*y,a,(1-x)*y,(E+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var E=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+E,0)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+E,0)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var ee=a/2,te=y/2,fe=Math.atan2(y,a),Ae=x-Math.min(Math.cos(fe)*x/2,ee),me=x-Math.min(Math.sin(fe)*x/2,te),E=new go.Geometry,pe=new go.PathFigure(Ae,0,!0);return E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a-Ae,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,me)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),pe.add(new go.PathSegment(go.PathSegment.Line,a,y-me)),pe.add(new go.PathSegment(go.PathSegment.Line,a-Ae,y)),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),pe.add(new go.PathSegment(go.PathSegment.Line,Ae,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y-me)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),pe.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new qt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new qt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var E=new go.Geometry,ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ue*a,0,a,(.5-ue/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ue/2)*y,ue*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,te=.3,fe=0,Ae=ee*ue;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+fe)*y,(.5-ee+te)*a,(.5+Ae+fe)*y,(.5-Ae+te)*a,(.5+ee+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+fe)*y,(.5+Ae+te)*a,(.5+ee+fe)*y,(.5+ee+te)*a,(.5+Ae+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+fe)*y,(1-.5+ee+te)*a,(.5-Ae+fe)*y,(.5+Ae+te)*a,(.5-ee+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-Ae+te)*a,(.5-ee+fe)*y,(.5-ee+te+.05)*a,(.5-Ae+fe-.02)*y)),ee=.2,te=0,fe=-.3,Ae=ee*ue,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+fe)*y,(.5+Ae+te)*a,(.5+ee+fe)*y,(.5+ee+te)*a,(.5+Ae+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+fe)*y,(1-.5+ee+te)*a,(.5-Ae+fe)*y,(.5+Ae+te)*a,(.5-ee+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+fe)*y,(.5-Ae+te)*a,(.5-ee+fe)*y,(.5-ee+te)*a,(.5-Ae+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Ae+te)*a,(.5+ee+fe)*y,(.5-ee+te)*a,(.5+Ae+fe)*y,(.5-Ae+te)*a,(.5+ee+fe)*y)),ee=.2,te=-.3,fe=0,Ae=ee*ue,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+fe)*y,(1-.5+ee+te-.05)*a,(.5-Ae+fe-.02)*y,(.5+Ae+te)*a,(.5-ee+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+fe)*y,(.5-Ae+te)*a,(.5-ee+fe)*y,(.5-ee+te)*a,(.5-Ae+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+fe)*y,(.5-ee+te)*a,(.5+Ae+fe)*y,(.5-Ae+te)*a,(.5+ee+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+Ae+te)*a,(.5+ee+fe)*y,(.5+ee+te)*a,(.5+Ae+fe)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,te=.5,fe=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*a,fe*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*fe,ee*a,ee*a).close()),E=new go.PathFigure(a*.5,0,!1),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),fe=.75,E=new go.PathFigure((te+ee)*a,fe*y,!0),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*fe,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,E=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,ee,E,ee)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,E,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=.5,te=.5,fe=.5,Ae=new go.PathFigure(te*a,(fe-ee)*y);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-ee)*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y)),ee=.4,E=ue*.4;var me=he(),pe=he(),ve=he(),Ee=he();ge(te,fe-ee,te+E,fe-ee,te+ee,fe-E,te+ee,fe,.42,me,pe,ve,Ee,Ee);var Ce=he(),De=he(),Ie=he();ge(te,fe-ee,te+E,fe-ee,te+ee,fe-E,te+ee,fe,.58,Ee,Ee,Ie,Ce,De);var Qe=he(),Te=he(),ze=he();ge(te,fe+ee,te-E,fe+ee,te-ee,fe+E,te-ee,fe,.42,Qe,Te,ze,Ee,Ee);var Fe=he(),qe=he(),Je=he();return ge(te,fe+ee,te-E,fe+ee,te-ee,fe+E,te-ee,fe,.58,Ee,Ee,Je,Fe,qe),Ae.add(new go.PathSegment(go.PathSegment.Move,Je.x*a,Je.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,Fe.x*a,Fe.y*y,qe.x*a,qe.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y,(te-E)*a,(fe-ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,me.x*a,me.y*y,pe.x*a,pe.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,Je.x*a,Je.y*y).close()),Ae.add(new go.PathSegment(go.PathSegment.Move,ze.x*a,ze.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,Ce.x*a,Ce.y*y,De.x*a,De.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y,(te+E)*a,(fe+ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ze.x*a,ze.y*y,Qe.x*a,Qe.y*y,Te.x*a,Te.y*y).close()),ce(me),ce(pe),ce(ve),ce(Ee),ce(Ce),ce(De),ce(Ie),ce(Qe),ce(Te),ce(ze),ce(Fe),ce(qe),ce(Je),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new qt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var E=(a-x)/2,ee=E+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(z,a,y){var x=new go.Geometry,E=ue*.4,ee=.4,te=.5,fe=.5,Ae=he(),me=he(),pe=he(),ve=he(),Ee=new go.PathFigure((te-ee)*a,fe*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y,(te-E)*a,(fe-ee)*y)),ge(te,fe-ee,te+E,fe-ee,te+ee,fe-E,te+ee,fe,.44,pe,ve,me,Ae,Ae),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y));var Ce=ye(me.x,me.y);ge(te,fe-ee,te+E,fe-ee,te+ee,fe-E,te+ee,fe,.56,Ae,Ae,me,pe,ve);var De=ye(me.x,me.y);Ee.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.95*.9)*a,Ce.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ce.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.9)*a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.9)*a,(De.y*.1+.05*.9)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,De.x*a,De.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y,(te+E)*a,(fe+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,(te-E)*a,(fe+ee)*y,(te-ee)*a,(fe+E)*y)),ee=.35,E=ue*.35;var Ie=new go.PathFigure(te*a,(fe-ee)*y,!1);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-ee)*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y));var Qe=new go.PathFigure((te-ee)*a,fe*y,!1);return x.add(Qe),ce(Ae),ce(me),ce(pe),ce(ve),ce(Ce),ce(De),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,E=.375,ee=0,te=-.125,fe=E*ue,Ae=new go.PathFigure((.525+ee)*a,(.5+E+te)*y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+ee)*a,(.5+te)*y,(.5+fe+ee)*a,(.5+E+te)*y,(.5+E+ee)*a,(.5+fe+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-E+te)*y,(1-.5+E+ee)*a,(.5-fe+te)*y,(.5+fe+ee)*a,(.5-E+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*a,(.5+te)*y,(.5-fe+ee)*a,(.5-E+te)*y,(.5-E+ee)*a,(.5-fe+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+E+te)*y,(.5-E+ee)*a,(.5+fe+te)*y,(.5-fe+ee)*a,(.5+E+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,ee=0,te=-.125,fe=E*ue;var Ae=new go.PathFigure((1-.5+E+ee)*a,(.5+te)*y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+E+te)*y,(.5+E+ee)*a,(.5+fe+te)*y,(.5+fe+ee)*a,(.5+E+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*a,(.5+te)*y,(.5-fe+ee)*a,(.5+E+te)*y,(.5-E+ee)*a,(.5+fe+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-E+te)*y,(.5-E+ee)*a,(.5-fe+te)*y,(.5-fe+ee)*a,(.5-E+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+ee)*a,(.5+te)*y,(.5+fe+ee)*a,(.5-E+te)*y,(1-.5+E+ee)*a,(.5-fe+te)*y));var Ae=new go.PathFigure((.525+ee)*a,(.5+E+te)*y,!1);return x.add(Ae),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(z,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new qt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new qt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var E=z?z.parameter2:NaN;isNaN(E)&&(E=.3);var ee=(1-x)*a,te=(.5-E/2)*y,fe=(.5+E/2)*y,Ae=new go.Geometry,me=new go.PathFigure(0,te,!0);Ae.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,te)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,ee,y)),me.add(new go.PathSegment(go.PathSegment.Line,ee,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),Ae.spot1=new go.Spot(0,te/y);var pe=b(0,fe/y,1,fe/y,ee/a,1,1,.5,he());return Ae.spot2=new go.Spot(pe.x,pe.y),ce(pe),Ae}),go.Shape.setFigureParameter("Arrow2",0,new qt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new qt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var E=z?z.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var ee=a-x,te=(y-E)/2,fe=te+E,Ae=new go.Geometry,me=new go.PathFigure(0,te,!0);Ae.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,te)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,ee,y)),me.add(new go.PathSegment(go.PathSegment.Line,ee,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),Ae.spot1=new go.Spot(0,te/y);var pe=b(0,fe/y,1,fe/y,ee/a,1,1,.5,he());return Ae.spot2=new go.Spot(pe.x,pe.y),ce(pe),Ae}),go.Shape.defineFigureGenerator("Chevron",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new qt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);te.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var Ae=b(0,.5,.3,0,0,E/y,.1,E/y,he());return te.spot1=new go.Spot(Ae.x,Ae.y),Ae=b(.7,1,1,.5,0,ee/y,1,ee/y,Ae),te.spot2=new go.Spot(Ae.x,Ae.y),ce(Ae),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new qt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new qt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var E=z?z.parameter2:NaN;isNaN(E)&&(E=100);var ee=(y-x)/2,te=ee+x,fe=(y-E)/2,Ae=fe+E;(x>y||E>y)&&(E>x?(x=x*y/E,ee=(y-x)/2,te=ee+x,fe=0,Ae=y):(ee=0,te=y,fe=0,Ae=y));var me=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);me.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,Ae)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,Ae)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe).close());var ve=b(0,.5,.3,fe/y,0,ee/y,1,ee/y,he());return me.spot1=new go.Spot(ve.x,ve.y),ve=b(.7,Ae/y,1,.5,0,te/y,1,te/y,ve),me.spot2=new go.Spot(ve.x,ve.y),ce(ve),me}),go.Shape.setFigureParameter("IBeamArrow",0,new qt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);te.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,E/y);var Ae=b(.7,1,1,.5,0,ee/y,1,ee/y,he());return te.spot2=new go.Spot(Ae.x,Ae.y),ce(Ae),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new qt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new qt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var E=z?z.parameter2:NaN;isNaN(E)&&(E=100);var ee=(y-x)/2,te=ee+x,fe=(y-E)/2,Ae=fe+E;(x>y||E>y)&&(E>x?(x=x*y/E,ee=(y-x)/2,te=ee+x,fe=0,Ae=y):(ee=0,te=y,fe=0,Ae=y));var me=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);me.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,Ae)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,Ae)),pe.add(new go.PathSegment(go.PathSegment.Line,0,Ae)),pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe).close()),me.spot1=new go.Spot(0,ee/y);var ve=b(.7,Ae/y,1,.5,0,te/y,1,te/y,he());return me.spot2=new go.Spot(ve.x,ve.y),ce(ve),me}),go.Shape.setFigureParameter("Pointer",0,new qt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var E=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(x,.35);var te=b(.2,.65,1,.65,0,1,1,.5,he());return E.spot2=new go.Spot(te.x,te.y),ce(te),E}),go.Shape.setFigureParameter("RoundedPointer",0,new qt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var E=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E.spot1=new go.Spot(x,.35);var te=b(0,.65,1,.65,0,1,1,.5,he());return E.spot2=new go.Spot(te.x,te.y),ce(te),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new qt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var E=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);te.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var Ae=b(.7,1,1,.5,0,ee/y,1,ee/y,he());return te.spot2=new go.Spot(Ae.x,Ae.y),ce(Ae),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new qt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var E=(y-x)/2,ee=E+x;x>y&&(E=0,ee=y);var te=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);te.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,E/y);var Ae=b(.7,1,1,.5,0,ee/y,1,ee/y,he());return te.spot2=new go.Spot(Ae.x,Ae.y),ce(Ae),te}),go.Shape.setFigureParameter("SquareArrow",0,new qt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var E=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(x,1),E}),go.Shape.defineFigureGenerator("Cone1",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=ue*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,ee=ue*.5,te=new go.PathFigure(0,x,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ue*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ue*x,(.5+ee)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ue*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var fe=new go.PathFigure(a,x,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ue*x,(.5+ee)*a,2*x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ue*x)),E.spot1=new go.Spot(0,0,0,2*x),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,ee=ue*.5,te=new go.PathFigure(0,y-x,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ue*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ue*x,(.5+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ue*x));var fe=new go.PathFigure(0,y-x,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ue*x,(.5-ee)*a,y-2*x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ue*x)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*x),E}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,ee=ue*.5,te=new go.PathFigure(x,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ue*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ue*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ue*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ue*x,0));var fe=new go.PathFigure(x,0,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ue*x,0,2*x,(.5-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ue*x,y)),E.spot1=new go.Spot(0,0,2*x,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,ee=ue*.5,te=new go.PathFigure(a-x,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ue*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ue*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ue*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ue*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var fe=new go.PathFigure(a-x,0,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ue*x,0,a-2*x,(.5-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ue*x,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*x,0),E}),go.Shape.defineFigureGenerator("Prism1",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,a,y){var x=new go.Geometry,E=.2,ee=.1,te=ue*E,fe=ue*ee,Ae=.5,me=.1,pe=new go.PathFigure(Ae*a,(me+ee)*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-E)*a,me*y,(Ae-te)*a,(me+ee)*y,(Ae-E)*a,(me+fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-ee)*y,(Ae-E)*a,(me-fe)*y,(Ae-te)*a,(me-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+E)*a,me*y,(Ae+te)*a,(me-ee)*y,(Ae+E)*a,(me-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me+ee)*y,(Ae+E)*a,(me+fe)*y,(Ae+te)*a,(me+ee)*y));var ve=.05,Ee=ue*ve;Ae=.05,me=.25;var Ce=new go.PathFigure(.5*a,.2*y,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),Ae=.95,me=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+ve)*a,me*y,(Ae+Ee)*a,(me-ve)*y,(Ae+ve)*a,(me-Ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ve=.025,Ee=ue*ve,Ae=.825,me=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-ve)*y,(Ae+ve)*a,(me-Ee)*y,(Ae+Ee)*a,(me-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-ve)*a,me*y,(Ae-Ee)*a,(me-ve)*y,(Ae-ve)*a,(me-Ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ve=.05,Ee=ue*ve,Ae=.5,me=.7,Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-ve)*y,(Ae+ve)*a,(me-Ee)*y,(Ae+Ee)*a,(me-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-ve)*a,me*y,(Ae-Ee)*a,(me-ve)*y,(Ae-ve)*a,(me-Ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ve=.025,Ee=ue*ve,Ae=.175,me=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-ve)*y,(Ae+ve)*a,(me-Ee)*y,(Ae+Ee)*a,(me-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-ve)*a,me*y,(Ae-Ee)*a,(me-ve)*y,(Ae-ve)*a,(me-Ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ve=.05,Ee=ue*ve,Ae=.05,me=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-ve)*y,(Ae-ve)*a,(me-Ee)*y,(Ae-Ee)*a,(me-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new qt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,ee=new go.PathFigure(a,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=new go.Spot(0,x),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=ue*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-ee)*y));var fe=new go.PathFigure(a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+E)*a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+E)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+E)*a,.4*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=ue*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-ee)*y));var fe=new go.PathFigure(a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+E)*a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+E)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var ee=ue*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var fe=new go.PathFigure(0,E*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var fe=new go.PathFigure(E*a,0,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),fe.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,E=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=ue*.5,fe=.5,Ae=new go.PathFigure(a,fe*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,y,a,(fe+te)*y,(fe+te)*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,fe*y,(fe-te)*a,y,0,(fe+te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,0,0,(fe-te)*y,(fe-te)*a,0)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,a,fe*y,(fe+te)*a,0,a,(fe-te)*y));var me=new go.PathFigure((ee+E)*a,(ee+E)*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),me.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+E)*y)),me.add(new go.PathSegment(go.PathSegment.Line,(ee+E)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-E)*a,y,0,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-E)*y,(ee-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+E)*a,0,a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+E)*y,(ee+E)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.1);var ee=1-E,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var fe=new go.PathFigure(.5*E*a,E*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+E)*y,(ee+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-E)*a,y,0,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-E)*y,(ee-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+E)*a,0,a,(ee-E)*y));var fe=new go.PathFigure(a,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-E)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.25);var ee=new go.PathFigure(E*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),x.spot1=new go.Spot(E,0),x.spot2=new go.Spot(1-E,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(z,a,y){var x=new go.Geometry,E=z?z.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+E)*y,(ee+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-E)*a,y,0,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-E)*y,(ee-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+E)*a,0,a,(ee-E)*y));var fe=new go.PathFigure(a,ee*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var Ae=new go.PathFigure(.8*a,.75*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(z,a,y){var x=new go.Geometry,E=ue*.1,ee=.1,te=.9,fe=.5,Ae=new go.PathFigure(.8*a,.5*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var me=new go.PathFigure((te+ee)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y,(te+E)*a,(fe+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,(te-E)*a,(fe+ee)*y,(te-ee)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y,(te-E)*a,(fe-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,(te+E)*a,(fe-ee)*y,(te+ee)*a,(fe-E)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=ue*.4,te=ue*.1,fe=.1,Ae=.9,me=.5,pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+E)*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-ee)*y));var ve=new go.PathFigure((Ae+fe)*a,me*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me+fe)*y,(Ae+fe)*a,(me+te)*y,(Ae+te)*a,(me+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-fe)*a,me*y,(Ae-te)*a,(me+fe)*y,(Ae-fe)*a,(me+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-fe)*y,(Ae-fe)*a,(me-te)*y,(Ae-te)*a,(me-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+fe)*a,me*y,(Ae+te)*a,(me-fe)*y,(Ae+fe)*a,(me-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,E=.5,ee=ue*E,te=0,fe=.5,Ae=new go.PathFigure(.8*a,.5*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(fe-E)*y,.7*a,(fe-ee)*y)),E=.1,ee=ue*.1,te=.9,fe=.5;var me=new go.PathFigure((te-E)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-E)*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,fe*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+E)*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,fe*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,E=.5,ee=ue*E,te=0,fe=.5,Ae=new go.PathFigure(0,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee+ee)*a,(fe-E)*y,.8*a,(fe-ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(fe+ee)*y,(te+ee+ee)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,a,y){var x=new go.Geometry,E=.5,ee=ue*E,te=.2,fe=.5,Ae=new go.PathFigure(.1*a,0,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(fe-E)*y,.7*a,(fe-ee)*y)),E=.1,ee=ue*.1,te=.9,fe=.5;var pe=new go.PathFigure((te-E)*a,fe*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-E)*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,fe*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+E)*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,fe*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,E=.5,ee=ue*E,te=.2,fe=.5,Ae=new go.PathFigure(.1*a,0,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.2*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee)*a,(fe-E)*y,.9*a,(fe-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(z,a,y){var x=new go.Geometry,E=ue*.1,ee=.1,te=.1,fe=.5,Ae=new go.PathFigure((te-E*.5)*a,y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.3,Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+E)*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.5,Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+E)*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+E)*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.9,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E*.5)*a,y,(te+ee)*a,0,(te+E)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,E=ue*.5,ee=.5,te=.5,fe=.5,Ae=new go.PathFigure((te-ee)*a,fe*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y,(te-E)*a,(fe-ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,(te+E)*a,(fe-ee)*y,(te+ee)*a,(fe-E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y,(te+E)*a,(fe+ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,(te-E)*a,(fe+ee)*y,(te-ee)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*a,fe*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*a,fe*y,te*a,(fe-ee)*y,te*a,(fe+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(z,a,y){var x=new go.Geometry,E=a,ee=y;a=a*.38,y=y*.6;var te=ue*.8,fe=.8,Ae=0,me=.5,pe=(E-a)/2,ve=(ee-y)/2,Ee=new go.PathFigure(Ae*a+pe,(me+fe)*y+ve,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-fe)*a+pe,me*y+ve,(Ae-te)*a+pe,(me+fe)*y+ve,(Ae-fe)*a+pe,(me+te)*y+ve)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me-fe)*y+ve,(Ae-fe)*a+pe,(me-te)*y+ve,(Ae-te)*a+pe,(me-fe)*y+ve)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-fe+te*.5)*a+pe,me*y+ve,Ae*a+pe,(me-fe)*y+ve,(Ae-fe+te*.5)*a+pe,(me-te)*y+ve)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me+fe)*y+ve,(Ae-fe+te*.5)*a+pe,(me+te)*y+ve,Ae*a+pe,(me+fe)*y+ve).close()),te=ue*.4,fe=.4,Ae=.2,me=.5;var Ce=new go.PathFigure(Ae*a+pe,(me+fe)*y+ve,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-fe)*a+pe,me*y+ve,(Ae-te)*a+pe,(me+fe)*y+ve,(Ae-fe)*a+pe,(me+te)*y+ve)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me-fe)*y+ve,(Ae-fe)*a+pe,(me-te)*y+ve,(Ae-te)*a+pe,(me-fe)*y+ve)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-fe+te*.5)*a+pe,me*y+ve,Ae*a+pe,(me-fe)*y+ve,(Ae-fe+te*.5)*a+pe,(me-te)*y+ve)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me+fe)*y+ve,(Ae-fe+te*.5)*a+pe,(me+te)*y+ve,Ae*a+pe,(me+fe)*y+ve).close()),te=ue*.2,fe=.2,Ae=.5,me=.5;var De=new go.PathFigure((Ae-fe)*a+pe,me*y+ve,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me-fe)*y+ve,(Ae-fe)*a+pe,(me-te)*y+ve,(Ae-te)*a+pe,(me-fe)*y+ve)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+fe)*a+pe,me*y+ve,(Ae+te)*a+pe,(me-fe)*y+ve,(Ae+fe)*a+pe,(me-te)*y+ve)),De.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me+fe)*y+ve,(Ae+fe)*a+pe,(me+te)*y+ve,(Ae+te)*a+pe,(me+fe)*y+ve)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-fe)*a+pe,me*y+ve,(Ae-te)*a+pe,(me+fe)*y+ve,(Ae-fe)*a+pe,(me+te)*y+ve)),te=ue*.4,fe=.4,Ae=.8,me=.5;var Ie=new go.PathFigure(Ae*a+pe,(me-fe)*y+ve,!0);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+fe)*a+pe,me*y+ve,(Ae+te)*a+pe,(me-fe)*y+ve,(Ae+fe)*a+pe,(me-te)*y+ve)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me+fe)*y+ve,(Ae+fe)*a+pe,(me+te)*y+ve,(Ae+te)*a+pe,(me+fe)*y+ve)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+fe-te*.5)*a+pe,me*y+ve,Ae*a+pe,(me+fe)*y+ve,(Ae+fe-te*.5)*a+pe,(me+te)*y+ve)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me-fe)*y+ve,(Ae+fe-te*.5)*a+pe,(me-te)*y+ve,Ae*a+pe,(me-fe)*y+ve).close()),te=ue*.8,fe=.8,Ae=1,me=.5;var Qe=new go.PathFigure(Ae*a+pe,(me-fe)*y+ve,!0);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+fe)*a+pe,me*y+ve,(Ae+te)*a+pe,(me-fe)*y+ve,(Ae+fe)*a+pe,(me-te)*y+ve)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me+fe)*y+ve,(Ae+fe)*a+pe,(me+te)*y+ve,(Ae+te)*a+pe,(me+fe)*y+ve)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+fe-te*.5)*a+pe,me*y+ve,Ae*a+pe,(me+fe)*y+ve,(Ae+fe-te*.5)*a+pe,(me+te)*y+ve)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a+pe,(me-fe)*y+ve,(Ae+fe-te*.5)*a+pe,(me-te)*y+ve,Ae*a+pe,(me-fe)*y+ve).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var fe=new go.PathFigure(0,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,E=ue*.4,ee=.4,te=.5,fe=.5,Ae=he(),me=he(),pe=he(),ve=he();ge(te,fe-ee,te+E,fe-ee,te+ee,fe-E,te+ee,fe,.5,Ae,Ae,me,pe,ve);var Ee=ye(me.x,me.y),Ce=new go.PathFigure(me.x*a,me.y*y,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y,(te+E)*a,(fe+ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,(te-E)*a,(fe+ee)*y,(te-ee)*a,(fe+E)*y)),ge(te-ee,fe,te-ee,fe-E,te-E,fe-ee,te,fe-ee,.5,pe,ve,me,Ae,Ae),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y)),E=ue*.3,ee=.3,ge(te-ee,fe,te-ee,fe-E,te-E,fe-ee,te,fe-ee,.5,pe,ve,me,Ae,Ae),Ce.add(new go.PathSegment(go.PathSegment.Line,me.x*a,me.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,fe*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+ee)*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,fe*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),ge(te,fe-ee,te+E,fe-ee,te+ee,fe-E,te+ee,fe,.5,Ae,Ae,me,pe,ve),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y).close());var Ce=new go.PathFigure(.45*a,0,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ce(Ae),ce(me),ce(pe),ce(ve),ce(Ee),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y/2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(te,fe,Ae){te.add(new go.PathSegment(go.PathSegment.Move,(.3+fe)*a,(.8+Ae)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+fe)*a,(.5+Ae)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+fe)*a,(.5+Ae)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+fe)*a,(.8+Ae)*y).close())}return ee(E,0,0),ee(E,.4,0),ee(E,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(z,a,y){var x=new go.Geometry,E=.5,ee=0,te=0,fe=E*ue,Ae=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,pe=1,ve=.5,Ee=.5,Ce=0,De=new go.PathFigure(Ae*a,(1-me)*y,!1);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,ve*y,pe*a,.7*y,pe*a,ve*y)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ee)*a,(Ce+ee)*y,(.5+E+ee)*a,(.5-fe+ee)*y,(.5+fe+ee)*a,(.5-E+ee)*y)),De.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*a,(.5+te)*y,(.5-fe+ee)*a,(.5-E+te)*y,(.5-E+ee)*a,(.5-fe+te)*y)),De.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-E+ee)*a,(.5+fe+te)*y,(.5-fe+ee)*a,.9*y)),De.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),De.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),De.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,fe=.5,Ae=te,me=Math.PI/4,pe=4*(1-Math.cos(me))/(3*Math.sin(me)),ve=pe*.5,Ee=te,Ce=te,De=pe*Ee,Ie=pe*Ce;ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe-Ee)*a,Ae*y,(fe-(De+Ee)/2)*a,(Ae+(Ce+Ie)/2)*y,(fe-Ee)*a,(Ae+Ie)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Ae-Ce)*y,(fe-Ee)*a,(Ae-Ie)*y,(fe-De)*a,(Ae-Ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe+Ee)*a,Ae*y,(fe+De)*a,(Ae-Ce)*y,(fe+Ee)*a,(Ae-Ie)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(fe+Ee)*a,(Ae+Ie)*y,(fe+(De+Ee)/2)*a,(Ae+(Ce+Ie)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Qe=new go.PathFigure(.2*a,y,!1);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Te=new go.PathFigure(.8*a,y,!1);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,E=.5,ee=ue*.5,te=new go.PathFigure(a,E*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+ee)*y,(E+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-ee)*a,y,0,(E+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-ee)*y,(E-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+ee)*a,0,a,(E-ee)*y));var fe=new go.PathFigure(E*a,0,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,fe=ue*.1,Ae=.2,me=.9,pe=new go.PathFigure((Ae-te)*a,me*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-te)*y,(Ae-te)*a,(me-fe)*y,(Ae-fe)*a,(me-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+te)*a,me*y,(Ae+fe)*a,(me-te)*y,(Ae+te)*a,(me-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me+te)*y,(Ae+te)*a,(me+fe)*y,(Ae+fe)*a,(me+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-te)*a,me*y,(Ae-fe)*a,(me+te)*y,(Ae-te)*a,(me+fe)*y).close()),te=.1,fe=ue*.1,Ae=.8,me=.9;var ve=new go.PathFigure((Ae-te)*a,me*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me-te)*y,(Ae-te)*a,(me-fe)*y,(Ae-fe)*a,(me-te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+te)*a,me*y,(Ae+fe)*a,(me-te)*y,(Ae+te)*a,(me-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(me+te)*y,(Ae+te)*a,(me+fe)*y,(Ae+fe)*a,(me+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-te)*a,me*y,(Ae-fe)*a,(me+te)*y,(Ae-te)*a,(me+fe)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var fe=new go.PathFigure(.5*a,.7*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var Ae=.1,me=ue*.1,pe=.1,ve=.9,Ee=new go.PathFigure((pe-Ae)*a,ve*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ve-Ae)*y,(pe-Ae)*a,(ve-me)*y,(pe-me)*a,(ve-Ae)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe+Ae)*a,ve*y,(pe+me)*a,(ve-Ae)*y,(pe+Ae)*a,(ve-me)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ve+Ae)*y,(pe+Ae)*a,(ve+me)*y,(pe+me)*a,(ve+Ae)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe-Ae)*a,ve*y,(pe-me)*a,(ve+Ae)*y,(pe-Ae)*a,(ve+me)*y)),Ae=.1,me=ue*.1,pe=.4,ve=.9;var Ce=new go.PathFigure((pe-Ae)*a,ve*y,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ve-Ae)*y,(pe-Ae)*a,(ve-me)*y,(pe-me)*a,(ve-Ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe+Ae)*a,ve*y,(pe+me)*a,(ve-Ae)*y,(pe+Ae)*a,(ve-me)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ve+Ae)*y,(pe+Ae)*a,(ve+me)*y,(pe+me)*a,(ve+Ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe-Ae)*a,ve*y,(pe-me)*a,(ve+Ae)*y,(pe-Ae)*a,(ve+me)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var pe=.05,ve=ue*.05,Ee=.175,Ce=.95,fe=new go.PathFigure((Ee-pe)*a,Ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce-pe)*y,(Ee-pe)*a,(Ce-ve)*y,(Ee-ve)*a,(Ce-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+pe)*a,Ce*y,(Ee+ve)*a,(Ce-pe)*y,(Ee+pe)*a,(Ce-ve)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce+pe)*y,(Ee+pe)*a,(Ce+ve)*y,(Ee+ve)*a,(Ce+pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-pe)*a,Ce*y,(Ee-ve)*a,(Ce+pe)*y,(Ee-pe)*a,(Ce+ve)*y));var pe=.05,ve=ue*.05,Ee=.375,Ce=.95,Ae=new go.PathFigure((Ee-pe)*a,Ce*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce-pe)*y,(Ee-pe)*a,(Ce-ve)*y,(Ee-ve)*a,(Ce-pe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+pe)*a,Ce*y,(Ee+ve)*a,(Ce-pe)*y,(Ee+pe)*a,(Ce-ve)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce+pe)*y,(Ee+pe)*a,(Ce+ve)*y,(Ee+ve)*a,(Ce+pe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-pe)*a,Ce*y,(Ee-ve)*a,(Ce+pe)*y,(Ee-pe)*a,(Ce+ve)*y));var pe=.05,ve=ue*.05,Ee=.625,Ce=.95,me=new go.PathFigure((Ee-pe)*a,Ce*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce-pe)*y,(Ee-pe)*a,(Ce-ve)*y,(Ee-ve)*a,(Ce-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+pe)*a,Ce*y,(Ee+ve)*a,(Ce-pe)*y,(Ee+pe)*a,(Ce-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce+pe)*y,(Ee+pe)*a,(Ce+ve)*y,(Ee+ve)*a,(Ce+pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-pe)*a,Ce*y,(Ee-ve)*a,(Ce+pe)*y,(Ee-pe)*a,(Ce+ve)*y));var pe=.05,ve=ue*.05,Ee=.825,Ce=.95,De=new go.PathFigure((Ee-pe)*a,Ce*y,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce-pe)*y,(Ee-pe)*a,(Ce-ve)*y,(Ee-ve)*a,(Ce-pe)*y)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+pe)*a,Ce*y,(Ee+ve)*a,(Ce-pe)*y,(Ee+pe)*a,(Ce-ve)*y)),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(Ce+pe)*y,(Ee+pe)*a,(Ce+ve)*y,(Ee+ve)*a,(Ce+pe)*y)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-pe)*a,Ce*y,(Ee-ve)*a,(Ce+pe)*y,(Ee-pe)*a,(Ce+ve)*y).close());var Ie=new go.PathFigure(0,y,!1);return x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var fe=.05,Ae=ue*.05,me=.35,pe=.775,ve=new go.PathFigure((me-fe)*a,pe*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(pe-fe)*y,(me-fe)*a,(pe-Ae)*y,(me-Ae)*a,(pe-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a,pe*y,(me+Ae)*a,(pe-fe)*y,(me+fe)*a,(pe-Ae)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(pe+fe)*y,(me+fe)*a,(pe+Ae)*y,(me+Ae)*a,(pe+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a,pe*y,(me-Ae)*a,(pe+fe)*y,(me-fe)*a,(pe+Ae)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(z,a,y){var x=new go.Geometry,E=.3,ee=ue*.3,te=.5,fe=.7,Ae=new go.PathFigure((te-E)*a,fe*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-E)*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,fe*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+E)*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,fe*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y));var me=new go.PathFigure(0,.7*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,E=.5,ee=ue*.5,te=.5,fe=.5,Ae=new go.PathFigure((te-E)*a,fe*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-E)*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,fe*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+E)*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,fe*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y));var me=new go.PathFigure(.15*a,.5*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(z,a,y){var x=new go.Geometry,E=.5,ee=ue*.5,te=.5,fe=.5,Ae=new go.PathFigure((te-E)*a,fe*y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-E)*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,fe*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+E)*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,fe*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y).close()),E=.05,ee=ue*.05,te=.5,fe=.8;var me=new go.PathFigure((te-E)*a,fe*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe-E)*y,(te-E)*a,(fe-ee)*y,(te-ee)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,fe*y,(te+ee)*a,(fe-E)*y,(te+E)*a,(fe-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(fe+E)*y,(te+E)*a,(fe+ee)*y,(te+ee)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,fe*y,(te-ee)*a,(fe+E)*y,(te-E)*a,(fe+ee)*y).close()),me.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var fe=new go.PathFigure(.678*a,.85*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var Ae=new go.PathFigure(.5*a,.1*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var fe=new go.PathFigure(a*.612,y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),fe.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var Ae=new go.PathFigure(a*.816,y,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),Ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),Ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var fe=new go.PathFigure(a*.055,.18*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var Ae=new go.PathFigure(a*1,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var Ae=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,E=8,ee=E*ue,te=new go.PathFigure(E,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,ee,ee,0).close());var fe=new go.PathFigure(a*.83,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var Ae=new go.PathFigure(a*.83,y*1,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var me=new go.PathFigure(a*.78,y*.05,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),me.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*ue,ee=y*.8,te=new go.Geometry,fe=new go.PathFigure(x,0,!0);return te.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-E,a-E,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,E,ee,0,ee-E)),fe.add(new go.PathSegment(go.PathSegment.Line,0,x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()),E>1?(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,.8,-E,-E)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,E=15,ee=E*ue,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var ee=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var ee=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var ee=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var qt={},Ze="5.0",ye={},he=null,ce=!1,b=!1,ge=null,de=!1,re=null,ue=null,ae=0;ae4?parseFloat(Et):5};qt.setHTML5Codebase=function(Et,it){ue=Et,Ft(Et,it)},qt.setJavaCodebase=qt.setJavaCodebaseVersion=qt.isCompiledInstalled=qt.setPreCompiledScriptPath=qt.setPreCompiledResourcePath=function(){},qt.setHTML5CodebaseVersion=function(Et,it){var ct=parseFloat(Et);if(ct!==NaN&&ct<5){console.log("The GeoGebra HTML5 codebase version "+ct+" is deprecated. Using version latest instead.");return}re=Et,lt(Et,it)},qt.getHTML5CodebaseVersion=function(){return z},qt.getParameters=function(){return ye},qt.setFontsCSSURL=function(Et){te=Et},qt.setGiacJSURL=function(Et){},qt.setJNLPFile=function(Et){le=Et},qt.setJNLPBaseDir=function(Et){},qt.inject=function(){function Et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var it="auto",ct=ye.id,Rt,Lt=!1,Vt=0;Vt=5)return!0;var Et=qt.getAppletObject();return Et&&typeof Et.recalculateEnvironments=="function"?(Et.recalculateEnvironments(),!0):!1},qt.startAnimation=function(){var Et=qt.getAppletObject();return Et&&typeof Et.startAnimation=="function"?(Et.startAnimation(),!0):!1},qt.stopAnimation=function(){var Et=qt.getAppletObject();return Et&&typeof Et.stopAnimation=="function"?(Et.stopAnimation(),!0):!1},qt.getAppletObject=function(){var Et=ye.id!==void 0?ye.id:"ggbApplet";return window[Et]},qt.resize=function(){};var De=function(Et,it,ct){var Rt=document.createElement("param");Rt.setAttribute("name",it),Rt.setAttribute("value",ct),Et.appendChild(Rt)},Ie=function(Et){return Et&&Et!=="false"},Qe=function(Et,it,ct){Ae(z)<=4.2&&(ct=!0);var Rt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Rt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Lt=document.createElement("div");Lt.classList.add("appletParameters","notranslate");var Vt=it.width,mt=it.height;if(it.disableAutoScale=it.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():it.disableAutoScale,it.width!==void 0)if(Ae(z)<=4.4)Ie(it.showToolBar)&&(it.height-=7),Ie(it.showAlgebraInput)&&(it.height-=37),it.width<605&&Ie(it.showToolBar)&&(it.width=605,Vt=605);else{var ot=100;(Ie(it.showToolBar)||Ie(it.showMenuBar))&&(it.hasOwnProperty("customToolBar")&&(it.customToolbar=it.customToolBar),ot=Ie(it.showMenuBar)?245:155),Vt=5?(it.appletOnLoad=function(Tt){var at=Et.querySelector(".ggb_preview");at&&at.parentNode.removeChild(at),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner($e),window.GGBT_wsf_view&&$(window).trigger("resize"),Nt(Tt)},_e||$e.appendChild(Ue)):Lt.appendChild(Ue),$e.appendChild(Lt),_e||Et.appendChild($e),setTimeout(function(){qt.resize()},1)}else{var Ve=document.createElement("div");Ve.className="applet_scaler",Ve.style.position="relative",Ve.style.display="block",Ve.appendChild(Lt),Et.appendChild(Ve),it.appletOnLoad=function(Tt){qt.resize(),Nt(Tt)}}function We(Tt,at){at&&typeof at.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Tt,at.appletOnLoad):renderGGBElement(Tt),Bt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",at)}function Me(Tt,at){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Tt,params:at}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Zt){We(Zt.article,Zt.params)}),html5AppletsToProcess=null)},Ae(z)<5&&(Tt.className+=" geogebraweb")):We(Tt,at)}if(Rt){scriptLoadStarted=!0;for(var je=0;je0?(Ye.remove(),$e.attr("id","fullscreencontent").show(),jQuery(Nt).append($e),window.dispatchEvent(new Event("resize"))):Qe(Ye,it,!1),window.GGBT_wsf_view.launchFullScreen(Nt)}else ne=Rt,Qe(Et,it,!1);if(!window.GGBT_wsf_view)for(mt=0;mtEt/4*3&&(Ye=Et/4*3),Nt=Ye/5.8,ot.setAttribute("src",E),ot.setAttribute("width",Ye),ot.setAttribute("height",Nt);var $e=(Et-Ye)/2,_e=(it-Nt)/2;ot.style.left=$e+"px",ot.style.top=_e+"px",Lt.appendChild(ot)}}return Lt.appendChild(mt),Lt},vt=function(Et){return Et=Et.toLowerCase(),Et==="html5"||Et==="screenshot"?Et:"html5"},Ke=["web","webSimple","web3d","tablet","tablet3d","phone"],lt=function(Et,it){if(z=Et,it){Ft(z,!0);return}var ct=!ce;if(ct){var Rt=Ae(z);!isNaN(Rt)&&Rt<4.4&&(ct=!1)}var Lt,Vt;window.location.protocol.substr(0,4)==="http"?Lt=window.location.protocol:Lt="http:";var mt=z.indexOf("//");mt>0?Vt=z:mt===0?Vt=Lt+z:Vt="https://www.geogebra.org/apps/5.2.814.0/";for(var ot in Ke)if(z.slice(Ke[ot].length*-1)===Ke[ot]||z.slice((Ke[ot].length+1)*-1)===Ke[ot]+"/"){Ft(Vt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ct&&!he.is3D&&!he.AV&&!he.SV&&!he.CV&&!he.EV2&&!he.CP&&!he.PC&&!he.DA&&!he.FI&&!he.PV&&!Ie(ye.showToolBar)&&!Ie(ye.showMenuBar)&&!Ie(ye.showAlgebraInput)&&!Ie(ye.enableRightClick)&&(!ye.appName||ye.appName=="classic")?Vt+="webSimple/":Vt+="web3d/",Ft(Vt,!1)},Ft=function(Et,it){if(Et.requirejs){oe=Et;return}Et.slice(-1)!=="/"&&(Et+="/"),oe=Et,it===null&&(it=Et.indexOf("http")===-1),se=it,a="web.nocache.js",y=!1;var ct=oe.split("/");ct.length>1&&(!it&&ct[ct.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Ke.indexOf(ct[ct.length-2])>=0&&(a=ct[ct.length-2]+".nocache.js")),ct=Et.split("/"),z=ct[ct.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var Rt=parseFloat(z);Rt!==NaN&&Rt<5&&Et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead."),lt("5.0",it))},Bt=function(Et,it){window.console&&window.console.log&&(!it||typeof it.showLogging=="undefined"||it.showLogging&&it.showLogging!=="false")&&console.log(Et)};ye.material_id!==void 0?ve(kt):kt();function kt(){var Et=Ze;re!==null?Et=re:parseFloat(Et)<5&&(Et="5.0"),lt(Et,!1),ue!==null&&Ft(ue,se),de=!0}return qt},GGBAppletUtils=function(){"use strict";function qt(){return window.GGBT_wsf_edit!==void 0}function Ze(de,re){re!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+re+","+re+")",de.style.webkitTransform="scale("+re+","+re+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ye(de,re,ue,ae,ie,le){var oe=null;if(le!=null&&le!="")for(var se=de.parentNode;se!=null;)if((" "+se.className+" ").indexOf(" "+le+" ")>-1){oe=se;break}else se=se.parentNode;var ne=0,z=0,a=0,y=0,x=0,E=0,ee=0;if(oe)ne=oe.offsetWidth,z=Math.max(ae?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,z=window.innerHeight,a=window.innerWidth),de){var te=de.getBoundingClientRect();te.left>0&&te.left<=ne&&(ie===void 0||!ie)&&(document.dir==="rtl"?(x=ne-te.width-te.left,E=a<=480?10:30):(E=te.left,x=a<=480?10:30),y=E+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var fe=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ue===void 0||!ue)&&re>0&&re+y1&&(le=!0)),re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))ie=he(de,re,le,ue,de.scaleContainerClass);else return ae;return le&&(!de.hasOwnProperty("scale")||ae===1)?ie:Math.min(ae,ie)}function b(de){var re=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),ae=de.getBoundingClientRect(),ie=(re-ae.width)/2,le=(ue-ae.height)/2;le<0&&(le=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ie<40?de.style.left="40px":de.style.left=ie+"px",de.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?de.style.top="40px":de.style.top=le+"px",de.style.left=ie+"px")}function ge(de,re){var ue=de.querySelector(".appletParameters");if(ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(re.id!==ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ue.parentElement&&/fullscreen/.test(ue.parentElement.className))return;var ae=ce(re,de);qt()&&ue.setAttribute("data-param-scale",ae);for(var ie=null,le=0;le=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(qt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(qt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(qt){var Ze=c[qt];return Ze==null?null:Ze},r=d,webModule.__errFn=e}function B(){function qt(de){var re=de.lastIndexOf(rb);re==-1&&(re=de.length);var ue=de.indexOf(sb);ue==-1&&(ue=de.length);var ae=de.lastIndexOf(tb,Math.min(ue,re));return ae>=O?de.substring(O,ae+P):W}function Ze(de){if(!de.match(/^\w+:\/\//)){var re=o.createElement(ub);re.src=de+vb,de=qt(re.src)}return de}function ye(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function he(){for(var de=o.getElementsByTagName(_),re=O;reO?de[de.length-P].href:W}function b(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var ge=ye();return ge==W&&(ge=he()),ge==W&&(ge=ce()),ge==W&&b()&&(ge=qt(o.location.href)),ge=Ze(ge),ge}function C(qt){return qt.match(/^\//)||qt.match(/^[a-zA-Z]+:\/\//)?qt:webModule.__moduleBase+qt}function D(){var qt=[],Ze=O,ye=[],he=[];function ce(de){var re=he[de](),ue=ye[de];if(re in ue)return re;var ae=[];for(var ie in ue)ae[ue[ie]]=ie;throw r&&r(de,ae,re),null}if(__gwt_isKnownPropertyValue=function(de,re){return re in ye[de]},webModule.__getPropMap=function(){var de={};for(var re in ye)ye.hasOwnProperty(re)&&(de[re]=ce(re));return de},webModule.__computePropValue=ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var b;try{b=Cb;var ge=b.indexOf(Db);ge!=-1&&(Ze=parseInt(b.substring(ge+P),$),b=b.substring(O,ge))}catch(de){}return webModule.__softPermutationId=Ze,C(b+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})()},47530:function(qt,Ze,ye){"use strict";ye.d(Ze,{$Y:function(){return Vt},A0:function(){return it},EP:function(){return de},F_:function(){return ae},Fk:function(){return We},G9:function(){return ue},GB:function(){return Ft},GR:function(){return E},GW:function(){return Rt},Hh:function(){return Me},Hp:function(){return ne},Ir:function(){return ce},N$:function(){return Bt},NZ:function(){return ze},Nv:function(){return Ve},OA:function(){return $e},OJ:function(){return Je},QF:function(){return at},RS:function(){return me},RY:function(){return Mt},Rj:function(){return Fe},SX:function(){return Ee},Tp:function(){return mt},Ui:function(){return Et},V1:function(){return Ke},Vn:function(){return ve},dL:function(){return Ue},fo:function(){return De},gG:function(){return Ie},gK:function(){return x},hK:function(){return z},i3:function(){return le},ib:function(){return a},lS:function(){return y},m5:function(){return re},n4:function(){return he},n_:function(){return oe},oP:function(){return ot},p2:function(){return ct},pl:function(){return Te},rM:function(){return fe},sM:function(){return se},t2:function(){return pe},tD:function(){return ee},u8:function(){return te},um:function(){return Tt},vm:function(){return _e},wQ:function(){return ie},wj:function(){return vt},wt:function(){return Qe},yS:function(){return Ae},yi:function(){return b},ym:function(){return qe},z2:function(){return ge}});const he="FETCH_TASK_START",ce="FETCH_TASK_FAILURE",b="FETCH_TASK_SUCCESS",ge="UPDATE_TASK_DATA",de="HIDE_EVALUATE_RESULT",re="SHOW_EVALUATE_RESULT",ue="UPDATE_TIMESTRAP",ae="MOVE_X",ie="MOVE_Y",le="TRIGGER_RIGHT_PANEL_MASK ",oe="SET_ACTIVE_INDEX",se="GET_TASK_LIST",ne="SHOW_TASK_LIST",z="HIDE_TASK_LIST",a="SET_TASK_STAR",y="TRIGGER_ENLARGE_UNITY3D ",x="TRIGGER_TAB_FIXED ",E="GET_DISCUSSES",ee="SHOW_DISCUSSES_LOADING",te="TOP_OR_DOWN_DISCUSS",fe="PLUS_DISCUSS",Ae="SET_ACTION_TYPE",me="SHOW_REWARD_DIALOG",pe="CANCEL_REWARD_DIALOG",ve="SET_REWARD",Ee="ACTIVE_DISCUSS_INDEX",Ce="CREATE_DISCUSS",De="DISABLE_DISCUSS",Ie="CHANGE_PAGE",Qe="SHOW_ANSWER_LOADING",Te="FETCH_ANSWER_INFO",ze="HIGH_TIP_MODAL",Fe="SHOW_TIP_MODAL",qe="SELECT_UNLOCK_ANSWER",Je="SET_CHOOSE_ANSWERS",vt="EVAL_CHOOSE_START",Ke="EVAL_CHOOSE_END",lt="SHOW_REP_loading",Ft="FETCH_REP_CONTENT",Bt="EDIT_REP_CONTENT",kt="SET_REP_PATH",Et="SHOW_EVALUATE_LOADING",it="HIDE_EVALUATE_LOADING",ct="SET_EVALUATE_MESSAGE",Rt="SET_SHOW_DIR",Lt="SET_EDITOR_SETTING",Vt="SET_EDITOR_THEME",mt="SET_EDITOR_FONTSIZE",ot="SET_REPOS",Ye="SHOW_PATH_LIST",Nt="HIDE_PATH_LIST",$e="HIDE_PICTURE_VIEW",_e="SHOW_PICTURE_VIEW",Ue="SHOW_NOTICE",Ve="HIDE_NOTICE",We="SHOW_CASE_NOTICE",Me="HIDE_CASE_NOTICE",je="SET_TAB_INDEX",Oe="SET_SSH_TABS",st="SET_SSH_CONFIGDATA",Ct="SET_SSH_CONFIGDATAARR",Mt="SET_VNC_LOADING ",Tt="ON_TAB_TO_SPACE ",at="ON_AUTO_FORMAT "},4683:function(qt,Ze,ye){"use strict";ye.d(Ze,{KQ:function(){return se},KY:function(){return ae},OY:function(){return re},S8:function(){return ue},U_:function(){return oe},_Z:function(){return ge},ae:function(){return de},o7:function(){return ce},rd:function(){return le},wJ:function(){return b},wg:function(){return ie}});var he=ye(57193);function ce(ne,z=1){return(0,he.U2)("/discusses.json",{container_type:"Shixun",container_identifier:ne,page:z-1})}function b(ne,z){return(0,he.v_)(`/discusses/${ne}/top_or_down_discuss.json`,{top:z})}function ge(ne,z){return(0,he.v_)(`/discusses/${ne}/disable_or_open_discuss.json`,{is_disable:!!z})}function de(ne,z){return(0,he.v_)(`/discusses/${ne}/plus.json`,{container_type:"Discuss",type:z?1:0})}function re(ne,z){return(0,he.v_)(`/discusses/${ne}/hidden.json`,z)}function ue(ne,z){return(0,he.v_)(`/discusses/${ne}/reward_code.json`,z)}function ae(ne){return(0,he.ZP)(`/api/discusses/${ne}.json`,{method:"delete"})}function ie(ne,z){return(0,he.v_)(`/discusses/${ne}/reply.json`,{container_type:"Shixun",content:z})}function le(ne){return(0,he.v_)("/discusses.json",ne)}function oe(ne){return(0,he.v_)("/discusses/ai_reply.json",ne)}function se(ne,z){return(0,he.v_)(`/discusses/${ne}/turing.json`,z)}},92859:function(qt,Ze,ye){"use strict";ye.d(Ze,{G0:function(){return Ve},JW:function(){return kt},Jd:function(){return Je},Kl:function(){return Et},L5:function(){return a},MH:function(){return Ft},MI:function(){return ot},Qo:function(){return me},SO:function(){return z},Tf:function(){return ee},VT:function(){return Te},XO:function(){return se},Xy:function(){return fe},Y0:function(){return De},Ye:function(){return _e},Yv:function(){return mt},ZH:function(){return Rt},am:function(){return qe},bD:function(){return Ye},eA:function(){return Ae},fA:function(){return ct},fY:function(){return ve},g6:function(){return ne},g7:function(){return Nt},gT:function(){return Ee},gn:function(){return Lt},h$:function(){return Vt},hG:function(){return te},i8:function(){return it},j3:function(){return Bt},lH:function(){return Ke},li:function(){return y},n4:function(){return x},pU:function(){return Ie},qK:function(){return E},sA:function(){return Qe},sP:function(){return lt},t$:function(){return vt},wj:function(){return Ue},zl:function(){return pe}});var he=ye(57193),ce=ye(63949),b=Object.defineProperty,ge=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ue=(We,Me,je)=>Me in We?b(We,Me,{enumerable:!0,configurable:!0,writable:!0,value:je}):We[Me]=je,ae=(We,Me)=>{for(var je in Me||(Me={}))de.call(Me,je)&&ue(We,je,Me[je]);if(ge)for(var je of ge(Me))re.call(Me,je)&&ue(We,je,Me[je]);return We},ie=(We,Me,je)=>new Promise((Oe,st)=>{var Ct=at=>{try{Tt(je.next(at))}catch(Zt){st(Zt)}},Mt=at=>{try{Tt(je.throw(at))}catch(Zt){st(Zt)}},Tt=at=>at.done?Oe(at.value):Promise.resolve(at.value).then(Ct,Mt);Tt((je=je.apply(We,Me)).next())});const le=(0,ce.oP)(),oe={};le!=null&&le.homework_common_id&&(oe.homework_common_id=le==null?void 0:le.homework_common_id),le!=null&&le.exercisesId&&(oe.exercise_id=le==null?void 0:le.exercisesId),console.log(le,oe,"urlParamsAll");function se(We,Me){return(0,he.U2)(`tasks/${We}.json`,ae(ae({},Me),oe))}function ne(We,Me={}){return(0,he.U2)(`myshixuns/${We}/challenges.json`,ae({},Me))}function z(We,Me){return(0,he.U2)(`myshixuns/${We}/subject_challenges.json`,Me)}function a(We,Me,je){return(0,he.U2)(`tasks/${We}/star.json`,{shixun_id:Me,star:je})}function y(We,Me){return Me.path&&(Me.path=encodeURIComponent(Me.path)),(0,he.U2)(`tasks/${We}/rep_content.json`,ae(ae({},Me),oe))}function x(We,Me){return(0,he.v_)(`myshixuns/${We}/update_file.json`,ae(ae({},Me),oe))}function E(We,Me){return(0,he.U2)(`tasks/${We}/reset_original_code.json`,ae(ae({},Me),oe))}function ee(We,Me){return(0,he.v_)(`myshixuns/${We}/reset_repository.json`,Me)}function te(We,Me){return(0,he.U2)(`tasks/${We}/reset_passed_code.json`,ae(ae({},Me),oe))}function fe(We,Me){return(0,he.v_)(`tasks/${We}/game_build.json`,ae(ae({},Me),oe))}function Ae(We){return(0,he.ZP)("http://localhost:49352/api/game_build",{method:"post",body:We})}function me(We,Me){return(0,he.U2)(`tasks/${We}/game_status.json`,ae(ae({},Me),oe))}function pe(We,Me){return(0,he.v_)(`tasks/${We}/choose_build.json`,ae(ae({},Me),oe))}function ve(We){return(0,he.U2)(`myshixuns/${We}/get_remaining_time.json`)}function Ee(We){return(0,he.U2)(`tasks/${We}/picture_display.json`,oe)}function Ce(We,Me){return get(`courses/${We}/inform_detail.json`,Me)}function De(We){return(0,he.v_)(`tasks/${We}/plus_or_cancel_praise.json`)}function Ie(We,Me={}){return(0,he.v_)(`myshixuns/${We}/repository.json`,Me)}function Qe(We,Me={}){return(0,he.U2)(`myshixuns/${We}/start.json`,Me)}function Te(We,Me={}){return(0,he.v_)(`myshixuns/${We}/force_delete_pod.json`,Me)}function ze(We,Me={}){return get(`myshixuns/${We}/set_tpisession.json`,Me)}function Fe(We){return get(`myshixuns/${We}/reset_pod.json`)}function qe(We,Me){return(0,he.U2)(`myshixuns/${We}/reset_pod.json`,Me)}function Je(We,Me){return(0,he.ZP)(`/api/tasks/${We}/reboot_esc.json`,{method:"post",body:Me})}function vt(We){return(0,he.U2)(`tasks/${We}/check_test_sets.json`)}function Ke(We){return(0,he.U2)(`tasks/${We}/get_answer_info.json`)}function lt(We){return(0,he.U2)(`tasks/${We}/get_choose_answer.json`)}function Ft(We){return(0,he.U2)(`tasks/${We}/unlock_choose_answer.json`)}function Bt(We,Me){return(0,he.U2)(`tasks/${We}/unlock_answer.json`,{answer_id:Me})}function kt(We,Me,je,Oe){return(0,he.v_)(`tasks/${We}/set_games_status.json`,ae({result:Me,data:je},Oe||{}))}function Et(We,Me){return(0,he.U2)(`myshixuns/${We}/active_pod.json`,Me)}function it(We,Me){return(0,he.U2)(`tasks/${We}/rank_list.json`,Me)}function ct(We,Me){return(0,he.v_)(`tasks/${We}/close_windows_vnc.json`,{tpi_id:Me})}function Rt(We,Me){return(0,he.U2)(`tasks/${We}/commit_files.json`,Me)}function Lt(We,Me){return(0,he.U2)(`tasks/${We}/pull_files.json`,Me)}function Vt(We,Me){return(0,he.v_)(`tasks/${We}/log_output`,Me)}function mt(We,Me){return(0,he.U2)(`tasks/${We}/stop_log_output.json`,Me)}function ot(We){return ie(this,null,function*(){return(0,he.ZP)(`/api/myshixuns/${We.id}/add_file.json`,{method:"post",body:We})})}function Ye(We){return ie(this,null,function*(){return(0,he.ZP)(`/api/myshixuns/${We.id}/delete_git_file.json`,{method:"Delete",body:We})})}function Nt(We){return ie(this,null,function*(){return(0,he.ZP)(`/api/myshixuns/${We.id}/mv_file.json`,{method:"post",body:We})})}function $e(We){return ie(this,null,function*(){return We.path&&(We.path=encodeURIComponent(We.path)),Fetch(`/api/tasks/${We.id}/rep_content.json`,{method:"get",params:We})})}function _e(We,Me){return(0,he.ZP)(`/api/shixuns/${We}/set_start_permanent.json`,{method:"put",body:Me})}function Ue(We){return ie(this,null,function*(){return(0,he.ZP)("/api/myshixuns/wuying_record.json",{method:"get",params:We})})}function Ve(We){return ie(this,null,function*(){return(0,he.ZP)("/api/jupyters/save_with_wuying_tpi.json",{method:"Get",params:We})})}},88457:function(qt,Ze,ye){"use strict";ye.d(Ze,{Ax:function(){return ge},Ds:function(){return de},KI:function(){return ue},SI:function(){return b},f1:function(){return ce}});var he=ye(78323);function ce(ae){let ie=!0;if(ae.length>0){for(let le=0;ley in a?b(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,le=(a,y)=>{for(var x in y||(y={}))ue.call(y,x)&&ie(a,x,y[x]);if(re)for(var x of re(y))ae.call(y,x)&&ie(a,x,y[x]);return a},oe=(a,y)=>ge(a,de(y)),se=(a,y)=>{var x={};for(var E in a)ue.call(a,E)&&y.indexOf(E)<0&&(x[E]=a[E]);if(a!=null&&re)for(var E of re(a))y.indexOf(E)<0&&ae.call(a,E)&&(x[E]=a[E]);return x},ne=(a,y,x)=>new Promise((E,ee)=>{var te=me=>{try{Ae(x.next(me))}catch(pe){ee(pe)}},fe=me=>{try{Ae(x.throw(me))}catch(pe){ee(pe)}},Ae=me=>me.done?E(me.value):Promise.resolve(me.value).then(te,fe);Ae((x=x.apply(a,y)).next())});const z=a=>{var y=a,{children:x}=y,E=se(y,["children"]);const[ee,te]=(0,ce.useState)(!1);return ce.createElement(he.ZP,oe(le({},E),{loading:ee,onClick:fe=>ne(void 0,null,function*(){try{te(!0),yield E.onClick(fe),te(!1)}catch(Ae){console.error(Ae),te(!1)}})}),x)}},96391:function(qt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return oe}});var he=ye(59301),ce=ye(95392),b=ye(8591),ge=ye(57193),de={flex_box_center:"flex_box_center___kVqBh",flex_space_between:"flex_space_between___FMnNq",flex_box_vertical_center:"flex_box_vertical_center___meESe",flex_box_center_end:"flex_box_center_end___KFpOb",flex_box_column:"flex_box_column___GHIK9",video:"video___nn_cD"},re=ye(11176),ue=ye(59301),ae=(se,ne,z)=>new Promise((a,y)=>{var x=te=>{try{ee(z.next(te))}catch(fe){y(fe)}},E=te=>{try{ee(z.throw(te))}catch(fe){y(fe)}},ee=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,E);ee((z=z.apply(se,ne)).next())});const ie=function(ne,z){const a=ne.split(","),y=a[0].match(/:(.*?);/)[1],x=atob(a[1]);let E=x.length;const ee=new Uint8Array(E);for(;E--;)ee[E]=x.charCodeAt(E);return new Blob([ee],{type:y})};var oe=(0,he.forwardRef)(({time:se,number:ne,supportCamera:z,take_photo:a,isExercise:y=!0,update:x,onUserMediaLoaded:E},ee)=>{const te=(0,he.useRef)(),fe=(0,he.useRef)(),Ae=(0,ce.useParams)();let[me,pe]=(0,he.useState)([]),[ve,Ee]=(0,he.useState)(0);const[Ce,De]=(0,he.useState)("");let[Ie,Qe]=(0,he.useState)();const[Te,ze]=(0,he.useState)(0),Fe=(it,ct)=>ae(void 0,null,function*(){return(0,ge.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:it,file:ct}})}),qe=it=>ae(void 0,null,function*(){const ct=new Date().valueOf();if(it){const Rt=yield Fe(`\u7167\u7247${ct}`,it);Rt.status||(yield(0,re.Ju)({container_id:Ae.categoryId,container_type:"Exercise",attachment_id:Rt==null?void 0:Rt.id}))}});(0,he.useEffect)(()=>(Ke(),()=>{kt(),Je()}),[]),(0,he.useEffect)(()=>{ve===2&&se&&ne>0&&(vt(),ze(1))},[se]),(0,he.useEffect)(()=>{if(Te!==0){if(Te===2)clearInterval(Ie);else{let it=0,ct=setInterval(()=>{me.includes(it)&<(),it++},1e3);Qe(ct)}return()=>clearInterval(Ie)}},[Te]),(0,he.useImperativeHandle)(ee,()=>({handlePhoto:lt,handleTakePhoto:Ft}));const Je=()=>{ze(2)},vt=()=>{const it=se/ne,ct=[];function Rt(Lt,Vt){return parseInt(Math.floor(Math.random()*(Vt-Lt+1))+Lt)}new Array(ne).fill(0).map((Lt,Vt)=>{a?ct.push(Rt(it*Vt,it*(Vt+1))):Vt==0?ct.push(0):ct.push(Rt(it*Vt,it*(Vt+1)))}),me=ct,pe([...ct]),console.log(ct)},Ke=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(it){const ct=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return ct?new Promise(function(Rt,Lt){ct.call(navigator,it,Rt,Lt)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(it){Bt.current=it,z&&z(2),Ee(2),"srcObject"in te.current?te.current.srcObject=it:te.current.src=window.URL.createObjectURL(it),te.current.onloadedmetadata=function(ct){te.current.play(),E&&E()},te.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),Je(),y&&b.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(it){Ee(1),z&&z(1),it.message==="Permission denied"||it.name==="NotAllowedError"?b.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):b.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+it.name),console.log("err: "+it.message)})},lt=()=>{try{fe.current.width=te.current.videoWidth,fe.current.height=te.current.videoHeight,fe.current.getContext("2d").drawImage(te.current,0,0,fe.current.width,fe.current.height),De(fe.current.toDataURL("image/png")),qe(fe.current.toDataURL("image/png")),Et(fe.current.toDataURL("image/png"))}catch(it){}},Ft=()=>{try{return fe.current.width=te.current.videoWidth,fe.current.height=te.current.videoHeight,fe.current.getContext("2d").drawImage(te.current,0,0,fe.current.width,fe.current.height),fe.current.toDataURL("image/png")}catch(it){}},Bt=(0,he.useRef)(),kt=()=>{try{Bt.current.getTracks().forEach(function(Rt){Rt.stop()}),te.current.srcObject=null}catch(it){}},Et=it=>ae(void 0,null,function*(){const ct=new FormData;ct.append("file",ie(it,"1")),ct.append("1","123");var Rt=new window.XMLHttpRequest;Rt.withCredentials=!0,Rt.addEventListener("load",function(Lt){let Vt=JSON.parse(Lt.target.responseText);(0,ge.ZP)(`/api/exercises/${id}/upload_photo.json`,{method:"post",body:{attachment_id:Vt.id}})},!1),Rt.addEventListener("error",function(Lt){console.error(Lt)},!1),Rt.open("POST",`${ENV.API_SERVER}/api/attachments.json`),Rt.send(ct)});return ue.createElement(ue.Fragment,null,ve!==3&&ue.createElement("aside",{className:de.video,id:"screenshot"},ve===0&&ue.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),ve===1&&ue.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),ve===2&&ue.createElement("div",null,ue.createElement("video",{width:"288",ref:te,autoPlay:!0}),ue.createElement("canvas",{style:{display:"none"},ref:fe}))))})},12306:function(qt,Ze,ye){"use strict";var he=ye(86204),ce=ye.n(he),b=Object.defineProperty,ge=(ae,ie,le)=>ie in ae?b(ae,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):ae[ie]=le,de=(ae,ie,le)=>ge(ae,typeof ie!="symbol"?ie+"":ie,le),re=(ae,ie,le)=>new Promise((oe,se)=>{var ne=y=>{try{a(le.next(y))}catch(x){se(x)}},z=y=>{try{a(le.throw(y))}catch(x){se(x)}},a=y=>y.done?oe(y.value):Promise.resolve(y.value).then(ne,z);a((le=le.apply(ae,ie)).next())});class ue extends he.EventEmitter{constructor(ie,le){super(),de(this,"url"),de(this,"body"),de(this,"fullContent",""),de(this,"controller",null),de(this,"buffer",""),this.url=ie,this.body=le}startStream(){return re(this,null,function*(){this.controller=new AbortController;const{signal:ie}=this.controller;try{const le=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:ie});if(!le.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${le.status}`);const oe=le.headers.get("content-type");if(!oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(oe.includes("application/json")){const z=yield le.json();this.emit("error",z);return}if(!oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const se=le.body.getReader(),ne=new TextDecoder("utf-8");for(;;){const{done:z,value:a}=yield se.read();if(z)break;const y=ne.decode(a,{stream:!0});this.buffer+=y;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const E of x)if(E.startsWith("data:")){const ee=E.slice(5).trim();if(ee==="[DONE]")break;try{const te=JSON.parse(ee);te.data&&this.handleData(te.data)}catch(te){this.buffer=E+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(le){le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",le.message)}})}handleData(ie){ie.content&&(this.fullContent+=ie.content,this.emit("data",{chunk:ie,full:this.fullContent}))}cancelRequest(){var ie;(ie=this.controller)==null||ie.abort()}}Ze.Z=ue},57593:function(qt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return Ke}});var he=ye(59301),ce=ye(97831),b=ye(66328),ge=ye(3977),de=ye(18369),re=ye(56102),ue={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ae=ye(8591),ie=ye(11611),le=ye(13058),oe=ye(30084),se=ye(10787),ne=ye(79562),z=ye(43428),a=ye(95237),y=ye(43604),x={smartWrp:"smartWrp___NjRcB"},E=ye(95440),ee=ye(16338),te=ye(75353),fe=ye(59301),Ae=(lt,Ft,Bt)=>new Promise((kt,Et)=>{var it=Lt=>{try{Rt(Bt.next(Lt))}catch(Vt){Et(Vt)}},ct=Lt=>{try{Rt(Bt.throw(Lt))}catch(Vt){Et(Vt)}},Rt=Lt=>Lt.done?kt(Lt.value):Promise.resolve(Lt.value).then(it,ct);Rt((Bt=Bt.apply(lt,Ft)).next())});const me=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(le){le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",le.message)}})}handleData(ie){ie.content&&(this.fullContent+=ie.content,this.emit("data",{chunk:ie,full:this.fullContent}))}cancelRequest(){var ie;(ie=this.controller)==null||ie.abort()}}Ze.Z=ue},57593:function(qt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return Ke}});var he=ye(59301),ce=ye(97831),b=ye(66328),ge=ye(3977),de=ye(18369),re=ye(56102),ue={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ae=ye(8591),ie=ye(11611),le=ye(55939),oe=ye(30084),se=ye(10787),ne=ye(79562),z=ye(43428),a=ye(95237),y=ye(43604),x={smartWrp:"smartWrp___NjRcB"},E=ye(95440),ee=ye(16338),te=ye(75353),fe=ye(59301),Ae=(lt,Ft,Bt)=>new Promise((kt,Et)=>{var it=Lt=>{try{Rt(Bt.next(Lt))}catch(Vt){Et(Vt)}},ct=Lt=>{try{Rt(Bt.throw(Lt))}catch(Vt){Et(Vt)}},Rt=Lt=>Lt.done?kt(Lt.value):Promise.resolve(Lt.value).then(it,ct);Rt((Bt=Bt.apply(lt,Ft)).next())});const me=` diff --git a/umi.4e14340c.js b/umi.86d1a7f2.js similarity index 89% rename from umi.4e14340c.js rename to umi.86d1a7f2.js index ed0d07648a..935b108bb3 100644 --- a/umi.4e14340c.js +++ b/umi.86d1a7f2.js @@ -1,6 +1,6 @@ -(function(){var __webpack_modules__={30071:function(d,_,e){"use strict";e.r(_),e.d(_,{blue:function(){return oe},blueDark:function(){return je},cyan:function(){return ne},cyanDark:function(){return He},geekblue:function(){return J},geekblueDark:function(){return Ot},generate:function(){return A},gold:function(){return K},goldDark:function(){return ie},gray:function(){return ee},green:function(){return ae},greenDark:function(){return Te},grey:function(){return se},greyDark:function(){return Wt},lime:function(){return H},limeDark:function(){return Ee},magenta:function(){return V},magentaDark:function(){return Pt},orange:function(){return N},orangeDark:function(){return j},presetDarkPalettes:function(){return Rt},presetPalettes:function(){return Q},presetPrimaryColors:function(){return I},purple:function(){return q},purpleDark:function(){return ft},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return Z},yellow:function(){return G},yellowDark:function(){return ve}});var r=e(20068);const i=Math.round;function l(ar,Ue){const _t=ar.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Mt=_t.map(Qe=>parseFloat(Qe));for(let Qe=0;Qe<3;Qe+=1)Mt[Qe]=Ue(Mt[Qe]||0,_t[Qe]||"",Qe);return _t[3]?Mt[3]=_t[3].includes("%")?Mt[3]/100:Mt[3]:Mt[3]=1,Mt}const c=(ar,Ue,_t)=>_t===0?ar:ar/100;function f(ar,Ue){const _t=Ue||255;return ar>_t?_t:ar<0?0:ar}class u{constructor(Ue){(0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0);function _t(Mt){return Mt[0]in Ue&&Mt[1]in Ue&&Mt[2]in Ue}if(Ue)if(typeof Ue=="string"){let Qe=function(ct){return Mt.startsWith(ct)};const Mt=Ue.trim();/^#?[A-F\d]{3,8}$/i.test(Mt)?this.fromHexString(Mt):Qe("rgb")?this.fromRgbString(Mt):Qe("hsl")?this.fromHslString(Mt):(Qe("hsv")||Qe("hsb"))&&this.fromHsvString(Mt)}else if(Ue instanceof u)this.r=Ue.r,this.g=Ue.g,this.b=Ue.b,this.a=Ue.a,this._h=Ue._h,this._s=Ue._s,this._l=Ue._l,this._v=Ue._v;else if(_t("rgb"))this.r=f(Ue.r),this.g=f(Ue.g),this.b=f(Ue.b),this.a=typeof Ue.a=="number"?f(Ue.a,1):1;else if(_t("hsl"))this.fromHsl(Ue);else if(_t("hsv"))this.fromHsv(Ue);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Ue))}setR(Ue){return this._sc("r",Ue)}setG(Ue){return this._sc("g",Ue)}setB(Ue){return this._sc("b",Ue)}setA(Ue){return this._sc("a",Ue,1)}setHue(Ue){const _t=this.toHsv();return _t.h=Ue,this._c(_t)}getLuminance(){function Ue(ct){const st=ct/255;return st<=.03928?st/12.92:Math.pow((st+.055)/1.055,2.4)}const _t=Ue(this.r),Mt=Ue(this.g),Qe=Ue(this.b);return .2126*_t+.7152*Mt+.0722*Qe}getHue(){if(typeof this._h=="undefined"){const Ue=this.getMax()-this.getMin();Ue===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Ue+(this.g1&&(Qe=1),this._c({h:_t,s:Mt,l:Qe,a:this.a})}mix(Ue,_t=50){const Mt=this._c(Ue),Qe=_t/100,ct=qe=>(Mt[qe]-this[qe])*Qe+this[qe],st={r:i(ct("r")),g:i(ct("g")),b:i(ct("b")),a:i(ct("a")*100)/100};return this._c(st)}tint(Ue=10){return this.mix({r:255,g:255,b:255,a:1},Ue)}shade(Ue=10){return this.mix({r:0,g:0,b:0,a:1},Ue)}onBackground(Ue){const _t=this._c(Ue),Mt=this.a+_t.a*(1-this.a),Qe=ct=>i((this[ct]*this.a+_t[ct]*_t.a*(1-this.a))/Mt);return this._c({r:Qe("r"),g:Qe("g"),b:Qe("b"),a:Mt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Ue){return this.r===Ue.r&&this.g===Ue.g&&this.b===Ue.b&&this.a===Ue.a}clone(){return this._c(this)}toHexString(){let Ue="#";const _t=(this.r||0).toString(16);Ue+=_t.length===2?_t:"0"+_t;const Mt=(this.g||0).toString(16);Ue+=Mt.length===2?Mt:"0"+Mt;const Qe=(this.b||0).toString(16);if(Ue+=Qe.length===2?Qe:"0"+Qe,typeof this.a=="number"&&this.a>=0&&this.a<1){const ct=i(this.a*255).toString(16);Ue+=ct.length===2?ct:"0"+ct}return Ue}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Ue=this.getHue(),_t=i(this.getSaturation()*100),Mt=i(this.getLightness()*100);return this.a!==1?`hsla(${Ue},${_t}%,${Mt}%,${this.a})`:`hsl(${Ue},${_t}%,${Mt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Ue,_t,Mt){const Qe=this.clone();return Qe[Ue]=f(_t,Mt),Qe}_c(Ue){return new this.constructor(Ue)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Ue){const _t=Ue.replace("#","");function Mt(Qe,ct){return parseInt(_t[Qe]+_t[ct||Qe],16)}_t.length<6?(this.r=Mt(0),this.g=Mt(1),this.b=Mt(2),this.a=_t[3]?Mt(3)/255:1):(this.r=Mt(0,1),this.g=Mt(2,3),this.b=Mt(4,5),this.a=_t[6]?Mt(6,7)/255:1)}fromHsl({h:Ue,s:_t,l:Mt,a:Qe}){if(this._h=Ue%360,this._s=_t,this._l=Mt,this.a=typeof Qe=="number"?Qe:1,_t<=0){const We=i(Mt*255);this.r=We,this.g=We,this.b=We}let ct=0,st=0,qe=0;const Be=Ue/60,be=(1-Math.abs(2*Mt-1))*_t,De=be*(1-Math.abs(Be%2-1));Be>=0&&Be<1?(ct=be,st=De):Be>=1&&Be<2?(ct=De,st=be):Be>=2&&Be<3?(st=be,qe=De):Be>=3&&Be<4?(st=De,qe=be):Be>=4&&Be<5?(ct=De,qe=be):Be>=5&&Be<6&&(ct=be,qe=De);const Ge=Mt-be/2;this.r=i((ct+Ge)*255),this.g=i((st+Ge)*255),this.b=i((qe+Ge)*255)}fromHsv({h:Ue,s:_t,v:Mt,a:Qe}){this._h=Ue%360,this._s=_t,this._v=Mt,this.a=typeof Qe=="number"?Qe:1;const ct=i(Mt*255);if(this.r=ct,this.g=ct,this.b=ct,_t<=0)return;const st=Ue/60,qe=Math.floor(st),Be=st-qe,be=i(Mt*(1-_t)*255),De=i(Mt*(1-_t*Be)*255),Ge=i(Mt*(1-_t*(1-Be))*255);switch(qe){case 0:this.g=Ge,this.b=be;break;case 1:this.r=De,this.b=be;break;case 2:this.r=be,this.b=Ge;break;case 3:this.r=be,this.g=De;break;case 4:this.r=Ge,this.g=be;break;case 5:default:this.g=be,this.b=De;break}}fromHsvString(Ue){const _t=l(Ue,c);this.fromHsv({h:_t[0],s:_t[1],v:_t[2],a:_t[3]})}fromHslString(Ue){const _t=l(Ue,c);this.fromHsl({h:_t[0],s:_t[1],l:_t[2],a:_t[3]})}fromRgbString(Ue){const _t=l(Ue,(Mt,Qe)=>Qe.includes("%")?i(Mt/100*255):Mt);this.r=_t[0],this.g=_t[1],this.b=_t[2],this.a=_t[3]}}var h=2,o=.16,a=.05,x=.05,p=.15,y=5,m=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(ar,Ue,_t){var Mt;return Math.round(ar.h)>=60&&Math.round(ar.h)<=240?Mt=_t?Math.round(ar.h)-h*Ue:Math.round(ar.h)+h*Ue:Mt=_t?Math.round(ar.h)+h*Ue:Math.round(ar.h)-h*Ue,Mt<0?Mt+=360:Mt>=360&&(Mt-=360),Mt}function k(ar,Ue,_t){if(ar.h===0&&ar.s===0)return ar.s;var Mt;return _t?Mt=ar.s-o*Ue:Ue===m?Mt=ar.s+o:Mt=ar.s+a*Ue,Mt>1&&(Mt=1),_t&&Ue===y&&Mt>.1&&(Mt=.1),Mt<.06&&(Mt=.06),Math.round(Mt*100)/100}function R(ar,Ue,_t){var Mt;return _t?Mt=ar.v+x*Ue:Mt=ar.v-p*Ue,Mt=Math.max(0,Math.min(1,Mt)),Math.round(Mt*100)/100}function A(ar){for(var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=[],Mt=new u(ar),Qe=Mt.toHsv(),ct=y;ct>0;ct-=1){var st=new u({h:S(Qe,ct,!0),s:k(Qe,ct,!0),v:R(Qe,ct,!0)});_t.push(st)}_t.push(Mt);for(var qe=1;qe<=m;qe+=1){var Be=new u({h:S(Qe,qe),s:k(Qe,qe),v:R(Qe,qe)});_t.push(Be)}return Ue.theme==="dark"?b.map(function(be){var De=be.index,Ge=be.amount;return new u(Ue.backgroundColor||"#141414").mix(_t[De],Ge).toHexString()}):_t.map(function(be){return be.toHexString()})}var I={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var G=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];G.primary=G[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[5];var J=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];J.primary=J[5];var q=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];q.primary=q[5];var V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,Q={red:M,volcano:B,orange:N,gold:K,yellow:G,lime:H,green:ae,cyan:ne,blue:oe,geekblue:J,purple:q,magenta:V,grey:se},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var Z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Z.primary=Z[5];var j=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];j.primary=j[5];var ie=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ie.primary=ie[5];var ve=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];ve.primary=ve[5];var Ee=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Ee.primary=Ee[5];var Te=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Te.primary=Te[5];var He=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];He.primary=He[5];var je=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];je.primary=je[5];var Ot=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ot.primary=Ot[5];var ft=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];ft.primary=ft[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var Wt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Wt.primary=Wt[5];var Rt={red:le,volcano:Z,orange:j,gold:ie,yellow:ve,lime:Ee,green:Te,cyan:He,blue:je,geekblue:Ot,purple:ft,magenta:Pt,grey:Wt}},36237:function(d,_,e){"use strict";e.r(_),e.d(_,{Keyframes:function(){return Fo},NaNLinter:function(){return ss},StyleContext:function(){return ne},StyleProvider:function(){return ae},Theme:function(){return Pt},_experimental:function(){return Ko},createCache:function(){return G},createTheme:function(){return Rt},extractStyle:function(){return rl},genCalc:function(){return Te},getComputedToken:function(){return kt},legacyLogicalPropertiesTransformer:function(){return Uu},legacyNotSelectorLinter:function(){return Zs},logicalPropertiesLinter:function(){return ro},parentSelectorLinter:function(){return Os},px2remTransformer:function(){return gu},token2CSSVar:function(){return Le},unit:function(){return ur},useCSSVarRegister:function(){return Mo},useCacheToken:function(){return Er},useStyleRegister:function(){return es}});var r=e(42978),i=e(20068),l=e(94480),c=e(33885);function f(rr){for(var yr=0,hr,gr=0,Tr=rr.length;Tr>=4;++gr,Tr-=4)hr=rr.charCodeAt(gr)&255|(rr.charCodeAt(++gr)&255)<<8|(rr.charCodeAt(++gr)&255)<<16|(rr.charCodeAt(++gr)&255)<<24,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16),hr^=hr>>>24,yr=(hr&65535)*1540483477+((hr>>>16)*59797<<16)^(yr&65535)*1540483477+((yr>>>16)*59797<<16);switch(Tr){case 3:yr^=(rr.charCodeAt(gr+2)&255)<<16;case 2:yr^=(rr.charCodeAt(gr+1)&255)<<8;case 1:yr^=rr.charCodeAt(gr)&255,yr=(yr&65535)*1540483477+((yr>>>16)*59797<<16)}return yr^=yr>>>13,yr=(yr&65535)*1540483477+((yr>>>16)*59797<<16),((yr^yr>>>15)>>>0).toString(36)}var u=f,h=e(810),o=e(59301),a=e.t(o,2),x=e(75931),p=e(80547),y=e(13697),m=e(67732),b=e(83652),S="%";function k(rr){return rr.join(S)}var R=function(){function rr(yr){(0,m.Z)(this,rr),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=yr}return(0,b.Z)(rr,[{key:"get",value:function(hr){return this.opGet(k(hr))}},{key:"opGet",value:function(hr){return this.cache.get(hr)||null}},{key:"update",value:function(hr,gr){return this.opUpdate(k(hr),gr)}},{key:"opUpdate",value:function(hr,gr){var Tr=this.cache.get(hr),xn=gr(Tr);xn===null?this.cache.delete(hr):this.cache.set(hr,xn)}}]),rr}(),A=R,I=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",K="__cssinjs_instance__";function G(){var rr=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var yr=document.body.querySelectorAll("style[".concat(B,"]"))||[],hr=document.head.firstChild;Array.from(yr).forEach(function(Tr){Tr[K]=Tr[K]||rr,Tr[K]===rr&&document.head.insertBefore(Tr,hr)});var gr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Tr){var xn=Tr.getAttribute(B);if(gr[xn]){if(Tr[K]===rr){var Wn;(Wn=Tr.parentNode)===null||Wn===void 0||Wn.removeChild(Tr)}}else gr[xn]=!0})}return new A(rr)}var H=o.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),ae=function(yr){var hr=yr.children,gr=(0,x.Z)(yr,I),Tr=o.useContext(H),xn=(0,p.Z)(function(){var Wn=(0,c.Z)({},Tr);Object.keys(gr).forEach(function(Hn){var oi=gr[Hn];gr[Hn]!==void 0&&(Wn[Hn]=oi)});var Mn=gr.cache;return Wn.cache=Wn.cache||G(),Wn.defaultCache=!Mn&&Tr.defaultCache,Wn},[Tr,gr],function(Wn,Mn){return!(0,y.Z)(Wn[0],Mn[0],!0)||!(0,y.Z)(Wn[1],Mn[1],!0)});return o.createElement(H.Provider,{value:xn},hr)},ne=H,oe=e(76190),J=e(47273),q=e(31226),V=e(42403),se=e(158),ee=(0,b.Z)(function rr(){(0,m.Z)(this,rr)}),Q=ee,le="CALC_UNIT",Z=new RegExp(le,"g");function j(rr){return typeof rr=="number"?"".concat(rr).concat(le):rr}var ie=function(rr){(0,V.Z)(hr,rr);var yr=(0,se.Z)(hr);function hr(gr,Tr){var xn;(0,m.Z)(this,hr),xn=yr.call(this),(0,i.Z)((0,q.Z)(xn),"result",""),(0,i.Z)((0,q.Z)(xn),"unitlessCssVar",void 0),(0,i.Z)((0,q.Z)(xn),"lowPriority",void 0);var Wn=(0,oe.Z)(gr);return xn.unitlessCssVar=Tr,gr instanceof hr?xn.result="(".concat(gr.result,")"):Wn==="number"?xn.result=j(gr):Wn==="string"&&(xn.result=gr),xn}return(0,b.Z)(hr,[{key:"add",value:function(Tr){return Tr instanceof hr?this.result="".concat(this.result," + ").concat(Tr.getResult()):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," + ").concat(j(Tr))),this.lowPriority=!0,this}},{key:"sub",value:function(Tr){return Tr instanceof hr?this.result="".concat(this.result," - ").concat(Tr.getResult()):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," - ").concat(j(Tr))),this.lowPriority=!0,this}},{key:"mul",value:function(Tr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Tr instanceof hr?this.result="".concat(this.result," * ").concat(Tr.getResult(!0)):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," * ").concat(Tr)),this.lowPriority=!1,this}},{key:"div",value:function(Tr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Tr instanceof hr?this.result="".concat(this.result," / ").concat(Tr.getResult(!0)):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," / ").concat(Tr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Tr){return this.lowPriority||Tr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Tr){var xn=this,Wn=Tr||{},Mn=Wn.unit,Hn=!0;return typeof Mn=="boolean"?Hn=Mn:Array.from(this.unitlessCssVar).some(function(oi){return xn.result.includes(oi)})&&(Hn=!1),this.result=this.result.replace(Z,Hn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),hr}(Q),ve=function(rr){(0,V.Z)(hr,rr);var yr=(0,se.Z)(hr);function hr(gr){var Tr;return(0,m.Z)(this,hr),Tr=yr.call(this),(0,i.Z)((0,q.Z)(Tr),"result",0),gr instanceof hr?Tr.result=gr.result:typeof gr=="number"&&(Tr.result=gr),Tr}return(0,b.Z)(hr,[{key:"add",value:function(Tr){return Tr instanceof hr?this.result+=Tr.result:typeof Tr=="number"&&(this.result+=Tr),this}},{key:"sub",value:function(Tr){return Tr instanceof hr?this.result-=Tr.result:typeof Tr=="number"&&(this.result-=Tr),this}},{key:"mul",value:function(Tr){return Tr instanceof hr?this.result*=Tr.result:typeof Tr=="number"&&(this.result*=Tr),this}},{key:"div",value:function(Tr){return Tr instanceof hr?this.result/=Tr.result:typeof Tr=="number"&&(this.result/=Tr),this}},{key:"equal",value:function(){return this.result}}]),hr}(Q),Ee=function(yr,hr){var gr=yr==="css"?ie:ve;return function(Tr){return new gr(Tr,hr)}},Te=Ee;function He(rr,yr){if(rr.length!==yr.length)return!1;for(var hr=0;hr1&&arguments[1]!==void 0?arguments[1]:!1,Wn={map:this.cache};return hr.forEach(function(Mn){if(!Wn)Wn=void 0;else{var Hn;Wn=(Hn=Wn)===null||Hn===void 0||(Hn=Hn.map)===null||Hn===void 0?void 0:Hn.get(Mn)}}),(gr=Wn)!==null&&gr!==void 0&&gr.value&&xn&&(Wn.value[1]=this.cacheCallTimes++),(Tr=Wn)===null||Tr===void 0?void 0:Tr.value}},{key:"get",value:function(hr){var gr;return(gr=this.internalGet(hr,!0))===null||gr===void 0?void 0:gr[0]}},{key:"has",value:function(hr){return!!this.internalGet(hr)}},{key:"set",value:function(hr,gr){var Tr=this;if(!this.has(hr)){if(this.size()+1>rr.MAX_CACHE_SIZE+rr.MAX_CACHE_OFFSET){var xn=this.keys.reduce(function(oi,Jn){var vr=(0,r.Z)(oi,2),Nr=vr[1];return Tr.internalGet(Jn)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ft+=1}return(0,b.Z)(rr,[{key:"getDerivativeToken",value:function(hr){return this.derivatives.reduce(function(gr,Tr){return Tr(hr,gr)},void 0)}}]),rr}(),Wt=new je;function Rt(rr){var yr=Array.isArray(rr)?rr:[rr];return Wt.has(yr)||Wt.set(yr,new Pt(yr)),Wt.get(yr)}var ar=new WeakMap,Ue={};function _t(rr,yr){for(var hr=ar,gr=0;gr3&&arguments[3]!==void 0?arguments[3]:{},Tr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Tr)return rr;var xn=(0,c.Z)((0,c.Z)({},gr),{},(0,i.Z)((0,i.Z)({},M,yr),B,hr)),Wn=Object.keys(xn).map(function(Mn){var Hn=xn[Mn];return Hn?"".concat(Mn,'="').concat(Hn,'"'):null}).filter(function(Mn){return Mn}).join(" ");return"")}var Le=function(yr){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(hr?"".concat(hr,"-"):"").concat(yr).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Je=function(yr,hr,gr){return Object.keys(yr).length?".".concat(hr).concat(gr!=null&&gr.scope?".".concat(gr.scope):"","{").concat(Object.entries(yr).map(function(Tr){var xn=(0,r.Z)(Tr,2),Wn=xn[0],Mn=xn[1];return"".concat(Wn,":").concat(Mn,";")}).join(""),"}"):""},Yt=function(yr,hr,gr){var Tr={},xn={};return Object.entries(yr).forEach(function(Wn){var Mn,Hn,oi=(0,r.Z)(Wn,2),Jn=oi[0],vr=oi[1];if(gr!=null&&(Mn=gr.preserve)!==null&&Mn!==void 0&&Mn[Jn])xn[Jn]=vr;else if((typeof vr=="string"||typeof vr=="number")&&!(gr!=null&&(Hn=gr.ignore)!==null&&Hn!==void 0&&Hn[Jn])){var Nr,jr=Le(Jn,gr==null?void 0:gr.prefix);Tr[jr]=typeof vr=="number"&&!(gr!=null&&(Nr=gr.unitless)!==null&&Nr!==void 0&&Nr[Jn])?"".concat(vr,"px"):String(vr),xn[Jn]="var(".concat(jr,")")}}),[xn,Je(Tr,hr,{scope:gr==null?void 0:gr.scope})]},It=e(34280),Zt=(0,c.Z)({},a),Gt=Zt.useInsertionEffect,cr=function(yr,hr,gr){o.useMemo(yr,gr),(0,It.Z)(function(){return hr(!0)},gr)},Ht=Gt?function(rr,yr,hr){return Gt(function(){return rr(),yr()},hr)}:cr,Ce=Ht,ce=(0,c.Z)({},a),pe=ce.useInsertionEffect,Tt=function(yr){var hr=[],gr=!1;function Tr(xn){gr||hr.push(xn)}return o.useEffect(function(){return gr=!1,function(){gr=!0,hr.length&&hr.forEach(function(xn){return xn()})}},yr),Tr},Se=function(){return function(yr){yr()}},at=typeof pe!="undefined"?Tt:Se,$t=at;function yt(){return!1}var Ae=!1;function gt(){return Ae}var ze=yt;if(0)var et,bt;function Ft(rr,yr,hr,gr,Tr){var xn=o.useContext(ne),Wn=xn.cache,Mn=[rr].concat((0,l.Z)(yr)),Hn=k(Mn),oi=$t([Hn]),Jn=ze(),vr=function(In){Wn.opUpdate(Hn,function(li){var Ai=li||[void 0,void 0],$n=(0,r.Z)(Ai,2),ta=$n[0],ra=ta===void 0?0:ta,yi=$n[1],wt=yi,Qn=wt||hr(),Sa=[ra,Qn];return In?In(Sa):Sa})};o.useMemo(function(){vr()},[Hn]);var Nr=Wn.opGet(Hn),jr=Nr[1];return Ce(function(){Tr==null||Tr(jr)},function(Tn){return vr(function(In){var li=(0,r.Z)(In,2),Ai=li[0],$n=li[1];return Tn&&Ai===0&&(Tr==null||Tr(jr)),[Ai+1,$n]}),function(){Wn.opUpdate(Hn,function(In){var li=In||[],Ai=(0,r.Z)(li,2),$n=Ai[0],ta=$n===void 0?0:$n,ra=Ai[1],yi=ta-1;return yi===0?(oi(function(){(Tn||!Wn.opGet(Hn))&&(gr==null||gr(ra,!1))}),null):[ta-1,ra]})}},[Hn]),jr}var Fe={},kr="css",pt=new Map;function en(rr){pt.set(rr,(pt.get(rr)||0)+1)}function on(rr,yr){if(typeof document!="undefined"){var hr=document.querySelectorAll("style[".concat(M,'="').concat(rr,'"]'));hr.forEach(function(gr){if(gr[K]===yr){var Tr;(Tr=gr.parentNode)===null||Tr===void 0||Tr.removeChild(gr)}})}}var jt=0;function Jt(rr,yr){pt.set(rr,(pt.get(rr)||0)-1);var hr=new Set;pt.forEach(function(gr,Tr){gr<=0&&hr.add(Tr)}),pt.size-hr.size>jt&&hr.forEach(function(gr){on(gr,yr),pt.delete(gr)})}var kt=function(yr,hr,gr,Tr){var xn=gr.getDerivativeToken(yr),Wn=(0,c.Z)((0,c.Z)({},xn),hr);return Tr&&(Wn=Tr(Wn)),Wn},Xt="token";function Er(rr,yr){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gr=(0,o.useContext)(ne),Tr=gr.cache.instanceId,xn=gr.container,Wn=hr.salt,Mn=Wn===void 0?"":Wn,Hn=hr.override,oi=Hn===void 0?Fe:Hn,Jn=hr.formatToken,vr=hr.getComputedToken,Nr=hr.cssVar,jr=_t(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(yr)))},yr),Tn=Qe(jr),In=Qe(oi),li=Nr?Qe(Nr):"",Ai=Ft(Xt,[Mn,rr.id,Tn,In,li],function(){var $n,ta=vr?vr(jr,oi,rr):kt(jr,oi,rr,Jn),ra=(0,c.Z)({},ta),yi="";if(Nr){var wt=Yt(ta,Nr.key,{prefix:Nr.prefix,ignore:Nr.ignore,unitless:Nr.unitless,preserve:Nr.preserve}),Qn=(0,r.Z)(wt,2);ta=Qn[0],yi=Qn[1]}var Sa=ct(ta,Mn);ta._tokenKey=Sa,ra._tokenKey=ct(ra,Mn);var Ra=($n=Nr==null?void 0:Nr.key)!==null&&$n!==void 0?$n:Sa;ta._themeKey=Ra,en(Ra);var Ys="".concat(kr,"-").concat(u(Sa));return ta._hashId=Ys,[ta,Ys,ra,yi,(Nr==null?void 0:Nr.key)||""]},function($n){Jt($n[0]._themeKey,Tr)},function($n){var ta=(0,r.Z)($n,4),ra=ta[0],yi=ta[3];if(Nr&&yi){var wt=(0,h.hq)(yi,u("css-variables-".concat(ra._themeKey)),{mark:B,prepend:"queue",attachTo:xn,priority:-999});wt[K]=Tr,wt.setAttribute(M,ra._themeKey)}});return Ai}var Or=function(yr,hr,gr){var Tr=(0,r.Z)(yr,5),xn=Tr[2],Wn=Tr[3],Mn=Tr[4],Hn=gr||{},oi=Hn.plain;if(!Wn)return null;var Jn=xn._tokenKey,vr=-999,Nr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(vr)},jr=tr(Wn,Mn,Jn,Nr,oi);return[vr,Jn,jr]},Ct=e(54476),Kt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Lt=Kt,Qt="-ms-",br="-moz-",Qr="-webkit-",Hr="comm",Bn="rule",wn="decl",Vn="@page",At="@media",Yr="@import",ni="@charset",Mi="@viewport",Et="@supports",Xn="@document",si="@namespace",Ui="@keyframes",Ei="@font-face",ji="@counter-style",la="@font-feature-values",Wi="@layer",Di="@scope",di=Math.abs,Hi=String.fromCharCode,Ta=Object.assign;function xt(rr,yr){return Ki(rr,0)^45?(((yr<<2^Ki(rr,0))<<2^Ki(rr,1))<<2^Ki(rr,2))<<2^Ki(rr,3):0}function xa(rr){return rr.trim()}function Gi(rr,yr){return(rr=yr.exec(rr))?rr[0]:rr}function _i(rr,yr,hr){return rr.replace(yr,hr)}function Da(rr,yr,hr){return rr.indexOf(yr,hr)}function Ki(rr,yr){return rr.charCodeAt(yr)|0}function ti(rr,yr,hr){return rr.slice(yr,hr)}function Zn(rr){return rr.length}function or(rr){return rr.length}function ut(rr,yr){return yr.push(rr),rr}function me(rr,yr){return rr.map(yr).join("")}function dt(rr,yr){return rr.filter(function(hr){return!Gi(hr,yr)})}function rt(rr,yr){for(var hr="",gr=0;gr0?Ki(Cn,--tn):0,Ir--,Dr===10&&(Ir=1,mr--),Dr}function ye(){return Dr=tn2||$r(Dr)>3?"":" "}function Kr(rr){for(;ye();)switch($r(Dr)){case 0:append(Qs(tn-1),rr);break;case 2:append(Ci(Dr),rr);break;default:append(from(Dr),rr)}return rr}function Rn(rr,yr){for(;--yr&&ye()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return Lr(rr,nr()+(yr<6&&sr()==32&&ye()==32))}function ui(rr){for(;ye();)switch(Dr){case rr:return tn;case 34:case 39:rr!==34&&rr!==39&&ui(Dr);break;case 40:rr===41&&ui(rr);break;case 92:ye();break}return tn}function wa(rr,yr){for(;ye()&&rr+Dr!==57;)if(rr+Dr===84&&sr()===47)break;return"/*"+Lr(yr,tn-1)+"*"+Hi(rr===47?rr:ye())}function Qs(rr){for(;!$r(sr());)ye();return Lr(rr,tn)}function Ba(rr){return pn(zs("",null,null,null,[""],rr=Wr(rr),0,[0],rr))}function zs(rr,yr,hr,gr,Tr,xn,Wn,Mn,Hn){for(var oi=0,Jn=0,vr=Wn,Nr=0,jr=0,Tn=0,In=1,li=1,Ai=1,$n=0,ta="",ra=Tr,yi=xn,wt=gr,Qn=ta;li;)switch(Tn=$n,$n=ye()){case 40:if(Tn!=108&&Ki(Qn,vr-1)==58){Da(Qn+=_i(Ci($n),"&","&\f"),"&\f",di(oi?Mn[oi-1]:0))!=-1&&(Ai=-1);break}case 34:case 39:case 91:Qn+=Ci($n);break;case 9:case 10:case 13:case 32:Qn+=bn(Tn);break;case 92:Qn+=Rn(nr()-1,7);continue;case 47:switch(sr()){case 42:case 47:ut(as(wa(ye(),nr()),yr,hr,Hn),Hn),($r(Tn||1)==5||$r(sr()||1)==5)&&Zn(Qn)&&ti(Qn,-1,void 0)!==" "&&(Qn+=" ");break;default:Qn+="/"}break;case 123*In:Mn[oi++]=Zn(Qn)*Ai;case 125*In:case 59:case 0:switch($n){case 0:case 125:li=0;case 59+Jn:Ai==-1&&(Qn=_i(Qn,/\f/g,"")),jr>0&&(Zn(Qn)-vr||In===0&&Tn===47)&&ut(jr>32?oo(Qn+";",gr,hr,vr-1,Hn):oo(_i(Qn," ","")+";",gr,hr,vr-2,Hn),Hn);break;case 59:Qn+=";";default:if(ut(wt=Ns(Qn,yr,hr,oi,Jn,Tr,Mn,ta,ra=[],yi=[],vr,xn),xn),$n===123)if(Jn===0)zs(Qn,yr,wt,wt,ra,xn,vr,Mn,yi);else{switch(Nr){case 99:if(Ki(Qn,3)===110)break;case 108:if(Ki(Qn,2)===97)break;default:Jn=0;case 100:case 109:case 115:}Jn?zs(rr,wt,wt,gr&&ut(Ns(rr,wt,wt,0,0,Tr,Mn,ta,Tr,ra=[],vr,yi),yi),Tr,yi,vr,Mn,gr?ra:yi):zs(Qn,wt,wt,wt,[""],yi,0,Mn,yi)}}oi=Jn=jr=0,In=Ai=1,ta=Qn="",vr=Wn;break;case 58:vr=1+Zn(Qn),jr=Tn;default:if(In<1){if($n==123)--In;else if($n==125&&In++==0&<()==125)continue}switch(Qn+=Hi($n),$n*In){case 38:Ai=Jn>0?1:(Qn+="\f",-1);break;case 44:Mn[oi++]=(Zn(Qn)-1)*Ai,Ai=1;break;case 64:sr()===45&&(Qn+=Ci(ye())),Nr=sr(),Jn=vr=Zn(ta=Qn+=Qs(nr())),$n++;break;case 45:Tn===45&&Zn(Qn)==2&&(In=0)}}return xn}function Ns(rr,yr,hr,gr,Tr,xn,Wn,Mn,Hn,oi,Jn,vr){for(var Nr=Tr-1,jr=Tr===0?xn:[""],Tn=or(jr),In=0,li=0,Ai=0;In0?jr[$n]+" "+ta:_i(ta,/&\f/g,jr[$n])))&&(Hn[Ai++]=ra);return _r(rr,yr,hr,Tr===0?Bn:Mn,Hn,oi,Jn,vr)}function as(rr,yr,hr,gr){return _r(rr,yr,hr,Hr,Hi($e()),ti(rr,2,-2),0,gr)}function oo(rr,yr,hr,gr,Tr){return _r(rr,yr,hr,wn,ti(rr,0,gr),ti(rr,gr+1,-1),gr,Tr)}function Aa(rr,yr){var hr=yr.path,gr=yr.parentSelectors;(0,Ot.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(hr?"Error in ".concat(hr,": "):"").concat(rr).concat(gr.length?" Selector: ".concat(gr.join(" | ")):""))}var Ps=function(yr,hr,gr){if(yr==="content"){var Tr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,xn=["normal","none","initial","inherit","unset"];(typeof hr!="string"||xn.indexOf(hr)===-1&&!Tr.test(hr)&&(hr.charAt(0)!==hr.charAt(hr.length-1)||hr.charAt(0)!=='"'&&hr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(hr,"\"'`."),gr)}},ps=null,po=function(yr,hr,gr){yr==="animation"&&gr.hashId&&hr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(hr,"', in which case 'animationName' with Keyframe as value is recommended."),gr)},Ji=null;function to(rr){var yr,hr=((yr=rr.match(/:not\(([^)]*)\)/))===null||yr===void 0?void 0:yr[1])||"",gr=hr.split(/(\[[^[]*])|(?=[.#])/).filter(function(Tr){return Tr});return gr.length>1}function Zo(rr){return rr.parentSelectors.reduce(function(yr,hr){return yr?hr.includes("&")?hr.replace(/&/g,yr):"".concat(yr," ").concat(hr):hr},"")}var Na=function(yr,hr,gr){var Tr=Zo(gr),xn=Tr.match(/:not\([^)]*\)/g)||[];xn.length>0&&xn.some(to)&&Aa("Concat ':not' selector not support in legacy browsers.",gr)},Zs=Na,pi=function(yr,hr,gr){switch(yr){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Aa("You seem to be using non-logical property '".concat(yr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof hr=="string"){var Tr=hr.split(" ").map(function(Mn){return Mn.trim()});Tr.length===4&&Tr[1]!==Tr[3]&&Aa("You seem to be using '".concat(yr,"' property with different left ").concat(yr," and right ").concat(yr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;case"clear":case"textAlign":(hr==="left"||hr==="right")&&Aa("You seem to be using non-logical value '".concat(hr,"' of ").concat(yr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"borderRadius":if(typeof hr=="string"){var xn=hr.split("/").map(function(Mn){return Mn.trim()}),Wn=xn.reduce(function(Mn,Hn){if(Mn)return Mn;var oi=Hn.split(" ").map(function(Jn){return Jn.trim()});return oi.length>=2&&oi[0]!==oi[1]||oi.length===3&&oi[1]!==oi[2]||oi.length===4&&oi[2]!==oi[3]?!0:Mn},!1);Wn&&Aa("You seem to be using non-logical value '".concat(hr,"' of ").concat(yr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;default:}},ro=pi,Ln=function(yr,hr,gr){(typeof hr=="string"&&/NaN/g.test(hr)||Number.isNaN(hr))&&Aa("Unexpected 'NaN' in property '".concat(yr,": ").concat(hr,"'."),gr)},ss=Ln,Is=function(yr,hr,gr){gr.parentSelectors.some(function(Tr){var xn=Tr.split(",");return xn.some(function(Wn){return Wn.split("&").length>2})})&&Aa("Should not use more than one `&` in a selector.",gr)},Os=Is,qi="data-ant-cssinjs-cache-path",Ka="_FILE_STYLE__";function zi(rr){return Object.keys(rr).map(function(yr){var hr=rr[yr];return"".concat(yr,":").concat(hr)}).join(";")}var Ds,xo=!0;function Wo(rr){var yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Ds=rr,xo=yr}function Xo(){if(!Ds&&(Ds={},(0,J.Z)())){var rr=document.createElement("div");rr.className=qi,rr.style.position="fixed",rr.style.visibility="hidden",rr.style.top="-9999px",document.body.appendChild(rr);var yr=getComputedStyle(rr).content||"";yr=yr.replace(/^"/,"").replace(/"$/,""),yr.split(";").forEach(function(Tr){var xn=Tr.split(":"),Wn=(0,r.Z)(xn,2),Mn=Wn[0],Hn=Wn[1];Ds[Mn]=Hn});var hr=document.querySelector("style[".concat(qi,"]"));if(hr){var gr;xo=!1,(gr=hr.parentNode)===null||gr===void 0||gr.removeChild(hr)}document.body.removeChild(rr)}}function mu(rr){return Xo(),!!Ds[rr]}function vu(rr){var yr=Ds[rr],hr=null;if(yr&&(0,J.Z)())if(xo)hr=Ka;else{var gr=document.querySelector("style[".concat(B,'="').concat(Ds[rr],'"]'));gr?hr=gr.innerHTML:delete Ds[rr]}return[hr,yr]}var _o="_skip_check_",Ho="_multi_value_";function Oo(rr){var yr=rt(Ba(rr),pr);return yr.replace(/\{%%%\:[^;];}/g,";")}function nu(rr){return(0,oe.Z)(rr)==="object"&&rr&&(_o in rr||Ho in rr)}function qo(rr,yr,hr){if(!yr)return rr;var gr=".".concat(yr),Tr=hr==="low"?":where(".concat(gr,")"):gr,xn=rr.split(",").map(function(Wn){var Mn,Hn=Wn.trim().split(/\s+/),oi=Hn[0]||"",Jn=((Mn=oi.match(/^\w+/))===null||Mn===void 0?void 0:Mn[0])||"";return oi="".concat(Jn).concat(Tr).concat(oi.slice(Jn.length)),[oi].concat((0,l.Z)(Hn.slice(1))).join(" ")});return xn.join(",")}var mi=function rr(yr){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Tr=gr.root,xn=gr.injectHash,Wn=gr.parentSelectors,Mn=hr.hashId,Hn=hr.layer,oi=hr.path,Jn=hr.hashPriority,vr=hr.transformers,Nr=vr===void 0?[]:vr,jr=hr.linters,Tn=jr===void 0?[]:jr,In="",li={};function Ai(ra){var yi=ra.getName(Mn);if(!li[yi]){var wt=rr(ra.style,hr,{root:!1,parentSelectors:Wn}),Qn=(0,r.Z)(wt,1),Sa=Qn[0];li[yi]="@keyframes ".concat(ra.getName(Mn)).concat(Sa)}}function $n(ra){var yi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ra.forEach(function(wt){Array.isArray(wt)?$n(wt,yi):wt&&yi.push(wt)}),yi}var ta=$n(Array.isArray(yr)?yr:[yr]);return ta.forEach(function(ra){var yi=typeof ra=="string"&&!Tr?{}:ra;if(typeof yi=="string")In+="".concat(yi,` -`);else if(yi._keyframe)Ai(yi);else{var wt=Nr.reduce(function(Qn,Sa){var Ra;return(Sa==null||(Ra=Sa.visit)===null||Ra===void 0?void 0:Ra.call(Sa,Qn))||Qn},yi);Object.keys(wt).forEach(function(Qn){var Sa=wt[Qn];if((0,oe.Z)(Sa)==="object"&&Sa&&(Qn!=="animationName"||!Sa._keyframe)&&!nu(Sa)){var Ra=!1,Ys=Qn.trim(),sn=!1;(Tr||xn)&&Mn?Ys.startsWith("@")?Ra=!0:Ys==="&"?Ys=qo("",Mn,Jn):Ys=qo(Qn,Mn,Jn):Tr&&!Mn&&(Ys==="&"||Ys==="")&&(Ys="",sn=!0);var Do=rr(Sa,hr,{root:sn,injectHash:Ra,parentSelectors:[].concat((0,l.Z)(Wn),[Ys])}),lo=(0,r.Z)(Do,2),Rs=lo[0],no=lo[1];li=(0,c.Z)((0,c.Z)({},li),no),In+="".concat(Ys).concat(Rs)}else{let cs=function(ja,os){var Ye=ja.replace(/[A-Z]/g,function(Bt){return"-".concat(Bt.toLowerCase())}),Pe=os;!Lt[ja]&&typeof Pe=="number"&&Pe!==0&&(Pe="".concat(Pe,"px")),ja==="animationName"&&os!==null&&os!==void 0&&os._keyframe&&(Ai(os),Pe=os.getName(Mn)),In+="".concat(Ye,":").concat(Pe,";")};var io,ts=(io=Sa==null?void 0:Sa.value)!==null&&io!==void 0?io:Sa;(0,oe.Z)(Sa)==="object"&&Sa!==null&&Sa!==void 0&&Sa[Ho]&&Array.isArray(ts)?ts.forEach(function(ja){cs(Qn,ja)}):cs(Qn,ts)}})}}),Tr?Hn&&(In&&(In="@layer ".concat(Hn.name," {").concat(In,"}")),Hn.dependencies&&(li["@layer ".concat(Hn.name)]=Hn.dependencies.map(function(ra){return"@layer ".concat(ra,", ").concat(Hn.name,";")}).join(` -`))):In="{".concat(In,"}"),[In,li]};function gi(rr,yr){return u("".concat(rr.join("%")).concat(yr))}function Ja(){return null}var ls="style";function es(rr,yr){var hr=rr.token,gr=rr.path,Tr=rr.hashId,xn=rr.layer,Wn=rr.nonce,Mn=rr.clientOnly,Hn=rr.order,oi=Hn===void 0?0:Hn,Jn=o.useContext(ne),vr=Jn.autoClear,Nr=Jn.mock,jr=Jn.defaultCache,Tn=Jn.hashPriority,In=Jn.container,li=Jn.ssrInline,Ai=Jn.transformers,$n=Jn.linters,ta=Jn.cache,ra=Jn.layer,yi=hr._tokenKey,wt=[yi];ra&&wt.push("layer"),wt.push.apply(wt,(0,l.Z)(gr));var Qn=ht,Sa=Ft(ls,wt,function(){var lo=wt.join("|");if(mu(lo)){var Rs=vu(lo),no=(0,r.Z)(Rs,2),io=no[0],ts=no[1];if(io)return[io,yi,ts,{},Mn,oi]}var cs=yr(),ja=mi(cs,{hashId:Tr,hashPriority:Tn,layer:ra?xn:void 0,path:gr.join("-"),transformers:Ai,linters:$n}),os=(0,r.Z)(ja,2),Ye=os[0],Pe=os[1],Bt=Oo(Ye),mt=gi(wt,Bt);return[Bt,yi,mt,Pe,Mn,oi]},function(lo,Rs){var no=(0,r.Z)(lo,3),io=no[2];(Rs||vr)&&ht&&(0,h.jL)(io,{mark:B,attachTo:In})},function(lo){var Rs=(0,r.Z)(lo,4),no=Rs[0],io=Rs[1],ts=Rs[2],cs=Rs[3];if(Qn&&no!==Ka){var ja={mark:B,prepend:ra?!1:"queue",attachTo:In,priority:oi},os=typeof Wn=="function"?Wn():Wn;os&&(ja.csp={nonce:os});var Ye=[],Pe=[];Object.keys(cs).forEach(function(mt){mt.startsWith("@layer")?Ye.push(mt):Pe.push(mt)}),Ye.forEach(function(mt){(0,h.hq)(Oo(cs[mt]),"_layer-".concat(mt),(0,c.Z)((0,c.Z)({},ja),{},{prepend:!0}))});var Bt=(0,h.hq)(no,ts,ja);Bt[K]=ta.instanceId,Bt.setAttribute(M,yi),Pe.forEach(function(mt){(0,h.hq)(Oo(cs[mt]),"_effect-".concat(mt),ja)})}}),Ra=(0,r.Z)(Sa,3),Ys=Ra[0],sn=Ra[1],Do=Ra[2];return function(lo){var Rs;return!li||Qn||!jr?Rs=o.createElement(Ja,null):Rs=o.createElement("style",(0,Ct.Z)({},(0,i.Z)((0,i.Z)({},M,sn),B,Do),{dangerouslySetInnerHTML:{__html:Ys}})),o.createElement(o.Fragment,null,Rs,lo)}}var Ha=function(yr,hr,gr){var Tr=(0,r.Z)(yr,6),xn=Tr[0],Wn=Tr[1],Mn=Tr[2],Hn=Tr[3],oi=Tr[4],Jn=Tr[5],vr=gr||{},Nr=vr.plain;if(oi)return null;var jr=xn,Tn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Jn)};return jr=tr(xn,Wn,Mn,Tn,Nr),Hn&&Object.keys(Hn).forEach(function(In){if(!hr[In]){hr[In]=!0;var li=Oo(Hn[In]),Ai=tr(li,Wn,"_effect-".concat(In),Tn,Nr);In.startsWith("@layer")?jr=Ai+jr:jr+=Ai}}),[Jn,Mn,jr]},ms="cssVar",Qo=function(yr,hr){var gr=yr.key,Tr=yr.prefix,xn=yr.unitless,Wn=yr.ignore,Mn=yr.token,Hn=yr.scope,oi=Hn===void 0?"":Hn,Jn=(0,o.useContext)(ne),vr=Jn.cache.instanceId,Nr=Jn.container,jr=Mn._tokenKey,Tn=[].concat((0,l.Z)(yr.path),[gr,oi,jr]),In=Ft(ms,Tn,function(){var li=hr(),Ai=Yt(li,gr,{prefix:Tr,unitless:xn,ignore:Wn,scope:oi}),$n=(0,r.Z)(Ai,2),ta=$n[0],ra=$n[1],yi=gi(Tn,ra);return[ta,ra,yi,gr]},function(li){var Ai=(0,r.Z)(li,3),$n=Ai[2];ht&&(0,h.jL)($n,{mark:B,attachTo:Nr})},function(li){var Ai=(0,r.Z)(li,3),$n=Ai[1],ta=Ai[2];if($n){var ra=(0,h.hq)($n,ta,{mark:B,prepend:"queue",attachTo:Nr,priority:-999});ra[K]=vr,ra.setAttribute(M,gr)}});return In},ks=function(yr,hr,gr){var Tr=(0,r.Z)(yr,4),xn=Tr[1],Wn=Tr[2],Mn=Tr[3],Hn=gr||{},oi=Hn.plain;if(!xn)return null;var Jn=-999,vr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Jn)},Nr=tr(xn,Mn,Wn,vr,oi);return[Jn,Wn,Nr]},Mo=Qo,wu=(0,i.Z)((0,i.Z)((0,i.Z)({},ls,Ha),Xt,Or),ms,ks);function Iu(rr){return rr!==null}function rl(rr,yr){var hr=typeof yr=="boolean"?{plain:yr}:yr||{},gr=hr.plain,Tr=gr===void 0?!1:gr,xn=hr.types,Wn=xn===void 0?["style","token","cssVar"]:xn,Mn=hr.once,Hn=Mn===void 0?!1:Mn,oi=new RegExp("^(".concat((typeof Wn=="string"?[Wn]:Wn).join("|"),")%")),Jn=Array.from(rr.cache.keys()).filter(function(Tn){return oi.test(Tn)}),vr={},Nr={},jr="";return Jn.map(function(Tn){if(Hn&&rr.extracted.has(Tn))return null;var In=Tn.replace(oi,"").replace(/%/g,"|"),li=Tn.split("%"),Ai=(0,r.Z)(li,1),$n=Ai[0],ta=wu[$n],ra=ta(rr.cache.get(Tn)[1],vr,{plain:Tr});if(!ra)return null;var yi=(0,r.Z)(ra,3),wt=yi[0],Qn=yi[1],Sa=yi[2];return Tn.startsWith("style")&&(Nr[In]=Qn),rr.extracted.add(Tn),[wt,Sa]}).filter(Iu).sort(function(Tn,In){var li=(0,r.Z)(Tn,1),Ai=li[0],$n=(0,r.Z)(In,1),ta=$n[0];return Ai-ta}).forEach(function(Tn){var In=(0,r.Z)(Tn,2),li=In[1];jr+=li}),jr+=tr(".".concat(qi,'{content:"').concat(zi(Nr),'";}'),void 0,void 0,(0,i.Z)({},qi,qi),Tr),jr}var dl=function(){function rr(yr,hr){(0,m.Z)(this,rr),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=yr,this.style=hr}return(0,b.Z)(rr,[{key:"getName",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return hr?"".concat(hr,"-").concat(this.name):this.name}}]),rr}(),Fo=dl;function uo(rr){if(typeof rr=="number")return[[rr],!1];var yr=String(rr).trim(),hr=yr.match(/(.*)(!important)/),gr=(hr?hr[1]:yr).trim().split(/\s+/),Tr=[],xn=0;return[gr.reduce(function(Wn,Mn){if(Mn.includes("(")||Mn.includes(")")){var Hn=Mn.split("(").length-1,oi=Mn.split(")").length-1;xn+=Hn-oi}return xn>=0&&Tr.push(Mn),xn===0&&(Wn.push(Tr.join(" ")),Tr=[]),Wn},[]),!!hr]}function Go(rr){return rr.notSplit=!0,rr}var Gu={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Go(["borderTop","borderBottom"]),borderBlockStart:Go(["borderTop"]),borderBlockEnd:Go(["borderBottom"]),borderInline:Go(["borderLeft","borderRight"]),borderInlineStart:Go(["borderLeft"]),borderInlineEnd:Go(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Bo(rr,yr){var hr=rr;return yr&&(hr="".concat(hr," !important")),{_skip_check_:!0,value:hr}}var $o={visit:function(yr){var hr={};return Object.keys(yr).forEach(function(gr){var Tr=yr[gr],xn=Gu[gr];if(xn&&(typeof Tr=="number"||typeof Tr=="string")){var Wn=uo(Tr),Mn=(0,r.Z)(Wn,2),Hn=Mn[0],oi=Mn[1];xn.length&&xn.notSplit?xn.forEach(function(Jn){hr[Jn]=Bo(Tr,oi)}):xn.length===1?hr[xn[0]]=Bo(Hn[0],oi):xn.length===2?xn.forEach(function(Jn,vr){var Nr;hr[Jn]=Bo((Nr=Hn[vr])!==null&&Nr!==void 0?Nr:Hn[0],oi)}):xn.length===4?xn.forEach(function(Jn,vr){var Nr,jr;hr[Jn]=Bo((Nr=(jr=Hn[vr])!==null&&jr!==void 0?jr:Hn[vr-2])!==null&&Nr!==void 0?Nr:Hn[0],oi)}):hr[gr]=Tr}else hr[gr]=Tr}),hr}},Uu=$o,iu=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function _u(rr,yr){var hr=Math.pow(10,yr+1),gr=Math.floor(rr*hr);return Math.round(gr/10)*10/hr}var No=function(){var yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},hr=yr.rootValue,gr=hr===void 0?16:hr,Tr=yr.precision,xn=Tr===void 0?5:Tr,Wn=yr.mediaQuery,Mn=Wn===void 0?!1:Wn,Hn=function(vr,Nr){if(!Nr)return vr;var jr=parseFloat(Nr);if(jr<=1)return vr;var Tn=_u(jr/gr,xn);return"".concat(Tn,"rem")},oi=function(vr){var Nr=(0,c.Z)({},vr);return Object.entries(vr).forEach(function(jr){var Tn=(0,r.Z)(jr,2),In=Tn[0],li=Tn[1];if(typeof li=="string"&&li.includes("px")){var Ai=li.replace(iu,Hn);Nr[In]=Ai}!Lt[In]&&typeof li=="number"&&li!==0&&(Nr[In]="".concat(li,"px").replace(iu,Hn));var $n=In.trim();if($n.startsWith("@")&&$n.includes("px")&&Mn){var ta=In.replace(iu,Hn);Nr[ta]=Nr[In],delete Nr[In]}}),Nr};return{visit:oi}},gu=No,Ko={supportModernCSS:function(){return We()&&ot()}}},7657:function(d,_,e){"use strict";e.d(_,{Z:function(){return le}});var r=e(54476),i=e(42978),l=e(20068),c=e(75931),f=e(59301),u=e(92310),h=e.n(u),o=e(30071),a=e(18418),x=e(33885),p=e(76190),y=e(810),m=e(96452),b=e(48736);function S(Z){return Z.replace(/-(.)/g,function(j,ie){return ie.toUpperCase()})}function k(Z,j){(0,b.ZP)(Z,"[@ant-design/icons] ".concat(j))}function R(Z){return(0,p.Z)(Z)==="object"&&typeof Z.name=="string"&&typeof Z.theme=="string"&&((0,p.Z)(Z.icon)==="object"||typeof Z.icon=="function")}function A(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Z).reduce(function(j,ie){var ve=Z[ie];switch(ie){case"class":j.className=ve,delete j.class;break;default:delete j[ie],j[S(ie)]=ve}return j},{})}function I(Z,j,ie){return ie?f.createElement(Z.tag,(0,x.Z)((0,x.Z)({key:j},A(Z.attrs)),ie),(Z.children||[]).map(function(ve,Ee){return I(ve,"".concat(j,"-").concat(Z.tag,"-").concat(Ee))})):f.createElement(Z.tag,(0,x.Z)({key:j},A(Z.attrs)),(Z.children||[]).map(function(ve,Ee){return I(ve,"".concat(j,"-").concat(Z.tag,"-").concat(Ee))}))}function M(Z){return(0,o.generate)(Z)[0]}function B(Z){return Z?Array.isArray(Z)?Z:[Z]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=` +(function(){var __webpack_modules__={30071:function(d,_,e){"use strict";e.r(_),e.d(_,{blue:function(){return oe},blueDark:function(){return je},cyan:function(){return ne},cyanDark:function(){return He},geekblue:function(){return J},geekblueDark:function(){return Ot},generate:function(){return A},gold:function(){return K},goldDark:function(){return ie},gray:function(){return ee},green:function(){return ae},greenDark:function(){return Te},grey:function(){return se},greyDark:function(){return Wt},lime:function(){return H},limeDark:function(){return Ee},magenta:function(){return V},magentaDark:function(){return Pt},orange:function(){return N},orangeDark:function(){return j},presetDarkPalettes:function(){return Rt},presetPalettes:function(){return Q},presetPrimaryColors:function(){return I},purple:function(){return q},purpleDark:function(){return ft},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return Z},yellow:function(){return G},yellowDark:function(){return ve}});var r=e(20068);const i=Math.round;function l(ar,Ue){const _t=ar.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Mt=_t.map(Qe=>parseFloat(Qe));for(let Qe=0;Qe<3;Qe+=1)Mt[Qe]=Ue(Mt[Qe]||0,_t[Qe]||"",Qe);return _t[3]?Mt[3]=_t[3].includes("%")?Mt[3]/100:Mt[3]:Mt[3]=1,Mt}const c=(ar,Ue,_t)=>_t===0?ar:ar/100;function f(ar,Ue){const _t=Ue||255;return ar>_t?_t:ar<0?0:ar}class u{constructor(Ue){(0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0);function _t(Mt){return Mt[0]in Ue&&Mt[1]in Ue&&Mt[2]in Ue}if(Ue)if(typeof Ue=="string"){let Qe=function(ct){return Mt.startsWith(ct)};const Mt=Ue.trim();/^#?[A-F\d]{3,8}$/i.test(Mt)?this.fromHexString(Mt):Qe("rgb")?this.fromRgbString(Mt):Qe("hsl")?this.fromHslString(Mt):(Qe("hsv")||Qe("hsb"))&&this.fromHsvString(Mt)}else if(Ue instanceof u)this.r=Ue.r,this.g=Ue.g,this.b=Ue.b,this.a=Ue.a,this._h=Ue._h,this._s=Ue._s,this._l=Ue._l,this._v=Ue._v;else if(_t("rgb"))this.r=f(Ue.r),this.g=f(Ue.g),this.b=f(Ue.b),this.a=typeof Ue.a=="number"?f(Ue.a,1):1;else if(_t("hsl"))this.fromHsl(Ue);else if(_t("hsv"))this.fromHsv(Ue);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Ue))}setR(Ue){return this._sc("r",Ue)}setG(Ue){return this._sc("g",Ue)}setB(Ue){return this._sc("b",Ue)}setA(Ue){return this._sc("a",Ue,1)}setHue(Ue){const _t=this.toHsv();return _t.h=Ue,this._c(_t)}getLuminance(){function Ue(ct){const st=ct/255;return st<=.03928?st/12.92:Math.pow((st+.055)/1.055,2.4)}const _t=Ue(this.r),Mt=Ue(this.g),Qe=Ue(this.b);return .2126*_t+.7152*Mt+.0722*Qe}getHue(){if(typeof this._h=="undefined"){const Ue=this.getMax()-this.getMin();Ue===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Ue+(this.g1&&(Qe=1),this._c({h:_t,s:Mt,l:Qe,a:this.a})}mix(Ue,_t=50){const Mt=this._c(Ue),Qe=_t/100,ct=qe=>(Mt[qe]-this[qe])*Qe+this[qe],st={r:i(ct("r")),g:i(ct("g")),b:i(ct("b")),a:i(ct("a")*100)/100};return this._c(st)}tint(Ue=10){return this.mix({r:255,g:255,b:255,a:1},Ue)}shade(Ue=10){return this.mix({r:0,g:0,b:0,a:1},Ue)}onBackground(Ue){const _t=this._c(Ue),Mt=this.a+_t.a*(1-this.a),Qe=ct=>i((this[ct]*this.a+_t[ct]*_t.a*(1-this.a))/Mt);return this._c({r:Qe("r"),g:Qe("g"),b:Qe("b"),a:Mt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Ue){return this.r===Ue.r&&this.g===Ue.g&&this.b===Ue.b&&this.a===Ue.a}clone(){return this._c(this)}toHexString(){let Ue="#";const _t=(this.r||0).toString(16);Ue+=_t.length===2?_t:"0"+_t;const Mt=(this.g||0).toString(16);Ue+=Mt.length===2?Mt:"0"+Mt;const Qe=(this.b||0).toString(16);if(Ue+=Qe.length===2?Qe:"0"+Qe,typeof this.a=="number"&&this.a>=0&&this.a<1){const ct=i(this.a*255).toString(16);Ue+=ct.length===2?ct:"0"+ct}return Ue}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Ue=this.getHue(),_t=i(this.getSaturation()*100),Mt=i(this.getLightness()*100);return this.a!==1?`hsla(${Ue},${_t}%,${Mt}%,${this.a})`:`hsl(${Ue},${_t}%,${Mt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Ue,_t,Mt){const Qe=this.clone();return Qe[Ue]=f(_t,Mt),Qe}_c(Ue){return new this.constructor(Ue)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Ue){const _t=Ue.replace("#","");function Mt(Qe,ct){return parseInt(_t[Qe]+_t[ct||Qe],16)}_t.length<6?(this.r=Mt(0),this.g=Mt(1),this.b=Mt(2),this.a=_t[3]?Mt(3)/255:1):(this.r=Mt(0,1),this.g=Mt(2,3),this.b=Mt(4,5),this.a=_t[6]?Mt(6,7)/255:1)}fromHsl({h:Ue,s:_t,l:Mt,a:Qe}){if(this._h=Ue%360,this._s=_t,this._l=Mt,this.a=typeof Qe=="number"?Qe:1,_t<=0){const We=i(Mt*255);this.r=We,this.g=We,this.b=We}let ct=0,st=0,qe=0;const Be=Ue/60,be=(1-Math.abs(2*Mt-1))*_t,De=be*(1-Math.abs(Be%2-1));Be>=0&&Be<1?(ct=be,st=De):Be>=1&&Be<2?(ct=De,st=be):Be>=2&&Be<3?(st=be,qe=De):Be>=3&&Be<4?(st=De,qe=be):Be>=4&&Be<5?(ct=De,qe=be):Be>=5&&Be<6&&(ct=be,qe=De);const Ge=Mt-be/2;this.r=i((ct+Ge)*255),this.g=i((st+Ge)*255),this.b=i((qe+Ge)*255)}fromHsv({h:Ue,s:_t,v:Mt,a:Qe}){this._h=Ue%360,this._s=_t,this._v=Mt,this.a=typeof Qe=="number"?Qe:1;const ct=i(Mt*255);if(this.r=ct,this.g=ct,this.b=ct,_t<=0)return;const st=Ue/60,qe=Math.floor(st),Be=st-qe,be=i(Mt*(1-_t)*255),De=i(Mt*(1-_t*Be)*255),Ge=i(Mt*(1-_t*(1-Be))*255);switch(qe){case 0:this.g=Ge,this.b=be;break;case 1:this.r=De,this.b=be;break;case 2:this.r=be,this.b=Ge;break;case 3:this.r=be,this.g=De;break;case 4:this.r=Ge,this.g=be;break;case 5:default:this.g=be,this.b=De;break}}fromHsvString(Ue){const _t=l(Ue,c);this.fromHsv({h:_t[0],s:_t[1],v:_t[2],a:_t[3]})}fromHslString(Ue){const _t=l(Ue,c);this.fromHsl({h:_t[0],s:_t[1],l:_t[2],a:_t[3]})}fromRgbString(Ue){const _t=l(Ue,(Mt,Qe)=>Qe.includes("%")?i(Mt/100*255):Mt);this.r=_t[0],this.g=_t[1],this.b=_t[2],this.a=_t[3]}}var h=2,o=.16,a=.05,x=.05,p=.15,y=5,m=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(ar,Ue,_t){var Mt;return Math.round(ar.h)>=60&&Math.round(ar.h)<=240?Mt=_t?Math.round(ar.h)-h*Ue:Math.round(ar.h)+h*Ue:Mt=_t?Math.round(ar.h)+h*Ue:Math.round(ar.h)-h*Ue,Mt<0?Mt+=360:Mt>=360&&(Mt-=360),Mt}function k(ar,Ue,_t){if(ar.h===0&&ar.s===0)return ar.s;var Mt;return _t?Mt=ar.s-o*Ue:Ue===m?Mt=ar.s+o:Mt=ar.s+a*Ue,Mt>1&&(Mt=1),_t&&Ue===y&&Mt>.1&&(Mt=.1),Mt<.06&&(Mt=.06),Math.round(Mt*100)/100}function R(ar,Ue,_t){var Mt;return _t?Mt=ar.v+x*Ue:Mt=ar.v-p*Ue,Mt=Math.max(0,Math.min(1,Mt)),Math.round(Mt*100)/100}function A(ar){for(var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=[],Mt=new u(ar),Qe=Mt.toHsv(),ct=y;ct>0;ct-=1){var st=new u({h:S(Qe,ct,!0),s:k(Qe,ct,!0),v:R(Qe,ct,!0)});_t.push(st)}_t.push(Mt);for(var qe=1;qe<=m;qe+=1){var Be=new u({h:S(Qe,qe),s:k(Qe,qe),v:R(Qe,qe)});_t.push(Be)}return Ue.theme==="dark"?b.map(function(be){var De=be.index,Ge=be.amount;return new u(Ue.backgroundColor||"#141414").mix(_t[De],Ge).toHexString()}):_t.map(function(be){return be.toHexString()})}var I={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var G=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];G.primary=G[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[5];var J=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];J.primary=J[5];var q=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];q.primary=q[5];var V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,Q={red:M,volcano:B,orange:N,gold:K,yellow:G,lime:H,green:ae,cyan:ne,blue:oe,geekblue:J,purple:q,magenta:V,grey:se},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var Z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Z.primary=Z[5];var j=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];j.primary=j[5];var ie=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ie.primary=ie[5];var ve=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];ve.primary=ve[5];var Ee=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Ee.primary=Ee[5];var Te=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Te.primary=Te[5];var He=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];He.primary=He[5];var je=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];je.primary=je[5];var Ot=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ot.primary=Ot[5];var ft=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];ft.primary=ft[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var Wt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Wt.primary=Wt[5];var Rt={red:le,volcano:Z,orange:j,gold:ie,yellow:ve,lime:Ee,green:Te,cyan:He,blue:je,geekblue:Ot,purple:ft,magenta:Pt,grey:Wt}},36237:function(d,_,e){"use strict";e.r(_),e.d(_,{Keyframes:function(){return Fo},NaNLinter:function(){return ss},StyleContext:function(){return ne},StyleProvider:function(){return ae},Theme:function(){return Pt},_experimental:function(){return Ko},createCache:function(){return G},createTheme:function(){return Rt},extractStyle:function(){return rl},genCalc:function(){return Te},getComputedToken:function(){return kt},legacyLogicalPropertiesTransformer:function(){return Uu},legacyNotSelectorLinter:function(){return Zs},logicalPropertiesLinter:function(){return ro},parentSelectorLinter:function(){return Os},px2remTransformer:function(){return gu},token2CSSVar:function(){return Le},unit:function(){return ur},useCSSVarRegister:function(){return Mo},useCacheToken:function(){return Er},useStyleRegister:function(){return es}});var r=e(42978),i=e(20068),l=e(94480),c=e(33885);function f(rr){for(var yr=0,hr,gr=0,Tr=rr.length;Tr>=4;++gr,Tr-=4)hr=rr.charCodeAt(gr)&255|(rr.charCodeAt(++gr)&255)<<8|(rr.charCodeAt(++gr)&255)<<16|(rr.charCodeAt(++gr)&255)<<24,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16),hr^=hr>>>24,yr=(hr&65535)*1540483477+((hr>>>16)*59797<<16)^(yr&65535)*1540483477+((yr>>>16)*59797<<16);switch(Tr){case 3:yr^=(rr.charCodeAt(gr+2)&255)<<16;case 2:yr^=(rr.charCodeAt(gr+1)&255)<<8;case 1:yr^=rr.charCodeAt(gr)&255,yr=(yr&65535)*1540483477+((yr>>>16)*59797<<16)}return yr^=yr>>>13,yr=(yr&65535)*1540483477+((yr>>>16)*59797<<16),((yr^yr>>>15)>>>0).toString(36)}var u=f,h=e(810),o=e(59301),a=e.t(o,2),x=e(75931),p=e(80547),y=e(13697),m=e(67732),b=e(83652),S="%";function k(rr){return rr.join(S)}var R=function(){function rr(yr){(0,m.Z)(this,rr),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=yr}return(0,b.Z)(rr,[{key:"get",value:function(hr){return this.opGet(k(hr))}},{key:"opGet",value:function(hr){return this.cache.get(hr)||null}},{key:"update",value:function(hr,gr){return this.opUpdate(k(hr),gr)}},{key:"opUpdate",value:function(hr,gr){var Tr=this.cache.get(hr),xn=gr(Tr);xn===null?this.cache.delete(hr):this.cache.set(hr,xn)}}]),rr}(),A=R,I=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",K="__cssinjs_instance__";function G(){var rr=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var yr=document.body.querySelectorAll("style[".concat(B,"]"))||[],hr=document.head.firstChild;Array.from(yr).forEach(function(Tr){Tr[K]=Tr[K]||rr,Tr[K]===rr&&document.head.insertBefore(Tr,hr)});var gr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Tr){var xn=Tr.getAttribute(B);if(gr[xn]){if(Tr[K]===rr){var Wn;(Wn=Tr.parentNode)===null||Wn===void 0||Wn.removeChild(Tr)}}else gr[xn]=!0})}return new A(rr)}var H=o.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),ae=function(yr){var hr=yr.children,gr=(0,x.Z)(yr,I),Tr=o.useContext(H),xn=(0,p.Z)(function(){var Wn=(0,c.Z)({},Tr);Object.keys(gr).forEach(function(Hn){var si=gr[Hn];gr[Hn]!==void 0&&(Wn[Hn]=si)});var Mn=gr.cache;return Wn.cache=Wn.cache||G(),Wn.defaultCache=!Mn&&Tr.defaultCache,Wn},[Tr,gr],function(Wn,Mn){return!(0,y.Z)(Wn[0],Mn[0],!0)||!(0,y.Z)(Wn[1],Mn[1],!0)});return o.createElement(H.Provider,{value:xn},hr)},ne=H,oe=e(76190),J=e(47273),q=e(31226),V=e(42403),se=e(158),ee=(0,b.Z)(function rr(){(0,m.Z)(this,rr)}),Q=ee,le="CALC_UNIT",Z=new RegExp(le,"g");function j(rr){return typeof rr=="number"?"".concat(rr).concat(le):rr}var ie=function(rr){(0,V.Z)(hr,rr);var yr=(0,se.Z)(hr);function hr(gr,Tr){var xn;(0,m.Z)(this,hr),xn=yr.call(this),(0,i.Z)((0,q.Z)(xn),"result",""),(0,i.Z)((0,q.Z)(xn),"unitlessCssVar",void 0),(0,i.Z)((0,q.Z)(xn),"lowPriority",void 0);var Wn=(0,oe.Z)(gr);return xn.unitlessCssVar=Tr,gr instanceof hr?xn.result="(".concat(gr.result,")"):Wn==="number"?xn.result=j(gr):Wn==="string"&&(xn.result=gr),xn}return(0,b.Z)(hr,[{key:"add",value:function(Tr){return Tr instanceof hr?this.result="".concat(this.result," + ").concat(Tr.getResult()):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," + ").concat(j(Tr))),this.lowPriority=!0,this}},{key:"sub",value:function(Tr){return Tr instanceof hr?this.result="".concat(this.result," - ").concat(Tr.getResult()):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," - ").concat(j(Tr))),this.lowPriority=!0,this}},{key:"mul",value:function(Tr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Tr instanceof hr?this.result="".concat(this.result," * ").concat(Tr.getResult(!0)):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," * ").concat(Tr)),this.lowPriority=!1,this}},{key:"div",value:function(Tr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Tr instanceof hr?this.result="".concat(this.result," / ").concat(Tr.getResult(!0)):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," / ").concat(Tr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Tr){return this.lowPriority||Tr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Tr){var xn=this,Wn=Tr||{},Mn=Wn.unit,Hn=!0;return typeof Mn=="boolean"?Hn=Mn:Array.from(this.unitlessCssVar).some(function(si){return xn.result.includes(si)})&&(Hn=!1),this.result=this.result.replace(Z,Hn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),hr}(Q),ve=function(rr){(0,V.Z)(hr,rr);var yr=(0,se.Z)(hr);function hr(gr){var Tr;return(0,m.Z)(this,hr),Tr=yr.call(this),(0,i.Z)((0,q.Z)(Tr),"result",0),gr instanceof hr?Tr.result=gr.result:typeof gr=="number"&&(Tr.result=gr),Tr}return(0,b.Z)(hr,[{key:"add",value:function(Tr){return Tr instanceof hr?this.result+=Tr.result:typeof Tr=="number"&&(this.result+=Tr),this}},{key:"sub",value:function(Tr){return Tr instanceof hr?this.result-=Tr.result:typeof Tr=="number"&&(this.result-=Tr),this}},{key:"mul",value:function(Tr){return Tr instanceof hr?this.result*=Tr.result:typeof Tr=="number"&&(this.result*=Tr),this}},{key:"div",value:function(Tr){return Tr instanceof hr?this.result/=Tr.result:typeof Tr=="number"&&(this.result/=Tr),this}},{key:"equal",value:function(){return this.result}}]),hr}(Q),Ee=function(yr,hr){var gr=yr==="css"?ie:ve;return function(Tr){return new gr(Tr,hr)}},Te=Ee;function He(rr,yr){if(rr.length!==yr.length)return!1;for(var hr=0;hr1&&arguments[1]!==void 0?arguments[1]:!1,Wn={map:this.cache};return hr.forEach(function(Mn){if(!Wn)Wn=void 0;else{var Hn;Wn=(Hn=Wn)===null||Hn===void 0||(Hn=Hn.map)===null||Hn===void 0?void 0:Hn.get(Mn)}}),(gr=Wn)!==null&&gr!==void 0&&gr.value&&xn&&(Wn.value[1]=this.cacheCallTimes++),(Tr=Wn)===null||Tr===void 0?void 0:Tr.value}},{key:"get",value:function(hr){var gr;return(gr=this.internalGet(hr,!0))===null||gr===void 0?void 0:gr[0]}},{key:"has",value:function(hr){return!!this.internalGet(hr)}},{key:"set",value:function(hr,gr){var Tr=this;if(!this.has(hr)){if(this.size()+1>rr.MAX_CACHE_SIZE+rr.MAX_CACHE_OFFSET){var xn=this.keys.reduce(function(si,Jn){var vr=(0,r.Z)(si,2),Nr=vr[1];return Tr.internalGet(Jn)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ft+=1}return(0,b.Z)(rr,[{key:"getDerivativeToken",value:function(hr){return this.derivatives.reduce(function(gr,Tr){return Tr(hr,gr)},void 0)}}]),rr}(),Wt=new je;function Rt(rr){var yr=Array.isArray(rr)?rr:[rr];return Wt.has(yr)||Wt.set(yr,new Pt(yr)),Wt.get(yr)}var ar=new WeakMap,Ue={};function _t(rr,yr){for(var hr=ar,gr=0;gr3&&arguments[3]!==void 0?arguments[3]:{},Tr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Tr)return rr;var xn=(0,c.Z)((0,c.Z)({},gr),{},(0,i.Z)((0,i.Z)({},M,yr),B,hr)),Wn=Object.keys(xn).map(function(Mn){var Hn=xn[Mn];return Hn?"".concat(Mn,'="').concat(Hn,'"'):null}).filter(function(Mn){return Mn}).join(" ");return"")}var Le=function(yr){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(hr?"".concat(hr,"-"):"").concat(yr).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Je=function(yr,hr,gr){return Object.keys(yr).length?".".concat(hr).concat(gr!=null&&gr.scope?".".concat(gr.scope):"","{").concat(Object.entries(yr).map(function(Tr){var xn=(0,r.Z)(Tr,2),Wn=xn[0],Mn=xn[1];return"".concat(Wn,":").concat(Mn,";")}).join(""),"}"):""},Yt=function(yr,hr,gr){var Tr={},xn={};return Object.entries(yr).forEach(function(Wn){var Mn,Hn,si=(0,r.Z)(Wn,2),Jn=si[0],vr=si[1];if(gr!=null&&(Mn=gr.preserve)!==null&&Mn!==void 0&&Mn[Jn])xn[Jn]=vr;else if((typeof vr=="string"||typeof vr=="number")&&!(gr!=null&&(Hn=gr.ignore)!==null&&Hn!==void 0&&Hn[Jn])){var Nr,jr=Le(Jn,gr==null?void 0:gr.prefix);Tr[jr]=typeof vr=="number"&&!(gr!=null&&(Nr=gr.unitless)!==null&&Nr!==void 0&&Nr[Jn])?"".concat(vr,"px"):String(vr),xn[Jn]="var(".concat(jr,")")}}),[xn,Je(Tr,hr,{scope:gr==null?void 0:gr.scope})]},It=e(34280),Zt=(0,c.Z)({},a),Gt=Zt.useInsertionEffect,cr=function(yr,hr,gr){o.useMemo(yr,gr),(0,It.Z)(function(){return hr(!0)},gr)},Ht=Gt?function(rr,yr,hr){return Gt(function(){return rr(),yr()},hr)}:cr,Ce=Ht,ce=(0,c.Z)({},a),pe=ce.useInsertionEffect,Ct=function(yr){var hr=[],gr=!1;function Tr(xn){gr||hr.push(xn)}return o.useEffect(function(){return gr=!1,function(){gr=!0,hr.length&&hr.forEach(function(xn){return xn()})}},yr),Tr},Se=function(){return function(yr){yr()}},at=typeof pe!="undefined"?Ct:Se,$t=at;function yt(){return!1}var Ae=!1;function gt(){return Ae}var ze=yt;if(0)var et,bt;function Ft(rr,yr,hr,gr,Tr){var xn=o.useContext(ne),Wn=xn.cache,Mn=[rr].concat((0,l.Z)(yr)),Hn=k(Mn),si=$t([Hn]),Jn=ze(),vr=function(In){Wn.opUpdate(Hn,function(li){var Ci=li||[void 0,void 0],$n=(0,r.Z)(Ci,2),ta=$n[0],ra=ta===void 0?0:ta,bi=$n[1],wt=bi,Qn=wt||hr(),Sa=[ra,Qn];return In?In(Sa):Sa})};o.useMemo(function(){vr()},[Hn]);var Nr=Wn.opGet(Hn),jr=Nr[1];return Ce(function(){Tr==null||Tr(jr)},function(Tn){return vr(function(In){var li=(0,r.Z)(In,2),Ci=li[0],$n=li[1];return Tn&&Ci===0&&(Tr==null||Tr(jr)),[Ci+1,$n]}),function(){Wn.opUpdate(Hn,function(In){var li=In||[],Ci=(0,r.Z)(li,2),$n=Ci[0],ta=$n===void 0?0:$n,ra=Ci[1],bi=ta-1;return bi===0?(si(function(){(Tn||!Wn.opGet(Hn))&&(gr==null||gr(ra,!1))}),null):[ta-1,ra]})}},[Hn]),jr}var Fe={},kr="css",pt=new Map;function en(rr){pt.set(rr,(pt.get(rr)||0)+1)}function on(rr,yr){if(typeof document!="undefined"){var hr=document.querySelectorAll("style[".concat(M,'="').concat(rr,'"]'));hr.forEach(function(gr){if(gr[K]===yr){var Tr;(Tr=gr.parentNode)===null||Tr===void 0||Tr.removeChild(gr)}})}}var jt=0;function Jt(rr,yr){pt.set(rr,(pt.get(rr)||0)-1);var hr=new Set;pt.forEach(function(gr,Tr){gr<=0&&hr.add(Tr)}),pt.size-hr.size>jt&&hr.forEach(function(gr){on(gr,yr),pt.delete(gr)})}var kt=function(yr,hr,gr,Tr){var xn=gr.getDerivativeToken(yr),Wn=(0,c.Z)((0,c.Z)({},xn),hr);return Tr&&(Wn=Tr(Wn)),Wn},Xt="token";function Er(rr,yr){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gr=(0,o.useContext)(ne),Tr=gr.cache.instanceId,xn=gr.container,Wn=hr.salt,Mn=Wn===void 0?"":Wn,Hn=hr.override,si=Hn===void 0?Fe:Hn,Jn=hr.formatToken,vr=hr.getComputedToken,Nr=hr.cssVar,jr=_t(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(yr)))},yr),Tn=Qe(jr),In=Qe(si),li=Nr?Qe(Nr):"",Ci=Ft(Xt,[Mn,rr.id,Tn,In,li],function(){var $n,ta=vr?vr(jr,si,rr):kt(jr,si,rr,Jn),ra=(0,c.Z)({},ta),bi="";if(Nr){var wt=Yt(ta,Nr.key,{prefix:Nr.prefix,ignore:Nr.ignore,unitless:Nr.unitless,preserve:Nr.preserve}),Qn=(0,r.Z)(wt,2);ta=Qn[0],bi=Qn[1]}var Sa=ct(ta,Mn);ta._tokenKey=Sa,ra._tokenKey=ct(ra,Mn);var Ra=($n=Nr==null?void 0:Nr.key)!==null&&$n!==void 0?$n:Sa;ta._themeKey=Ra,en(Ra);var Ys="".concat(kr,"-").concat(u(Sa));return ta._hashId=Ys,[ta,Ys,ra,bi,(Nr==null?void 0:Nr.key)||""]},function($n){Jt($n[0]._themeKey,Tr)},function($n){var ta=(0,r.Z)($n,4),ra=ta[0],bi=ta[3];if(Nr&&bi){var wt=(0,h.hq)(bi,u("css-variables-".concat(ra._themeKey)),{mark:B,prepend:"queue",attachTo:xn,priority:-999});wt[K]=Tr,wt.setAttribute(M,ra._themeKey)}});return Ci}var Or=function(yr,hr,gr){var Tr=(0,r.Z)(yr,5),xn=Tr[2],Wn=Tr[3],Mn=Tr[4],Hn=gr||{},si=Hn.plain;if(!Wn)return null;var Jn=xn._tokenKey,vr=-999,Nr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(vr)},jr=tr(Wn,Mn,Jn,Nr,si);return[vr,Jn,jr]},At=e(54476),Kt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Lt=Kt,Qt="-ms-",br="-moz-",Qr="-webkit-",Hr="comm",Bn="rule",wn="decl",Yn="@page",St="@media",Yr="@import",ni="@charset",Mi="@viewport",Kn="@supports",Tt="@document",fi="@namespace",pi="@keyframes",Ai="@font-face",Ni="@counter-style",la="@font-feature-values",Xi="@layer",zi="@scope",oi=Math.abs,ji=String.fromCharCode,Ta=Object.assign;function xt(rr,yr){return $i(rr,0)^45?(((yr<<2^$i(rr,0))<<2^$i(rr,1))<<2^$i(rr,2))<<2^$i(rr,3):0}function xa(rr){return rr.trim()}function Hi(rr,yr){return(rr=yr.exec(rr))?rr[0]:rr}function gi(rr,yr,hr){return rr.replace(yr,hr)}function Da(rr,yr,hr){return rr.indexOf(yr,hr)}function $i(rr,yr){return rr.charCodeAt(yr)|0}function ti(rr,yr,hr){return rr.slice(yr,hr)}function Zn(rr){return rr.length}function or(rr){return rr.length}function ut(rr,yr){return yr.push(rr),rr}function me(rr,yr){return rr.map(yr).join("")}function dt(rr,yr){return rr.filter(function(hr){return!Hi(hr,yr)})}function rt(rr,yr){for(var hr="",gr=0;gr0?$i(Cn,--tn):0,Ir--,Dr===10&&(Ir=1,mr--),Dr}function ye(){return Dr=tn2||$r(Dr)>3?"":" "}function Kr(rr){for(;ye();)switch($r(Dr)){case 0:append(Qs(tn-1),rr);break;case 2:append(Ti(Dr),rr);break;default:append(from(Dr),rr)}return rr}function Rn(rr,yr){for(;--yr&&ye()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return Lr(rr,nr()+(yr<6&&sr()==32&&ye()==32))}function ui(rr){for(;ye();)switch(Dr){case rr:return tn;case 34:case 39:rr!==34&&rr!==39&&ui(Dr);break;case 40:rr===41&&ui(rr);break;case 92:ye();break}return tn}function wa(rr,yr){for(;ye()&&rr+Dr!==57;)if(rr+Dr===84&&sr()===47)break;return"/*"+Lr(yr,tn-1)+"*"+ji(rr===47?rr:ye())}function Qs(rr){for(;!$r(sr());)ye();return Lr(rr,tn)}function Ba(rr){return pn(zs("",null,null,null,[""],rr=Wr(rr),0,[0],rr))}function zs(rr,yr,hr,gr,Tr,xn,Wn,Mn,Hn){for(var si=0,Jn=0,vr=Wn,Nr=0,jr=0,Tn=0,In=1,li=1,Ci=1,$n=0,ta="",ra=Tr,bi=xn,wt=gr,Qn=ta;li;)switch(Tn=$n,$n=ye()){case 40:if(Tn!=108&&$i(Qn,vr-1)==58){Da(Qn+=gi(Ti($n),"&","&\f"),"&\f",oi(si?Mn[si-1]:0))!=-1&&(Ci=-1);break}case 34:case 39:case 91:Qn+=Ti($n);break;case 9:case 10:case 13:case 32:Qn+=bn(Tn);break;case 92:Qn+=Rn(nr()-1,7);continue;case 47:switch(sr()){case 42:case 47:ut(as(wa(ye(),nr()),yr,hr,Hn),Hn),($r(Tn||1)==5||$r(sr()||1)==5)&&Zn(Qn)&&ti(Qn,-1,void 0)!==" "&&(Qn+=" ");break;default:Qn+="/"}break;case 123*In:Mn[si++]=Zn(Qn)*Ci;case 125*In:case 59:case 0:switch($n){case 0:case 125:li=0;case 59+Jn:Ci==-1&&(Qn=gi(Qn,/\f/g,"")),jr>0&&(Zn(Qn)-vr||In===0&&Tn===47)&&ut(jr>32?oo(Qn+";",gr,hr,vr-1,Hn):oo(gi(Qn," ","")+";",gr,hr,vr-2,Hn),Hn);break;case 59:Qn+=";";default:if(ut(wt=Ns(Qn,yr,hr,si,Jn,Tr,Mn,ta,ra=[],bi=[],vr,xn),xn),$n===123)if(Jn===0)zs(Qn,yr,wt,wt,ra,xn,vr,Mn,bi);else{switch(Nr){case 99:if($i(Qn,3)===110)break;case 108:if($i(Qn,2)===97)break;default:Jn=0;case 100:case 109:case 115:}Jn?zs(rr,wt,wt,gr&&ut(Ns(rr,wt,wt,0,0,Tr,Mn,ta,Tr,ra=[],vr,bi),bi),Tr,bi,vr,Mn,gr?ra:bi):zs(Qn,wt,wt,wt,[""],bi,0,Mn,bi)}}si=Jn=jr=0,In=Ci=1,ta=Qn="",vr=Wn;break;case 58:vr=1+Zn(Qn),jr=Tn;default:if(In<1){if($n==123)--In;else if($n==125&&In++==0&<()==125)continue}switch(Qn+=ji($n),$n*In){case 38:Ci=Jn>0?1:(Qn+="\f",-1);break;case 44:Mn[si++]=(Zn(Qn)-1)*Ci,Ci=1;break;case 64:sr()===45&&(Qn+=Ti(ye())),Nr=sr(),Jn=vr=Zn(ta=Qn+=Qs(nr())),$n++;break;case 45:Tn===45&&Zn(Qn)==2&&(In=0)}}return xn}function Ns(rr,yr,hr,gr,Tr,xn,Wn,Mn,Hn,si,Jn,vr){for(var Nr=Tr-1,jr=Tr===0?xn:[""],Tn=or(jr),In=0,li=0,Ci=0;In0?jr[$n]+" "+ta:gi(ta,/&\f/g,jr[$n])))&&(Hn[Ci++]=ra);return _r(rr,yr,hr,Tr===0?Bn:Mn,Hn,si,Jn,vr)}function as(rr,yr,hr,gr){return _r(rr,yr,hr,Hr,ji($e()),ti(rr,2,-2),0,gr)}function oo(rr,yr,hr,gr,Tr){return _r(rr,yr,hr,wn,ti(rr,0,gr),ti(rr,gr+1,-1),gr,Tr)}function Aa(rr,yr){var hr=yr.path,gr=yr.parentSelectors;(0,Ot.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(hr?"Error in ".concat(hr,": "):"").concat(rr).concat(gr.length?" Selector: ".concat(gr.join(" | ")):""))}var Ps=function(yr,hr,gr){if(yr==="content"){var Tr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,xn=["normal","none","initial","inherit","unset"];(typeof hr!="string"||xn.indexOf(hr)===-1&&!Tr.test(hr)&&(hr.charAt(0)!==hr.charAt(hr.length-1)||hr.charAt(0)!=='"'&&hr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(hr,"\"'`."),gr)}},ps=null,po=function(yr,hr,gr){yr==="animation"&&gr.hashId&&hr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(hr,"', in which case 'animationName' with Keyframe as value is recommended."),gr)},Ji=null;function to(rr){var yr,hr=((yr=rr.match(/:not\(([^)]*)\)/))===null||yr===void 0?void 0:yr[1])||"",gr=hr.split(/(\[[^[]*])|(?=[.#])/).filter(function(Tr){return Tr});return gr.length>1}function Zo(rr){return rr.parentSelectors.reduce(function(yr,hr){return yr?hr.includes("&")?hr.replace(/&/g,yr):"".concat(yr," ").concat(hr):hr},"")}var Na=function(yr,hr,gr){var Tr=Zo(gr),xn=Tr.match(/:not\([^)]*\)/g)||[];xn.length>0&&xn.some(to)&&Aa("Concat ':not' selector not support in legacy browsers.",gr)},Zs=Na,mi=function(yr,hr,gr){switch(yr){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Aa("You seem to be using non-logical property '".concat(yr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof hr=="string"){var Tr=hr.split(" ").map(function(Mn){return Mn.trim()});Tr.length===4&&Tr[1]!==Tr[3]&&Aa("You seem to be using '".concat(yr,"' property with different left ").concat(yr," and right ").concat(yr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;case"clear":case"textAlign":(hr==="left"||hr==="right")&&Aa("You seem to be using non-logical value '".concat(hr,"' of ").concat(yr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"borderRadius":if(typeof hr=="string"){var xn=hr.split("/").map(function(Mn){return Mn.trim()}),Wn=xn.reduce(function(Mn,Hn){if(Mn)return Mn;var si=Hn.split(" ").map(function(Jn){return Jn.trim()});return si.length>=2&&si[0]!==si[1]||si.length===3&&si[1]!==si[2]||si.length===4&&si[2]!==si[3]?!0:Mn},!1);Wn&&Aa("You seem to be using non-logical value '".concat(hr,"' of ").concat(yr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;default:}},ro=mi,Ln=function(yr,hr,gr){(typeof hr=="string"&&/NaN/g.test(hr)||Number.isNaN(hr))&&Aa("Unexpected 'NaN' in property '".concat(yr,": ").concat(hr,"'."),gr)},ss=Ln,Is=function(yr,hr,gr){gr.parentSelectors.some(function(Tr){var xn=Tr.split(",");return xn.some(function(Wn){return Wn.split("&").length>2})})&&Aa("Should not use more than one `&` in a selector.",gr)},Os=Is,qi="data-ant-cssinjs-cache-path",Ka="_FILE_STYLE__";function Zi(rr){return Object.keys(rr).map(function(yr){var hr=rr[yr];return"".concat(yr,":").concat(hr)}).join(";")}var Ds,xo=!0;function Wo(rr){var yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Ds=rr,xo=yr}function Xo(){if(!Ds&&(Ds={},(0,J.Z)())){var rr=document.createElement("div");rr.className=qi,rr.style.position="fixed",rr.style.visibility="hidden",rr.style.top="-9999px",document.body.appendChild(rr);var yr=getComputedStyle(rr).content||"";yr=yr.replace(/^"/,"").replace(/"$/,""),yr.split(";").forEach(function(Tr){var xn=Tr.split(":"),Wn=(0,r.Z)(xn,2),Mn=Wn[0],Hn=Wn[1];Ds[Mn]=Hn});var hr=document.querySelector("style[".concat(qi,"]"));if(hr){var gr;xo=!1,(gr=hr.parentNode)===null||gr===void 0||gr.removeChild(hr)}document.body.removeChild(rr)}}function mu(rr){return Xo(),!!Ds[rr]}function vu(rr){var yr=Ds[rr],hr=null;if(yr&&(0,J.Z)())if(xo)hr=Ka;else{var gr=document.querySelector("style[".concat(B,'="').concat(Ds[rr],'"]'));gr?hr=gr.innerHTML:delete Ds[rr]}return[hr,yr]}var go="_skip_check_",Ho="_multi_value_";function Oo(rr){var yr=rt(Ba(rr),pr);return yr.replace(/\{%%%\:[^;];}/g,";")}function nu(rr){return(0,oe.Z)(rr)==="object"&&rr&&(go in rr||Ho in rr)}function qo(rr,yr,hr){if(!yr)return rr;var gr=".".concat(yr),Tr=hr==="low"?":where(".concat(gr,")"):gr,xn=rr.split(",").map(function(Wn){var Mn,Hn=Wn.trim().split(/\s+/),si=Hn[0]||"",Jn=((Mn=si.match(/^\w+/))===null||Mn===void 0?void 0:Mn[0])||"";return si="".concat(Jn).concat(Tr).concat(si.slice(Jn.length)),[si].concat((0,l.Z)(Hn.slice(1))).join(" ")});return xn.join(",")}var vi=function rr(yr){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Tr=gr.root,xn=gr.injectHash,Wn=gr.parentSelectors,Mn=hr.hashId,Hn=hr.layer,si=hr.path,Jn=hr.hashPriority,vr=hr.transformers,Nr=vr===void 0?[]:vr,jr=hr.linters,Tn=jr===void 0?[]:jr,In="",li={};function Ci(ra){var bi=ra.getName(Mn);if(!li[bi]){var wt=rr(ra.style,hr,{root:!1,parentSelectors:Wn}),Qn=(0,r.Z)(wt,1),Sa=Qn[0];li[bi]="@keyframes ".concat(ra.getName(Mn)).concat(Sa)}}function $n(ra){var bi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ra.forEach(function(wt){Array.isArray(wt)?$n(wt,bi):wt&&bi.push(wt)}),bi}var ta=$n(Array.isArray(yr)?yr:[yr]);return ta.forEach(function(ra){var bi=typeof ra=="string"&&!Tr?{}:ra;if(typeof bi=="string")In+="".concat(bi,` +`);else if(bi._keyframe)Ci(bi);else{var wt=Nr.reduce(function(Qn,Sa){var Ra;return(Sa==null||(Ra=Sa.visit)===null||Ra===void 0?void 0:Ra.call(Sa,Qn))||Qn},bi);Object.keys(wt).forEach(function(Qn){var Sa=wt[Qn];if((0,oe.Z)(Sa)==="object"&&Sa&&(Qn!=="animationName"||!Sa._keyframe)&&!nu(Sa)){var Ra=!1,Ys=Qn.trim(),sn=!1;(Tr||xn)&&Mn?Ys.startsWith("@")?Ra=!0:Ys==="&"?Ys=qo("",Mn,Jn):Ys=qo(Qn,Mn,Jn):Tr&&!Mn&&(Ys==="&"||Ys==="")&&(Ys="",sn=!0);var Do=rr(Sa,hr,{root:sn,injectHash:Ra,parentSelectors:[].concat((0,l.Z)(Wn),[Ys])}),lo=(0,r.Z)(Do,2),Rs=lo[0],no=lo[1];li=(0,c.Z)((0,c.Z)({},li),no),In+="".concat(Ys).concat(Rs)}else{let cs=function(ja,os){var Ye=ja.replace(/[A-Z]/g,function(Bt){return"-".concat(Bt.toLowerCase())}),Pe=os;!Lt[ja]&&typeof Pe=="number"&&Pe!==0&&(Pe="".concat(Pe,"px")),ja==="animationName"&&os!==null&&os!==void 0&&os._keyframe&&(Ci(os),Pe=os.getName(Mn)),In+="".concat(Ye,":").concat(Pe,";")};var io,ts=(io=Sa==null?void 0:Sa.value)!==null&&io!==void 0?io:Sa;(0,oe.Z)(Sa)==="object"&&Sa!==null&&Sa!==void 0&&Sa[Ho]&&Array.isArray(ts)?ts.forEach(function(ja){cs(Qn,ja)}):cs(Qn,ts)}})}}),Tr?Hn&&(In&&(In="@layer ".concat(Hn.name," {").concat(In,"}")),Hn.dependencies&&(li["@layer ".concat(Hn.name)]=Hn.dependencies.map(function(ra){return"@layer ".concat(ra,", ").concat(Hn.name,";")}).join(` +`))):In="{".concat(In,"}"),[In,li]};function yi(rr,yr){return u("".concat(rr.join("%")).concat(yr))}function Ja(){return null}var ls="style";function es(rr,yr){var hr=rr.token,gr=rr.path,Tr=rr.hashId,xn=rr.layer,Wn=rr.nonce,Mn=rr.clientOnly,Hn=rr.order,si=Hn===void 0?0:Hn,Jn=o.useContext(ne),vr=Jn.autoClear,Nr=Jn.mock,jr=Jn.defaultCache,Tn=Jn.hashPriority,In=Jn.container,li=Jn.ssrInline,Ci=Jn.transformers,$n=Jn.linters,ta=Jn.cache,ra=Jn.layer,bi=hr._tokenKey,wt=[bi];ra&&wt.push("layer"),wt.push.apply(wt,(0,l.Z)(gr));var Qn=ht,Sa=Ft(ls,wt,function(){var lo=wt.join("|");if(mu(lo)){var Rs=vu(lo),no=(0,r.Z)(Rs,2),io=no[0],ts=no[1];if(io)return[io,bi,ts,{},Mn,si]}var cs=yr(),ja=vi(cs,{hashId:Tr,hashPriority:Tn,layer:ra?xn:void 0,path:gr.join("-"),transformers:Ci,linters:$n}),os=(0,r.Z)(ja,2),Ye=os[0],Pe=os[1],Bt=Oo(Ye),mt=yi(wt,Bt);return[Bt,bi,mt,Pe,Mn,si]},function(lo,Rs){var no=(0,r.Z)(lo,3),io=no[2];(Rs||vr)&&ht&&(0,h.jL)(io,{mark:B,attachTo:In})},function(lo){var Rs=(0,r.Z)(lo,4),no=Rs[0],io=Rs[1],ts=Rs[2],cs=Rs[3];if(Qn&&no!==Ka){var ja={mark:B,prepend:ra?!1:"queue",attachTo:In,priority:si},os=typeof Wn=="function"?Wn():Wn;os&&(ja.csp={nonce:os});var Ye=[],Pe=[];Object.keys(cs).forEach(function(mt){mt.startsWith("@layer")?Ye.push(mt):Pe.push(mt)}),Ye.forEach(function(mt){(0,h.hq)(Oo(cs[mt]),"_layer-".concat(mt),(0,c.Z)((0,c.Z)({},ja),{},{prepend:!0}))});var Bt=(0,h.hq)(no,ts,ja);Bt[K]=ta.instanceId,Bt.setAttribute(M,bi),Pe.forEach(function(mt){(0,h.hq)(Oo(cs[mt]),"_effect-".concat(mt),ja)})}}),Ra=(0,r.Z)(Sa,3),Ys=Ra[0],sn=Ra[1],Do=Ra[2];return function(lo){var Rs;return!li||Qn||!jr?Rs=o.createElement(Ja,null):Rs=o.createElement("style",(0,At.Z)({},(0,i.Z)((0,i.Z)({},M,sn),B,Do),{dangerouslySetInnerHTML:{__html:Ys}})),o.createElement(o.Fragment,null,Rs,lo)}}var Ha=function(yr,hr,gr){var Tr=(0,r.Z)(yr,6),xn=Tr[0],Wn=Tr[1],Mn=Tr[2],Hn=Tr[3],si=Tr[4],Jn=Tr[5],vr=gr||{},Nr=vr.plain;if(si)return null;var jr=xn,Tn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Jn)};return jr=tr(xn,Wn,Mn,Tn,Nr),Hn&&Object.keys(Hn).forEach(function(In){if(!hr[In]){hr[In]=!0;var li=Oo(Hn[In]),Ci=tr(li,Wn,"_effect-".concat(In),Tn,Nr);In.startsWith("@layer")?jr=Ci+jr:jr+=Ci}}),[Jn,Mn,jr]},ms="cssVar",Qo=function(yr,hr){var gr=yr.key,Tr=yr.prefix,xn=yr.unitless,Wn=yr.ignore,Mn=yr.token,Hn=yr.scope,si=Hn===void 0?"":Hn,Jn=(0,o.useContext)(ne),vr=Jn.cache.instanceId,Nr=Jn.container,jr=Mn._tokenKey,Tn=[].concat((0,l.Z)(yr.path),[gr,si,jr]),In=Ft(ms,Tn,function(){var li=hr(),Ci=Yt(li,gr,{prefix:Tr,unitless:xn,ignore:Wn,scope:si}),$n=(0,r.Z)(Ci,2),ta=$n[0],ra=$n[1],bi=yi(Tn,ra);return[ta,ra,bi,gr]},function(li){var Ci=(0,r.Z)(li,3),$n=Ci[2];ht&&(0,h.jL)($n,{mark:B,attachTo:Nr})},function(li){var Ci=(0,r.Z)(li,3),$n=Ci[1],ta=Ci[2];if($n){var ra=(0,h.hq)($n,ta,{mark:B,prepend:"queue",attachTo:Nr,priority:-999});ra[K]=vr,ra.setAttribute(M,gr)}});return In},ks=function(yr,hr,gr){var Tr=(0,r.Z)(yr,4),xn=Tr[1],Wn=Tr[2],Mn=Tr[3],Hn=gr||{},si=Hn.plain;if(!xn)return null;var Jn=-999,vr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Jn)},Nr=tr(xn,Mn,Wn,vr,si);return[Jn,Wn,Nr]},Mo=Qo,wu=(0,i.Z)((0,i.Z)((0,i.Z)({},ls,Ha),Xt,Or),ms,ks);function Iu(rr){return rr!==null}function rl(rr,yr){var hr=typeof yr=="boolean"?{plain:yr}:yr||{},gr=hr.plain,Tr=gr===void 0?!1:gr,xn=hr.types,Wn=xn===void 0?["style","token","cssVar"]:xn,Mn=hr.once,Hn=Mn===void 0?!1:Mn,si=new RegExp("^(".concat((typeof Wn=="string"?[Wn]:Wn).join("|"),")%")),Jn=Array.from(rr.cache.keys()).filter(function(Tn){return si.test(Tn)}),vr={},Nr={},jr="";return Jn.map(function(Tn){if(Hn&&rr.extracted.has(Tn))return null;var In=Tn.replace(si,"").replace(/%/g,"|"),li=Tn.split("%"),Ci=(0,r.Z)(li,1),$n=Ci[0],ta=wu[$n],ra=ta(rr.cache.get(Tn)[1],vr,{plain:Tr});if(!ra)return null;var bi=(0,r.Z)(ra,3),wt=bi[0],Qn=bi[1],Sa=bi[2];return Tn.startsWith("style")&&(Nr[In]=Qn),rr.extracted.add(Tn),[wt,Sa]}).filter(Iu).sort(function(Tn,In){var li=(0,r.Z)(Tn,1),Ci=li[0],$n=(0,r.Z)(In,1),ta=$n[0];return Ci-ta}).forEach(function(Tn){var In=(0,r.Z)(Tn,2),li=In[1];jr+=li}),jr+=tr(".".concat(qi,'{content:"').concat(Zi(Nr),'";}'),void 0,void 0,(0,i.Z)({},qi,qi),Tr),jr}var dl=function(){function rr(yr,hr){(0,m.Z)(this,rr),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=yr,this.style=hr}return(0,b.Z)(rr,[{key:"getName",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return hr?"".concat(hr,"-").concat(this.name):this.name}}]),rr}(),Fo=dl;function uo(rr){if(typeof rr=="number")return[[rr],!1];var yr=String(rr).trim(),hr=yr.match(/(.*)(!important)/),gr=(hr?hr[1]:yr).trim().split(/\s+/),Tr=[],xn=0;return[gr.reduce(function(Wn,Mn){if(Mn.includes("(")||Mn.includes(")")){var Hn=Mn.split("(").length-1,si=Mn.split(")").length-1;xn+=Hn-si}return xn>=0&&Tr.push(Mn),xn===0&&(Wn.push(Tr.join(" ")),Tr=[]),Wn},[]),!!hr]}function Go(rr){return rr.notSplit=!0,rr}var Gu={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Go(["borderTop","borderBottom"]),borderBlockStart:Go(["borderTop"]),borderBlockEnd:Go(["borderBottom"]),borderInline:Go(["borderLeft","borderRight"]),borderInlineStart:Go(["borderLeft"]),borderInlineEnd:Go(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Bo(rr,yr){var hr=rr;return yr&&(hr="".concat(hr," !important")),{_skip_check_:!0,value:hr}}var $o={visit:function(yr){var hr={};return Object.keys(yr).forEach(function(gr){var Tr=yr[gr],xn=Gu[gr];if(xn&&(typeof Tr=="number"||typeof Tr=="string")){var Wn=uo(Tr),Mn=(0,r.Z)(Wn,2),Hn=Mn[0],si=Mn[1];xn.length&&xn.notSplit?xn.forEach(function(Jn){hr[Jn]=Bo(Tr,si)}):xn.length===1?hr[xn[0]]=Bo(Hn[0],si):xn.length===2?xn.forEach(function(Jn,vr){var Nr;hr[Jn]=Bo((Nr=Hn[vr])!==null&&Nr!==void 0?Nr:Hn[0],si)}):xn.length===4?xn.forEach(function(Jn,vr){var Nr,jr;hr[Jn]=Bo((Nr=(jr=Hn[vr])!==null&&jr!==void 0?jr:Hn[vr-2])!==null&&Nr!==void 0?Nr:Hn[0],si)}):hr[gr]=Tr}else hr[gr]=Tr}),hr}},Uu=$o,iu=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function _u(rr,yr){var hr=Math.pow(10,yr+1),gr=Math.floor(rr*hr);return Math.round(gr/10)*10/hr}var No=function(){var yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},hr=yr.rootValue,gr=hr===void 0?16:hr,Tr=yr.precision,xn=Tr===void 0?5:Tr,Wn=yr.mediaQuery,Mn=Wn===void 0?!1:Wn,Hn=function(vr,Nr){if(!Nr)return vr;var jr=parseFloat(Nr);if(jr<=1)return vr;var Tn=_u(jr/gr,xn);return"".concat(Tn,"rem")},si=function(vr){var Nr=(0,c.Z)({},vr);return Object.entries(vr).forEach(function(jr){var Tn=(0,r.Z)(jr,2),In=Tn[0],li=Tn[1];if(typeof li=="string"&&li.includes("px")){var Ci=li.replace(iu,Hn);Nr[In]=Ci}!Lt[In]&&typeof li=="number"&&li!==0&&(Nr[In]="".concat(li,"px").replace(iu,Hn));var $n=In.trim();if($n.startsWith("@")&&$n.includes("px")&&Mn){var ta=In.replace(iu,Hn);Nr[ta]=Nr[In],delete Nr[In]}}),Nr};return{visit:si}},gu=No,Ko={supportModernCSS:function(){return We()&&ot()}}},7657:function(d,_,e){"use strict";e.d(_,{Z:function(){return le}});var r=e(54476),i=e(42978),l=e(20068),c=e(75931),f=e(59301),u=e(92310),h=e.n(u),o=e(30071),a=e(18418),x=e(33885),p=e(76190),y=e(810),m=e(96452),b=e(48736);function S(Z){return Z.replace(/-(.)/g,function(j,ie){return ie.toUpperCase()})}function k(Z,j){(0,b.ZP)(Z,"[@ant-design/icons] ".concat(j))}function R(Z){return(0,p.Z)(Z)==="object"&&typeof Z.name=="string"&&typeof Z.theme=="string"&&((0,p.Z)(Z.icon)==="object"||typeof Z.icon=="function")}function A(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Z).reduce(function(j,ie){var ve=Z[ie];switch(ie){case"class":j.className=ve,delete j.class;break;default:delete j[ie],j[S(ie)]=ve}return j},{})}function I(Z,j,ie){return ie?f.createElement(Z.tag,(0,x.Z)((0,x.Z)({key:j},A(Z.attrs)),ie),(Z.children||[]).map(function(ve,Ee){return I(ve,"".concat(j,"-").concat(Z.tag,"-").concat(Ee))})):f.createElement(Z.tag,(0,x.Z)({key:j},A(Z.attrs)),(Z.children||[]).map(function(ve,Ee){return I(ve,"".concat(j,"-").concat(Z.tag,"-").concat(Ee))}))}function M(Z){return(0,o.generate)(Z)[0]}function B(Z){return Z?Array.isArray(Z)?Z:[Z]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=` .anticon { display: inline-flex; align-items: center; @@ -61,36 +61,36 @@ html body { overflow-y: hidden; `.concat(V?"width: calc(100% - ".concat(q,"px);"):"",` -}`),J)}else(0,m.jL)(J);return function(){(0,m.jL)(J)}},[ae,J])}var I=!1;function M(H){return typeof H=="boolean"&&(I=H),I}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},N=i.forwardRef(function(H,ae){var ne=H.open,oe=H.autoLock,J=H.getContainer,q=H.debug,V=H.autoDestroy,se=V===void 0?!0:V,ee=H.children,Q=i.useState(ne),le=(0,r.Z)(Q,2),Z=le[0],j=le[1],ie=Z||ne;i.useEffect(function(){(se||ne)&&j(ne)},[ne,se]);var ve=i.useState(function(){return B(J)}),Ee=(0,r.Z)(ve,2),Te=Ee[0],He=Ee[1];i.useEffect(function(){var Qe=B(J);He(Qe!=null?Qe:null)});var je=y(ie&&!Te,q),Ot=(0,r.Z)(je,2),ft=Ot[0],Pt=Ot[1],Wt=Te!=null?Te:ft;A(oe&&ne&&(0,c.Z)()&&(Wt===ft||Wt===document.body));var Rt=null;if(ee&&(0,u.Yr)(ee)&&ae){var ar=ee;Rt=ar.ref}var Ue=(0,u.x1)(Rt,ae);if(!ie||!(0,c.Z)()||Te===void 0)return null;var _t=Wt===!1||M(),Mt=ee;return ae&&(Mt=i.cloneElement(ee,{ref:Ue})),i.createElement(o.Provider,{value:Pt},_t?Mt:(0,l.createPortal)(Mt,Wt))}),K=N,G=K},35593:function(d,_,e){"use strict";e.d(_,{Z:function(){return Mt}});var r=e(33885),i=e(42978),l=e(75931),c=e(43403),f=e(92310),u=e.n(f),h=e(29301),o=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),m=e(49658),b=e(59301),S=e(54476),k=e(77900),R=e(8654);function A(Qe){var ct=Qe.prefixCls,st=Qe.align,qe=Qe.arrow,Be=Qe.arrowPos,be=qe||{},De=be.className,Ge=be.content,We=Be.x,Xe=We===void 0?0:We,ot=Be.y,ht=ot===void 0?0:ot,ur=b.useRef();if(!st||!st.points)return null;var tr={position:"absolute"};if(st.autoArrow!==!1){var Le=st.points[0],Je=st.points[1],Yt=Le[0],It=Le[1],Zt=Je[0],Gt=Je[1];Yt===Zt||!["t","b"].includes(Yt)?tr.top=ht:Yt==="t"?tr.top=0:tr.bottom=0,It===Gt||!["l","r"].includes(It)?tr.left=Xe:It==="l"?tr.left=0:tr.right=0}return b.createElement("div",{ref:ur,className:u()("".concat(ct,"-arrow"),De),style:tr},Ge)}function I(Qe){var ct=Qe.prefixCls,st=Qe.open,qe=Qe.zIndex,Be=Qe.mask,be=Qe.motion;return Be?b.createElement(k.default,(0,S.Z)({},be,{motionAppear:!0,visible:st,removeOnLeave:!0}),function(De){var Ge=De.className;return b.createElement("div",{style:{zIndex:qe},className:u()("".concat(ct,"-mask"),Ge)})}):null}var M=b.memo(function(Qe){var ct=Qe.children;return ct},function(Qe,ct){return ct.cache}),B=M,N=b.forwardRef(function(Qe,ct){var st=Qe.popup,qe=Qe.className,Be=Qe.prefixCls,be=Qe.style,De=Qe.target,Ge=Qe.onVisibleChanged,We=Qe.open,Xe=Qe.keepDom,ot=Qe.fresh,ht=Qe.onClick,ur=Qe.mask,tr=Qe.arrow,Le=Qe.arrowPos,Je=Qe.align,Yt=Qe.motion,It=Qe.maskMotion,Zt=Qe.forceRender,Gt=Qe.getPopupContainer,cr=Qe.autoDestroy,Ht=Qe.portal,Ce=Qe.zIndex,ce=Qe.onMouseEnter,pe=Qe.onMouseLeave,Tt=Qe.onPointerEnter,Se=Qe.ready,at=Qe.offsetX,$t=Qe.offsetY,yt=Qe.offsetR,Ae=Qe.offsetB,gt=Qe.onAlign,ze=Qe.onPrepare,et=Qe.stretch,bt=Qe.targetWidth,Ft=Qe.targetHeight,Fe=typeof st=="function"?st():st,kr=We||Xe,pt=(Gt==null?void 0:Gt.length)>0,en=b.useState(!Gt||!pt),on=(0,i.Z)(en,2),jt=on[0],Jt=on[1];if((0,y.Z)(function(){!jt&&pt&&De&&Jt(!0)},[jt,pt,De]),!jt)return null;var kt="auto",Xt={left:"-1000vw",top:"-1000vh",right:kt,bottom:kt};if(Se||!We){var Er,Or=Je.points,Ct=Je.dynamicInset||((Er=Je._experimental)===null||Er===void 0?void 0:Er.dynamicInset),Kt=Ct&&Or[0][1]==="r",Lt=Ct&&Or[0][0]==="b";Kt?(Xt.right=yt,Xt.left=kt):(Xt.left=at,Xt.right=kt),Lt?(Xt.bottom=Ae,Xt.top=kt):(Xt.top=$t,Xt.bottom=kt)}var Qt={};return et&&(et.includes("height")&&Ft?Qt.height=Ft:et.includes("minHeight")&&Ft&&(Qt.minHeight=Ft),et.includes("width")&&bt?Qt.width=bt:et.includes("minWidth")&&bt&&(Qt.minWidth=bt)),We||(Qt.pointerEvents="none"),b.createElement(Ht,{open:Zt||kr,getContainer:Gt&&function(){return Gt(De)},autoDestroy:cr},b.createElement(I,{prefixCls:Be,open:We,zIndex:Ce,mask:ur,motion:It}),b.createElement(h.Z,{onResize:gt,disabled:!We},function(br){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(Be,"-hidden")},Yt,{onAppearPrepare:ze,onEnterPrepare:ze,visible:We,onVisibleChanged:function(Hr){var Bn;Yt==null||(Bn=Yt.onVisibleChanged)===null||Bn===void 0||Bn.call(Yt,Hr),Ge(Hr)}}),function(Qr,Hr){var Bn=Qr.className,wn=Qr.style,Vn=u()(Be,Bn,qe);return b.createElement("div",{ref:(0,R.sQ)(br,ct,Hr),className:Vn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Le.x||0,"px"),"--arrow-y":"".concat(Le.y||0,"px")},Xt),Qt),wn),{},{boxSizing:"border-box",zIndex:Ce},be),onMouseEnter:ce,onMouseLeave:pe,onPointerEnter:Tt,onClick:ht},tr&&b.createElement(A,{prefixCls:Be,arrow:tr,arrowPos:Le,align:Je}),b.createElement(B,{cache:!We&&!ot},Fe))})}))}),K=N,G=b.forwardRef(function(Qe,ct){var st=Qe.children,qe=Qe.getTriggerDOMNode,Be=(0,R.Yr)(st),be=b.useCallback(function(Ge){(0,R.mH)(ct,qe?qe(Ge):Ge)},[qe]),De=(0,R.x1)(be,st.ref);return Be?b.cloneElement(st,{ref:De}):st}),H=G,ae=b.createContext(null),ne=ae;function oe(Qe){return Qe?Array.isArray(Qe)?Qe:[Qe]:[]}function J(Qe,ct,st,qe){return b.useMemo(function(){var Be=oe(st!=null?st:ct),be=oe(qe!=null?qe:ct),De=new Set(Be),Ge=new Set(be);return Qe&&(De.has("hover")&&(De.delete("hover"),De.add("click")),Ge.has("hover")&&(Ge.delete("hover"),Ge.add("click"))),[De,Ge]},[Qe,ct,st,qe])}var q=e(29194);function V(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],st=arguments.length>2?arguments[2]:void 0;return st?Qe[0]===ct[0]:Qe[0]===ct[0]&&Qe[1]===ct[1]}function se(Qe,ct,st,qe){for(var Be=st.points,be=Object.keys(Qe),De=0;De1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Qe)?ct:Qe}function j(Qe){return Z(parseFloat(Qe),0)}function ie(Qe,ct){var st=(0,r.Z)({},Qe);return(ct||[]).forEach(function(qe){if(!(qe instanceof HTMLBodyElement||qe instanceof HTMLHtmlElement)){var Be=Q(qe).getComputedStyle(qe),be=Be.overflow,De=Be.overflowClipMargin,Ge=Be.borderTopWidth,We=Be.borderBottomWidth,Xe=Be.borderLeftWidth,ot=Be.borderRightWidth,ht=qe.getBoundingClientRect(),ur=qe.offsetHeight,tr=qe.clientHeight,Le=qe.offsetWidth,Je=qe.clientWidth,Yt=j(Ge),It=j(We),Zt=j(Xe),Gt=j(ot),cr=Z(Math.round(ht.width/Le*1e3)/1e3),Ht=Z(Math.round(ht.height/ur*1e3)/1e3),Ce=(Le-Je-Zt-Gt)*cr,ce=(ur-tr-Yt-It)*Ht,pe=Yt*Ht,Tt=It*Ht,Se=Zt*cr,at=Gt*cr,$t=0,yt=0;if(be==="clip"){var Ae=j(De);$t=Ae*cr,yt=Ae*Ht}var gt=ht.x+Se-$t,ze=ht.y+pe-yt,et=gt+ht.width+2*$t-Se-at-Ce,bt=ze+ht.height+2*yt-pe-Tt-ce;st.left=Math.max(st.left,gt),st.top=Math.max(st.top,ze),st.right=Math.min(st.right,et),st.bottom=Math.min(st.bottom,bt)}}),st}function ve(Qe){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,st="".concat(ct),qe=st.match(/^(.*)\%$/);return qe?Qe*(parseFloat(qe[1])/100):parseFloat(st)}function Ee(Qe,ct){var st=ct||[],qe=(0,i.Z)(st,2),Be=qe[0],be=qe[1];return[ve(Qe.width,Be),ve(Qe.height,be)]}function Te(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Qe[0],Qe[1]]}function He(Qe,ct){var st=ct[0],qe=ct[1],Be,be;return st==="t"?be=Qe.y:st==="b"?be=Qe.y+Qe.height:be=Qe.y+Qe.height/2,qe==="l"?Be=Qe.x:qe==="r"?Be=Qe.x+Qe.width:Be=Qe.x+Qe.width/2,{x:Be,y:be}}function je(Qe,ct){var st={t:"b",b:"t",l:"r",r:"l"};return Qe.map(function(qe,Be){return Be===ct?st[qe]||"c":qe}).join("")}function Ot(Qe,ct,st,qe,Be,be,De){var Ge=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Be[qe]||{}}),We=(0,i.Z)(Ge,2),Xe=We[0],ot=We[1],ht=b.useRef(0),ur=b.useMemo(function(){return ct?le(ct):[]},[ct]),tr=b.useRef({}),Le=function(){tr.current={}};Qe||Le();var Je=(0,x.Z)(function(){if(ct&&st&&Qe){let Ka=function(Ds,xo){var Wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vn,Xo=Fe.x+Ds,mu=Fe.y+xo,vu=Xo+Er,_o=mu+Xt,Ho=Math.max(Xo,Wo.left),Oo=Math.max(mu,Wo.top),nu=Math.min(vu,Wo.right),qo=Math.min(_o,Wo.bottom);return Math.max(0,(nu-Ho)*(qo-Oo))},zi=function(){Nn=Fe.y+or,qn=Nn+Xt,$e=Fe.x+Zn,lt=$e+Er};var Zt,Gt,cr=ct,Ht=cr.ownerDocument,Ce=Q(cr),ce=Ce.getComputedStyle(cr),pe=ce.width,Tt=ce.height,Se=ce.position,at=cr.style.left,$t=cr.style.top,yt=cr.style.right,Ae=cr.style.bottom,gt=cr.style.overflow,ze=(0,r.Z)((0,r.Z)({},Be[qe]),be),et=Ht.createElement("div");(Zt=cr.parentElement)===null||Zt===void 0||Zt.appendChild(et),et.style.left="".concat(cr.offsetLeft,"px"),et.style.top="".concat(cr.offsetTop,"px"),et.style.position=Se,et.style.height="".concat(cr.offsetHeight,"px"),et.style.width="".concat(cr.offsetWidth,"px"),cr.style.left="0",cr.style.top="0",cr.style.right="auto",cr.style.bottom="auto",cr.style.overflow="hidden";var bt;if(Array.isArray(st))bt={x:st[0],y:st[1],width:0,height:0};else{var Ft=st.getBoundingClientRect();bt={x:Ft.x,y:Ft.y,width:Ft.width,height:Ft.height}}var Fe=cr.getBoundingClientRect(),kr=Ht.documentElement,pt=kr.clientWidth,en=kr.clientHeight,on=kr.scrollWidth,jt=kr.scrollHeight,Jt=kr.scrollTop,kt=kr.scrollLeft,Xt=Fe.height,Er=Fe.width,Or=bt.height,Ct=bt.width,Kt={left:0,top:0,right:pt,bottom:en},Lt={left:-kt,top:-Jt,right:on-kt,bottom:jt-Jt},Qt=ze.htmlRegion,br="visible",Qr="visibleFirst";Qt!=="scroll"&&Qt!==Qr&&(Qt=br);var Hr=Qt===Qr,Bn=ie(Lt,ur),wn=ie(Kt,ur),Vn=Qt===br?wn:Bn,At=Hr?wn:Vn;cr.style.left="auto",cr.style.top="auto",cr.style.right="0",cr.style.bottom="0";var Yr=cr.getBoundingClientRect();cr.style.left=at,cr.style.top=$t,cr.style.right=yt,cr.style.bottom=Ae,cr.style.overflow=gt,(Gt=cr.parentElement)===null||Gt===void 0||Gt.removeChild(et);var ni=Z(Math.round(Er/parseFloat(pe)*1e3)/1e3),Mi=Z(Math.round(Xt/parseFloat(Tt)*1e3)/1e3);if(ni===0||Mi===0||(0,o.Sh)(st)&&!(0,q.Z)(st))return;var Et=ze.offset,Xn=ze.targetOffset,si=Ee(Fe,Et),Ui=(0,i.Z)(si,2),Ei=Ui[0],ji=Ui[1],la=Ee(bt,Xn),Wi=(0,i.Z)(la,2),Di=Wi[0],di=Wi[1];bt.x-=Di,bt.y-=di;var Hi=ze.points||[],Ta=(0,i.Z)(Hi,2),xt=Ta[0],xa=Ta[1],Gi=Te(xa),_i=Te(xt),Da=He(bt,Gi),Ki=He(Fe,_i),ti=(0,r.Z)({},ze),Zn=Da.x-Ki.x+Ei,or=Da.y-Ki.y+ji,ut=Ka(Zn,or),me=Ka(Zn,or,wn),dt=He(bt,["t","l"]),rt=He(Fe,["t","l"]),pr=He(bt,["b","r"]),mr=He(Fe,["b","r"]),Ir=ze.overflow||{},Gr=Ir.adjustX,tn=Ir.adjustY,Dr=Ir.shiftX,Cn=Ir.shiftY,_r=function(xo){return typeof xo=="boolean"?xo:xo>=0},Nn,qn,$e,lt;zi();var ye=_r(tn),sr=_i[0]===Gi[0];if(ye&&_i[0]==="t"&&(qn>At.bottom||tr.current.bt)){var nr=or;sr?nr-=Xt-Or:nr=dt.y-mr.y-ji;var Lr=Ka(Zn,nr),$r=Ka(Zn,nr,wn);Lr>ut||Lr===ut&&(!Hr||$r>=me)?(tr.current.bt=!0,or=nr,ji=-ji,ti.points=[je(_i,0),je(Gi,0)]):tr.current.bt=!1}if(ye&&_i[0]==="b"&&(Nnut||pn===ut&&(!Hr||Ci>=me)?(tr.current.tb=!0,or=Wr,ji=-ji,ti.points=[je(_i,0),je(Gi,0)]):tr.current.tb=!1}var ln=_r(Gr),bn=_i[1]===Gi[1];if(ln&&_i[1]==="l"&&(lt>At.right||tr.current.rl)){var Kr=Zn;bn?Kr-=Er-Ct:Kr=dt.x-mr.x-Ei;var Rn=Ka(Kr,or),ui=Ka(Kr,or,wn);Rn>ut||Rn===ut&&(!Hr||ui>=me)?(tr.current.rl=!0,Zn=Kr,Ei=-Ei,ti.points=[je(_i,1),je(Gi,1)]):tr.current.rl=!1}if(ln&&_i[1]==="r"&&($eut||Qs===ut&&(!Hr||Ba>=me)?(tr.current.lr=!0,Zn=wa,Ei=-Ei,ti.points=[je(_i,1),je(Gi,1)]):tr.current.lr=!1}zi();var zs=Dr===!0?0:Dr;typeof zs=="number"&&($ewn.right&&(Zn-=lt-wn.right-Ei,bt.x>wn.right-zs&&(Zn+=bt.x-wn.right+zs)));var Ns=Cn===!0?0:Cn;typeof Ns=="number"&&(Nnwn.bottom&&(or-=qn-wn.bottom-ji,bt.y>wn.bottom-Ns&&(or+=bt.y-wn.bottom+Ns)));var as=Fe.x+Zn,oo=as+Er,Aa=Fe.y+or,Ps=Aa+Xt,ps=bt.x,po=ps+Ct,Ji=bt.y,to=Ji+Or,Zo=Math.max(as,ps),Na=Math.min(oo,po),Zs=(Zo+Na)/2,pi=Zs-as,ro=Math.max(Aa,Ji),Ln=Math.min(Ps,to),ss=(ro+Ln)/2,Is=ss-Aa;De==null||De(ct,ti);var Os=Yr.right-Fe.x-(Zn+Fe.width),qi=Yr.bottom-Fe.y-(or+Fe.height);ot({ready:!0,offsetX:Zn/ni,offsetY:or/Mi,offsetR:Os/ni,offsetB:qi/Mi,arrowX:pi/ni,arrowY:Is/Mi,scaleX:ni,scaleY:Mi,align:ti})}}),Yt=function(){ht.current+=1;var Gt=ht.current;Promise.resolve().then(function(){ht.current===Gt&&Je()})},It=function(){ot(function(Gt){return(0,r.Z)((0,r.Z)({},Gt),{},{ready:!1})})};return(0,y.Z)(It,[qe]),(0,y.Z)(function(){Qe||It()},[Qe]),[Xe.ready,Xe.offsetX,Xe.offsetY,Xe.offsetR,Xe.offsetB,Xe.arrowX,Xe.arrowY,Xe.scaleX,Xe.scaleY,Xe.align,Yt]}var ft=e(94480);function Pt(Qe,ct,st,qe,Be){(0,y.Z)(function(){if(Qe&&ct&&st){let ht=function(){qe(),Be()};var be=ct,De=st,Ge=le(be),We=le(De),Xe=Q(De),ot=new Set([Xe].concat((0,ft.Z)(Ge),(0,ft.Z)(We)));return ot.forEach(function(ur){ur.addEventListener("scroll",ht,{passive:!0})}),Xe.addEventListener("resize",ht,{passive:!0}),qe(),function(){ot.forEach(function(ur){ur.removeEventListener("scroll",ht),Xe.removeEventListener("resize",ht)})}}},[Qe,ct,st])}var Wt=e(48736),Rt=e(16089);function ar(Qe,ct,st,qe,Be,be,De,Ge){var We=b.useRef(Qe),Xe=b.useRef(!1);We.current!==Qe&&(Xe.current=!0,We.current=Qe),b.useEffect(function(){var ot=(0,Rt.Z)(function(){Xe.current=!1});return function(){Rt.Z.cancel(ot)}},[Qe]),b.useEffect(function(){if(ct&&qe&&(!Be||be)){var ot=function(){var Se=!1,at=function(Ae){var gt=Ae.target;Se=De(gt)},$t=function(Ae){var gt=Ae.target;!Xe.current&&We.current&&!Se&&!De(gt)&&Ge(!1)};return[at,$t]},ht=ot(),ur=(0,i.Z)(ht,2),tr=ur[0],Le=ur[1],Je=ot(),Yt=(0,i.Z)(Je,2),It=Yt[0],Zt=Yt[1],Gt=Q(qe);Gt.addEventListener("mousedown",tr,!0),Gt.addEventListener("click",Le,!0),Gt.addEventListener("contextmenu",Le,!0);var cr=(0,a.A)(st);if(cr&&(cr.addEventListener("mousedown",It,!0),cr.addEventListener("click",Zt,!0),cr.addEventListener("contextmenu",Zt,!0)),0)var Ht,Ce,ce,pe;return function(){Gt.removeEventListener("mousedown",tr,!0),Gt.removeEventListener("click",Le,!0),Gt.removeEventListener("contextmenu",Le,!0),cr&&(cr.removeEventListener("mousedown",It,!0),cr.removeEventListener("click",Zt,!0),cr.removeEventListener("contextmenu",Zt,!0))}}},[ct,st,qe,Be,be])}var Ue=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function _t(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,ct=b.forwardRef(function(st,qe){var Be=st.prefixCls,be=Be===void 0?"rc-trigger-popup":Be,De=st.children,Ge=st.action,We=Ge===void 0?"hover":Ge,Xe=st.showAction,ot=st.hideAction,ht=st.popupVisible,ur=st.defaultPopupVisible,tr=st.onPopupVisibleChange,Le=st.afterPopupVisibleChange,Je=st.mouseEnterDelay,Yt=st.mouseLeaveDelay,It=Yt===void 0?.1:Yt,Zt=st.focusDelay,Gt=st.blurDelay,cr=st.mask,Ht=st.maskClosable,Ce=Ht===void 0?!0:Ht,ce=st.getPopupContainer,pe=st.forceRender,Tt=st.autoDestroy,Se=st.destroyPopupOnHide,at=st.popup,$t=st.popupClassName,yt=st.popupStyle,Ae=st.popupPlacement,gt=st.builtinPlacements,ze=gt===void 0?{}:gt,et=st.popupAlign,bt=st.zIndex,Ft=st.stretch,Fe=st.getPopupClassNameFromAlign,kr=st.fresh,pt=st.alignPoint,en=st.onPopupClick,on=st.onPopupAlign,jt=st.arrow,Jt=st.popupMotion,kt=st.maskMotion,Xt=st.popupTransitionName,Er=st.popupAnimation,Or=st.maskTransitionName,Ct=st.maskAnimation,Kt=st.className,Lt=st.getTriggerDOMNode,Qt=(0,l.Z)(st,Ue),br=Tt||Se||!1,Qr=b.useState(!1),Hr=(0,i.Z)(Qr,2),Bn=Hr[0],wn=Hr[1];(0,y.Z)(function(){wn((0,m.Z)())},[]);var Vn=b.useRef({}),At=b.useContext(ne),Yr=b.useMemo(function(){return{registerSubPopup:function(gi,Ja){Vn.current[gi]=Ja,At==null||At.registerSubPopup(gi,Ja)}}},[At]),ni=(0,p.Z)(),Mi=b.useState(null),Et=(0,i.Z)(Mi,2),Xn=Et[0],si=Et[1],Ui=(0,x.Z)(function(mi){(0,o.Sh)(mi)&&Xn!==mi&&si(mi),At==null||At.registerSubPopup(ni,mi)}),Ei=b.useState(null),ji=(0,i.Z)(Ei,2),la=ji[0],Wi=ji[1],Di=b.useRef(null),di=(0,x.Z)(function(mi){(0,o.Sh)(mi)&&la!==mi&&(Wi(mi),Di.current=mi)}),Hi=b.Children.only(De),Ta=(Hi==null?void 0:Hi.props)||{},xt={},xa=(0,x.Z)(function(mi){var gi,Ja,ls=la;return(ls==null?void 0:ls.contains(mi))||((gi=(0,a.A)(ls))===null||gi===void 0?void 0:gi.host)===mi||mi===ls||(Xn==null?void 0:Xn.contains(mi))||((Ja=(0,a.A)(Xn))===null||Ja===void 0?void 0:Ja.host)===mi||mi===Xn||Object.values(Vn.current).some(function(es){return(es==null?void 0:es.contains(mi))||mi===es})}),Gi=ee(be,Jt,Er,Xt),_i=ee(be,kt,Ct,Or),Da=b.useState(ur||!1),Ki=(0,i.Z)(Da,2),ti=Ki[0],Zn=Ki[1],or=ht!=null?ht:ti,ut=(0,x.Z)(function(mi){ht===void 0&&Zn(mi)});(0,y.Z)(function(){Zn(ht||!1)},[ht]);var me=b.useRef(or);me.current=or;var dt=b.useRef([]);dt.current=[];var rt=(0,x.Z)(function(mi){var gi;ut(mi),((gi=dt.current[dt.current.length-1])!==null&&gi!==void 0?gi:or)!==mi&&(dt.current.push(mi),tr==null||tr(mi))}),pr=b.useRef(),mr=function(){clearTimeout(pr.current)},Ir=function(gi){var Ja=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;mr(),Ja===0?rt(gi):pr.current=setTimeout(function(){rt(gi)},Ja*1e3)};b.useEffect(function(){return mr},[]);var Gr=b.useState(!1),tn=(0,i.Z)(Gr,2),Dr=tn[0],Cn=tn[1];(0,y.Z)(function(mi){(!mi||or)&&Cn(!0)},[or]);var _r=b.useState(null),Nn=(0,i.Z)(_r,2),qn=Nn[0],$e=Nn[1],lt=b.useState([0,0]),ye=(0,i.Z)(lt,2),sr=ye[0],nr=ye[1],Lr=function(gi){nr([gi.clientX,gi.clientY])},$r=Ot(or,Xn,pt?sr:la,Ae,ze,et,on),Wr=(0,i.Z)($r,11),pn=Wr[0],Ci=Wr[1],ln=Wr[2],bn=Wr[3],Kr=Wr[4],Rn=Wr[5],ui=Wr[6],wa=Wr[7],Qs=Wr[8],Ba=Wr[9],zs=Wr[10],Ns=J(Bn,We,Xe,ot),as=(0,i.Z)(Ns,2),oo=as[0],Aa=as[1],Ps=oo.has("click"),ps=Aa.has("click")||Aa.has("contextMenu"),po=(0,x.Z)(function(){Dr||zs()}),Ji=function(){me.current&&pt&&ps&&Ir(!1)};Pt(or,la,Xn,po,Ji),(0,y.Z)(function(){po()},[sr,Ae]),(0,y.Z)(function(){or&&!(ze!=null&&ze[Ae])&&po()},[JSON.stringify(et)]);var to=b.useMemo(function(){var mi=se(ze,be,Ba,pt);return u()(mi,Fe==null?void 0:Fe(Ba))},[Ba,Fe,ze,be,pt]);b.useImperativeHandle(qe,function(){return{nativeElement:Di.current,forceAlign:po}});var Zo=b.useState(0),Na=(0,i.Z)(Zo,2),Zs=Na[0],pi=Na[1],ro=b.useState(0),Ln=(0,i.Z)(ro,2),ss=Ln[0],Is=Ln[1],Os=function(){if(Ft&&la){var gi=la.getBoundingClientRect();pi(gi.width),Is(gi.height)}},qi=function(){Os(),po()},Ka=function(gi){Cn(!1),zs(),Le==null||Le(gi)},zi=function(){return new Promise(function(gi){Os(),$e(function(){return gi})})};(0,y.Z)(function(){qn&&(zs(),qn(),$e(null))},[qn]);function Ds(mi,gi,Ja,ls){xt[mi]=function(es){var Ha;ls==null||ls(es),Ir(gi,Ja);for(var ms=arguments.length,Qo=new Array(ms>1?ms-1:0),ks=1;ks1?Ja-1:0),es=1;es1?Ja-1:0),es=1;es=0)return l[f].splice(o,1),!0}return!1},publish:function(f){if(!l[f])return!1;const u=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,u)}),this}};return i?Object.assign(i,c):c}const r=new e;_.Z=r},71051:function(d,_,e){"use strict";e.d(_,{zt:function(){return Ra},$j:function(){return Qn},Ue:function(){return xo},I0:function(){return lo},v9:function(){return wu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return Ct},all:function(){return Fe},apply:function(){return on},call:function(){return en},cancel:function(){return Er},cancelled:function(){return Kt},cps:function(){return jt},flush:function(){return Lt},fork:function(){return Jt},getContext:function(){return Qt},join:function(){return Xt},put:function(){return Ft},race:function(){return kr},select:function(){return Or},setContext:function(){return br},spawn:function(){return kt},take:function(){return et},takeEvery:function(){return ut},takeLatest:function(){return me},takem:function(){return bt},throttle:function(){return dt}});var i=e(59301),l=e(75682),c=e(59781),f=Object.assign||function(Ye){for(var Pe=1;Pe=0&&Ye.splice(Bt,1)}var H={from:function(Pe){var Bt=Array(Pe.length);for(var mt in Pe)B(Pe,mt)&&(Bt[mt]=Pe[mt]);return Bt}};function ae(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pe=f({},Ye),Bt=new Promise(function(mt,Ar){Pe.resolve=mt,Pe.reject=Ar});return Pe.promise=Bt,Pe}function ne(Ye){for(var Pe=[],Bt=0;Bt1&&arguments[1]!==void 0?arguments[1]:!0,Bt=void 0,mt=new Promise(function(Ar){Bt=setTimeout(function(){return Ar(Pe)},Ye)});return mt[p]=function(){return clearTimeout(Bt)},mt}function J(){var Ye,Pe=!0,Bt=void 0,mt=void 0;return Ye={},Ye[o]=!0,Ye.isRunning=function(){return Pe},Ye.result=function(){return Bt},Ye.error=function(){return mt},Ye.setRunning=function(Br){return Pe=Br},Ye.setResult=function(Br){return Bt=Br},Ye.setError=function(Br){return mt=Br},Ye}function q(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var V=q(),se=function(Pe){throw Pe},ee=function(Pe){return{value:Pe,done:!0}};function Q(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",mt=arguments[3],Ar={name:Bt,next:Ye,throw:Pe,return:ee};return mt&&(Ar[a]=!0),typeof Symbol!="undefined"&&(Ar[Symbol.iterator]=function(){return Ar}),Ar}function le(Ye,Pe){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+Pe+` +}`),J)}else(0,m.jL)(J);return function(){(0,m.jL)(J)}},[ae,J])}var I=!1;function M(H){return typeof H=="boolean"&&(I=H),I}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},N=i.forwardRef(function(H,ae){var ne=H.open,oe=H.autoLock,J=H.getContainer,q=H.debug,V=H.autoDestroy,se=V===void 0?!0:V,ee=H.children,Q=i.useState(ne),le=(0,r.Z)(Q,2),Z=le[0],j=le[1],ie=Z||ne;i.useEffect(function(){(se||ne)&&j(ne)},[ne,se]);var ve=i.useState(function(){return B(J)}),Ee=(0,r.Z)(ve,2),Te=Ee[0],He=Ee[1];i.useEffect(function(){var Qe=B(J);He(Qe!=null?Qe:null)});var je=y(ie&&!Te,q),Ot=(0,r.Z)(je,2),ft=Ot[0],Pt=Ot[1],Wt=Te!=null?Te:ft;A(oe&&ne&&(0,c.Z)()&&(Wt===ft||Wt===document.body));var Rt=null;if(ee&&(0,u.Yr)(ee)&&ae){var ar=ee;Rt=ar.ref}var Ue=(0,u.x1)(Rt,ae);if(!ie||!(0,c.Z)()||Te===void 0)return null;var _t=Wt===!1||M(),Mt=ee;return ae&&(Mt=i.cloneElement(ee,{ref:Ue})),i.createElement(o.Provider,{value:Pt},_t?Mt:(0,l.createPortal)(Mt,Wt))}),K=N,G=K},35593:function(d,_,e){"use strict";e.d(_,{Z:function(){return Mt}});var r=e(33885),i=e(42978),l=e(75931),c=e(43403),f=e(92310),u=e.n(f),h=e(29301),o=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),m=e(49658),b=e(59301),S=e(54476),k=e(77900),R=e(8654);function A(Qe){var ct=Qe.prefixCls,st=Qe.align,qe=Qe.arrow,Be=Qe.arrowPos,be=qe||{},De=be.className,Ge=be.content,We=Be.x,Xe=We===void 0?0:We,ot=Be.y,ht=ot===void 0?0:ot,ur=b.useRef();if(!st||!st.points)return null;var tr={position:"absolute"};if(st.autoArrow!==!1){var Le=st.points[0],Je=st.points[1],Yt=Le[0],It=Le[1],Zt=Je[0],Gt=Je[1];Yt===Zt||!["t","b"].includes(Yt)?tr.top=ht:Yt==="t"?tr.top=0:tr.bottom=0,It===Gt||!["l","r"].includes(It)?tr.left=Xe:It==="l"?tr.left=0:tr.right=0}return b.createElement("div",{ref:ur,className:u()("".concat(ct,"-arrow"),De),style:tr},Ge)}function I(Qe){var ct=Qe.prefixCls,st=Qe.open,qe=Qe.zIndex,Be=Qe.mask,be=Qe.motion;return Be?b.createElement(k.default,(0,S.Z)({},be,{motionAppear:!0,visible:st,removeOnLeave:!0}),function(De){var Ge=De.className;return b.createElement("div",{style:{zIndex:qe},className:u()("".concat(ct,"-mask"),Ge)})}):null}var M=b.memo(function(Qe){var ct=Qe.children;return ct},function(Qe,ct){return ct.cache}),B=M,N=b.forwardRef(function(Qe,ct){var st=Qe.popup,qe=Qe.className,Be=Qe.prefixCls,be=Qe.style,De=Qe.target,Ge=Qe.onVisibleChanged,We=Qe.open,Xe=Qe.keepDom,ot=Qe.fresh,ht=Qe.onClick,ur=Qe.mask,tr=Qe.arrow,Le=Qe.arrowPos,Je=Qe.align,Yt=Qe.motion,It=Qe.maskMotion,Zt=Qe.forceRender,Gt=Qe.getPopupContainer,cr=Qe.autoDestroy,Ht=Qe.portal,Ce=Qe.zIndex,ce=Qe.onMouseEnter,pe=Qe.onMouseLeave,Ct=Qe.onPointerEnter,Se=Qe.ready,at=Qe.offsetX,$t=Qe.offsetY,yt=Qe.offsetR,Ae=Qe.offsetB,gt=Qe.onAlign,ze=Qe.onPrepare,et=Qe.stretch,bt=Qe.targetWidth,Ft=Qe.targetHeight,Fe=typeof st=="function"?st():st,kr=We||Xe,pt=(Gt==null?void 0:Gt.length)>0,en=b.useState(!Gt||!pt),on=(0,i.Z)(en,2),jt=on[0],Jt=on[1];if((0,y.Z)(function(){!jt&&pt&&De&&Jt(!0)},[jt,pt,De]),!jt)return null;var kt="auto",Xt={left:"-1000vw",top:"-1000vh",right:kt,bottom:kt};if(Se||!We){var Er,Or=Je.points,At=Je.dynamicInset||((Er=Je._experimental)===null||Er===void 0?void 0:Er.dynamicInset),Kt=At&&Or[0][1]==="r",Lt=At&&Or[0][0]==="b";Kt?(Xt.right=yt,Xt.left=kt):(Xt.left=at,Xt.right=kt),Lt?(Xt.bottom=Ae,Xt.top=kt):(Xt.top=$t,Xt.bottom=kt)}var Qt={};return et&&(et.includes("height")&&Ft?Qt.height=Ft:et.includes("minHeight")&&Ft&&(Qt.minHeight=Ft),et.includes("width")&&bt?Qt.width=bt:et.includes("minWidth")&&bt&&(Qt.minWidth=bt)),We||(Qt.pointerEvents="none"),b.createElement(Ht,{open:Zt||kr,getContainer:Gt&&function(){return Gt(De)},autoDestroy:cr},b.createElement(I,{prefixCls:Be,open:We,zIndex:Ce,mask:ur,motion:It}),b.createElement(h.Z,{onResize:gt,disabled:!We},function(br){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(Be,"-hidden")},Yt,{onAppearPrepare:ze,onEnterPrepare:ze,visible:We,onVisibleChanged:function(Hr){var Bn;Yt==null||(Bn=Yt.onVisibleChanged)===null||Bn===void 0||Bn.call(Yt,Hr),Ge(Hr)}}),function(Qr,Hr){var Bn=Qr.className,wn=Qr.style,Yn=u()(Be,Bn,qe);return b.createElement("div",{ref:(0,R.sQ)(br,ct,Hr),className:Yn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Le.x||0,"px"),"--arrow-y":"".concat(Le.y||0,"px")},Xt),Qt),wn),{},{boxSizing:"border-box",zIndex:Ce},be),onMouseEnter:ce,onMouseLeave:pe,onPointerEnter:Ct,onClick:ht},tr&&b.createElement(A,{prefixCls:Be,arrow:tr,arrowPos:Le,align:Je}),b.createElement(B,{cache:!We&&!ot},Fe))})}))}),K=N,G=b.forwardRef(function(Qe,ct){var st=Qe.children,qe=Qe.getTriggerDOMNode,Be=(0,R.Yr)(st),be=b.useCallback(function(Ge){(0,R.mH)(ct,qe?qe(Ge):Ge)},[qe]),De=(0,R.x1)(be,st.ref);return Be?b.cloneElement(st,{ref:De}):st}),H=G,ae=b.createContext(null),ne=ae;function oe(Qe){return Qe?Array.isArray(Qe)?Qe:[Qe]:[]}function J(Qe,ct,st,qe){return b.useMemo(function(){var Be=oe(st!=null?st:ct),be=oe(qe!=null?qe:ct),De=new Set(Be),Ge=new Set(be);return Qe&&(De.has("hover")&&(De.delete("hover"),De.add("click")),Ge.has("hover")&&(Ge.delete("hover"),Ge.add("click"))),[De,Ge]},[Qe,ct,st,qe])}var q=e(29194);function V(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],st=arguments.length>2?arguments[2]:void 0;return st?Qe[0]===ct[0]:Qe[0]===ct[0]&&Qe[1]===ct[1]}function se(Qe,ct,st,qe){for(var Be=st.points,be=Object.keys(Qe),De=0;De1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Qe)?ct:Qe}function j(Qe){return Z(parseFloat(Qe),0)}function ie(Qe,ct){var st=(0,r.Z)({},Qe);return(ct||[]).forEach(function(qe){if(!(qe instanceof HTMLBodyElement||qe instanceof HTMLHtmlElement)){var Be=Q(qe).getComputedStyle(qe),be=Be.overflow,De=Be.overflowClipMargin,Ge=Be.borderTopWidth,We=Be.borderBottomWidth,Xe=Be.borderLeftWidth,ot=Be.borderRightWidth,ht=qe.getBoundingClientRect(),ur=qe.offsetHeight,tr=qe.clientHeight,Le=qe.offsetWidth,Je=qe.clientWidth,Yt=j(Ge),It=j(We),Zt=j(Xe),Gt=j(ot),cr=Z(Math.round(ht.width/Le*1e3)/1e3),Ht=Z(Math.round(ht.height/ur*1e3)/1e3),Ce=(Le-Je-Zt-Gt)*cr,ce=(ur-tr-Yt-It)*Ht,pe=Yt*Ht,Ct=It*Ht,Se=Zt*cr,at=Gt*cr,$t=0,yt=0;if(be==="clip"){var Ae=j(De);$t=Ae*cr,yt=Ae*Ht}var gt=ht.x+Se-$t,ze=ht.y+pe-yt,et=gt+ht.width+2*$t-Se-at-Ce,bt=ze+ht.height+2*yt-pe-Ct-ce;st.left=Math.max(st.left,gt),st.top=Math.max(st.top,ze),st.right=Math.min(st.right,et),st.bottom=Math.min(st.bottom,bt)}}),st}function ve(Qe){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,st="".concat(ct),qe=st.match(/^(.*)\%$/);return qe?Qe*(parseFloat(qe[1])/100):parseFloat(st)}function Ee(Qe,ct){var st=ct||[],qe=(0,i.Z)(st,2),Be=qe[0],be=qe[1];return[ve(Qe.width,Be),ve(Qe.height,be)]}function Te(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Qe[0],Qe[1]]}function He(Qe,ct){var st=ct[0],qe=ct[1],Be,be;return st==="t"?be=Qe.y:st==="b"?be=Qe.y+Qe.height:be=Qe.y+Qe.height/2,qe==="l"?Be=Qe.x:qe==="r"?Be=Qe.x+Qe.width:Be=Qe.x+Qe.width/2,{x:Be,y:be}}function je(Qe,ct){var st={t:"b",b:"t",l:"r",r:"l"};return Qe.map(function(qe,Be){return Be===ct?st[qe]||"c":qe}).join("")}function Ot(Qe,ct,st,qe,Be,be,De){var Ge=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Be[qe]||{}}),We=(0,i.Z)(Ge,2),Xe=We[0],ot=We[1],ht=b.useRef(0),ur=b.useMemo(function(){return ct?le(ct):[]},[ct]),tr=b.useRef({}),Le=function(){tr.current={}};Qe||Le();var Je=(0,x.Z)(function(){if(ct&&st&&Qe){let Ka=function(Ds,xo){var Wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yn,Xo=Fe.x+Ds,mu=Fe.y+xo,vu=Xo+Er,go=mu+Xt,Ho=Math.max(Xo,Wo.left),Oo=Math.max(mu,Wo.top),nu=Math.min(vu,Wo.right),qo=Math.min(go,Wo.bottom);return Math.max(0,(nu-Ho)*(qo-Oo))},Zi=function(){Nn=Fe.y+or,qn=Nn+Xt,$e=Fe.x+Zn,lt=$e+Er};var Zt,Gt,cr=ct,Ht=cr.ownerDocument,Ce=Q(cr),ce=Ce.getComputedStyle(cr),pe=ce.width,Ct=ce.height,Se=ce.position,at=cr.style.left,$t=cr.style.top,yt=cr.style.right,Ae=cr.style.bottom,gt=cr.style.overflow,ze=(0,r.Z)((0,r.Z)({},Be[qe]),be),et=Ht.createElement("div");(Zt=cr.parentElement)===null||Zt===void 0||Zt.appendChild(et),et.style.left="".concat(cr.offsetLeft,"px"),et.style.top="".concat(cr.offsetTop,"px"),et.style.position=Se,et.style.height="".concat(cr.offsetHeight,"px"),et.style.width="".concat(cr.offsetWidth,"px"),cr.style.left="0",cr.style.top="0",cr.style.right="auto",cr.style.bottom="auto",cr.style.overflow="hidden";var bt;if(Array.isArray(st))bt={x:st[0],y:st[1],width:0,height:0};else{var Ft=st.getBoundingClientRect();bt={x:Ft.x,y:Ft.y,width:Ft.width,height:Ft.height}}var Fe=cr.getBoundingClientRect(),kr=Ht.documentElement,pt=kr.clientWidth,en=kr.clientHeight,on=kr.scrollWidth,jt=kr.scrollHeight,Jt=kr.scrollTop,kt=kr.scrollLeft,Xt=Fe.height,Er=Fe.width,Or=bt.height,At=bt.width,Kt={left:0,top:0,right:pt,bottom:en},Lt={left:-kt,top:-Jt,right:on-kt,bottom:jt-Jt},Qt=ze.htmlRegion,br="visible",Qr="visibleFirst";Qt!=="scroll"&&Qt!==Qr&&(Qt=br);var Hr=Qt===Qr,Bn=ie(Lt,ur),wn=ie(Kt,ur),Yn=Qt===br?wn:Bn,St=Hr?wn:Yn;cr.style.left="auto",cr.style.top="auto",cr.style.right="0",cr.style.bottom="0";var Yr=cr.getBoundingClientRect();cr.style.left=at,cr.style.top=$t,cr.style.right=yt,cr.style.bottom=Ae,cr.style.overflow=gt,(Gt=cr.parentElement)===null||Gt===void 0||Gt.removeChild(et);var ni=Z(Math.round(Er/parseFloat(pe)*1e3)/1e3),Mi=Z(Math.round(Xt/parseFloat(Ct)*1e3)/1e3);if(ni===0||Mi===0||(0,o.Sh)(st)&&!(0,q.Z)(st))return;var Kn=ze.offset,Tt=ze.targetOffset,fi=Ee(Fe,Kn),pi=(0,i.Z)(fi,2),Ai=pi[0],Ni=pi[1],la=Ee(bt,Tt),Xi=(0,i.Z)(la,2),zi=Xi[0],oi=Xi[1];bt.x-=zi,bt.y-=oi;var ji=ze.points||[],Ta=(0,i.Z)(ji,2),xt=Ta[0],xa=Ta[1],Hi=Te(xa),gi=Te(xt),Da=He(bt,Hi),$i=He(Fe,gi),ti=(0,r.Z)({},ze),Zn=Da.x-$i.x+Ai,or=Da.y-$i.y+Ni,ut=Ka(Zn,or),me=Ka(Zn,or,wn),dt=He(bt,["t","l"]),rt=He(Fe,["t","l"]),pr=He(bt,["b","r"]),mr=He(Fe,["b","r"]),Ir=ze.overflow||{},Gr=Ir.adjustX,tn=Ir.adjustY,Dr=Ir.shiftX,Cn=Ir.shiftY,_r=function(xo){return typeof xo=="boolean"?xo:xo>=0},Nn,qn,$e,lt;Zi();var ye=_r(tn),sr=gi[0]===Hi[0];if(ye&&gi[0]==="t"&&(qn>St.bottom||tr.current.bt)){var nr=or;sr?nr-=Xt-Or:nr=dt.y-mr.y-Ni;var Lr=Ka(Zn,nr),$r=Ka(Zn,nr,wn);Lr>ut||Lr===ut&&(!Hr||$r>=me)?(tr.current.bt=!0,or=nr,Ni=-Ni,ti.points=[je(gi,0),je(Hi,0)]):tr.current.bt=!1}if(ye&&gi[0]==="b"&&(Nnut||pn===ut&&(!Hr||Ti>=me)?(tr.current.tb=!0,or=Wr,Ni=-Ni,ti.points=[je(gi,0),je(Hi,0)]):tr.current.tb=!1}var ln=_r(Gr),bn=gi[1]===Hi[1];if(ln&&gi[1]==="l"&&(lt>St.right||tr.current.rl)){var Kr=Zn;bn?Kr-=Er-At:Kr=dt.x-mr.x-Ai;var Rn=Ka(Kr,or),ui=Ka(Kr,or,wn);Rn>ut||Rn===ut&&(!Hr||ui>=me)?(tr.current.rl=!0,Zn=Kr,Ai=-Ai,ti.points=[je(gi,1),je(Hi,1)]):tr.current.rl=!1}if(ln&&gi[1]==="r"&&($eut||Qs===ut&&(!Hr||Ba>=me)?(tr.current.lr=!0,Zn=wa,Ai=-Ai,ti.points=[je(gi,1),je(Hi,1)]):tr.current.lr=!1}Zi();var zs=Dr===!0?0:Dr;typeof zs=="number"&&($ewn.right&&(Zn-=lt-wn.right-Ai,bt.x>wn.right-zs&&(Zn+=bt.x-wn.right+zs)));var Ns=Cn===!0?0:Cn;typeof Ns=="number"&&(Nnwn.bottom&&(or-=qn-wn.bottom-Ni,bt.y>wn.bottom-Ns&&(or+=bt.y-wn.bottom+Ns)));var as=Fe.x+Zn,oo=as+Er,Aa=Fe.y+or,Ps=Aa+Xt,ps=bt.x,po=ps+At,Ji=bt.y,to=Ji+Or,Zo=Math.max(as,ps),Na=Math.min(oo,po),Zs=(Zo+Na)/2,mi=Zs-as,ro=Math.max(Aa,Ji),Ln=Math.min(Ps,to),ss=(ro+Ln)/2,Is=ss-Aa;De==null||De(ct,ti);var Os=Yr.right-Fe.x-(Zn+Fe.width),qi=Yr.bottom-Fe.y-(or+Fe.height);ot({ready:!0,offsetX:Zn/ni,offsetY:or/Mi,offsetR:Os/ni,offsetB:qi/Mi,arrowX:mi/ni,arrowY:Is/Mi,scaleX:ni,scaleY:Mi,align:ti})}}),Yt=function(){ht.current+=1;var Gt=ht.current;Promise.resolve().then(function(){ht.current===Gt&&Je()})},It=function(){ot(function(Gt){return(0,r.Z)((0,r.Z)({},Gt),{},{ready:!1})})};return(0,y.Z)(It,[qe]),(0,y.Z)(function(){Qe||It()},[Qe]),[Xe.ready,Xe.offsetX,Xe.offsetY,Xe.offsetR,Xe.offsetB,Xe.arrowX,Xe.arrowY,Xe.scaleX,Xe.scaleY,Xe.align,Yt]}var ft=e(94480);function Pt(Qe,ct,st,qe,Be){(0,y.Z)(function(){if(Qe&&ct&&st){let ht=function(){qe(),Be()};var be=ct,De=st,Ge=le(be),We=le(De),Xe=Q(De),ot=new Set([Xe].concat((0,ft.Z)(Ge),(0,ft.Z)(We)));return ot.forEach(function(ur){ur.addEventListener("scroll",ht,{passive:!0})}),Xe.addEventListener("resize",ht,{passive:!0}),qe(),function(){ot.forEach(function(ur){ur.removeEventListener("scroll",ht),Xe.removeEventListener("resize",ht)})}}},[Qe,ct,st])}var Wt=e(48736),Rt=e(16089);function ar(Qe,ct,st,qe,Be,be,De,Ge){var We=b.useRef(Qe),Xe=b.useRef(!1);We.current!==Qe&&(Xe.current=!0,We.current=Qe),b.useEffect(function(){var ot=(0,Rt.Z)(function(){Xe.current=!1});return function(){Rt.Z.cancel(ot)}},[Qe]),b.useEffect(function(){if(ct&&qe&&(!Be||be)){var ot=function(){var Se=!1,at=function(Ae){var gt=Ae.target;Se=De(gt)},$t=function(Ae){var gt=Ae.target;!Xe.current&&We.current&&!Se&&!De(gt)&&Ge(!1)};return[at,$t]},ht=ot(),ur=(0,i.Z)(ht,2),tr=ur[0],Le=ur[1],Je=ot(),Yt=(0,i.Z)(Je,2),It=Yt[0],Zt=Yt[1],Gt=Q(qe);Gt.addEventListener("mousedown",tr,!0),Gt.addEventListener("click",Le,!0),Gt.addEventListener("contextmenu",Le,!0);var cr=(0,a.A)(st);if(cr&&(cr.addEventListener("mousedown",It,!0),cr.addEventListener("click",Zt,!0),cr.addEventListener("contextmenu",Zt,!0)),0)var Ht,Ce,ce,pe;return function(){Gt.removeEventListener("mousedown",tr,!0),Gt.removeEventListener("click",Le,!0),Gt.removeEventListener("contextmenu",Le,!0),cr&&(cr.removeEventListener("mousedown",It,!0),cr.removeEventListener("click",Zt,!0),cr.removeEventListener("contextmenu",Zt,!0))}}},[ct,st,qe,Be,be])}var Ue=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function _t(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,ct=b.forwardRef(function(st,qe){var Be=st.prefixCls,be=Be===void 0?"rc-trigger-popup":Be,De=st.children,Ge=st.action,We=Ge===void 0?"hover":Ge,Xe=st.showAction,ot=st.hideAction,ht=st.popupVisible,ur=st.defaultPopupVisible,tr=st.onPopupVisibleChange,Le=st.afterPopupVisibleChange,Je=st.mouseEnterDelay,Yt=st.mouseLeaveDelay,It=Yt===void 0?.1:Yt,Zt=st.focusDelay,Gt=st.blurDelay,cr=st.mask,Ht=st.maskClosable,Ce=Ht===void 0?!0:Ht,ce=st.getPopupContainer,pe=st.forceRender,Ct=st.autoDestroy,Se=st.destroyPopupOnHide,at=st.popup,$t=st.popupClassName,yt=st.popupStyle,Ae=st.popupPlacement,gt=st.builtinPlacements,ze=gt===void 0?{}:gt,et=st.popupAlign,bt=st.zIndex,Ft=st.stretch,Fe=st.getPopupClassNameFromAlign,kr=st.fresh,pt=st.alignPoint,en=st.onPopupClick,on=st.onPopupAlign,jt=st.arrow,Jt=st.popupMotion,kt=st.maskMotion,Xt=st.popupTransitionName,Er=st.popupAnimation,Or=st.maskTransitionName,At=st.maskAnimation,Kt=st.className,Lt=st.getTriggerDOMNode,Qt=(0,l.Z)(st,Ue),br=Ct||Se||!1,Qr=b.useState(!1),Hr=(0,i.Z)(Qr,2),Bn=Hr[0],wn=Hr[1];(0,y.Z)(function(){wn((0,m.Z)())},[]);var Yn=b.useRef({}),St=b.useContext(ne),Yr=b.useMemo(function(){return{registerSubPopup:function(yi,Ja){Yn.current[yi]=Ja,St==null||St.registerSubPopup(yi,Ja)}}},[St]),ni=(0,p.Z)(),Mi=b.useState(null),Kn=(0,i.Z)(Mi,2),Tt=Kn[0],fi=Kn[1],pi=(0,x.Z)(function(vi){(0,o.Sh)(vi)&&Tt!==vi&&fi(vi),St==null||St.registerSubPopup(ni,vi)}),Ai=b.useState(null),Ni=(0,i.Z)(Ai,2),la=Ni[0],Xi=Ni[1],zi=b.useRef(null),oi=(0,x.Z)(function(vi){(0,o.Sh)(vi)&&la!==vi&&(Xi(vi),zi.current=vi)}),ji=b.Children.only(De),Ta=(ji==null?void 0:ji.props)||{},xt={},xa=(0,x.Z)(function(vi){var yi,Ja,ls=la;return(ls==null?void 0:ls.contains(vi))||((yi=(0,a.A)(ls))===null||yi===void 0?void 0:yi.host)===vi||vi===ls||(Tt==null?void 0:Tt.contains(vi))||((Ja=(0,a.A)(Tt))===null||Ja===void 0?void 0:Ja.host)===vi||vi===Tt||Object.values(Yn.current).some(function(es){return(es==null?void 0:es.contains(vi))||vi===es})}),Hi=ee(be,Jt,Er,Xt),gi=ee(be,kt,At,Or),Da=b.useState(ur||!1),$i=(0,i.Z)(Da,2),ti=$i[0],Zn=$i[1],or=ht!=null?ht:ti,ut=(0,x.Z)(function(vi){ht===void 0&&Zn(vi)});(0,y.Z)(function(){Zn(ht||!1)},[ht]);var me=b.useRef(or);me.current=or;var dt=b.useRef([]);dt.current=[];var rt=(0,x.Z)(function(vi){var yi;ut(vi),((yi=dt.current[dt.current.length-1])!==null&&yi!==void 0?yi:or)!==vi&&(dt.current.push(vi),tr==null||tr(vi))}),pr=b.useRef(),mr=function(){clearTimeout(pr.current)},Ir=function(yi){var Ja=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;mr(),Ja===0?rt(yi):pr.current=setTimeout(function(){rt(yi)},Ja*1e3)};b.useEffect(function(){return mr},[]);var Gr=b.useState(!1),tn=(0,i.Z)(Gr,2),Dr=tn[0],Cn=tn[1];(0,y.Z)(function(vi){(!vi||or)&&Cn(!0)},[or]);var _r=b.useState(null),Nn=(0,i.Z)(_r,2),qn=Nn[0],$e=Nn[1],lt=b.useState([0,0]),ye=(0,i.Z)(lt,2),sr=ye[0],nr=ye[1],Lr=function(yi){nr([yi.clientX,yi.clientY])},$r=Ot(or,Tt,pt?sr:la,Ae,ze,et,on),Wr=(0,i.Z)($r,11),pn=Wr[0],Ti=Wr[1],ln=Wr[2],bn=Wr[3],Kr=Wr[4],Rn=Wr[5],ui=Wr[6],wa=Wr[7],Qs=Wr[8],Ba=Wr[9],zs=Wr[10],Ns=J(Bn,We,Xe,ot),as=(0,i.Z)(Ns,2),oo=as[0],Aa=as[1],Ps=oo.has("click"),ps=Aa.has("click")||Aa.has("contextMenu"),po=(0,x.Z)(function(){Dr||zs()}),Ji=function(){me.current&&pt&&ps&&Ir(!1)};Pt(or,la,Tt,po,Ji),(0,y.Z)(function(){po()},[sr,Ae]),(0,y.Z)(function(){or&&!(ze!=null&&ze[Ae])&&po()},[JSON.stringify(et)]);var to=b.useMemo(function(){var vi=se(ze,be,Ba,pt);return u()(vi,Fe==null?void 0:Fe(Ba))},[Ba,Fe,ze,be,pt]);b.useImperativeHandle(qe,function(){return{nativeElement:zi.current,forceAlign:po}});var Zo=b.useState(0),Na=(0,i.Z)(Zo,2),Zs=Na[0],mi=Na[1],ro=b.useState(0),Ln=(0,i.Z)(ro,2),ss=Ln[0],Is=Ln[1],Os=function(){if(Ft&&la){var yi=la.getBoundingClientRect();mi(yi.width),Is(yi.height)}},qi=function(){Os(),po()},Ka=function(yi){Cn(!1),zs(),Le==null||Le(yi)},Zi=function(){return new Promise(function(yi){Os(),$e(function(){return yi})})};(0,y.Z)(function(){qn&&(zs(),qn(),$e(null))},[qn]);function Ds(vi,yi,Ja,ls){xt[vi]=function(es){var Ha;ls==null||ls(es),Ir(yi,Ja);for(var ms=arguments.length,Qo=new Array(ms>1?ms-1:0),ks=1;ks1?Ja-1:0),es=1;es1?Ja-1:0),es=1;es=0)return l[f].splice(o,1),!0}return!1},publish:function(f){if(!l[f])return!1;const u=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,u)}),this}};return i?Object.assign(i,c):c}const r=new e;_.Z=r},71051:function(d,_,e){"use strict";e.d(_,{zt:function(){return Ra},$j:function(){return Qn},Ue:function(){return xo},I0:function(){return lo},v9:function(){return wu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return At},all:function(){return Fe},apply:function(){return on},call:function(){return en},cancel:function(){return Er},cancelled:function(){return Kt},cps:function(){return jt},flush:function(){return Lt},fork:function(){return Jt},getContext:function(){return Qt},join:function(){return Xt},put:function(){return Ft},race:function(){return kr},select:function(){return Or},setContext:function(){return br},spawn:function(){return kt},take:function(){return et},takeEvery:function(){return ut},takeLatest:function(){return me},takem:function(){return bt},throttle:function(){return dt}});var i=e(59301),l=e(75682),c=e(59781),f=Object.assign||function(Ye){for(var Pe=1;Pe=0&&Ye.splice(Bt,1)}var H={from:function(Pe){var Bt=Array(Pe.length);for(var mt in Pe)B(Pe,mt)&&(Bt[mt]=Pe[mt]);return Bt}};function ae(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pe=f({},Ye),Bt=new Promise(function(mt,Ar){Pe.resolve=mt,Pe.reject=Ar});return Pe.promise=Bt,Pe}function ne(Ye){for(var Pe=[],Bt=0;Bt1&&arguments[1]!==void 0?arguments[1]:!0,Bt=void 0,mt=new Promise(function(Ar){Bt=setTimeout(function(){return Ar(Pe)},Ye)});return mt[p]=function(){return clearTimeout(Bt)},mt}function J(){var Ye,Pe=!0,Bt=void 0,mt=void 0;return Ye={},Ye[o]=!0,Ye.isRunning=function(){return Pe},Ye.result=function(){return Bt},Ye.error=function(){return mt},Ye.setRunning=function(Br){return Pe=Br},Ye.setResult=function(Br){return Bt=Br},Ye.setError=function(Br){return mt=Br},Ye}function q(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var V=q(),se=function(Pe){throw Pe},ee=function(Pe){return{value:Pe,done:!0}};function Q(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",mt=arguments[3],Ar={name:Bt,next:Ye,throw:Pe,return:ee};return mt&&(Ar[a]=!0),typeof Symbol!="undefined"&&(Ar[Symbol.iterator]=function(){return Ar}),Ar}function le(Ye,Pe){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+Pe+` `+(Bt&&Bt.stack||Bt)):console[Ye](Pe,Bt)}function Z(Ye,Pe){return function(){return Ye.apply(void 0,arguments)}}var j=function(Pe,Bt){return Pe+" has been deprecated in favor of "+Bt+", please update your code"},ie=function(Pe){return new Error(` redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug in redux-saga code and not yours. Thanks for reporting this in the project's github repo. Error: `+Pe+` -`)},ve=function(Pe,Bt){return(Pe?Pe+".":"")+"setContext(props): argument "+Bt+" is not a plain object"},Ee=function(Pe){return function(Bt){return Pe(Object.defineProperty(Bt,y,{value:!0}))}},Te=function Ye(Pe){return function(){for(var Bt=arguments.length,mt=Array(Bt),Ar=0;Ar0&&arguments[0]!==void 0?arguments[0]:10,Pe=arguments[1],Bt=new Array(Ye),mt=0,Ar=0,Br=0,Vr=function(ii){Bt[Ar]=ii,Ar=(Ar+1)%Ye,mt++},En=function(){if(mt!=0){var ii=Bt[Br];return Bt[Br]=null,mt--,Br=(Br+1)%Ye,ii}},fn=function(){for(var ii=[];mt;)ii.push(En());return ii};return{isEmpty:function(){return mt==0},put:function(ii){if(mt0&&arguments[0]!==void 0?arguments[0]:ar.fixed(),Pe=!1,Bt=[];I(Ye,N.buffer,Xe);function mt(){if(Pe&&Bt.length)throw ie("Cannot have a closed channel with pending takers");if(Bt.length&&!Ye.isEmpty())throw ie("Cannot have pending takers with non empty buffer")}function Ar(fn){if(mt(),I(fn,N.notUndef,ot),!Pe){if(!Bt.length)return Ye.put(fn);for(var An=0;An1&&arguments[1]!==void 0?arguments[1]:ar.none(),Bt=arguments[2];arguments.length>2&&I(Bt,N.func,"Invalid match function passed to eventChannel");var mt=ht(Pe),Ar=function(){mt.__closed__||(Br&&Br(),mt.close())},Br=Ye(function(Vr){if(Ge(Vr)){Ar();return}Bt&&!Bt(Vr)||mt.put(Vr)});if(mt.__closed__&&Br(),!N.func(Br))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:mt.take,flush:mt.flush,close:Ar}}function tr(Ye){var Pe=ur(function(Bt){return Ye(function(mt){if(mt[y]){Bt(mt);return}Qe(function(){return Bt(mt)})})});return Be({},Pe,{take:function(mt,Ar){arguments.length>1&&(I(Ar,N.func,"channel.take's matcher argument must be a function"),mt[x]=Ar),Pe.take(mt)}})}var Le=h("IO"),Je="TAKE",Yt="PUT",It="ALL",Zt="RACE",Gt="CALL",cr="CPS",Ht="FORK",Ce="JOIN",ce="CANCEL",pe="SELECT",Tt="ACTION_CHANNEL",Se="CANCELLED",at="FLUSH",$t="GET_CONTEXT",yt="SET_CONTEXT",Ae=` -(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,gt=function(Pe,Bt){var mt;return mt={},mt[Le]=!0,mt[Pe]=Bt,mt},ze=function(Pe){return I(Hr.fork(Pe),N.object,"detach(eff): argument must be a fork effect"),Pe[Ht].detached=!0,Pe};function et(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&I(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Ye))return gt(Je,{pattern:Ye});if(N.channel(Ye))return gt(Je,{channel:Ye});throw new Error("take(patternOrChannel): argument "+String(Ye)+" is not valid channel or a valid pattern")}et.maybe=function(){var Ye=et.apply(void 0,arguments);return Ye[Je].maybe=!0,Ye};var bt=Z(et.maybe,j("takem","take.maybe"));function Ft(Ye,Pe){return arguments.length>1?(I(Ye,N.notUndef,"put(channel, action): argument channel is undefined"),I(Ye,N.channel,"put(channel, action): argument "+Ye+" is not a valid channel"),I(Pe,N.notUndef,"put(channel, action): argument action is undefined")):(I(Ye,N.notUndef,"put(action): argument action is undefined"),Pe=Ye,Ye=null),gt(Yt,{channel:Ye,action:Pe})}Ft.resolve=function(){var Ye=Ft.apply(void 0,arguments);return Ye[Yt].resolve=!0,Ye},Ft.sync=Z(Ft.resolve,j("put.sync","put.resolve"));function Fe(Ye){return gt(It,Ye)}function kr(Ye){return gt(Zt,Ye)}function pt(Ye,Pe,Bt){I(Pe,N.notUndef,Ye+": argument fn is undefined");var mt=null;if(N.array(Pe)){var Ar=Pe;mt=Ar[0],Pe=Ar[1]}else if(Pe.fn){var Br=Pe;mt=Br.context,Pe=Br.fn}return mt&&N.string(Pe)&&N.func(mt[Pe])&&(Pe=mt[Pe]),I(Pe,N.func,Ye+": argument "+Pe+" is not a function"),{context:mt,fn:Pe,args:Bt}}function en(Ye){for(var Pe=arguments.length,Bt=Array(Pe>1?Pe-1:0),mt=1;mt2&&arguments[2]!==void 0?arguments[2]:[];return gt(Gt,pt("apply",{context:Ye,fn:Pe},Bt))}function jt(Ye){for(var Pe=arguments.length,Bt=Array(Pe>1?Pe-1:0),mt=1;mt1?Pe-1:0),mt=1;mt1?Pe-1:0),mt=1;mt1)return Fe(Pe.map(function(Ar){return Xt(Ar)}));var mt=Pe[0];return I(mt,N.notUndef,"join(task): argument task is undefined"),I(mt,N.task,"join(task): argument "+mt+" is not a valid Task object "+Ae),gt(Ce,mt)}function Er(){for(var Ye=arguments.length,Pe=Array(Ye),Bt=0;Bt1)return Fe(Pe.map(function(Ar){return Er(Ar)}));var mt=Pe[0];return Pe.length===1&&(I(mt,N.notUndef,"cancel(task): argument task is undefined"),I(mt,N.task,"cancel(task): argument "+mt+" is not a valid Task object "+Ae)),gt(ce,mt||m)}function Or(Ye){for(var Pe=arguments.length,Bt=Array(Pe>1?Pe-1:0),mt=1;mt1&&(I(Pe,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),I(Pe,N.buffer,"actionChannel(pattern, buffer): argument "+Pe+" is not a valid buffer")),gt(Tt,{pattern:Ye,buffer:Pe})}function Kt(){return gt(Se,{})}function Lt(Ye){return I(Ye,N.channel,"flush(channel): argument "+Ye+" is not valid channel"),gt(at,Ye)}function Qt(Ye){return I(Ye,N.string,"getContext(prop): argument "+Ye+" is not a string"),gt($t,Ye)}function br(Ye){return I(Ye,N.object,ve(null,Ye)),gt(yt,Ye)}var Qr=function(Pe){return function(Bt){return Bt&&Bt[Le]&&Bt[Pe]}},Hr={take:Qr(Je),put:Qr(Yt),all:Qr(It),race:Qr(Zt),call:Qr(Gt),cps:Qr(cr),fork:Qr(Ht),join:Qr(Ce),cancel:Qr(ce),select:Qr(pe),actionChannel:Qr(Tt),cancelled:Qr(Se),flush:Qr(at),getContext:Qr($t),setContext:Qr(yt)},Bn=Object.assign||function(Ye){for(var Pe=1;Pe1&&arguments[1]!==void 0?arguments[1]:function(){return R},Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,Ar=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Br=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Vr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,En=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",fn=arguments[8];I(Ye,N.iterator,At);var An="[...effects]",ii=Z(Js,j(An,"all("+An+")")),ai=Br.sagaMonitor,bi=Br.logger,Fi=Br.onError,na=bi||le,$i=function(Sn){var Ze=Sn.sagaStack;!Ze&&Sn.stack&&(Ze=Sn.stack.split(` +`)},ve=function(Pe,Bt){return(Pe?Pe+".":"")+"setContext(props): argument "+Bt+" is not a plain object"},Ee=function(Pe){return function(Bt){return Pe(Object.defineProperty(Bt,y,{value:!0}))}},Te=function Ye(Pe){return function(){for(var Bt=arguments.length,mt=Array(Bt),Ar=0;Ar0&&arguments[0]!==void 0?arguments[0]:10,Pe=arguments[1],Bt=new Array(Ye),mt=0,Ar=0,Br=0,Vr=function(ii){Bt[Ar]=ii,Ar=(Ar+1)%Ye,mt++},En=function(){if(mt!=0){var ii=Bt[Br];return Bt[Br]=null,mt--,Br=(Br+1)%Ye,ii}},fn=function(){for(var ii=[];mt;)ii.push(En());return ii};return{isEmpty:function(){return mt==0},put:function(ii){if(mt0&&arguments[0]!==void 0?arguments[0]:ar.fixed(),Pe=!1,Bt=[];I(Ye,N.buffer,Xe);function mt(){if(Pe&&Bt.length)throw ie("Cannot have a closed channel with pending takers");if(Bt.length&&!Ye.isEmpty())throw ie("Cannot have pending takers with non empty buffer")}function Ar(fn){if(mt(),I(fn,N.notUndef,ot),!Pe){if(!Bt.length)return Ye.put(fn);for(var An=0;An1&&arguments[1]!==void 0?arguments[1]:ar.none(),Bt=arguments[2];arguments.length>2&&I(Bt,N.func,"Invalid match function passed to eventChannel");var mt=ht(Pe),Ar=function(){mt.__closed__||(Br&&Br(),mt.close())},Br=Ye(function(Vr){if(Ge(Vr)){Ar();return}Bt&&!Bt(Vr)||mt.put(Vr)});if(mt.__closed__&&Br(),!N.func(Br))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:mt.take,flush:mt.flush,close:Ar}}function tr(Ye){var Pe=ur(function(Bt){return Ye(function(mt){if(mt[y]){Bt(mt);return}Qe(function(){return Bt(mt)})})});return Be({},Pe,{take:function(mt,Ar){arguments.length>1&&(I(Ar,N.func,"channel.take's matcher argument must be a function"),mt[x]=Ar),Pe.take(mt)}})}var Le=h("IO"),Je="TAKE",Yt="PUT",It="ALL",Zt="RACE",Gt="CALL",cr="CPS",Ht="FORK",Ce="JOIN",ce="CANCEL",pe="SELECT",Ct="ACTION_CHANNEL",Se="CANCELLED",at="FLUSH",$t="GET_CONTEXT",yt="SET_CONTEXT",Ae=` +(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,gt=function(Pe,Bt){var mt;return mt={},mt[Le]=!0,mt[Pe]=Bt,mt},ze=function(Pe){return I(Hr.fork(Pe),N.object,"detach(eff): argument must be a fork effect"),Pe[Ht].detached=!0,Pe};function et(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&I(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Ye))return gt(Je,{pattern:Ye});if(N.channel(Ye))return gt(Je,{channel:Ye});throw new Error("take(patternOrChannel): argument "+String(Ye)+" is not valid channel or a valid pattern")}et.maybe=function(){var Ye=et.apply(void 0,arguments);return Ye[Je].maybe=!0,Ye};var bt=Z(et.maybe,j("takem","take.maybe"));function Ft(Ye,Pe){return arguments.length>1?(I(Ye,N.notUndef,"put(channel, action): argument channel is undefined"),I(Ye,N.channel,"put(channel, action): argument "+Ye+" is not a valid channel"),I(Pe,N.notUndef,"put(channel, action): argument action is undefined")):(I(Ye,N.notUndef,"put(action): argument action is undefined"),Pe=Ye,Ye=null),gt(Yt,{channel:Ye,action:Pe})}Ft.resolve=function(){var Ye=Ft.apply(void 0,arguments);return Ye[Yt].resolve=!0,Ye},Ft.sync=Z(Ft.resolve,j("put.sync","put.resolve"));function Fe(Ye){return gt(It,Ye)}function kr(Ye){return gt(Zt,Ye)}function pt(Ye,Pe,Bt){I(Pe,N.notUndef,Ye+": argument fn is undefined");var mt=null;if(N.array(Pe)){var Ar=Pe;mt=Ar[0],Pe=Ar[1]}else if(Pe.fn){var Br=Pe;mt=Br.context,Pe=Br.fn}return mt&&N.string(Pe)&&N.func(mt[Pe])&&(Pe=mt[Pe]),I(Pe,N.func,Ye+": argument "+Pe+" is not a function"),{context:mt,fn:Pe,args:Bt}}function en(Ye){for(var Pe=arguments.length,Bt=Array(Pe>1?Pe-1:0),mt=1;mt2&&arguments[2]!==void 0?arguments[2]:[];return gt(Gt,pt("apply",{context:Ye,fn:Pe},Bt))}function jt(Ye){for(var Pe=arguments.length,Bt=Array(Pe>1?Pe-1:0),mt=1;mt1?Pe-1:0),mt=1;mt1?Pe-1:0),mt=1;mt1)return Fe(Pe.map(function(Ar){return Xt(Ar)}));var mt=Pe[0];return I(mt,N.notUndef,"join(task): argument task is undefined"),I(mt,N.task,"join(task): argument "+mt+" is not a valid Task object "+Ae),gt(Ce,mt)}function Er(){for(var Ye=arguments.length,Pe=Array(Ye),Bt=0;Bt1)return Fe(Pe.map(function(Ar){return Er(Ar)}));var mt=Pe[0];return Pe.length===1&&(I(mt,N.notUndef,"cancel(task): argument task is undefined"),I(mt,N.task,"cancel(task): argument "+mt+" is not a valid Task object "+Ae)),gt(ce,mt||m)}function Or(Ye){for(var Pe=arguments.length,Bt=Array(Pe>1?Pe-1:0),mt=1;mt1&&(I(Pe,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),I(Pe,N.buffer,"actionChannel(pattern, buffer): argument "+Pe+" is not a valid buffer")),gt(Ct,{pattern:Ye,buffer:Pe})}function Kt(){return gt(Se,{})}function Lt(Ye){return I(Ye,N.channel,"flush(channel): argument "+Ye+" is not valid channel"),gt(at,Ye)}function Qt(Ye){return I(Ye,N.string,"getContext(prop): argument "+Ye+" is not a string"),gt($t,Ye)}function br(Ye){return I(Ye,N.object,ve(null,Ye)),gt(yt,Ye)}var Qr=function(Pe){return function(Bt){return Bt&&Bt[Le]&&Bt[Pe]}},Hr={take:Qr(Je),put:Qr(Yt),all:Qr(It),race:Qr(Zt),call:Qr(Gt),cps:Qr(cr),fork:Qr(Ht),join:Qr(Ce),cancel:Qr(ce),select:Qr(pe),actionChannel:Qr(Ct),cancelled:Qr(Se),flush:Qr(at),getContext:Qr($t),setContext:Qr(yt)},Bn=Object.assign||function(Ye){for(var Pe=1;Pe1&&arguments[1]!==void 0?arguments[1]:function(){return R},Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,Ar=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Br=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Vr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,En=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",fn=arguments[8];I(Ye,N.iterator,St);var An="[...effects]",ii=Z(Js,j(An,"all("+An+")")),ai=Br.sagaMonitor,xi=Br.logger,Fi=Br.onError,na=xi||le,Gi=function(Sn){var Ze=Sn.sagaStack;!Ze&&Sn.stack&&(Ze=Sn.stack.split(` `)[0].indexOf(Sn.message)!==-1?Sn.stack:"Error: "+Sn.message+` -`+Sn.stack),na("error","uncaught at "+En,Ze||Sn.message||Sn)},Pi=tr(Pe),Pa=Object.create(Ar);ia.cancel=R;var Ii=Ws(Vr,En,Ye,fn),vi={name:En,cancel:wo,isRunning:!0},fa=Xn(En,vi,fs);function wo(){vi.isRunning&&!vi.isCancelled&&(vi.isCancelled=!0,ia(ni))}function Xs(){Ye._isRunning&&!Ye._isCancelled&&(Ye._isCancelled=!0,fa.cancelAll(),fs(ni))}return fn&&(fn.cancel=Xs),Ye._isRunning=!0,ia(),Ii;function ia(_n,Sn){if(!vi.isRunning)throw new Error("Trying to resume an already finished generator");try{var Ze=void 0;Sn?Ze=Ye.throw(_n):_n===ni?(vi.isCancelled=!0,ia.cancel(),Ze=N.func(Ye.return)?Ye.return(ni):{done:!0,value:ni}):_n===Yr?Ze=N.func(Ye.return)?Ye.return():{done:!0}:Ze=Ye.next(_n),Ze.done?(vi.isMainRunning=!1,vi.cont&&vi.cont(Ze.value)):ya(Ze.value,Vr,"",ia)}catch(Nt){vi.isCancelled&&$i(Nt),vi.isMainRunning=!1,vi.cont(Nt,!0)}}function fs(_n,Sn){Ye._isRunning=!1,Pi.close(),Sn?(_n instanceof Error&&Object.defineProperty(_n,"sagaStack",{value:"at "+En+` - `+(_n.sagaStack||_n.stack),configurable:!0}),Ii.cont||(_n instanceof Error&&Fi?Fi(_n):$i(_n)),Ye._error=_n,Ye._isAborted=!0,Ye._deferredEnd&&Ye._deferredEnd.reject(_n)):(Ye._result=_n,Ye._deferredEnd&&Ye._deferredEnd.resolve(_n)),Ii.cont&&Ii.cont(_n,Sn),Ii.joiners.forEach(function(Ze){return Ze.cb(_n,Sn)}),Ii.joiners=null}function ya(_n,Sn){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Nt=arguments[3],Sr=V();ai&&ai.effectTriggered({effectId:Sr,parentEffectId:Sn,label:Ze,effect:_n});var Mr=void 0;function Jr(Qi,ci){Mr||(Mr=!0,Nt.cancel=R,ai&&(ci?ai.effectRejected(Sr,Qi):ai.effectResolved(Sr,Qi)),Nt(Qi,ci))}Jr.cancel=R,Nt.cancel=function(){if(!Mr){Mr=!0;try{Jr.cancel()}catch(Qi){$i(Qi)}Jr.cancel=R,ai&&ai.effectCancelled(Sr)}};var yn=void 0;return N.promise(_n)?vs(_n,Jr):N.helper(_n)?pa(Ui(_n),Sr,Jr):N.iterator(_n)?La(_n,Sr,En,Jr):N.array(_n)?ii(_n,Sr,Jr):(yn=Hr.take(_n))?rs(yn,Jr):(yn=Hr.put(_n))?Ls(yn,Jr):(yn=Hr.all(_n))?Js(yn,Sr,Jr):(yn=Hr.race(_n))?Ga(yn,Sr,Jr):(yn=Hr.call(_n))?ao(yn,Sr,Jr):(yn=Hr.cps(_n))?xs(yn,Jr):(yn=Hr.fork(_n))?pa(yn,Sr,Jr):(yn=Hr.join(_n))?Ms(yn,Jr):(yn=Hr.cancel(_n))?jo(yn,Jr):(yn=Hr.select(_n))?us(yn,Jr):(yn=Hr.actionChannel(_n))?co(yn,Jr):(yn=Hr.flush(_n))?Vt(yn,Jr):(yn=Hr.cancelled(_n))?Va(yn,Jr):(yn=Hr.getContext(_n))?Dt(yn,Jr):(yn=Hr.setContext(_n))?Ia(yn,Jr):Jr(_n)}function vs(_n,Sn){var Ze=_n[p];N.func(Ze)?Sn.cancel=Ze:N.func(_n.abort)&&(Sn.cancel=function(){return _n.abort()}),_n.then(Sn,function(Nt){return Sn(Nt,!0)})}function La(_n,Sn,Ze,Nt){Ei(_n,Pe,Bt,mt,Pa,Br,Sn,Ze,Nt)}function rs(_n,Sn){var Ze=_n.channel,Nt=_n.pattern,Sr=_n.maybe;Ze=Ze||Pi;var Mr=function(yn){return yn instanceof Error?Sn(yn,!0):Ge(yn)&&!Sr?Sn(Yr):Sn(yn)};try{Ze.take(Mr,Et(Nt))}catch(Jr){return Sn(Jr,!0)}Sn.cancel=Mr.cancel}function Ls(_n,Sn){var Ze=_n.channel,Nt=_n.action,Sr=_n.resolve;Qe(function(){var Mr=void 0;try{Mr=(Ze?Ze.put:Bt)(Nt)}catch(Jr){if(Ze||Sr)return Sn(Jr,!0);$i(Jr)}if(Sr&&N.promise(Mr))vs(Mr,Sn);else return Sn(Mr)})}function ao(_n,Sn,Ze){var Nt=_n.context,Sr=_n.fn,Mr=_n.args,Jr=void 0;try{Jr=Sr.apply(Nt,Mr)}catch(yn){return Ze(yn,!0)}return N.promise(Jr)?vs(Jr,Ze):N.iterator(Jr)?La(Jr,Sn,Sr.name,Ze):Ze(Jr)}function xs(_n,Sn){var Ze=_n.context,Nt=_n.fn,Sr=_n.args;try{var Mr=function(yn,Qi){return N.undef(yn)?Sn(Qi):Sn(yn,!0)};Nt.apply(Ze,Sr.concat(Mr)),Mr.cancel&&(Sn.cancel=function(){return Mr.cancel()})}catch(Jr){return Sn(Jr,!0)}}function pa(_n,Sn,Ze){var Nt=_n.context,Sr=_n.fn,Mr=_n.args,Jr=_n.detached,yn=si({context:Nt,fn:Sr,args:Mr});try{ct();var Qi=Ei(yn,Pe,Bt,mt,Pa,Br,Sn,Sr.name,Jr?null:R);Jr?Ze(Qi):yn._isRunning?(fa.addTask(Qi),Ze(Qi)):yn._error?fa.abort(yn._error):Ze(Qi)}finally{qe()}}function Ms(_n,Sn){if(_n.isRunning()){var Ze={task:Ii,cb:Sn};Sn.cancel=function(){return G(_n.joiners,Ze)},_n.joiners.push(Ze)}else _n.isAborted()?Sn(_n.error(),!0):Sn(_n.result())}function jo(_n,Sn){_n===m&&(_n=Ii),_n.isRunning()&&_n.cancel(),Sn()}function Js(_n,Sn,Ze){var Nt=Object.keys(_n);if(!Nt.length)return Ze(N.array(_n)?[]:{});var Sr=0,Mr=void 0,Jr={},yn={};function Qi(){Sr===Nt.length&&(Mr=!0,Ze(N.array(_n)?H.from(Bn({},Jr,{length:Nt.length})):Jr))}Nt.forEach(function(ci){var Eo=function(ns,qa){Mr||(qa||Ge(ns)||ns===Yr||ns===ni?(Ze.cancel(),Ze(ns,qa)):(Jr[ci]=ns,Sr++,Qi()))};Eo.cancel=R,yn[ci]=Eo}),Ze.cancel=function(){Mr||(Mr=!0,Nt.forEach(function(ci){return yn[ci].cancel()}))},Nt.forEach(function(ci){return ya(_n[ci],Sn,ci,yn[ci])})}function Ga(_n,Sn,Ze){var Nt=void 0,Sr=Object.keys(_n),Mr={};Sr.forEach(function(Jr){var yn=function(ci,Eo){if(!Nt){if(Eo)Ze.cancel(),Ze(ci,!0);else if(!Ge(ci)&&ci!==Yr&&ci!==ni){var da;Ze.cancel(),Nt=!0;var ns=(da={},da[Jr]=ci,da);Ze(N.array(_n)?[].slice.call(Bn({},ns,{length:Sr.length})):ns)}}};yn.cancel=R,Mr[Jr]=yn}),Ze.cancel=function(){Nt||(Nt=!0,Sr.forEach(function(Jr){return Mr[Jr].cancel()}))},Sr.forEach(function(Jr){Nt||ya(_n[Jr],Sn,Jr,Mr[Jr])})}function us(_n,Sn){var Ze=_n.selector,Nt=_n.args;try{var Sr=Ze.apply(void 0,[mt()].concat(Nt));Sn(Sr)}catch(Mr){Sn(Mr,!0)}}function co(_n,Sn){var Ze=_n.pattern,Nt=_n.buffer,Sr=Et(Ze);Sr.pattern=Ze,Sn(ur(Pe,Nt||ar.fixed(),Sr))}function Va(_n,Sn){Sn(!!vi.isCancelled)}function Vt(_n,Sn){_n.flush(Sn)}function Dt(_n,Sn){Sn(Pa[_n])}function Ia(_n,Sn){K.assign(Pa,_n),Sn()}function Ws(_n,Sn,Ze,Nt){var Sr,Mr,Jr;return Ze._deferredEnd=null,Mr={},Mr[o]=!0,Mr.id=_n,Mr.name=Sn,Sr="done",Jr={},Jr[Sr]=Jr[Sr]||{},Jr[Sr].get=function(){if(Ze._deferredEnd)return Ze._deferredEnd.promise;var yn=ae();return Ze._deferredEnd=yn,Ze._isRunning||(Ze._error?yn.reject(Ze._error):yn.resolve(Ze._result)),yn.promise},Mr.cont=Nt,Mr.joiners=[],Mr.cancel=Xs,Mr.isRunning=function(){return Ze._isRunning},Mr.isCancelled=function(){return Ze._isCancelled},Mr.isAborted=function(){return Ze._isAborted},Mr.result=function(){return Ze._result},Mr.error=function(){return Ze._error},Mr.setContext=function(Qi){I(Qi,N.object,ve("task",Qi)),K.assign(Pa,Qi)},Vn(Mr,Jr),Mr}}var ji="runSaga(storeInterface, saga, ...args)",la=ji+": saga argument must be a Generator function!";function Wi(Ye,Pe){for(var Bt=arguments.length,mt=Array(Bt>2?Bt-2:0),Ar=2;Ar=0||Object.prototype.hasOwnProperty.call(Ye,mt)&&(Bt[mt]=Ye[mt]);return Bt}function di(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pe=Ye.context,Bt=Pe===void 0?{}:Pe,mt=Di(Ye,["context"]),Ar=mt.sagaMonitor,Br=mt.logger,Vr=mt.onError;if(N.func(mt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Br&&!N.func(Br))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Vr&&!N.func(Vr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(mt.emitter&&!N.func(mt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function En(fn){var An=fn.getState,ii=fn.dispatch,ai=We();return ai.emit=(mt.emitter||A)(ai.emit),En.run=Wi.bind(null,{context:Bt,subscribe:ai.subscribe,dispatch:ii,getState:An,sagaMonitor:Ar,logger:Br,onError:Vr}),function(bi){return function(Fi){Ar&&Ar.actionDispatched&&Ar.actionDispatched(Fi);var na=bi(Fi);return ai.emit(Fi),na}}}return En.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},En.setContext=function(fn){I(fn,N.object,ve("sagaMiddleware",fn)),K.assign(Bt,fn)},En}var Hi={done:!0,value:void 0},Ta={};function xt(Ye){return N.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(Pe){return String(Pe)})):String(Ye)}function xa(Ye,Pe){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",mt=void 0,Ar=Pe;function Br(Vr,En){if(Ar===Ta)return Hi;if(En)throw Ar=Ta,En;mt&&mt(Vr);var fn=Ye[Ar](),An=fn[0],ii=fn[1],ai=fn[2];return Ar=An,mt=ai,Ar===Ta?Hi:ii}return Q(Br,function(Vr){return Br(null,Vr)},Bt,!0)}function Gi(Ye,Pe){for(var Bt=arguments.length,mt=Array(Bt>2?Bt-2:0),Ar=2;Ar2?Bt-2:0),Ar=2;Ar3?mt-3:0),Br=3;Br2&&arguments[2]!==void 0?arguments[2]:"",Nt=arguments[3],Sr=V();ai&&ai.effectTriggered({effectId:Sr,parentEffectId:Sn,label:Ze,effect:_n});var Mr=void 0;function Jr(Qi,ci){Mr||(Mr=!0,Nt.cancel=R,ai&&(ci?ai.effectRejected(Sr,Qi):ai.effectResolved(Sr,Qi)),Nt(Qi,ci))}Jr.cancel=R,Nt.cancel=function(){if(!Mr){Mr=!0;try{Jr.cancel()}catch(Qi){Gi(Qi)}Jr.cancel=R,ai&&ai.effectCancelled(Sr)}};var yn=void 0;return N.promise(_n)?vs(_n,Jr):N.helper(_n)?pa(pi(_n),Sr,Jr):N.iterator(_n)?La(_n,Sr,En,Jr):N.array(_n)?ii(_n,Sr,Jr):(yn=Hr.take(_n))?rs(yn,Jr):(yn=Hr.put(_n))?Ls(yn,Jr):(yn=Hr.all(_n))?Js(yn,Sr,Jr):(yn=Hr.race(_n))?Ga(yn,Sr,Jr):(yn=Hr.call(_n))?ao(yn,Sr,Jr):(yn=Hr.cps(_n))?xs(yn,Jr):(yn=Hr.fork(_n))?pa(yn,Sr,Jr):(yn=Hr.join(_n))?Ms(yn,Jr):(yn=Hr.cancel(_n))?jo(yn,Jr):(yn=Hr.select(_n))?us(yn,Jr):(yn=Hr.actionChannel(_n))?co(yn,Jr):(yn=Hr.flush(_n))?Vt(yn,Jr):(yn=Hr.cancelled(_n))?Va(yn,Jr):(yn=Hr.getContext(_n))?Dt(yn,Jr):(yn=Hr.setContext(_n))?Ia(yn,Jr):Jr(_n)}function vs(_n,Sn){var Ze=_n[p];N.func(Ze)?Sn.cancel=Ze:N.func(_n.abort)&&(Sn.cancel=function(){return _n.abort()}),_n.then(Sn,function(Nt){return Sn(Nt,!0)})}function La(_n,Sn,Ze,Nt){Ai(_n,Pe,Bt,mt,Pa,Br,Sn,Ze,Nt)}function rs(_n,Sn){var Ze=_n.channel,Nt=_n.pattern,Sr=_n.maybe;Ze=Ze||Ii;var Mr=function(yn){return yn instanceof Error?Sn(yn,!0):Ge(yn)&&!Sr?Sn(Yr):Sn(yn)};try{Ze.take(Mr,Kn(Nt))}catch(Jr){return Sn(Jr,!0)}Sn.cancel=Mr.cancel}function Ls(_n,Sn){var Ze=_n.channel,Nt=_n.action,Sr=_n.resolve;Qe(function(){var Mr=void 0;try{Mr=(Ze?Ze.put:Bt)(Nt)}catch(Jr){if(Ze||Sr)return Sn(Jr,!0);Gi(Jr)}if(Sr&&N.promise(Mr))vs(Mr,Sn);else return Sn(Mr)})}function ao(_n,Sn,Ze){var Nt=_n.context,Sr=_n.fn,Mr=_n.args,Jr=void 0;try{Jr=Sr.apply(Nt,Mr)}catch(yn){return Ze(yn,!0)}return N.promise(Jr)?vs(Jr,Ze):N.iterator(Jr)?La(Jr,Sn,Sr.name,Ze):Ze(Jr)}function xs(_n,Sn){var Ze=_n.context,Nt=_n.fn,Sr=_n.args;try{var Mr=function(yn,Qi){return N.undef(yn)?Sn(Qi):Sn(yn,!0)};Nt.apply(Ze,Sr.concat(Mr)),Mr.cancel&&(Sn.cancel=function(){return Mr.cancel()})}catch(Jr){return Sn(Jr,!0)}}function pa(_n,Sn,Ze){var Nt=_n.context,Sr=_n.fn,Mr=_n.args,Jr=_n.detached,yn=fi({context:Nt,fn:Sr,args:Mr});try{ct();var Qi=Ai(yn,Pe,Bt,mt,Pa,Br,Sn,Sr.name,Jr?null:R);Jr?Ze(Qi):yn._isRunning?(fa.addTask(Qi),Ze(Qi)):yn._error?fa.abort(yn._error):Ze(Qi)}finally{qe()}}function Ms(_n,Sn){if(_n.isRunning()){var Ze={task:Oi,cb:Sn};Sn.cancel=function(){return G(_n.joiners,Ze)},_n.joiners.push(Ze)}else _n.isAborted()?Sn(_n.error(),!0):Sn(_n.result())}function jo(_n,Sn){_n===m&&(_n=Oi),_n.isRunning()&&_n.cancel(),Sn()}function Js(_n,Sn,Ze){var Nt=Object.keys(_n);if(!Nt.length)return Ze(N.array(_n)?[]:{});var Sr=0,Mr=void 0,Jr={},yn={};function Qi(){Sr===Nt.length&&(Mr=!0,Ze(N.array(_n)?H.from(Bn({},Jr,{length:Nt.length})):Jr))}Nt.forEach(function(ci){var Eo=function(ns,qa){Mr||(qa||Ge(ns)||ns===Yr||ns===ni?(Ze.cancel(),Ze(ns,qa)):(Jr[ci]=ns,Sr++,Qi()))};Eo.cancel=R,yn[ci]=Eo}),Ze.cancel=function(){Mr||(Mr=!0,Nt.forEach(function(ci){return yn[ci].cancel()}))},Nt.forEach(function(ci){return ya(_n[ci],Sn,ci,yn[ci])})}function Ga(_n,Sn,Ze){var Nt=void 0,Sr=Object.keys(_n),Mr={};Sr.forEach(function(Jr){var yn=function(ci,Eo){if(!Nt){if(Eo)Ze.cancel(),Ze(ci,!0);else if(!Ge(ci)&&ci!==Yr&&ci!==ni){var da;Ze.cancel(),Nt=!0;var ns=(da={},da[Jr]=ci,da);Ze(N.array(_n)?[].slice.call(Bn({},ns,{length:Sr.length})):ns)}}};yn.cancel=R,Mr[Jr]=yn}),Ze.cancel=function(){Nt||(Nt=!0,Sr.forEach(function(Jr){return Mr[Jr].cancel()}))},Sr.forEach(function(Jr){Nt||ya(_n[Jr],Sn,Jr,Mr[Jr])})}function us(_n,Sn){var Ze=_n.selector,Nt=_n.args;try{var Sr=Ze.apply(void 0,[mt()].concat(Nt));Sn(Sr)}catch(Mr){Sn(Mr,!0)}}function co(_n,Sn){var Ze=_n.pattern,Nt=_n.buffer,Sr=Kn(Ze);Sr.pattern=Ze,Sn(ur(Pe,Nt||ar.fixed(),Sr))}function Va(_n,Sn){Sn(!!_i.isCancelled)}function Vt(_n,Sn){_n.flush(Sn)}function Dt(_n,Sn){Sn(Pa[_n])}function Ia(_n,Sn){K.assign(Pa,_n),Sn()}function Ws(_n,Sn,Ze,Nt){var Sr,Mr,Jr;return Ze._deferredEnd=null,Mr={},Mr[o]=!0,Mr.id=_n,Mr.name=Sn,Sr="done",Jr={},Jr[Sr]=Jr[Sr]||{},Jr[Sr].get=function(){if(Ze._deferredEnd)return Ze._deferredEnd.promise;var yn=ae();return Ze._deferredEnd=yn,Ze._isRunning||(Ze._error?yn.reject(Ze._error):yn.resolve(Ze._result)),yn.promise},Mr.cont=Nt,Mr.joiners=[],Mr.cancel=Xs,Mr.isRunning=function(){return Ze._isRunning},Mr.isCancelled=function(){return Ze._isCancelled},Mr.isAborted=function(){return Ze._isAborted},Mr.result=function(){return Ze._result},Mr.error=function(){return Ze._error},Mr.setContext=function(Qi){I(Qi,N.object,ve("task",Qi)),K.assign(Pa,Qi)},Yn(Mr,Jr),Mr}}var Ni="runSaga(storeInterface, saga, ...args)",la=Ni+": saga argument must be a Generator function!";function Xi(Ye,Pe){for(var Bt=arguments.length,mt=Array(Bt>2?Bt-2:0),Ar=2;Ar=0||Object.prototype.hasOwnProperty.call(Ye,mt)&&(Bt[mt]=Ye[mt]);return Bt}function oi(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pe=Ye.context,Bt=Pe===void 0?{}:Pe,mt=zi(Ye,["context"]),Ar=mt.sagaMonitor,Br=mt.logger,Vr=mt.onError;if(N.func(mt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Br&&!N.func(Br))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Vr&&!N.func(Vr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(mt.emitter&&!N.func(mt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function En(fn){var An=fn.getState,ii=fn.dispatch,ai=We();return ai.emit=(mt.emitter||A)(ai.emit),En.run=Xi.bind(null,{context:Bt,subscribe:ai.subscribe,dispatch:ii,getState:An,sagaMonitor:Ar,logger:Br,onError:Vr}),function(xi){return function(Fi){Ar&&Ar.actionDispatched&&Ar.actionDispatched(Fi);var na=xi(Fi);return ai.emit(Fi),na}}}return En.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},En.setContext=function(fn){I(fn,N.object,ve("sagaMiddleware",fn)),K.assign(Bt,fn)},En}var ji={done:!0,value:void 0},Ta={};function xt(Ye){return N.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(Pe){return String(Pe)})):String(Ye)}function xa(Ye,Pe){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",mt=void 0,Ar=Pe;function Br(Vr,En){if(Ar===Ta)return ji;if(En)throw Ar=Ta,En;mt&&mt(Vr);var fn=Ye[Ar](),An=fn[0],ii=fn[1],ai=fn[2];return Ar=An,mt=ai,Ar===Ta?ji:ii}return Q(Br,function(Vr){return Br(null,Vr)},Bt,!0)}function Hi(Ye,Pe){for(var Bt=arguments.length,mt=Array(Bt>2?Bt-2:0),Ar=2;Ar2?Bt-2:0),Ar=2;Ar3?mt-3:0),Br=3;Br2?Bt-2:0),Ar=2;Ar2?Bt-2:0),Ar=2;Ar3?mt-3:0),Br=3;Br-1&&(Pe[Bt]=Ye[Bt]),Pe},{})}var as=function(){function Ye(){(0,qn.Z)(this,Ye),this._handleActions=null,this.hooks=zs.reduce(function(Pe,Bt){return Pe[Bt]=[],Pe},{})}return(0,$e.Z)(Ye,[{key:"use",value:function(Bt){mr()(tn()(Bt),"plugin.use: plugin should be plain object");var mt=this.hooks;for(var Ar in Bt)Object.prototype.hasOwnProperty.call(Bt,Ar)&&(mr()(mt[Ar],"plugin.use: unknown plugin property: ".concat(Ar)),Ar==="_handleActions"?this._handleActions=Bt[Ar]:Ar==="extraEnhancers"?mt[Ar]=Bt[Ar]:mt[Ar].push(Bt[Ar]))}},{key:"apply",value:function(Bt,mt){var Ar=this.hooks,Br=["onError","onHmr"];mr()(Br.indexOf(Bt)>-1,"plugin.apply: hook ".concat(Bt," cannot be applied"));var Vr=Ar[Bt];return function(){if(Vr.length){var En=!0,fn=!1,An=void 0;try{for(var ii=Vr[Symbol.iterator](),ai;!(En=(ai=ii.next()).done);En=!0){var bi=ai.value;bi.apply(void 0,arguments)}}catch(Fi){fn=!0,An=Fi}finally{try{!En&&ii.return!=null&&ii.return()}finally{if(fn)throw An}}}else mt&&mt.apply(void 0,arguments)}}},{key:"get",value:function(Bt){var mt=this.hooks;return mr()(Bt in mt,"plugin.get: hook ".concat(Bt," cannot be got")),Bt==="extraReducers"?oo(mt[Bt]):Bt==="onReducer"?Aa(mt[Bt]):mt[Bt]}}]),Ye}();function oo(Ye){var Pe={},Bt=!0,mt=!1,Ar=void 0;try{for(var Br=Ye[Symbol.iterator](),Vr;!(Bt=(Vr=Br.next()).done);Bt=!0){var En=Vr.value;Pe=(0,l.Z)({},Pe,En)}}catch(fn){mt=!0,Ar=fn}finally{try{!Bt&&Br.return!=null&&Br.return()}finally{if(mt)throw Ar}}return Pe}function Aa(Ye){return function(Pe){var Bt=!0,mt=!1,Ar=void 0;try{for(var Br=Ye[Symbol.iterator](),Vr;!(Bt=(Vr=Br.next()).done);Bt=!0){var En=Vr.value;Pe=En(Pe)}}catch(fn){mt=!0,Ar=fn}finally{try{!Bt&&Br.return!=null&&Br.return()}finally{if(mt)throw Ar}}return Pe}}function Ps(Ye){var Pe=Ye.reducers,Bt=Ye.initialState,mt=Ye.plugin,Ar=Ye.sagaMiddleware,Br=Ye.promiseMiddleware,Vr=Ye.createOpts.setupMiddlewares,En=Vr===void 0?Ci:Vr,fn=mt.get("extraEnhancers");mr()(Wr(fn),"[app.start] extraEnhancers should be array, but got ".concat((0,Ir.Z)(fn)));var An=mt.get("onAction"),ii=En([Br,Ar].concat((0,Dr.Z)(ye()(An)))),ai=c.qC,bi=[c.md.apply(void 0,(0,Dr.Z)(ii))].concat((0,Dr.Z)(fn));return(0,c.MT)(Pe,Bt,ai.apply(void 0,(0,Dr.Z)(bi)))}function ps(Ye,Pe){var Bt="".concat(Pe.namespace).concat(wa).concat(Ye),mt=Bt.replace(/\/@@[^/]+?$/,""),Ar=Array.isArray(Pe.reducers)?Pe.reducers[0][mt]:Pe.reducers&&Pe.reducers[mt];return Ar||Pe.effects&&Pe.effects[mt]?Bt:Ye}function po(Ye,Pe,Bt,mt){var Ar=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return $r().mark(function Br(){var Vr;return $r().wrap(function(fn){for(;;)switch(fn.prev=fn.next){case 0:fn.t0=$r().keys(Ye);case 1:if((fn.t1=fn.t0()).done){fn.next=7;break}if(Vr=fn.t1.value,!Object.prototype.hasOwnProperty.call(Ye,Vr)){fn.next=5;break}return fn.delegateYield($r().mark(function An(){var ii,ai;return $r().wrap(function(Fi){for(;;)switch(Fi.prev=Fi.next){case 0:return ii=Ji(Vr,Ye[Vr],Pe,Bt,mt,Ar),Fi.next=3,Jt(ii);case 3:return ai=Fi.sent,Fi.next=6,Jt($r().mark(function na(){return $r().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,et("".concat(Pe.namespace,"/@@CANCEL_EFFECTS"));case 2:return Pi.next=4,Er(ai);case 4:case"end":return Pi.stop()}},na)}));case 6:case"end":return Fi.stop()}},An)})(),"t2",5);case 5:fn.next=1;break;case 7:case"end":return fn.stop()}},Br)})}function Ji(Ye,Pe,Bt,mt,Ar,Br){var Vr=$r().mark(na),En=Pe,fn="takeEvery",An,ii;if(Array.isArray(Pe)){var ai=(0,nr.Z)(Pe,1);En=ai[0];var bi=Pe[1];bi&&bi.type&&(fn=bi.type,fn==="throttle"&&(mr()(bi.ms,"app.start: opts.ms should be defined if type is throttle"),An=bi.ms),fn==="poll"&&(mr()(bi.delay,"app.start: opts.delay should be defined if type is poll"),ii=bi.delay)),mr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(fn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Fi(){}function na(){var Pi,Pa,Ii,vi,fa,wo,Xs,ia,fs,ya=arguments;return $r().wrap(function(La){for(;;)switch(La.prev=La.next){case 0:for(Pi=ya.length,Pa=new Array(Pi),Ii=0;Ii0?Pa[0]:{},fa=vi.__dva_resolve,wo=fa===void 0?Fi:fa,Xs=vi.__dva_reject,ia=Xs===void 0?Fi:Xs,La.prev=2,La.next=5,Ft({type:"".concat(Ye).concat(wa,"@@start")});case 5:return La.next=7,En.apply(void 0,(0,Dr.Z)(Pa.concat(to(Bt,Br))));case 7:return fs=La.sent,La.next=10,Ft({type:"".concat(Ye).concat(wa,"@@end")});case 10:wo(fs),La.next=17;break;case 13:La.prev=13,La.t0=La.catch(2),mt(La.t0,{key:Ye,effectArgs:Pa}),La.t0._dontReject||ia(La.t0);case 17:case"end":return La.stop()}},Vr,null,[[2,13]])}var $i=Zo(Ar,na,Bt,Ye);switch(fn){case"watcher":return na;case"takeLatest":return $r().mark(function Pi(){return $r().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Ii.next=2,me(Ye,$i);case 2:case"end":return Ii.stop()}},Pi)});case"throttle":return $r().mark(function Pi(){return $r().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Ii.next=2,dt(An,Ye,$i);case 2:case"end":return Ii.stop()}},Pi)});case"poll":return $r().mark(function Pi(){var Pa,Ii,vi,fa,wo,Xs,ia;return $r().wrap(function(ya){for(;;)switch(ya.prev=ya.next){case 0:vi=function(La,rs){var Ls;return $r().wrap(function(xs){for(;;)switch(xs.prev=xs.next){case 0:Ls=La.call;case 1:return xs.next=4,Ls($i,rs);case 4:return xs.next=6,Ls(Ii,ii);case 6:xs.next=1;break;case 8:case"end":return xs.stop()}},Pa)},Ii=function(La){return new Promise(function(rs){return setTimeout(rs,La)})},Pa=$r().mark(vi),fa=en,wo=et,Xs=kr;case 4:return ya.next=7,wo("".concat(Ye,"-start"));case 7:return ia=ya.sent,ya.next=10,Xs([fa(vi,r,ia),wo("".concat(Ye,"-stop"))]);case 10:ya.next=4;break;case 12:case"end":return ya.stop()}},Pi)});default:return $r().mark(function Pi(){return $r().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Ii.next=2,ut(Ye,$i);case 2:case"end":return Ii.stop()}},Pi)})}}function to(Ye,Pe){function Bt(Vr,En){mr()(Vr,"dispatch: action should be a plain Object with type");var fn=Pe.namespacePrefixWarning,An=fn===void 0?!0:fn;An&&Nn()(Vr.indexOf("".concat(Ye.namespace).concat(wa))!==0,"[".concat(En,"] ").concat(Vr," should not be prefixed with namespace ").concat(Ye.namespace))}function mt(Vr){var En=Vr.type;return Bt(En,"sagaEffects.put"),Ft((0,l.Z)({},Vr,{type:ps(En,Ye)}))}function Ar(Vr){var En=Vr.type;return Bt(En,"sagaEffects.put.resolve"),Ft.resolve((0,l.Z)({},Vr,{type:ps(En,Ye)}))}mt.resolve=Ar;function Br(Vr){return typeof Vr=="string"?(Bt(Vr,"sagaEffects.take"),et(ps(Vr,Ye))):Array.isArray(Vr)?et(Vr.map(function(En){return typeof En=="string"?(Bt(En,"sagaEffects.take"),ps(En,Ye)):En})):et(Vr)}return(0,l.Z)({},r,{put:mt,take:Br})}function Zo(Ye,Pe,Bt,mt){var Ar=!0,Br=!1,Vr=void 0;try{for(var En=Ye[Symbol.iterator](),fn;!(Ar=(fn=En.next()).done);Ar=!0){var An=fn.value;Pe=An(Pe,r,Bt,mt)}}catch(ii){Br=!0,Vr=ii}finally{try{!Ar&&En.return!=null&&En.return()}finally{if(Br)throw Vr}}return Pe}function Na(Ye){return Ye}function Zs(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Na;return function(Bt,mt){var Ar=mt.type;return mr()(Ar,"dispatch: action should be a plain Object with type"),Ye===Ar?Pe(Bt,mt):Bt}}function pi(){for(var Ye=arguments.length,Pe=new Array(Ye),Bt=0;Bt0&&arguments[0]!==void 0?arguments[0]:Pe,Br=arguments.length>1?arguments[1]:void 0;return mt(Ar,Br)}}function Ln(Ye,Pe,Bt){return Array.isArray(Ye)?Ye[1]((Bt||ro)(Ye[0],Pe)):(Bt||ro)(Ye||{},Pe)}function ss(Ye){return function(){return function(Bt){return function(mt){var Ar=mt.type;return Pe(Ar)?new Promise(function(Br,Vr){Bt((0,l.Z)({__dva_resolve:Br,__dva_reject:Vr},mt))}):Bt(mt)}}};function Pe(Bt){if(!Bt||typeof Bt!="string")return!1;var mt=Bt.split(wa),Ar=(0,nr.Z)(mt,1),Br=Ar[0],Vr=Ye._models.filter(function(En){return En.namespace===Br})[0];return!!(Vr&&Vr.effects&&Vr.effects[Bt])}}function Is(Ye,Pe){return function(Bt){var mt=Bt.type;return mr()(mt,"dispatch: action should be a plain Object with type"),Nn()(mt.indexOf("".concat(Pe.namespace).concat(wa))!==0,"dispatch: ".concat(mt," should not be prefixed with namespace ").concat(Pe.namespace)),Ye((0,l.Z)({},Bt,{type:ps(mt,Pe)}))}}function Os(Ye,Pe,Bt,mt){var Ar=[],Br=[];for(var Vr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,Vr)){var En=Ye[Vr],fn=En({dispatch:Is(Bt._store.dispatch,Pe),history:Bt._history},mt);pn(fn)?Ar.push(fn):Br.push(Vr)}return{funcs:Ar,nonFuncs:Br}}function qi(Ye,Pe){if(Ye[Pe]){var Bt=Ye[Pe],mt=Bt.funcs,Ar=Bt.nonFuncs;Nn()(Ar.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(Ar.join(", ")));var Br=!0,Vr=!1,En=void 0;try{for(var fn=mt[Symbol.iterator](),An;!(Br=(An=fn.next()).done);Br=!0){var ii=An.value;ii()}}catch(ai){Vr=!0,En=ai}finally{try{!Br&&fn.return!=null&&fn.return()}finally{if(Vr)throw En}}delete Ye[Pe]}}var Ka=ln,zi=bn,Ds={namespace:"@@dva",state:0,reducers:{UPDATE:function(Pe){return Pe+1}}};function xo(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bt=Pe.initialReducer,mt=Pe.setupApp,Ar=mt===void 0?Ka:mt,Br=new as;Br.use(Ns(Ye));var Vr={_models:[Ba((0,l.Z)({},Ds))],_store:null,_plugin:Br,use:Br.use.bind(Br),model:En,start:ai};return Vr;function En(bi){var Fi=Ba((0,l.Z)({},bi));return Vr._models.push(Fi),Fi}function fn(bi,Fi,na,$i){$i=En($i);var Pi=Vr._store;Pi.asyncReducers[$i.namespace]=Ln($i.reducers,$i.state,Br._handleActions),Pi.replaceReducer(bi()),$i.effects&&Pi.runSaga(Vr._getSaga($i.effects,$i,Fi,Br.get("onEffect"),Ye)),$i.subscriptions&&(na[$i.namespace]=Os($i.subscriptions,$i,Vr,Fi))}function An(bi,Fi,na,$i){var Pi=Vr._store;delete Pi.asyncReducers[$i],delete Fi[$i],Pi.replaceReducer(bi()),Pi.dispatch({type:"@@dva/UPDATE"}),Pi.dispatch({type:"".concat($i,"/@@CANCEL_EFFECTS")}),qi(na,$i),Vr._models=Vr._models.filter(function(Pa){return Pa.namespace!==$i})}function ii(bi,Fi,na,$i,Pi){var Pa=Vr._store,Ii=Pi.namespace,vi=zi(Vr._models,function(fa){return fa.namespace===Ii});~vi&&(Pa.dispatch({type:"".concat(Ii,"/@@CANCEL_EFFECTS")}),delete Pa.asyncReducers[Ii],delete Fi[Ii],qi(na,Ii),Vr._models.splice(vi,1)),Vr.model(Pi),Pa.dispatch({type:"@@dva/UPDATE"})}function ai(){var bi=function(Ia,Ws){Ia&&(typeof Ia=="string"&&(Ia=new Error(Ia)),Ia.preventDefault=function(){Ia._dontReject=!0},Br.apply("onError",function(_n){throw new Error(_n.stack||_n)})(Ia,Vr._store.dispatch,Ws))},Fi=rt(),na=ss(Vr);Vr._getSaga=po.bind(null);var $i=[],Pi=(0,l.Z)({},Bt),Pa=!0,Ii=!1,vi=void 0;try{for(var fa=Vr._models[Symbol.iterator](),wo;!(Pa=(wo=fa.next()).done);Pa=!0){var Xs=wo.value;Pi[Xs.namespace]=Ln(Xs.reducers,Xs.state,Br._handleActions),Xs.effects&&$i.push(Vr._getSaga(Xs.effects,Xs,bi,Br.get("onEffect"),Ye))}}catch(Dt){Ii=!0,vi=Dt}finally{try{!Pa&&fa.return!=null&&fa.return()}finally{if(Ii)throw vi}}var ia=Br.get("onReducer"),fs=Br.get("extraReducers");mr()(Object.keys(fs).every(function(Dt){return!(Dt in Pi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Pi).join(", "))),Vr._store=Ps({reducers:Vt(),initialState:Ye.initialState||{},plugin:Br,createOpts:Pe,sagaMiddleware:Fi,promiseMiddleware:na});var ya=Vr._store;ya.runSaga=Fi.run,ya.asyncReducers={};var vs=Br.get("onStateChange"),La=!0,rs=!1,Ls=void 0;try{for(var ao=function(){var Ia=pa.value;ya.subscribe(function(){Ia(ya.getState())})},xs=vs[Symbol.iterator](),pa;!(La=(pa=xs.next()).done);La=!0)ao()}catch(Dt){rs=!0,Ls=Dt}finally{try{!La&&xs.return!=null&&xs.return()}finally{if(rs)throw Ls}}$i.forEach(Fi.run),Ar(Vr);var Ms={},jo=!0,Js=!1,Ga=void 0;try{for(var us=this._models[Symbol.iterator](),co;!(jo=(co=us.next()).done);jo=!0){var Va=co.value;Va.subscriptions&&(Ms[Va.namespace]=Os(Va.subscriptions,Va,Vr,bi))}}catch(Dt){Js=!0,Ga=Dt}finally{try{!jo&&us.return!=null&&us.return()}finally{if(Js)throw Ga}}Vr.model=fn.bind(Vr,Vt,bi,Ms),Vr.unmodel=An.bind(Vr,Vt,Pi,Ms),Vr.replaceModel=ii.bind(Vr,Vt,Pi,Ms,bi);function Vt(){return ia((0,c.UY)((0,l.Z)({},Pi,fs,Vr._store?Vr._store.asyncReducers:{})))}}}var Wo=e(44718),Xo=e(56805),mu=e(4676);function vu(Ye){Ye()}let _o=vu;const Ho=Ye=>_o=Ye,Oo=()=>_o,nu=Symbol.for("react-redux-context"),qo=typeof globalThis!="undefined"?globalThis:{};function mi(){var Ye;if(!i.createContext)return{};const Pe=(Ye=qo[nu])!=null?Ye:qo[nu]=new Map;let Bt=Pe.get(i.createContext);return Bt||(Bt=i.createContext(null),Pe.set(i.createContext,Bt)),Bt}const gi=mi();var Ja=null;function ls(Ye=gi){return function(){return(0,i.useContext)(Ye)}}const es=ls(),Ha=()=>{throw new Error("uSES not initialized!")};let ms=Ha;const Qo=Ye=>{ms=Ye},ks=(Ye,Pe)=>Ye===Pe;function Mo(Ye=gi){const Pe=Ye===gi?es:ls(Ye);return function(mt,Ar={}){const{equalityFn:Br=ks,stabilityCheck:Vr=void 0,noopCheck:En=void 0}=typeof Ar=="function"?{equalityFn:Ar}:Ar,{store:fn,subscription:An,getServerState:ii,stabilityCheck:ai,noopCheck:bi}=Pe(),Fi=(0,i.useRef)(!0),na=(0,i.useCallback)({[mt.name](Pi){return mt(Pi)}}[mt.name],[mt,ai,Vr]),$i=ms(An.addNestedSub,fn.getState,ii||fn.getState,na,Br);return(0,i.useDebugValue)($i),$i}}const wu=Mo();var Iu=e(54476),rl=e(85377),dl=e(94266),Fo=e.n(dl),uo=e(23265);const Go=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Gu(Ye,Pe,Bt,mt,{areStatesEqual:Ar,areOwnPropsEqual:Br,areStatePropsEqual:Vr}){let En=!1,fn,An,ii,ai,bi;function Fi(Ii,vi){return fn=Ii,An=vi,ii=Ye(fn,An),ai=Pe(mt,An),bi=Bt(ii,ai,An),En=!0,bi}function na(){return ii=Ye(fn,An),Pe.dependsOnOwnProps&&(ai=Pe(mt,An)),bi=Bt(ii,ai,An),bi}function $i(){return Ye.dependsOnOwnProps&&(ii=Ye(fn,An)),Pe.dependsOnOwnProps&&(ai=Pe(mt,An)),bi=Bt(ii,ai,An),bi}function Pi(){const Ii=Ye(fn,An),vi=!Vr(Ii,ii);return ii=Ii,vi&&(bi=Bt(ii,ai,An)),bi}function Pa(Ii,vi){const fa=!Br(vi,An),wo=!Ar(Ii,fn,vi,An);return fn=Ii,An=vi,fa&&wo?na():fa?$i():wo?Pi():bi}return function(vi,fa){return En?Pa(vi,fa):Fi(vi,fa)}}function Bo(Ye,Pe){let{initMapStateToProps:Bt,initMapDispatchToProps:mt,initMergeProps:Ar}=Pe,Br=(0,rl.Z)(Pe,Go);const Vr=Bt(Ye,Br),En=mt(Ye,Br),fn=Ar(Ye,Br);return Gu(Vr,En,fn,Ye,Br)}function $o(Ye,Pe){const Bt={};for(const mt in Ye){const Ar=Ye[mt];typeof Ar=="function"&&(Bt[mt]=(...Br)=>Pe(Ar(...Br)))}return Bt}function Uu(Ye){return function(Bt){const mt=Ye(Bt);function Ar(){return mt}return Ar.dependsOnOwnProps=!1,Ar}}function iu(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function _u(Ye,Pe){return function(mt,{displayName:Ar}){const Br=function(En,fn){return Br.dependsOnOwnProps?Br.mapToProps(En,fn):Br.mapToProps(En,void 0)};return Br.dependsOnOwnProps=!0,Br.mapToProps=function(En,fn){Br.mapToProps=Ye,Br.dependsOnOwnProps=iu(Ye);let An=Br(En,fn);return typeof An=="function"&&(Br.mapToProps=An,Br.dependsOnOwnProps=iu(An),An=Br(En,fn)),An},Br}}function No(Ye,Pe){return(Bt,mt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${Pe} argument when connecting component ${mt.wrappedComponentName}.`)}}function gu(Ye){return Ye&&typeof Ye=="object"?Uu(Pe=>$o(Ye,Pe)):Ye?typeof Ye=="function"?_u(Ye,"mapDispatchToProps"):No(Ye,"mapDispatchToProps"):Uu(Pe=>({dispatch:Pe}))}function Ko(Ye){return Ye?typeof Ye=="function"?_u(Ye,"mapStateToProps"):No(Ye,"mapStateToProps"):Uu(()=>({}))}function rr(Ye,Pe,Bt){return(0,Iu.Z)({},Bt,Ye,Pe)}function yr(Ye){return function(Bt,{displayName:mt,areMergedPropsEqual:Ar}){let Br=!1,Vr;return function(fn,An,ii){const ai=Ye(fn,An,ii);return Br?Ar(ai,Vr)||(Vr=ai):(Br=!0,Vr=ai),Vr}}}function hr(Ye){return Ye?typeof Ye=="function"?yr(Ye):No(Ye,"mergeProps"):()=>rr}function gr(){const Ye=Oo();let Pe=null,Bt=null;return{clear(){Pe=null,Bt=null},notify(){Ye(()=>{let mt=Pe;for(;mt;)mt.callback(),mt=mt.next})},get(){let mt=[],Ar=Pe;for(;Ar;)mt.push(Ar),Ar=Ar.next;return mt},subscribe(mt){let Ar=!0,Br=Bt={callback:mt,next:null,prev:Bt};return Br.prev?Br.prev.next=Br:Pe=Br,function(){!Ar||Pe===null||(Ar=!1,Br.next?Br.next.prev=Br.prev:Bt=Br.prev,Br.prev?Br.prev.next=Br.next:Pe=Br.next)}}}}const Tr={notify(){},get:()=>[]};function xn(Ye,Pe){let Bt,mt=Tr,Ar=0,Br=!1;function Vr($i){ii();const Pi=mt.subscribe($i);let Pa=!1;return()=>{Pa||(Pa=!0,Pi(),ai())}}function En(){mt.notify()}function fn(){na.onStateChange&&na.onStateChange()}function An(){return Br}function ii(){Ar++,Bt||(Bt=Pe?Pe.addNestedSub(fn):Ye.subscribe(fn),mt=gr())}function ai(){Ar--,Bt&&Ar===0&&(Bt(),Bt=void 0,mt.clear(),mt=Tr)}function bi(){Br||(Br=!0,ii())}function Fi(){Br&&(Br=!1,ai())}const na={addNestedSub:Vr,notifyNestedSubs:En,handleChangeWrapper:fn,isSubscribed:An,trySubscribe:bi,tryUnsubscribe:Fi,getListeners:()=>mt};return na}const Mn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Hn(Ye,Pe){return Ye===Pe?Ye!==0||Pe!==0||1/Ye===1/Pe:Ye!==Ye&&Pe!==Pe}function oi(Ye,Pe){if(Hn(Ye,Pe))return!0;if(typeof Ye!="object"||Ye===null||typeof Pe!="object"||Pe===null)return!1;const Bt=Object.keys(Ye),mt=Object.keys(Pe);if(Bt.length!==mt.length)return!1;for(let Ar=0;Ar{vr=Ye},jr=null,Tn=[null,null],In=Ye=>{try{return JSON.stringify(Ye)}catch(Pe){return String(Ye)}};function li(Ye,Pe,Bt){Mn(()=>Ye(...Pe),Bt)}function Ai(Ye,Pe,Bt,mt,Ar,Br){Ye.current=mt,Bt.current=!1,Ar.current&&(Ar.current=null,Br())}function $n(Ye,Pe,Bt,mt,Ar,Br,Vr,En,fn,An,ii){if(!Ye)return()=>{};let ai=!1,bi=null;const Fi=()=>{if(ai||!En.current)return;const $i=Pe.getState();let Pi,Pa;try{Pi=mt($i,Ar.current)}catch(Ii){Pa=Ii,bi=Ii}Pa||(bi=null),Pi===Br.current?Vr.current||An():(Br.current=Pi,fn.current=Pi,Vr.current=!0,ii())};return Bt.onStateChange=Fi,Bt.trySubscribe(),Fi(),()=>{if(ai=!0,Bt.tryUnsubscribe(),Bt.onStateChange=null,bi)throw bi}}const ta=()=>jr;function ra(Ye,Pe){return Ye===Pe}let yi=!1;function wt(Ye,Pe,Bt,{pure:mt,areStatesEqual:Ar=ra,areOwnPropsEqual:Br=oi,areStatePropsEqual:Vr=oi,areMergedPropsEqual:En=oi,forwardRef:fn=!1,context:An=gi}={}){const ii=An,ai=Ko(Ye),bi=gu(Pe),Fi=hr(Bt),na=!!Ye;return Pi=>{const Pa=Pi.displayName||Pi.name||"Component",Ii=`Connect(${Pa})`,vi={shouldHandleStateChanges:na,displayName:Ii,wrappedComponentName:Pa,WrappedComponent:Pi,initMapStateToProps:ai,initMapDispatchToProps:bi,initMergeProps:Fi,areStatesEqual:Ar,areStatePropsEqual:Vr,areOwnPropsEqual:Br,areMergedPropsEqual:En};function fa(ia){const[fs,ya,vs]=i.useMemo(()=>{const{reactReduxForwardedRef:Mr}=ia,Jr=(0,rl.Z)(ia,Jn);return[ia.context,Mr,Jr]},[ia]),La=i.useMemo(()=>fs&&fs.Consumer&&(0,uo.isContextConsumer)(i.createElement(fs.Consumer,null))?fs:ii,[fs,ii]),rs=i.useContext(La),Ls=!!ia.store&&!!ia.store.getState&&!!ia.store.dispatch,ao=!!rs&&!!rs.store,xs=Ls?ia.store:rs.store,pa=ao?rs.getServerState:xs.getState,Ms=i.useMemo(()=>Bo(xs.dispatch,vi),[xs]),[jo,Js]=i.useMemo(()=>{if(!na)return Tn;const Mr=xn(xs,Ls?void 0:rs.subscription),Jr=Mr.notifyNestedSubs.bind(Mr);return[Mr,Jr]},[xs,Ls,rs]),Ga=i.useMemo(()=>Ls?rs:(0,Iu.Z)({},rs,{subscription:jo}),[Ls,rs,jo]),us=i.useRef(),co=i.useRef(vs),Va=i.useRef(),Vt=i.useRef(!1),Dt=i.useRef(!1),Ia=i.useRef(!1),Ws=i.useRef();Mn(()=>(Ia.current=!0,()=>{Ia.current=!1}),[]);const _n=i.useMemo(()=>()=>Va.current&&vs===co.current?Va.current:Ms(xs.getState(),vs),[xs,vs]),Sn=i.useMemo(()=>Jr=>jo?$n(na,xs,jo,Ms,co,us,Vt,Ia,Va,Js,Jr):()=>{},[jo]);li(Ai,[co,us,Vt,vs,Va,Js]);let Ze;try{Ze=vr(Sn,_n,pa?()=>Ms(pa(),vs):_n)}catch(Mr){throw Ws.current&&(Mr.message+=` +Therefore yield `+Pe+" will return task descriptor to your saga and execute next lines of code."},ti=null,Zn=null,or=null;function ut(Ye,Pe){for(var Bt=arguments.length,mt=Array(Bt>2?Bt-2:0),Ar=2;Ar2?Bt-2:0),Ar=2;Ar3?mt-3:0),Br=3;Br-1&&(Pe[Bt]=Ye[Bt]),Pe},{})}var as=function(){function Ye(){(0,qn.Z)(this,Ye),this._handleActions=null,this.hooks=zs.reduce(function(Pe,Bt){return Pe[Bt]=[],Pe},{})}return(0,$e.Z)(Ye,[{key:"use",value:function(Bt){mr()(tn()(Bt),"plugin.use: plugin should be plain object");var mt=this.hooks;for(var Ar in Bt)Object.prototype.hasOwnProperty.call(Bt,Ar)&&(mr()(mt[Ar],"plugin.use: unknown plugin property: ".concat(Ar)),Ar==="_handleActions"?this._handleActions=Bt[Ar]:Ar==="extraEnhancers"?mt[Ar]=Bt[Ar]:mt[Ar].push(Bt[Ar]))}},{key:"apply",value:function(Bt,mt){var Ar=this.hooks,Br=["onError","onHmr"];mr()(Br.indexOf(Bt)>-1,"plugin.apply: hook ".concat(Bt," cannot be applied"));var Vr=Ar[Bt];return function(){if(Vr.length){var En=!0,fn=!1,An=void 0;try{for(var ii=Vr[Symbol.iterator](),ai;!(En=(ai=ii.next()).done);En=!0){var xi=ai.value;xi.apply(void 0,arguments)}}catch(Fi){fn=!0,An=Fi}finally{try{!En&&ii.return!=null&&ii.return()}finally{if(fn)throw An}}}else mt&&mt.apply(void 0,arguments)}}},{key:"get",value:function(Bt){var mt=this.hooks;return mr()(Bt in mt,"plugin.get: hook ".concat(Bt," cannot be got")),Bt==="extraReducers"?oo(mt[Bt]):Bt==="onReducer"?Aa(mt[Bt]):mt[Bt]}}]),Ye}();function oo(Ye){var Pe={},Bt=!0,mt=!1,Ar=void 0;try{for(var Br=Ye[Symbol.iterator](),Vr;!(Bt=(Vr=Br.next()).done);Bt=!0){var En=Vr.value;Pe=(0,l.Z)({},Pe,En)}}catch(fn){mt=!0,Ar=fn}finally{try{!Bt&&Br.return!=null&&Br.return()}finally{if(mt)throw Ar}}return Pe}function Aa(Ye){return function(Pe){var Bt=!0,mt=!1,Ar=void 0;try{for(var Br=Ye[Symbol.iterator](),Vr;!(Bt=(Vr=Br.next()).done);Bt=!0){var En=Vr.value;Pe=En(Pe)}}catch(fn){mt=!0,Ar=fn}finally{try{!Bt&&Br.return!=null&&Br.return()}finally{if(mt)throw Ar}}return Pe}}function Ps(Ye){var Pe=Ye.reducers,Bt=Ye.initialState,mt=Ye.plugin,Ar=Ye.sagaMiddleware,Br=Ye.promiseMiddleware,Vr=Ye.createOpts.setupMiddlewares,En=Vr===void 0?Ti:Vr,fn=mt.get("extraEnhancers");mr()(Wr(fn),"[app.start] extraEnhancers should be array, but got ".concat((0,Ir.Z)(fn)));var An=mt.get("onAction"),ii=En([Br,Ar].concat((0,Dr.Z)(ye()(An)))),ai=c.qC,xi=[c.md.apply(void 0,(0,Dr.Z)(ii))].concat((0,Dr.Z)(fn));return(0,c.MT)(Pe,Bt,ai.apply(void 0,(0,Dr.Z)(xi)))}function ps(Ye,Pe){var Bt="".concat(Pe.namespace).concat(wa).concat(Ye),mt=Bt.replace(/\/@@[^/]+?$/,""),Ar=Array.isArray(Pe.reducers)?Pe.reducers[0][mt]:Pe.reducers&&Pe.reducers[mt];return Ar||Pe.effects&&Pe.effects[mt]?Bt:Ye}function po(Ye,Pe,Bt,mt){var Ar=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return $r().mark(function Br(){var Vr;return $r().wrap(function(fn){for(;;)switch(fn.prev=fn.next){case 0:fn.t0=$r().keys(Ye);case 1:if((fn.t1=fn.t0()).done){fn.next=7;break}if(Vr=fn.t1.value,!Object.prototype.hasOwnProperty.call(Ye,Vr)){fn.next=5;break}return fn.delegateYield($r().mark(function An(){var ii,ai;return $r().wrap(function(Fi){for(;;)switch(Fi.prev=Fi.next){case 0:return ii=Ji(Vr,Ye[Vr],Pe,Bt,mt,Ar),Fi.next=3,Jt(ii);case 3:return ai=Fi.sent,Fi.next=6,Jt($r().mark(function na(){return $r().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Ii.next=2,et("".concat(Pe.namespace,"/@@CANCEL_EFFECTS"));case 2:return Ii.next=4,Er(ai);case 4:case"end":return Ii.stop()}},na)}));case 6:case"end":return Fi.stop()}},An)})(),"t2",5);case 5:fn.next=1;break;case 7:case"end":return fn.stop()}},Br)})}function Ji(Ye,Pe,Bt,mt,Ar,Br){var Vr=$r().mark(na),En=Pe,fn="takeEvery",An,ii;if(Array.isArray(Pe)){var ai=(0,nr.Z)(Pe,1);En=ai[0];var xi=Pe[1];xi&&xi.type&&(fn=xi.type,fn==="throttle"&&(mr()(xi.ms,"app.start: opts.ms should be defined if type is throttle"),An=xi.ms),fn==="poll"&&(mr()(xi.delay,"app.start: opts.delay should be defined if type is poll"),ii=xi.delay)),mr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(fn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Fi(){}function na(){var Ii,Pa,Oi,_i,fa,wo,Xs,ia,fs,ya=arguments;return $r().wrap(function(La){for(;;)switch(La.prev=La.next){case 0:for(Ii=ya.length,Pa=new Array(Ii),Oi=0;Oi0?Pa[0]:{},fa=_i.__dva_resolve,wo=fa===void 0?Fi:fa,Xs=_i.__dva_reject,ia=Xs===void 0?Fi:Xs,La.prev=2,La.next=5,Ft({type:"".concat(Ye).concat(wa,"@@start")});case 5:return La.next=7,En.apply(void 0,(0,Dr.Z)(Pa.concat(to(Bt,Br))));case 7:return fs=La.sent,La.next=10,Ft({type:"".concat(Ye).concat(wa,"@@end")});case 10:wo(fs),La.next=17;break;case 13:La.prev=13,La.t0=La.catch(2),mt(La.t0,{key:Ye,effectArgs:Pa}),La.t0._dontReject||ia(La.t0);case 17:case"end":return La.stop()}},Vr,null,[[2,13]])}var Gi=Zo(Ar,na,Bt,Ye);switch(fn){case"watcher":return na;case"takeLatest":return $r().mark(function Ii(){return $r().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return Oi.next=2,me(Ye,Gi);case 2:case"end":return Oi.stop()}},Ii)});case"throttle":return $r().mark(function Ii(){return $r().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return Oi.next=2,dt(An,Ye,Gi);case 2:case"end":return Oi.stop()}},Ii)});case"poll":return $r().mark(function Ii(){var Pa,Oi,_i,fa,wo,Xs,ia;return $r().wrap(function(ya){for(;;)switch(ya.prev=ya.next){case 0:_i=function(La,rs){var Ls;return $r().wrap(function(xs){for(;;)switch(xs.prev=xs.next){case 0:Ls=La.call;case 1:return xs.next=4,Ls(Gi,rs);case 4:return xs.next=6,Ls(Oi,ii);case 6:xs.next=1;break;case 8:case"end":return xs.stop()}},Pa)},Oi=function(La){return new Promise(function(rs){return setTimeout(rs,La)})},Pa=$r().mark(_i),fa=en,wo=et,Xs=kr;case 4:return ya.next=7,wo("".concat(Ye,"-start"));case 7:return ia=ya.sent,ya.next=10,Xs([fa(_i,r,ia),wo("".concat(Ye,"-stop"))]);case 10:ya.next=4;break;case 12:case"end":return ya.stop()}},Ii)});default:return $r().mark(function Ii(){return $r().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return Oi.next=2,ut(Ye,Gi);case 2:case"end":return Oi.stop()}},Ii)})}}function to(Ye,Pe){function Bt(Vr,En){mr()(Vr,"dispatch: action should be a plain Object with type");var fn=Pe.namespacePrefixWarning,An=fn===void 0?!0:fn;An&&Nn()(Vr.indexOf("".concat(Ye.namespace).concat(wa))!==0,"[".concat(En,"] ").concat(Vr," should not be prefixed with namespace ").concat(Ye.namespace))}function mt(Vr){var En=Vr.type;return Bt(En,"sagaEffects.put"),Ft((0,l.Z)({},Vr,{type:ps(En,Ye)}))}function Ar(Vr){var En=Vr.type;return Bt(En,"sagaEffects.put.resolve"),Ft.resolve((0,l.Z)({},Vr,{type:ps(En,Ye)}))}mt.resolve=Ar;function Br(Vr){return typeof Vr=="string"?(Bt(Vr,"sagaEffects.take"),et(ps(Vr,Ye))):Array.isArray(Vr)?et(Vr.map(function(En){return typeof En=="string"?(Bt(En,"sagaEffects.take"),ps(En,Ye)):En})):et(Vr)}return(0,l.Z)({},r,{put:mt,take:Br})}function Zo(Ye,Pe,Bt,mt){var Ar=!0,Br=!1,Vr=void 0;try{for(var En=Ye[Symbol.iterator](),fn;!(Ar=(fn=En.next()).done);Ar=!0){var An=fn.value;Pe=An(Pe,r,Bt,mt)}}catch(ii){Br=!0,Vr=ii}finally{try{!Ar&&En.return!=null&&En.return()}finally{if(Br)throw Vr}}return Pe}function Na(Ye){return Ye}function Zs(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Na;return function(Bt,mt){var Ar=mt.type;return mr()(Ar,"dispatch: action should be a plain Object with type"),Ye===Ar?Pe(Bt,mt):Bt}}function mi(){for(var Ye=arguments.length,Pe=new Array(Ye),Bt=0;Bt0&&arguments[0]!==void 0?arguments[0]:Pe,Br=arguments.length>1?arguments[1]:void 0;return mt(Ar,Br)}}function Ln(Ye,Pe,Bt){return Array.isArray(Ye)?Ye[1]((Bt||ro)(Ye[0],Pe)):(Bt||ro)(Ye||{},Pe)}function ss(Ye){return function(){return function(Bt){return function(mt){var Ar=mt.type;return Pe(Ar)?new Promise(function(Br,Vr){Bt((0,l.Z)({__dva_resolve:Br,__dva_reject:Vr},mt))}):Bt(mt)}}};function Pe(Bt){if(!Bt||typeof Bt!="string")return!1;var mt=Bt.split(wa),Ar=(0,nr.Z)(mt,1),Br=Ar[0],Vr=Ye._models.filter(function(En){return En.namespace===Br})[0];return!!(Vr&&Vr.effects&&Vr.effects[Bt])}}function Is(Ye,Pe){return function(Bt){var mt=Bt.type;return mr()(mt,"dispatch: action should be a plain Object with type"),Nn()(mt.indexOf("".concat(Pe.namespace).concat(wa))!==0,"dispatch: ".concat(mt," should not be prefixed with namespace ").concat(Pe.namespace)),Ye((0,l.Z)({},Bt,{type:ps(mt,Pe)}))}}function Os(Ye,Pe,Bt,mt){var Ar=[],Br=[];for(var Vr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,Vr)){var En=Ye[Vr],fn=En({dispatch:Is(Bt._store.dispatch,Pe),history:Bt._history},mt);pn(fn)?Ar.push(fn):Br.push(Vr)}return{funcs:Ar,nonFuncs:Br}}function qi(Ye,Pe){if(Ye[Pe]){var Bt=Ye[Pe],mt=Bt.funcs,Ar=Bt.nonFuncs;Nn()(Ar.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(Ar.join(", ")));var Br=!0,Vr=!1,En=void 0;try{for(var fn=mt[Symbol.iterator](),An;!(Br=(An=fn.next()).done);Br=!0){var ii=An.value;ii()}}catch(ai){Vr=!0,En=ai}finally{try{!Br&&fn.return!=null&&fn.return()}finally{if(Vr)throw En}}delete Ye[Pe]}}var Ka=ln,Zi=bn,Ds={namespace:"@@dva",state:0,reducers:{UPDATE:function(Pe){return Pe+1}}};function xo(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bt=Pe.initialReducer,mt=Pe.setupApp,Ar=mt===void 0?Ka:mt,Br=new as;Br.use(Ns(Ye));var Vr={_models:[Ba((0,l.Z)({},Ds))],_store:null,_plugin:Br,use:Br.use.bind(Br),model:En,start:ai};return Vr;function En(xi){var Fi=Ba((0,l.Z)({},xi));return Vr._models.push(Fi),Fi}function fn(xi,Fi,na,Gi){Gi=En(Gi);var Ii=Vr._store;Ii.asyncReducers[Gi.namespace]=Ln(Gi.reducers,Gi.state,Br._handleActions),Ii.replaceReducer(xi()),Gi.effects&&Ii.runSaga(Vr._getSaga(Gi.effects,Gi,Fi,Br.get("onEffect"),Ye)),Gi.subscriptions&&(na[Gi.namespace]=Os(Gi.subscriptions,Gi,Vr,Fi))}function An(xi,Fi,na,Gi){var Ii=Vr._store;delete Ii.asyncReducers[Gi],delete Fi[Gi],Ii.replaceReducer(xi()),Ii.dispatch({type:"@@dva/UPDATE"}),Ii.dispatch({type:"".concat(Gi,"/@@CANCEL_EFFECTS")}),qi(na,Gi),Vr._models=Vr._models.filter(function(Pa){return Pa.namespace!==Gi})}function ii(xi,Fi,na,Gi,Ii){var Pa=Vr._store,Oi=Ii.namespace,_i=Zi(Vr._models,function(fa){return fa.namespace===Oi});~_i&&(Pa.dispatch({type:"".concat(Oi,"/@@CANCEL_EFFECTS")}),delete Pa.asyncReducers[Oi],delete Fi[Oi],qi(na,Oi),Vr._models.splice(_i,1)),Vr.model(Ii),Pa.dispatch({type:"@@dva/UPDATE"})}function ai(){var xi=function(Ia,Ws){Ia&&(typeof Ia=="string"&&(Ia=new Error(Ia)),Ia.preventDefault=function(){Ia._dontReject=!0},Br.apply("onError",function(_n){throw new Error(_n.stack||_n)})(Ia,Vr._store.dispatch,Ws))},Fi=rt(),na=ss(Vr);Vr._getSaga=po.bind(null);var Gi=[],Ii=(0,l.Z)({},Bt),Pa=!0,Oi=!1,_i=void 0;try{for(var fa=Vr._models[Symbol.iterator](),wo;!(Pa=(wo=fa.next()).done);Pa=!0){var Xs=wo.value;Ii[Xs.namespace]=Ln(Xs.reducers,Xs.state,Br._handleActions),Xs.effects&&Gi.push(Vr._getSaga(Xs.effects,Xs,xi,Br.get("onEffect"),Ye))}}catch(Dt){Oi=!0,_i=Dt}finally{try{!Pa&&fa.return!=null&&fa.return()}finally{if(Oi)throw _i}}var ia=Br.get("onReducer"),fs=Br.get("extraReducers");mr()(Object.keys(fs).every(function(Dt){return!(Dt in Ii)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Ii).join(", "))),Vr._store=Ps({reducers:Vt(),initialState:Ye.initialState||{},plugin:Br,createOpts:Pe,sagaMiddleware:Fi,promiseMiddleware:na});var ya=Vr._store;ya.runSaga=Fi.run,ya.asyncReducers={};var vs=Br.get("onStateChange"),La=!0,rs=!1,Ls=void 0;try{for(var ao=function(){var Ia=pa.value;ya.subscribe(function(){Ia(ya.getState())})},xs=vs[Symbol.iterator](),pa;!(La=(pa=xs.next()).done);La=!0)ao()}catch(Dt){rs=!0,Ls=Dt}finally{try{!La&&xs.return!=null&&xs.return()}finally{if(rs)throw Ls}}Gi.forEach(Fi.run),Ar(Vr);var Ms={},jo=!0,Js=!1,Ga=void 0;try{for(var us=this._models[Symbol.iterator](),co;!(jo=(co=us.next()).done);jo=!0){var Va=co.value;Va.subscriptions&&(Ms[Va.namespace]=Os(Va.subscriptions,Va,Vr,xi))}}catch(Dt){Js=!0,Ga=Dt}finally{try{!jo&&us.return!=null&&us.return()}finally{if(Js)throw Ga}}Vr.model=fn.bind(Vr,Vt,xi,Ms),Vr.unmodel=An.bind(Vr,Vt,Ii,Ms),Vr.replaceModel=ii.bind(Vr,Vt,Ii,Ms,xi);function Vt(){return ia((0,c.UY)((0,l.Z)({},Ii,fs,Vr._store?Vr._store.asyncReducers:{})))}}}var Wo=e(44718),Xo=e(56805),mu=e(4676);function vu(Ye){Ye()}let go=vu;const Ho=Ye=>go=Ye,Oo=()=>go,nu=Symbol.for("react-redux-context"),qo=typeof globalThis!="undefined"?globalThis:{};function vi(){var Ye;if(!i.createContext)return{};const Pe=(Ye=qo[nu])!=null?Ye:qo[nu]=new Map;let Bt=Pe.get(i.createContext);return Bt||(Bt=i.createContext(null),Pe.set(i.createContext,Bt)),Bt}const yi=vi();var Ja=null;function ls(Ye=yi){return function(){return(0,i.useContext)(Ye)}}const es=ls(),Ha=()=>{throw new Error("uSES not initialized!")};let ms=Ha;const Qo=Ye=>{ms=Ye},ks=(Ye,Pe)=>Ye===Pe;function Mo(Ye=yi){const Pe=Ye===yi?es:ls(Ye);return function(mt,Ar={}){const{equalityFn:Br=ks,stabilityCheck:Vr=void 0,noopCheck:En=void 0}=typeof Ar=="function"?{equalityFn:Ar}:Ar,{store:fn,subscription:An,getServerState:ii,stabilityCheck:ai,noopCheck:xi}=Pe(),Fi=(0,i.useRef)(!0),na=(0,i.useCallback)({[mt.name](Ii){return mt(Ii)}}[mt.name],[mt,ai,Vr]),Gi=ms(An.addNestedSub,fn.getState,ii||fn.getState,na,Br);return(0,i.useDebugValue)(Gi),Gi}}const wu=Mo();var Iu=e(54476),rl=e(85377),dl=e(94266),Fo=e.n(dl),uo=e(23265);const Go=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Gu(Ye,Pe,Bt,mt,{areStatesEqual:Ar,areOwnPropsEqual:Br,areStatePropsEqual:Vr}){let En=!1,fn,An,ii,ai,xi;function Fi(Oi,_i){return fn=Oi,An=_i,ii=Ye(fn,An),ai=Pe(mt,An),xi=Bt(ii,ai,An),En=!0,xi}function na(){return ii=Ye(fn,An),Pe.dependsOnOwnProps&&(ai=Pe(mt,An)),xi=Bt(ii,ai,An),xi}function Gi(){return Ye.dependsOnOwnProps&&(ii=Ye(fn,An)),Pe.dependsOnOwnProps&&(ai=Pe(mt,An)),xi=Bt(ii,ai,An),xi}function Ii(){const Oi=Ye(fn,An),_i=!Vr(Oi,ii);return ii=Oi,_i&&(xi=Bt(ii,ai,An)),xi}function Pa(Oi,_i){const fa=!Br(_i,An),wo=!Ar(Oi,fn,_i,An);return fn=Oi,An=_i,fa&&wo?na():fa?Gi():wo?Ii():xi}return function(_i,fa){return En?Pa(_i,fa):Fi(_i,fa)}}function Bo(Ye,Pe){let{initMapStateToProps:Bt,initMapDispatchToProps:mt,initMergeProps:Ar}=Pe,Br=(0,rl.Z)(Pe,Go);const Vr=Bt(Ye,Br),En=mt(Ye,Br),fn=Ar(Ye,Br);return Gu(Vr,En,fn,Ye,Br)}function $o(Ye,Pe){const Bt={};for(const mt in Ye){const Ar=Ye[mt];typeof Ar=="function"&&(Bt[mt]=(...Br)=>Pe(Ar(...Br)))}return Bt}function Uu(Ye){return function(Bt){const mt=Ye(Bt);function Ar(){return mt}return Ar.dependsOnOwnProps=!1,Ar}}function iu(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function _u(Ye,Pe){return function(mt,{displayName:Ar}){const Br=function(En,fn){return Br.dependsOnOwnProps?Br.mapToProps(En,fn):Br.mapToProps(En,void 0)};return Br.dependsOnOwnProps=!0,Br.mapToProps=function(En,fn){Br.mapToProps=Ye,Br.dependsOnOwnProps=iu(Ye);let An=Br(En,fn);return typeof An=="function"&&(Br.mapToProps=An,Br.dependsOnOwnProps=iu(An),An=Br(En,fn)),An},Br}}function No(Ye,Pe){return(Bt,mt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${Pe} argument when connecting component ${mt.wrappedComponentName}.`)}}function gu(Ye){return Ye&&typeof Ye=="object"?Uu(Pe=>$o(Ye,Pe)):Ye?typeof Ye=="function"?_u(Ye,"mapDispatchToProps"):No(Ye,"mapDispatchToProps"):Uu(Pe=>({dispatch:Pe}))}function Ko(Ye){return Ye?typeof Ye=="function"?_u(Ye,"mapStateToProps"):No(Ye,"mapStateToProps"):Uu(()=>({}))}function rr(Ye,Pe,Bt){return(0,Iu.Z)({},Bt,Ye,Pe)}function yr(Ye){return function(Bt,{displayName:mt,areMergedPropsEqual:Ar}){let Br=!1,Vr;return function(fn,An,ii){const ai=Ye(fn,An,ii);return Br?Ar(ai,Vr)||(Vr=ai):(Br=!0,Vr=ai),Vr}}}function hr(Ye){return Ye?typeof Ye=="function"?yr(Ye):No(Ye,"mergeProps"):()=>rr}function gr(){const Ye=Oo();let Pe=null,Bt=null;return{clear(){Pe=null,Bt=null},notify(){Ye(()=>{let mt=Pe;for(;mt;)mt.callback(),mt=mt.next})},get(){let mt=[],Ar=Pe;for(;Ar;)mt.push(Ar),Ar=Ar.next;return mt},subscribe(mt){let Ar=!0,Br=Bt={callback:mt,next:null,prev:Bt};return Br.prev?Br.prev.next=Br:Pe=Br,function(){!Ar||Pe===null||(Ar=!1,Br.next?Br.next.prev=Br.prev:Bt=Br.prev,Br.prev?Br.prev.next=Br.next:Pe=Br.next)}}}}const Tr={notify(){},get:()=>[]};function xn(Ye,Pe){let Bt,mt=Tr,Ar=0,Br=!1;function Vr(Gi){ii();const Ii=mt.subscribe(Gi);let Pa=!1;return()=>{Pa||(Pa=!0,Ii(),ai())}}function En(){mt.notify()}function fn(){na.onStateChange&&na.onStateChange()}function An(){return Br}function ii(){Ar++,Bt||(Bt=Pe?Pe.addNestedSub(fn):Ye.subscribe(fn),mt=gr())}function ai(){Ar--,Bt&&Ar===0&&(Bt(),Bt=void 0,mt.clear(),mt=Tr)}function xi(){Br||(Br=!0,ii())}function Fi(){Br&&(Br=!1,ai())}const na={addNestedSub:Vr,notifyNestedSubs:En,handleChangeWrapper:fn,isSubscribed:An,trySubscribe:xi,tryUnsubscribe:Fi,getListeners:()=>mt};return na}const Mn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Hn(Ye,Pe){return Ye===Pe?Ye!==0||Pe!==0||1/Ye===1/Pe:Ye!==Ye&&Pe!==Pe}function si(Ye,Pe){if(Hn(Ye,Pe))return!0;if(typeof Ye!="object"||Ye===null||typeof Pe!="object"||Pe===null)return!1;const Bt=Object.keys(Ye),mt=Object.keys(Pe);if(Bt.length!==mt.length)return!1;for(let Ar=0;Ar{vr=Ye},jr=null,Tn=[null,null],In=Ye=>{try{return JSON.stringify(Ye)}catch(Pe){return String(Ye)}};function li(Ye,Pe,Bt){Mn(()=>Ye(...Pe),Bt)}function Ci(Ye,Pe,Bt,mt,Ar,Br){Ye.current=mt,Bt.current=!1,Ar.current&&(Ar.current=null,Br())}function $n(Ye,Pe,Bt,mt,Ar,Br,Vr,En,fn,An,ii){if(!Ye)return()=>{};let ai=!1,xi=null;const Fi=()=>{if(ai||!En.current)return;const Gi=Pe.getState();let Ii,Pa;try{Ii=mt(Gi,Ar.current)}catch(Oi){Pa=Oi,xi=Oi}Pa||(xi=null),Ii===Br.current?Vr.current||An():(Br.current=Ii,fn.current=Ii,Vr.current=!0,ii())};return Bt.onStateChange=Fi,Bt.trySubscribe(),Fi(),()=>{if(ai=!0,Bt.tryUnsubscribe(),Bt.onStateChange=null,xi)throw xi}}const ta=()=>jr;function ra(Ye,Pe){return Ye===Pe}let bi=!1;function wt(Ye,Pe,Bt,{pure:mt,areStatesEqual:Ar=ra,areOwnPropsEqual:Br=si,areStatePropsEqual:Vr=si,areMergedPropsEqual:En=si,forwardRef:fn=!1,context:An=yi}={}){const ii=An,ai=Ko(Ye),xi=gu(Pe),Fi=hr(Bt),na=!!Ye;return Ii=>{const Pa=Ii.displayName||Ii.name||"Component",Oi=`Connect(${Pa})`,_i={shouldHandleStateChanges:na,displayName:Oi,wrappedComponentName:Pa,WrappedComponent:Ii,initMapStateToProps:ai,initMapDispatchToProps:xi,initMergeProps:Fi,areStatesEqual:Ar,areStatePropsEqual:Vr,areOwnPropsEqual:Br,areMergedPropsEqual:En};function fa(ia){const[fs,ya,vs]=i.useMemo(()=>{const{reactReduxForwardedRef:Mr}=ia,Jr=(0,rl.Z)(ia,Jn);return[ia.context,Mr,Jr]},[ia]),La=i.useMemo(()=>fs&&fs.Consumer&&(0,uo.isContextConsumer)(i.createElement(fs.Consumer,null))?fs:ii,[fs,ii]),rs=i.useContext(La),Ls=!!ia.store&&!!ia.store.getState&&!!ia.store.dispatch,ao=!!rs&&!!rs.store,xs=Ls?ia.store:rs.store,pa=ao?rs.getServerState:xs.getState,Ms=i.useMemo(()=>Bo(xs.dispatch,_i),[xs]),[jo,Js]=i.useMemo(()=>{if(!na)return Tn;const Mr=xn(xs,Ls?void 0:rs.subscription),Jr=Mr.notifyNestedSubs.bind(Mr);return[Mr,Jr]},[xs,Ls,rs]),Ga=i.useMemo(()=>Ls?rs:(0,Iu.Z)({},rs,{subscription:jo}),[Ls,rs,jo]),us=i.useRef(),co=i.useRef(vs),Va=i.useRef(),Vt=i.useRef(!1),Dt=i.useRef(!1),Ia=i.useRef(!1),Ws=i.useRef();Mn(()=>(Ia.current=!0,()=>{Ia.current=!1}),[]);const _n=i.useMemo(()=>()=>Va.current&&vs===co.current?Va.current:Ms(xs.getState(),vs),[xs,vs]),Sn=i.useMemo(()=>Jr=>jo?$n(na,xs,jo,Ms,co,us,Vt,Ia,Va,Js,Jr):()=>{},[jo]);li(Ci,[co,us,Vt,vs,Va,Js]);let Ze;try{Ze=vr(Sn,_n,pa?()=>Ms(pa(),vs):_n)}catch(Mr){throw Ws.current&&(Mr.message+=` The error may be correlated with this previous error: ${Ws.current.stack} -`),Mr}Mn(()=>{Ws.current=void 0,Va.current=void 0,us.current=Ze});const Nt=i.useMemo(()=>i.createElement(Pi,(0,Iu.Z)({},Ze,{ref:ya})),[ya,Pi,Ze]);return i.useMemo(()=>na?i.createElement(La.Provider,{value:Ga},Nt):Nt,[La,Nt,Ga])}const Xs=i.memo(fa);if(Xs.WrappedComponent=Pi,Xs.displayName=fa.displayName=Ii,fn){const fs=i.forwardRef(function(vs,La){return i.createElement(Xs,(0,Iu.Z)({},vs,{reactReduxForwardedRef:La}))});return fs.displayName=Ii,fs.WrappedComponent=Pi,Fo()(fs,Pi)}return Fo()(Xs,Pi)}}var Qn=wt;function Sa({store:Ye,context:Pe,children:Bt,serverState:mt,stabilityCheck:Ar="once",noopCheck:Br="once"}){const Vr=i.useMemo(()=>{const An=xn(Ye);return{store:Ye,subscription:An,getServerState:mt?()=>mt:void 0,stabilityCheck:Ar,noopCheck:Br}},[Ye,mt,Ar,Br]),En=i.useMemo(()=>Ye.getState(),[Ye]);Mn(()=>{const{subscription:An}=Vr;return An.onStateChange=An.notifyNestedSubs,An.trySubscribe(),En!==Ye.getState()&&An.notifyNestedSubs(),()=>{An.tryUnsubscribe(),An.onStateChange=void 0}},[Vr,En]);const fn=Pe||gi;return i.createElement(fn.Provider,{value:Vr},Bt)}var Ra=Sa;function Ys(Ye=gi){const Pe=Ye===gi?es:ls(Ye);return function(){const{store:mt}=Pe();return mt}}const sn=Ys();function Do(Ye=gi){const Pe=Ye===gi?sn:Ys(Ye);return function(){return Pe().dispatch}}const lo=Do();Qo(Xo.useSyncExternalStoreWithSelector),Nr(Wo.useSyncExternalStore),Ho(mu.unstable_batchedUpdates);var Rs=Object.defineProperty,no=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,cs=(Ye,Pe,Bt)=>Pe in Ye?Rs(Ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Ye[Pe]=Bt,ja=(Ye,Pe)=>{for(var Bt in Pe||(Pe={}))io.call(Pe,Bt)&&cs(Ye,Bt,Pe[Bt]);if(no)for(var Bt of no(Pe))ts.call(Pe,Bt)&&cs(Ye,Bt,Pe[Bt]);return Ye};function os(Ye){const Pe=create(Ye,{initialReducer:{},setupApp(){}}),Bt=Pe.start;return Pe.router=mt,Pe.start=Ar,Pe;function mt(Br){Pe._router=Br}function Ar(Br){if(typeof Br!="undefined")throw new Error("dva.start() should not be called with any arguments.");Pe._store||Bt.call(Pe);const Vr=Pe._store,En=Pe._router;return fn=>React.createElement(Provider,{store:Vr},En(ja({app:Pe},fn)))}}},82328:function(d,_,e){"use strict";e.d(_,{fi:function(){return m},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,a=(R,A)=>{for(var I in A||(A={}))u.call(A,I)&&o(R,I,A[I]);if(f)for(var I of f(A))h.call(A,I)&&o(R,I,A[I]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function m(R){let A;return R.type==="hash"?A=(0,r.q_)():R.type==="memory"?A=(0,r.PP)(R):A=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},A),{push(I,M){A.push(S(I,A),M)},replace(I,M){A.replace(S(I,A),M)},get location(){return A.location},get action(){return A.action}}),A}function b(R){R&&(p=R)}function S(R,A){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const I=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:I})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},38542:function(d,_,e){"use strict";e.d(_,{gD:function(){return en},We:function(){return on}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return Xe}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Se}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return $t}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return bt}});var u=e(8591),h=e(56656),o=e.n(h);o().locale("ZH-cn");const a={config:{onError(jt){u.ZP.error(jt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),m=e(12373),b=e.n(m),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function I(){return I=Object.assign||function(jt){for(var Jt=1;Jt=0||(Er[kt]=jt[kt]);return Er}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},G={rel:["amphtml","canonical","alternate"]},H={type:["application/ld+json"]},ae={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ne=Object.keys(K).map(function(jt){return K[jt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},J=Object.keys(oe).reduce(function(jt,Jt){return jt[oe[Jt]]=Jt,jt},{}),q=function(jt,Jt){for(var kt=jt.length-1;kt>=0;kt-=1){var Xt=jt[kt];if(Object.prototype.hasOwnProperty.call(Xt,Jt))return Xt[Jt]}return null},V=function(jt){var Jt=q(jt,K.TITLE),kt=q(jt,"titleTemplate");if(Array.isArray(Jt)&&(Jt=Jt.join("")),kt&&Jt)return kt.replace(/%s/g,function(){return Jt});var Xt=q(jt,"defaultTitle");return Jt||Xt||void 0},se=function(jt){return q(jt,"onChangeClientState")||function(){}},ee=function(jt,Jt){return Jt.filter(function(kt){return kt[jt]!==void 0}).map(function(kt){return kt[jt]}).reduce(function(kt,Xt){return I({},kt,Xt)},{})},Q=function(jt,Jt){return Jt.filter(function(kt){return kt[K.BASE]!==void 0}).map(function(kt){return kt[K.BASE]}).reverse().reduce(function(kt,Xt){if(!kt.length)for(var Er=Object.keys(Xt),Or=0;Or/g,">").replace(/"/g,""").replace(/'/g,"'")},He=function(jt){return Object.keys(jt).reduce(function(Jt,kt){var Xt=jt[kt]!==void 0?kt+'="'+jt[kt]+'"':""+kt;return Jt?Jt+" "+Xt:Xt},"")},je=function(jt,Jt){return Jt===void 0&&(Jt={}),Object.keys(jt).reduce(function(kt,Xt){return kt[oe[Xt]||Xt]=jt[Xt],kt},Jt)},Ot=function(jt,Jt){return Jt.map(function(kt,Xt){var Er,Or=((Er={key:Xt})["data-rh"]=!0,Er);return Object.keys(kt).forEach(function(Ct){var Kt=oe[Ct]||Ct;Kt==="innerHTML"||Kt==="cssText"?Or.dangerouslySetInnerHTML={__html:kt.innerHTML||kt.cssText}:Or[Kt]=kt[Ct]}),x.createElement(jt,Or)})},ft=function(jt,Jt,kt){switch(jt){case K.TITLE:return{toComponent:function(){return Er=Jt.titleAttributes,(Or={key:Xt=Jt.title})["data-rh"]=!0,Ct=je(Er,Or),[x.createElement(K.TITLE,Ct,Xt)];var Xt,Er,Or,Ct},toString:function(){return function(Xt,Er,Or,Ct){var Kt=He(Or),Lt=j(Er);return Kt?"<"+Xt+' data-rh="true" '+Kt+">"+Te(Lt,Ct)+"":"<"+Xt+' data-rh="true">'+Te(Lt,Ct)+""}(jt,Jt.title,Jt.titleAttributes,kt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return je(Jt)},toString:function(){return He(Jt)}};default:return{toComponent:function(){return Ot(jt,Jt)},toString:function(){return function(Xt,Er,Or){return Er.reduce(function(Ct,Kt){var Lt=Object.keys(Kt).filter(function(Qr){return!(Qr==="innerHTML"||Qr==="cssText")}).reduce(function(Qr,Hr){var Bn=Kt[Hr]===void 0?Hr:Hr+'="'+Te(Kt[Hr],Or)+'"';return Qr?Qr+" "+Bn:Bn},""),Qt=Kt.innerHTML||Kt.cssText||"",br=Ee.indexOf(Xt)===-1;return Ct+"<"+Xt+' data-rh="true" '+Lt+(br?"/>":">"+Qt+"")},"")}(jt,Jt,kt)}}}},Pt=function(jt){var Jt=jt.baseTag,kt=jt.bodyAttributes,Xt=jt.encode,Er=jt.htmlAttributes,Or=jt.noscriptTags,Ct=jt.styleTags,Kt=jt.title,Lt=Kt===void 0?"":Kt,Qt=jt.titleAttributes,br=jt.linkTags,Qr=jt.metaTags,Hr=jt.scriptTags,Bn={toComponent:function(){},toString:function(){return""}};if(jt.prioritizeSeoTags){var wn=function(Vn){var At=Vn.linkTags,Yr=Vn.scriptTags,ni=Vn.encode,Mi=ie(Vn.metaTags,ae),Et=ie(At,G),Xn=ie(Yr,H);return{priorityMethods:{toComponent:function(){return[].concat(Ot(K.META,Mi.priority),Ot(K.LINK,Et.priority),Ot(K.SCRIPT,Xn.priority))},toString:function(){return ft(K.META,Mi.priority,ni)+" "+ft(K.LINK,Et.priority,ni)+" "+ft(K.SCRIPT,Xn.priority,ni)}},metaTags:Mi.default,linkTags:Et.default,scriptTags:Xn.default}}(jt);Bn=wn.priorityMethods,br=wn.linkTags,Qr=wn.metaTags,Hr=wn.scriptTags}return{priority:Bn,base:ft(K.BASE,Jt,Xt),bodyAttributes:ft("bodyAttributes",kt,Xt),htmlAttributes:ft("htmlAttributes",Er,Xt),link:ft(K.LINK,br,Xt),meta:ft(K.META,Qr,Xt),noscript:ft(K.NOSCRIPT,Or,Xt),script:ft(K.SCRIPT,Hr,Xt),style:ft(K.STYLE,Ct,Xt),title:ft(K.TITLE,{title:Lt,titleAttributes:Qt},Xt)}},Wt=[],Rt=function(jt,Jt){var kt=this;Jt===void 0&&(Jt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Xt){kt.context.helmet=Xt},helmetInstances:{get:function(){return kt.canUseDOM?Wt:kt.instances},add:function(Xt){(kt.canUseDOM?Wt:kt.instances).push(Xt)},remove:function(Xt){var Er=(kt.canUseDOM?Wt:kt.instances).indexOf(Xt);(kt.canUseDOM?Wt:kt.instances).splice(Er,1)}}},this.context=jt,this.canUseDOM=Jt,Jt||(jt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},ar=x.createContext({}),Ue=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),_t=typeof document!="undefined",Mt=function(jt){function Jt(kt){var Xt;return(Xt=jt.call(this,kt)||this).helmetData=new Rt(Xt.props.context,Jt.canUseDOM),Xt}return M(Jt,jt),Jt.prototype.render=function(){return x.createElement(ar.Provider,{value:this.helmetData.value},this.props.children)},Jt}(x.Component);Mt.canUseDOM=_t,Mt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Mt.defaultProps={context:{}},Mt.displayName="HelmetProvider";var Qe=function(jt,Jt){var kt,Xt=document.head||document.querySelector(K.HEAD),Er=Xt.querySelectorAll(jt+"[data-rh]"),Or=[].slice.call(Er),Ct=[];return Jt&&Jt.length&&Jt.forEach(function(Kt){var Lt=document.createElement(jt);for(var Qt in Kt)Object.prototype.hasOwnProperty.call(Kt,Qt)&&(Qt==="innerHTML"?Lt.innerHTML=Kt.innerHTML:Qt==="cssText"?Lt.styleSheet?Lt.styleSheet.cssText=Kt.cssText:Lt.appendChild(document.createTextNode(Kt.cssText)):Lt.setAttribute(Qt,Kt[Qt]===void 0?"":Kt[Qt]));Lt.setAttribute("data-rh","true"),Or.some(function(br,Qr){return kt=Qr,Lt.isEqualNode(br)})?Or.splice(kt,1):Ct.push(Lt)}),Or.forEach(function(Kt){return Kt.parentNode.removeChild(Kt)}),Ct.forEach(function(Kt){return Xt.appendChild(Kt)}),{oldTags:Or,newTags:Ct}},ct=function(jt,Jt){var kt=document.getElementsByTagName(jt)[0];if(kt){for(var Xt=kt.getAttribute("data-rh"),Er=Xt?Xt.split(","):[],Or=[].concat(Er),Ct=Object.keys(Jt),Kt=0;Kt=0;Qr-=1)kt.removeAttribute(Or[Qr]);Er.length===Or.length?kt.removeAttribute("data-rh"):kt.getAttribute("data-rh")!==Ct.join(",")&&kt.setAttribute("data-rh",Ct.join(","))}},st=function(jt,Jt){var kt=jt.baseTag,Xt=jt.htmlAttributes,Er=jt.linkTags,Or=jt.metaTags,Ct=jt.noscriptTags,Kt=jt.onChangeClientState,Lt=jt.scriptTags,Qt=jt.styleTags,br=jt.title,Qr=jt.titleAttributes;ct(K.BODY,jt.bodyAttributes),ct(K.HTML,Xt),function(Vn,At){Vn!==void 0&&document.title!==Vn&&(document.title=j(Vn)),ct(K.TITLE,At)}(br,Qr);var Hr={baseTag:Qe(K.BASE,kt),linkTags:Qe(K.LINK,Er),metaTags:Qe(K.META,Or),noscriptTags:Qe(K.NOSCRIPT,Ct),scriptTags:Qe(K.SCRIPT,Lt),styleTags:Qe(K.STYLE,Qt)},Bn={},wn={};Object.keys(Hr).forEach(function(Vn){var At=Hr[Vn],Yr=At.newTags,ni=At.oldTags;Yr.length&&(Bn[Vn]=Yr),ni.length&&(wn[Vn]=Hr[Vn].oldTags)}),Jt&&Jt(),Kt(jt,Bn,wn)},qe=null,Be=function(jt){function Jt(){for(var Xt,Er=arguments.length,Or=new Array(Er),Ct=0;Ct elements are self-closing and can not contain children. Refer to our API for more information.")}},kt.flattenArrayTypeChildren=function(Xt){var Er,Or=Xt.child,Ct=Xt.arrayTypeChildren;return I({},Ct,((Er={})[Or.type]=[].concat(Ct[Or.type]||[],[I({},Xt.newChildProps,this.mapNestedChildrenToProps(Or,Xt.nestedChildren))]),Er))},kt.mapObjectTypeChildren=function(Xt){var Er,Or,Ct=Xt.child,Kt=Xt.newProps,Lt=Xt.newChildProps,Qt=Xt.nestedChildren;switch(Ct.type){case K.TITLE:return I({},Kt,((Er={})[Ct.type]=Qt,Er.titleAttributes=I({},Lt),Er));case K.BODY:return I({},Kt,{bodyAttributes:I({},Lt)});case K.HTML:return I({},Kt,{htmlAttributes:I({},Lt)});default:return I({},Kt,((Or={})[Ct.type]=I({},Lt),Or))}},kt.mapArrayTypeChildrenToProps=function(Xt,Er){var Or=I({},Er);return Object.keys(Xt).forEach(function(Ct){var Kt;Or=I({},Or,((Kt={})[Ct]=Xt[Ct],Kt))}),Or},kt.warnOnInvalidChildren=function(Xt,Er){return k()(ne.some(function(Or){return Xt.type===Or}),typeof Xt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+Xt.type+"> elements. Refer to our API for more information."),k()(!Er||typeof Er=="string"||Array.isArray(Er)&&!Er.some(function(Or){return typeof Or!="string"}),"Helmet expects a string as a child of <"+Xt.type+">. Did you forget to wrap your children in braces? ( <"+Xt.type+">{``} ) Refer to our API for more information."),!0},kt.mapChildrenToProps=function(Xt,Er){var Or=this,Ct={};return x.Children.forEach(Xt,function(Kt){if(Kt&&Kt.props){var Lt=Kt.props,Qt=Lt.children,br=N(Lt,be),Qr=Object.keys(br).reduce(function(Bn,wn){return Bn[J[wn]||wn]=br[wn],Bn},{}),Hr=Kt.type;switch(typeof Hr=="symbol"?Hr=Hr.toString():Or.warnOnInvalidChildren(Kt,Qt),Hr){case K.FRAGMENT:Er=Or.mapChildrenToProps(Qt,Er);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:Ct=Or.flattenArrayTypeChildren({child:Kt,arrayTypeChildren:Ct,newChildProps:Qr,nestedChildren:Qt});break;default:Er=Or.mapObjectTypeChildren({child:Kt,newProps:Er,newChildProps:Qr,nestedChildren:Qt})}}}),this.mapArrayTypeChildrenToProps(Ct,Er)},kt.render=function(){var Xt=this.props,Er=Xt.children,Or=N(Xt,De),Ct=I({},Or),Kt=Or.helmetData;return Er&&(Ct=this.mapChildrenToProps(Er,Ct)),!Kt||Kt instanceof Rt||(Kt=new Rt(Kt.context,Kt.instances)),Kt?x.createElement(Be,I({},Ct,{context:Kt.value,helmetData:void 0})):x.createElement(ar.Consumer,null,function(Lt){return x.createElement(Be,I({},Ct,{context:Lt}))})},Jt}(x.Component);Ge.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},Ge.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ge.displayName="Helmet";const We={},Xe=jt=>x.createElement(Mt,{context:We},jt);var ot=e(92736),ht=e(95392),ur=e(36237),tr=e(73376),Le=e(28440),Je=e.n(Le),Yt=Object.defineProperty,It=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,cr=(jt,Jt,kt)=>Jt in jt?Yt(jt,Jt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):jt[Jt]=kt,Ht=(jt,Jt)=>{for(var kt in Jt||(Jt={}))Zt.call(Jt,kt)&&cr(jt,kt,Jt[kt]);if(It)for(var kt of It(Jt))Gt.call(Jt,kt)&&cr(jt,kt,Jt[kt]);return jt},Ce=(jt,Jt)=>{var kt={};for(var Xt in jt)Zt.call(jt,Xt)&&Jt.indexOf(Xt)<0&&(kt[Xt]=jt[Xt]);if(jt!=null&&It)for(var Xt of It(jt))Jt.indexOf(Xt)<0&&Gt.call(jt,Xt)&&(kt[Xt]=jt[Xt]);return kt};let ce=null;const pe=()=>(ce||(ce=on().applyPlugins({key:"antd",type:ht.ApplyPluginsType.modify,initialValue:Ht({},{componentSize:"middle"})})),ce);function Tt({children:jt}){let Jt=jt;const[kt,Xt]=x.useState(()=>{const Or=pe(),{appConfig:Ct}=Or;return Ce(Or,["appConfig"])}),Er=Or=>{Xt(Ct=>Je()({},Ct,typeof Or=="function"?Or(Ct):Or))};return kt.prefixCls&&ot.ZP.config({prefixCls:kt.prefixCls}),kt.iconPrefixCls&&ot.ZP.config({iconPrefixCls:kt.iconPrefixCls}),kt.theme&&ot.ZP.config({theme:kt.theme}),Jt=x.createElement(ot.ZP,Ht({},kt),Jt),Jt=x.createElement(ur.StyleProvider,{hashPriority:"high"},Jt),Jt=x.createElement(tr.C.Provider,{value:Er},x.createElement(tr.S.Provider,{value:kt},Jt)),Jt}function Se(jt){return x.createElement(Tt,null,jt)}var at=e(97670);function $t(jt,Jt){return x.createElement(at.j,Jt,jt)}var yt=e(92769),Ae=e(64857);function gt(){var jt,Jt;const kt=getLocale();(jt=moment)!=null&&jt.locale&&moment.locale(((Jt=localeInfo[kt])==null?void 0:Jt.momentLocale)||""),setIntl(kt)}const ze=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,et=jt=>{var Jt;const kt=(0,Ae.Kd)(),[Xt,Er]=x.useState(kt),[Or,Ct]=x.useState(()=>(0,Ae.lw)(Xt,!0)),Kt=br=>{var Qr,Hr;(Qr=o())!=null&&Qr.locale&&o().locale(((Hr=Ae.H8[br])==null?void 0:Hr.momentLocale)||"en"),Er(br),Ct((0,Ae.lw)(br))};ze(()=>(Ae.B.on(Ae.PZ,Kt),()=>{Ae.B.off(Ae.PZ,Kt)}),[]);const Lt={},Qt=(0,Ae.Mg)();return x.createElement(ot.ZP,{direction:Qt,locale:((Jt=Ae.H8[Xt])==null?void 0:Jt.antd)||Lt},x.createElement(Ae.eU,{value:Or},jt.children))};function bt(jt){return x.createElement(et,null,jt)}function Ft(jt){return jt.default?typeof jt.default=="function"?jt.default():jt.default:jt}function Fe(){return[{apply:Ft(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function kr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let pt=null;function en(){return pt=ht.PluginManager.create({plugins:Fe(),validKeys:kr()}),pt}function on(){return pt}},95392:function(d,_,e){"use strict";e.d(_,{ApplyPluginsType:function(){return _t},Link:function(){return q},Outlet:function(){return V.j3},PluginManager:function(){return Mt},connect:function(){return f.$j},getDvaApp:function(){return u.Q},history:function(){return Qe.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return V.TH},useOutletContext:function(){return V.bx},useParams:function(){return V.UO},useSearchParams:function(){return G.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(73376);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(71051),u=e(97670),h=e(64857),o=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(Xe,ot,ht)=>ot in Xe?o(Xe,ot,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Xe[ot]=ht,S=(Xe,ot)=>{for(var ht in ot||(ot={}))y.call(ot,ht)&&b(Xe,ht,ot[ht]);if(p)for(var ht of p(ot))m.call(ot,ht)&&b(Xe,ht,ot[ht]);return Xe},k=(Xe,ot)=>a(Xe,x(ot)),R=(Xe,ot)=>{var ht={};for(var ur in Xe)y.call(Xe,ur)&&ot.indexOf(ur)<0&&(ht[ur]=Xe[ur]);if(Xe!=null&&p)for(var ur of p(Xe))ot.indexOf(ur)<0&&m.call(Xe,ur)&&(ht[ur]=Xe[ur]);return ht};const A=Xe=>{var ot=Xe,{overlayClassName:ht}=ot,ur=R(ot,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ht},ur))},I=Xe=>Xe.reduce((ot,ht)=>ht.lang?k(S({},ot),{[ht.lang]:ht}):ot,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},B=Xe=>React.createElement(React.Fragment,null);var N=e(38329),K=e(38127),G=e(32451),H=e(50731),ae=e(87296);function ne(Xe,ot){var ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ur=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var tr=r.useRef(typeof IntersectionObserver=="function"),Le=r.useRef(null);return r.useEffect(function(){if(!(!Xe.current||!tr.current||ur.disabled))return Le.current=new IntersectionObserver(function(Je){var Yt=(0,ae.Z)(Je,1),It=Yt[0];ot(It)},ht),Le.current.observe(Xe.current),function(){var Je;(Je=Le.current)===null||Je===void 0||Je.disconnect()}},[ot,ht,ur.disabled,Xe]),Le.current}var oe=["prefetch"];function J(Xe){var ot=r.useRef(null);return r.useEffect(function(){Xe&&(typeof Xe=="function"?Xe(ot.current):Xe.current=ot.current)}),ot}var q=r.forwardRef(function(Xe,ot){var ht,ur=Xe.prefetch,tr=(0,K.Z)(Xe,oe),Le=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Je=Le.defaultPrefetch,Yt=Le.defaultPrefetchTimeout,It=(ur===!0?"intent":ur===!1?"none":ur)||Je;if(!["intent","render","viewport","none"].includes(It))throw new Error("Invalid prefetch value ".concat(It," found in Link component"));var Zt=(0,H.Ov)(),Gt=typeof Xe.to=="string"?Xe.to:(ht=Xe.to)===null||ht===void 0?void 0:ht.pathname,cr=r.useRef(!1),Ht=J(ot),Ce=function(Tt){if(It==="intent"){var Se=Tt.target||{};Se.preloadTimeout||(Se.preloadTimeout=setTimeout(function(){var at;Se.preloadTimeout=null,(at=Zt.preloadRoute)===null||at===void 0||at.call(Zt,Gt)},Xe.prefetchTimeout||Yt))}},ce=function(Tt){if(It==="intent"){var Se=Tt.target||{};Se.preloadTimeout&&(clearTimeout(Se.preloadTimeout),Se.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(It==="render"&&!cr.current){var pe;(pe=Zt.preloadRoute)===null||pe===void 0||pe.call(Zt,Gt),cr.current=!0}},[It,Gt]),ne(Ht,function(pe){if(pe!=null&&pe.isIntersecting){var Tt;(Tt=Zt.preloadRoute)===null||Tt===void 0||Tt.call(Zt,Gt)}},{rootMargin:"100px"},{disabled:It!=="viewport"}),Gt?r.createElement(G.rU,(0,N.Z)({onMouseEnter:Ce,onMouseLeave:ce,ref:Ht},tr),Xe.children):null}),V=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return ot};var Xe,ot={},ht=Object.prototype,ur=ht.hasOwnProperty,tr=Object.defineProperty||function(jt,Jt,kt){jt[Jt]=kt.value},Le=typeof Symbol=="function"?Symbol:{},Je=Le.iterator||"@@iterator",Yt=Le.asyncIterator||"@@asyncIterator",It=Le.toStringTag||"@@toStringTag";function Zt(jt,Jt,kt){return Object.defineProperty(jt,Jt,{value:kt,enumerable:!0,configurable:!0,writable:!0}),jt[Jt]}try{Zt({},"")}catch(jt){Zt=function(kt,Xt,Er){return kt[Xt]=Er}}function Gt(jt,Jt,kt,Xt){var Er=Jt&&Jt.prototype instanceof Se?Jt:Se,Or=Object.create(Er.prototype),Ct=new en(Xt||[]);return tr(Or,"_invoke",{value:Ft(jt,kt,Ct)}),Or}function cr(jt,Jt,kt){try{return{type:"normal",arg:jt.call(Jt,kt)}}catch(Xt){return{type:"throw",arg:Xt}}}ot.wrap=Gt;var Ht="suspendedStart",Ce="suspendedYield",ce="executing",pe="completed",Tt={};function Se(){}function at(){}function $t(){}var yt={};Zt(yt,Je,function(){return this});var Ae=Object.getPrototypeOf,gt=Ae&&Ae(Ae(on([])));gt&>!==ht&&ur.call(gt,Je)&&(yt=gt);var ze=$t.prototype=Se.prototype=Object.create(yt);function et(jt){["next","throw","return"].forEach(function(Jt){Zt(jt,Jt,function(kt){return this._invoke(Jt,kt)})})}function bt(jt,Jt){function kt(Er,Or,Ct,Kt){var Lt=cr(jt[Er],jt,Or);if(Lt.type!=="throw"){var Qt=Lt.arg,br=Qt.value;return br&&(0,se.Z)(br)=="object"&&ur.call(br,"__await")?Jt.resolve(br.__await).then(function(Qr){kt("next",Qr,Ct,Kt)},function(Qr){kt("throw",Qr,Ct,Kt)}):Jt.resolve(br).then(function(Qr){Qt.value=Qr,Ct(Qt)},function(Qr){return kt("throw",Qr,Ct,Kt)})}Kt(Lt.arg)}var Xt;tr(this,"_invoke",{value:function(Or,Ct){function Kt(){return new Jt(function(Lt,Qt){kt(Or,Ct,Lt,Qt)})}return Xt=Xt?Xt.then(Kt,Kt):Kt()}})}function Ft(jt,Jt,kt){var Xt=Ht;return function(Er,Or){if(Xt===ce)throw new Error("Generator is already running");if(Xt===pe){if(Er==="throw")throw Or;return{value:Xe,done:!0}}for(kt.method=Er,kt.arg=Or;;){var Ct=kt.delegate;if(Ct){var Kt=Fe(Ct,kt);if(Kt){if(Kt===Tt)continue;return Kt}}if(kt.method==="next")kt.sent=kt._sent=kt.arg;else if(kt.method==="throw"){if(Xt===Ht)throw Xt=pe,kt.arg;kt.dispatchException(kt.arg)}else kt.method==="return"&&kt.abrupt("return",kt.arg);Xt=ce;var Lt=cr(jt,Jt,kt);if(Lt.type==="normal"){if(Xt=kt.done?pe:Ce,Lt.arg===Tt)continue;return{value:Lt.arg,done:kt.done}}Lt.type==="throw"&&(Xt=pe,kt.method="throw",kt.arg=Lt.arg)}}}function Fe(jt,Jt){var kt=Jt.method,Xt=jt.iterator[kt];if(Xt===Xe)return Jt.delegate=null,kt==="throw"&&jt.iterator.return&&(Jt.method="return",Jt.arg=Xe,Fe(jt,Jt),Jt.method==="throw")||kt!=="return"&&(Jt.method="throw",Jt.arg=new TypeError("The iterator does not provide a '"+kt+"' method")),Tt;var Er=cr(Xt,jt.iterator,Jt.arg);if(Er.type==="throw")return Jt.method="throw",Jt.arg=Er.arg,Jt.delegate=null,Tt;var Or=Er.arg;return Or?Or.done?(Jt[jt.resultName]=Or.value,Jt.next=jt.nextLoc,Jt.method!=="return"&&(Jt.method="next",Jt.arg=Xe),Jt.delegate=null,Tt):Or:(Jt.method="throw",Jt.arg=new TypeError("iterator result is not an object"),Jt.delegate=null,Tt)}function kr(jt){var Jt={tryLoc:jt[0]};1 in jt&&(Jt.catchLoc=jt[1]),2 in jt&&(Jt.finallyLoc=jt[2],Jt.afterLoc=jt[3]),this.tryEntries.push(Jt)}function pt(jt){var Jt=jt.completion||{};Jt.type="normal",delete Jt.arg,jt.completion=Jt}function en(jt){this.tryEntries=[{tryLoc:"root"}],jt.forEach(kr,this),this.reset(!0)}function on(jt){if(jt||jt===""){var Jt=jt[Je];if(Jt)return Jt.call(jt);if(typeof jt.next=="function")return jt;if(!isNaN(jt.length)){var kt=-1,Xt=function Er(){for(;++kt=0;--Er){var Or=this.tryEntries[Er],Ct=Or.completion;if(Or.tryLoc==="root")return Xt("end");if(Or.tryLoc<=this.prev){var Kt=ur.call(Or,"catchLoc"),Lt=ur.call(Or,"finallyLoc");if(Kt&&Lt){if(this.prev=0;--Xt){var Er=this.tryEntries[Xt];if(Er.tryLoc<=this.prev&&ur.call(Er,"finallyLoc")&&this.prev=0;--kt){var Xt=this.tryEntries[kt];if(Xt.finallyLoc===Jt)return this.complete(Xt.completion,Xt.afterLoc),pt(Xt),Tt}},catch:function(Jt){for(var kt=this.tryEntries.length-1;kt>=0;--kt){var Xt=this.tryEntries[kt];if(Xt.tryLoc===Jt){var Er=Xt.completion;if(Er.type==="throw"){var Or=Er.arg;pt(Xt)}return Or}}throw new Error("illegal catch attempt")},delegateYield:function(Jt,kt,Xt){return this.delegate={iterator:on(Jt),resultName:kt,nextLoc:Xt},this.method==="next"&&(this.arg=Xe),Tt}},ot}var Q=e(63579);function le(Xe,ot,ht,ur,tr,Le,Je){try{var Yt=Xe[Le](Je),It=Yt.value}catch(Zt){ht(Zt);return}Yt.done?ot(It):Promise.resolve(It).then(ur,tr)}function Z(Xe){return function(){var ot=this,ht=arguments;return new Promise(function(ur,tr){var Le=Xe.apply(ot,ht);function Je(It){le(Le,ur,tr,Je,Yt,"next",It)}function Yt(It){le(Le,ur,tr,Je,Yt,"throw",It)}Je(void 0)})}}var j=e(99227);function ie(Xe,ot){var ht=typeof Symbol!="undefined"&&Xe[Symbol.iterator]||Xe["@@iterator"];if(!ht){if(Array.isArray(Xe)||(ht=(0,j.Z)(Xe))||ot&&Xe&&typeof Xe.length=="number"){ht&&(Xe=ht);var ur=0,tr=function(){};return{s:tr,n:function(){return ur>=Xe.length?{done:!0}:{done:!1,value:Xe[ur++]}},e:function(Zt){throw Zt},f:tr}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Le=!0,Je=!1,Yt;return{s:function(){ht=ht.call(Xe)},n:function(){var Zt=ht.next();return Le=Zt.done,Zt},e:function(Zt){Je=!0,Yt=Zt},f:function(){try{!Le&&ht.return!=null&&ht.return()}finally{if(Je)throw Yt}}}}var ve=e(73825);function Ee(Xe){if(typeof Symbol!="undefined"&&Xe[Symbol.iterator]!=null||Xe["@@iterator"]!=null)return Array.from(Xe)}var Te=e(66160);function He(Xe){return(0,ve.Z)(Xe)||Ee(Xe)||(0,j.Z)(Xe)||(0,Te.Z)()}function je(Xe,ot){if(!(Xe instanceof ot))throw new TypeError("Cannot call a class as a function")}var Ot=e(89878);function ft(Xe,ot){for(var ht=0;ht-1,"register failed, invalid key ".concat(tr," ").concat(ht.path?"from plugin ".concat(ht.path):"",".")),ur.hooks[tr]=(ur.hooks[tr]||[]).concat(ht.apply[tr])})}},{key:"getHooks",value:function(ht){var ur=ht.split("."),tr=He(ur),Le=tr[0],Je=tr.slice(1),Yt=this.hooks[Le]||[];return Je.length&&(Yt=Yt.map(function(It){try{var Zt=It,Gt=ie(Je),cr;try{for(Gt.s();!(cr=Gt.n()).done;){var Ht=cr.value;Zt=Zt[Ht]}}catch(Ce){Gt.e(Ce)}finally{Gt.f()}return Zt}catch(Ce){return null}}).filter(Boolean)),Yt}},{key:"applyPlugins",value:function(ht){var ur=ht.key,tr=ht.type,Le=ht.initialValue,Je=ht.args,Yt=ht.async,It=this.getHooks(ur)||[];switch(Je&&Rt((0,se.Z)(Je)==="object","applyPlugins failed, args must be plain object."),Yt&&Rt(tr===_t.modify||tr===_t.event,"async only works with modify and event type."),tr){case _t.modify:return Yt?It.reduce(function(){var Zt=Z(ee().mark(function Gt(cr,Ht){var Ce;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Rt(typeof Ht=="function"||(0,se.Z)(Ht)==="object"||Ue(Ht),"applyPlugins failed, all hooks for key ".concat(ur," must be function, plain object or Promise.")),!Ue(cr)){pe.next=5;break}return pe.next=4,cr;case 4:cr=pe.sent;case 5:if(typeof Ht!="function"){pe.next=16;break}if(Ce=Ht(cr,Je),!Ue(Ce)){pe.next=13;break}return pe.next=10,Ce;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Ce);case 14:pe.next=21;break;case 16:if(!Ue(Ht)){pe.next=20;break}return pe.next=19,Ht;case 19:Ht=pe.sent;case 20:return pe.abrupt("return",(0,Q.Z)((0,Q.Z)({},cr),Ht));case 21:case"end":return pe.stop()}},Gt)}));return function(Gt,cr){return Zt.apply(this,arguments)}}(),Ue(Le)?Le:Promise.resolve(Le)):It.reduce(function(Zt,Gt){return Rt(typeof Gt=="function"||(0,se.Z)(Gt)==="object","applyPlugins failed, all hooks for key ".concat(ur," must be function or plain object.")),typeof Gt=="function"?Gt(Zt,Je):(0,Q.Z)((0,Q.Z)({},Zt),Gt)},Le);case _t.event:return Z(ee().mark(function Zt(){var Gt,cr,Ht,Ce;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Gt=ie(It),pe.prev=1,Gt.s();case 3:if((cr=Gt.n()).done){pe.next=12;break}if(Ht=cr.value,Rt(typeof Ht=="function","applyPlugins failed, all hooks for key ".concat(ur," must be function.")),Ce=Ht(Je),!(Yt&&Ue(Ce))){pe.next=10;break}return pe.next=10,Ce;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Gt.e(pe.t0);case 17:return pe.prev=17,Gt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Zt,null,[[1,14,17,20]])}))();case _t.compose:return function(){return ar({fns:It.concat(Le),args:Je})()}}}}],[{key:"create",value:function(ht){var ur=new Xe({validKeys:ht.validKeys});return ht.plugins.forEach(function(tr){ur.register(tr)}),ur}}]),Xe}(),Qe=e(82328);let ct=0,st=0;function qe(Xe,ot){}function Be(Xe){return JSON.stringify(Xe,null,2)}function be(Xe){const ot=Xe.length>1?Xe.map(De).join(" "):Xe[0];return typeof ot=="object"?`${Be(ot)}`:ot.toString()}function De(Xe){return typeof Xe=="object"?`${JSON.stringify(Xe)}`:Xe.toString()}const Ge={log(...Xe){be(Xe)},info(...Xe){be(Xe)},warn(...Xe){be(Xe)},error(...Xe){be(Xe)},group(){st++},groupCollapsed(){st++},groupEnd(){st&&--st},clear(){},trace(...Xe){console.trace(...Xe)},profile(...Xe){console.profile(...Xe)},profileEnd(...Xe){console.profileEnd(...Xe)}},We=()=>{}},73376:function(d,_,e){"use strict";e.d(_,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},97670:function(d,_,e){"use strict";e.d(_,{j:function(){return Fc},Q:function(){return xf}});var r=e(71051),i=e(89880),l=e.n(i),c=e(59301),f=e(95392),u=e(79134),h=Object.defineProperty,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(T,O,L)=>O in T?h(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,y=(T,O)=>{for(var L in O||(O={}))a.call(O,L)&&p(T,L,O[L]);if(o)for(var L of o(O))x.call(O,L)&&p(T,L,O[L]);return T},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:T},{call:O,put:L}){return yield O(u.n1,T)},*appplySchool({payload:T},{call:O,put:L}){return yield O(u.bz,T)},*getSchoolOption({payload:T},{call:O,put:L}){return yield O(u.GY,T)},*getDepartmentOption({payload:T},{call:O,put:L}){return yield O(u.Ql,T)},*appplyDepartment({payload:T},{call:O,put:L}){return yield O(u.Zm,T)},*updateAccount({payload:T},{call:O,put:L}){return yield O(u.sG,T)},*cancelRealNameAuth({payload:T},{call:O,put:L}){return yield O(u.P,T)},*cancelProfessionalAuth({payload:T},{call:O,put:L}){return yield O(u.$f,T)},*applyProfessionalAuth({payload:T},{call:O,put:L}){return yield O(u.Ow,T)},*applyRealNameAuth({payload:T},{call:O,put:L}){return yield O(u.ht,T)},*getCode({payload:T},{call:O,put:L}){return yield O(u.Cq,T)},*bindPhone({payload:T},{call:O,put:L}){return yield O(u.eF,T)},*bindEmail({payload:T},{call:O,put:L}){return yield O(u.I8,T)},*updatePassword({payload:T},{call:O,put:L}){return yield O(u.gQ,T)},*unbindAccount({payload:T},{call:O,put:L}){return yield O(u.wi,T)},*getBasicInfo({payload:T},{call:O,put:L}){const _e=yield O(u.o9,T);return yield L({type:"save",payload:{basicInfo:y({},_e)}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:y({},T)}})}},reducers:{save(T,O){return y(y({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},S=e(71832),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,M=(T,O,L)=>O in T?k(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,B=(T,O)=>{for(var L in O||(O={}))A.call(O,L)&&M(T,L,O[L]);if(R)for(var L of R(O))I.call(O,L)&&M(T,L,O[L]);return T},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:T,callback:O},{call:L,put:_e}){return yield L(S.nZ,T)},*informUp({payload:T,callback:O},{call:L,put:_e}){return yield L(S.TO,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:B({},T)}})}},reducers:{save(T,O){return B(B({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},G=e(14084),H=Object.defineProperty,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,J=(T,O,L)=>O in T?H(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,q=(T,O)=>{for(var L in O||(O={}))ne.call(O,L)&&J(T,L,O[L]);if(ae)for(var L of ae(O))oe.call(O,L)&&J(T,L,O[L]);return T},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(G.SV,T);return yield _e({type:"save",payload:{allList:q({},Ie)}}),Ie},*mineAttachment({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(G.zI,T);return yield _e({type:"save",payload:{mineList:q({},Ie)}}),Ie},*fileImport({payload:T,callback:O},{call:L,put:_e}){return yield L(G.tO,T)},*getDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(G.Nm,T);return yield _e({type:"save",payload:{detail:q({},Ie)}}),Ie},*updateVisits({payload:T,callback:O},{call:L,put:_e}){return yield L(G.H,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:q({},T)}})}},reducers:{save(T,O){return q(q({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},ee=e(10436),Q=Object.defineProperty,le=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,ie=(T,O,L)=>O in T?Q(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ve=(T,O)=>{for(var L in O||(O={}))Z.call(O,L)&&ie(T,L,O[L]);if(le)for(var L of le(O))j.call(O,L)&&ie(T,L,O[L]);return T},Te={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ee.yq,T);return yield _e({type:"save",payload:{boardsCategoryList:ve({},Ie.data)}}),Ie.data},*getBoardsDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ee.dI,T);return yield _e({type:"save",payload:{boardsDetail:ve({},Ie.data)}}),Ie.data},*setTopping({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.cc,T)},*escTopping({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.CJ,T)},*getReplyList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ee.PC,T);yield _e({type:"save",payload:{replyList:ve({},Ie.data)}})},*createReply({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.PP,T)},*replyLike({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.NA,T)},*replyUnLike({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.YQ,T)},*deleteReply({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.Mf,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ve({},T)}})}},reducers:{save(T,O){return ve(ve({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},He=e(75823),je=Object.defineProperty,Ot=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Wt=(T,O,L)=>O in T?je(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Rt=(T,O)=>{for(var L in O||(O={}))ft.call(O,L)&&Wt(T,L,O[L]);if(Ot)for(var L of Ot(O))Pt.call(O,L)&&Wt(T,L,O[L]);return T},Ue={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.$Q,T);return yield _e({type:"save",payload:{ScoreRangesData:Ie==null?void 0:Ie.data}}),Ie},*getQuestionResult({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He._U,T);return yield _e({type:"save",payload:{NormalResult:Ie}}),Ie},*getUserExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.xA,T);return yield _e({type:"save",payload:{userExerciseList:Rt({},(Ie==null?void 0:Ie.data)||{})}}),console.log("getUserExercise-res:",Ie),Ie==null?void 0:Ie.data},*getExerciseIdentityPhotos({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.J,T);return yield _e({type:"save",payload:{exerciseIdentityPhotos:Rt({},(Ie==null?void 0:Ie.data)||{})}}),Ie==null?void 0:Ie.data},*getExerciseExportHeadData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.iw,T);return yield _e({type:"save",payload:{exerciseExportHeadData:Rt({},Ie)}}),Ie},*getExerciseUserInfo({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.Ty,T);return(Ie==null?void 0:Ie.status)===0&&(yield _e({type:"save",payload:Rt({},{exerciseUserInfo:Rt({},Ie.data)})})),Ie},*getExaminationIntelligentSettings({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.sA,T);return yield _e({type:"save",payload:{examinationIntelligentSettings:Rt({},Ie)}}),Ie},*getRandomEditExercises({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.yu,T);return yield _e({type:"save",payload:{editRandomExercises:Rt({},Ie)}}),Ie},*getExerciseList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.G$,T);if(Ie!=null&&Ie.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Ie.total_exercise_users)}catch(hn){}return yield _e({type:"save",payload:{exerciseList:Rt({},Ie)}}),yield _e({type:"save",payload:{order_type:T.order_type,order:T.order}}),Ie},*getExerciseStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He._u,T);return yield _e({type:"save",payload:{statisticsList:Rt({},Ie)}}),Ie},*getBrankList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.n$,T);return yield _e({type:"save",payload:{brankList:Rt({},Ie)}}),Ie},*saveBanks({payload:T,callback:O},{call:L,put:_e}){return yield L(He.lf,T)},*getExerciseCourses({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.N3,T);return yield _e({type:"save",payload:{exerciseCoursesList:Rt({},Ie)}}),Ie},*addExercise({payload:T,callback:O},{call:L,put:_e}){return yield L(He.uR,T)},*editExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.qf,T);return yield _e({type:"save",payload:{editData:Rt({},Ie)}}),Ie},*getTagDiscipline({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.YY,T);return yield _e({type:"save",payload:{tagDisciplineData:Rt({},Ie)}}),Ie},*editExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(He.Di,T)},*addExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(He.MK,T)},*exeriseMoveUpDown({payload:T,callback:O},{call:L,put:_e}){return yield L(He.GK,T)},*getEndGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.KE,T);return yield _e({type:"save",payload:{endGroups:Rt({},Ie)}}),Ie},*getPublishGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.ux,T);return yield _e({type:"save",payload:{publishGroups:Rt({},Ie)}}),Ie},*getCommonHeader({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.UK,T);return yield _e({type:"save",payload:{commonHeader:Rt({},Ie)}}),Ie},*getReviewExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.BJ,T);return yield _e({type:"save",payload:{reviewExercise:Rt({},Ie)}}),Ie},*postReviewExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.pu,T);return yield _e({type:"save",payload:{reviewExercise:Rt({},Ie)}}),Ie},*getCentralizeReviewExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.X4,T);return yield _e({type:"save",payload:{reviewExercise:Rt({},Ie)}}),Ie},*clearData({payload:T,callback:O},{call:L,put:_e}){yield _e({type:"save",payload:{[T.key]:{}}})},*getReviewGroupExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.W4,T);return yield _e({type:"save",payload:{reviewGroupExercise:Rt({},Ie)}}),Ie},*getWorkSetting({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.Ul,T);return yield _e({type:"save",payload:{workSetting:Rt({},Ie)}}),Ie},*getRedoModal({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.tX,T);return yield _e({type:"save",payload:{redoModal:Rt({},Ie)}}),Ie},*getRedoListModal({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.s,T);return yield _e({type:"save",payload:{redoModal:Rt({},Ie)}}),Ie},*getCodeReviewDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.Xn,T);return yield _e({type:"save",payload:{codeReviewDetail:Rt({},Ie)}}),Ie},*changeScore({payload:T,callback:O},{call:L,put:_e}){return yield L(He.gG,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Rt({},T)}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:T==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:T},{call:O,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:T}})}},reducers:{save(T,O){return Rt(Rt({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},_t=e(28831),Mt=Object.defineProperty,Qe=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,qe=(T,O,L)=>O in T?Mt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Be=(T,O)=>{for(var L in O||(O={}))ct.call(O,L)&&qe(T,L,O[L]);if(Qe)for(var L of Qe(O))st.call(O,L)&&qe(T,L,O[L]);return T},De={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.x_,T);return yield _e({type:"save",payload:{detailList:Be({},Ie)}}),Ie},*getTasksListDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.QA,T);return yield _e({type:"save",payload:{detailTaskList:Be({},Ie)}}),Ie},*getTopisDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.B6,T);return yield _e({type:"save",payload:{detail:Be({},Ie)}}),Ie},*getTasksDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.y3,T);return yield _e({type:"save",payload:{tasksDetail:Be({},Ie)}}),Ie},*refuseTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.mM,T)},*agreeTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.je,T)},*getReplyList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.PC,T);yield _e({type:"save",payload:{replyList:Be({},Ie)}})},*createReply({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.PP,T)},*replyLike({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.NA,T)},*replyUnLike({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.YQ,T)},*deleteReply({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.Mf,T)},*addTopicDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.y0,T);yield _e({type:"save",payload:{addTopicData:Be({},Ie)}})},*editTopicDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.hL,T);return yield _e({type:"save",payload:{editTopicData:Be({},Ie)}}),Ie},*editTasksDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t._n,T);return yield _e({type:"save",payload:{editTasksData:Be({},Ie)}}),Ie},*addTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.Gr,T)},*editTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.wA,T)},*addTasks({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.Sv,T)},*editTasks({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.RP,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Be({},T)}})}},reducers:{save(T,O){return Be(Be({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Ge=e(89392),We=e(79777),Xe=Object.defineProperty,ot=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,tr=(T,O,L)=>O in T?Xe(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Le=(T,O)=>{for(var L in O||(O={}))ht.call(O,L)&&tr(T,L,O[L]);if(ot)for(var L of ot(O))ur.call(O,L)&&tr(T,L,O[L]);return T},Yt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.h$,T);try{sessionStorage.all_student_works=JSON.stringify(Ie.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(T),localStorage.setItem("all_student_works_param",JSON.stringify(T))}catch(hn){}return yield _e({type:"save",payload:{workList:Le({},Ie)}}),Ie},*getShixunWorkHeadInfo({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.fK,T);try{}catch(hn){}return yield _e({type:"save",payload:{headerInfo:Ie==null?void 0:Ie.data}}),Ie},*getShixunWorkList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Z8,T);try{sessionStorage.all_student_works=JSON.stringify(Ie.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(T),localStorage.setItem("all_student_works_param",JSON.stringify(T))}catch(hn){}return yield _e({type:"save",payload:{shixunWorkList:Ie==null?void 0:Ie.data,homeworkAssistantPermissions:Ie.homework_assistant_permissions,shixunAssistantPermission:Ie.shixun_assistant_permission,courseAssistantPermission:Ie.course_assistant_permission}}),Ie},*getCodeReview({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.RP,T);return yield _e({type:"save",payload:{codeReview:Le({},Ie)}}),Ie},*getCodeReviewDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Xn,T);return yield _e({type:"save",payload:{codeReviewDetail:Le({},Ie)}}),Ie},*getWorkDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.to,T);return yield _e({type:"save",payload:{workDetail:Le({},Ie)}}),Ie},*updateWork({payload:T,callback:O},{call:L,put:_e}){return yield L(We.H,T)},*getShixunWorkReport({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.sw,T);try{Ie.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(hn){}return yield _e({type:"save",payload:{shixunWorkReport:Le({},Ie)}}),Ie},*getShixunWorkReports({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.cz,T);try{Ie.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(hn){}return yield _e({type:"save",payload:{shixunWorkReport:Le({},Ie)}}),Ie},*getWorkSetting({payload:T,callback:O},{call:L,put:_e}){var Ie,hn;const On=yield L(We.Ul,T);(Ie=On==null?void 0:On.group_settings)==null||Ie.map(Bi=>{Bi.value=Bi.group_name,Bi.id=Bi.group_id,Bi.group_id=[Bi.group_id]}),(hn=On==null?void 0:On.allow_late_settings)==null||hn.map(Bi=>{Bi.value=Bi.group_name,Bi.id=Bi.group_id,Bi.group_id=[Bi.group_id]});const mn={shixun_evaluation:On.shixun_evaluation,challenge_settings:On.challenge_settings};return yield _e({type:"save",payload:{workSetting:Le({},On),changeData:(0,Ge.cloneDeep)(mn)}}),On},*updateSetting({payload:T,callback:O},{call:L,put:_e}){return yield L(We.m7,T)},*getCodeReviewCourse({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.JG,T);return yield _e({type:"save",payload:{codeReviewCourse:Le({},Ie)}}),Ie},*exportShixunWorks({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Dx,T)},*getReferenceAnswer({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Q3,T);return yield _e({type:"save",payload:{referenceAnswer:Le({},Ie)}}),Ie},*getPublishGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ux,T);return yield _e({type:"save",payload:{publishGroups:Le({},Ie)}}),Ie},*getEndGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.KE,T);return yield _e({type:"save",payload:{endGroups:Le({},Ie)}}),Ie},*getBrankList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.n$,T);return yield _e({type:"save",payload:{brankList:Le({},Ie)}}),Ie},*changeScore({payload:T,callback:O},{call:L,put:_e}){return yield L(We.gG,T)},*saveBanks({payload:T,callback:O},{call:L,put:_e}){return yield L(We.lf,T)},*addCommonHomeWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Qt,T);return yield _e({type:"save",payload:{commonHomeWorkAddDefaultData:Le({},Ie)}}),Ie},*getSearchMemberList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Lz,T);return yield _e({type:"save",payload:{searchMemberList:Le({},Ie)}}),Ie},*getProjectList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ku,T);return yield _e({type:"save",payload:{searchProjectList:Le({},Ie)}}),Ie},*addStudentWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ak,T);return yield _e({type:"save",payload:{studentWorkAddDefaultData:Le({},Ie)}}),Ie},*editStudentWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.PW,T);return yield _e({type:"save",payload:{studentWorkEditDefaultData:Le({},Ie)}}),Ie},*editCommonHomeWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.BD,T);return yield _e({type:"save",payload:{commonHomeWorkEditDefaultData:Le({},Ie)}}),Ie},*editCommonHomeWorkDefaultBankData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.pH,T);return yield _e({type:"save",payload:{commonHomeWorkEditDefaultData:Le({},Ie)}}),Ie},*getReplyList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.PC,T);yield _e({type:"save",payload:{replyList:Le({},Ie)}})},*getStudentWorkDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Hj,T);yield _e({type:"save",payload:{studentWorkDetail:Le({},Ie)}})},*getStudentWorkSupplyDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ub,T);yield _e({type:"save",payload:{studentWorkSupplyDetail:Le({},Ie)}})},*getStudentWorkCommon({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.JA,T);yield _e({type:"save",payload:{studentWorkCommon:Le({},Ie)}})},*getAllStudentWorks({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ql,T);return yield _e({type:"save",payload:{allStudentWorks:Le({},Ie)}}),Ie},*getFileRepeatResult({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.oN,T);return yield _e({type:"save",payload:{codeReview:Le({},Ie)}}),Ie},*getFileRepeatDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Ti,T);return yield _e({type:"save",payload:{codeReviewDetail:Le({},Ie)}}),Ie},*createReply({payload:T,callback:O},{call:L,put:_e}){return yield L(We.PP,T)},*replyLike({payload:T,callback:O},{call:L,put:_e}){return yield L(We.NA,T)},*replyUnLike({payload:T,callback:O},{call:L,put:_e}){return yield L(We.YQ,T)},*deleteReply({payload:T,callback:O},{call:L,put:_e}){return yield L(We.Mf,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Le({},T)}})}},reducers:{save(T,O){return Le(Le({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},It=e(94373),Zt=e(81779),Gt=Object.defineProperty,cr=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,ce=(T,O,L)=>O in T?Gt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,pe=(T,O)=>{for(var L in O||(O={}))Ht.call(O,L)&&ce(T,L,O[L]);if(cr)for(var L of cr(O))Ce.call(O,L)&&ce(T,L,O[L]);return T},Se={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:"",courseAiData:{have_tiding:!1,is_open_ai:!1,name:""}},effects:{*setCourseAiState({payload:T},{call:O,put:L,select:_e}){yield O(It.zC,T),yield L({type:"getCourseAiData",payload:T})},*getCourseAiData({payload:T},{call:O,put:L}){const _e=yield O(It.tI,T);yield L({type:"save",payload:{courseAiData:_e.data}})},*setAssistantPermissions({payload:T},{call:O,put:L}){yield O(It.gq,T)},*getAssistantPermissions({payload:T},{call:O,put:L}){if(!(0,Zt.eB)())return;const _e=yield O(It.rS,T);yield L({type:"save",payload:{AssistantObject:_e.permissions}})},*getAiStatusQuery({payload:T},{call:O,put:L}){const _e=yield O(It.LH,T);return yield L({type:"save",payload:{cal_finish_if:_e.cal_finish_if}}),_e},*updateCoursePortraitData({payload:T},{call:O,put:L}){return yield O(It.Z_,T)},*getUserPortraitConfig({payload:T},{call:O,put:L}){const _e=yield O(It._0,T);return yield L({type:"save",payload:{userPortraitConfig:_e.data}}),_e},*updateUserPortraitConfig({payload:T},{call:O,put:L}){return yield O(It.r2,T)},*getClassroom({payload:T},{call:O,put:L}){const _e=T,Ie=yield O(It.V8,T);return yield L({type:"save",payload:pe({listParams:_e},Ie)}),Ie},*getClassroomTopBanner({payload:T},{call:O,put:L}){const _e=yield O(It.U_,T);return yield L({type:"save",payload:{detailTopBanner:_e.status?{copy_completed:!0}:pe({},_e)}}),_e.status?{copy_completed:!0}:_e},*getClassroomLeftMenus({payload:T},{call:O,put:L}){const _e=yield O(It.w9,T);let Ie=[...(_e==null?void 0:_e.course_modules)||[],...(_e==null?void 0:_e.hidden_modules)||[]],hn={};return Ie==null||Ie.forEach(On=>{hn[On.type]=On.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},_e),detailLeftMenusNames:hn}}),_e},*getClassroomShixunsList({payload:T},{call:O,put:L}){const _e=yield O(It.Nd,T);yield L({type:"save",payload:{detailShixunsList:pe({},_e)}})},*getClassroomTeacherShixunsList({payload:T},{call:O,put:L}){const _e=yield O(It.Gk,T);return yield L({type:"save",payload:{detailShixunsList:pe({},_e)}}),_e},*getClassroomCommonList({payload:T},{call:O,put:L}){const _e=yield O(It.Nd,T);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}})},*getClassroomTeacherCommonList({payload:T},{call:O,put:L}){const _e=yield O(It.Gk,T);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}}),_e},*getClassroomGraduationTopicsList({payload:T},{call:O,put:L}){const _e=yield O(It.yV,T);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},_e)}})},*getClassroomGraduationTaskList({payload:T},{call:O,put:L}){const _e=yield O(It.R2,T);yield L({type:"save",payload:{detailGraduationTaskList:pe({},_e)}})},*getClassroomExercisesList({payload:T},{call:O,put:L}){const _e=yield O(It.N7,T);yield L({type:"save",payload:{detailExerciseList:pe({},_e)}})},*getClassroomPollsList({payload:T},{call:O,put:L}){const _e=yield O(It.BR,T);yield L({type:"save",payload:{detailPollsList:pe({},_e)}})},*getCourseGroups({payload:T},{call:O,put:L}){const _e=yield O(It.qB,T);yield L({type:"save",payload:{courseGroups:pe({},_e)}})},*getAllCourseGroup({payload:T},{call:O,put:L}){const _e=yield O(It.c_,T);return yield L({type:"save",payload:{allCourseGroups:pe({},_e)}}),_e},*getClassroomCommonHomeworksList({payload:T},{call:O,put:L}){const _e=yield O(It.Al,T);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}})},*getClassroomAttendancesList({payload:T},{call:O,put:L}){const _e=yield O(It.Vw,T);yield L({type:"save",payload:{detailAttendancesList:pe({},_e)}})},*getClassroomAttendancesStatistic({payload:T},{call:O,put:L}){const _e=yield O(It.Ls,T);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},_e)}})},*getAttendanceDetail({payload:T},{call:O,put:L}){const _e=yield O(It.zg,T);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},_e)}}),_e},*getAnnouncementList({payload:T},{call:O,put:L}){const _e=yield O(It.QZ,T);yield L({type:"save",payload:{detailAnnouncementList:pe({},_e)}})},*getAttachmentList({payload:T},{call:O,put:L}){const _e=yield O(It.KT,T);yield L({type:"save",payload:{detailAttachmentList:pe({},_e.data)}})},*getCourseware({payload:T},{call:O,put:L}){const _e=yield O(It.ZT,T);yield L({type:"save",payload:{detailCourseware:pe({},_e.data)}})},*getVideoList({payload:T},{call:O,put:L}){const _e=yield O(It.O3,T);yield L({type:"save",payload:{detailVideoList:pe({},_e)}})},*getLiveVideoList({payload:T},{call:O,put:L}){const _e=yield O(It.DJ,T);yield L({type:"save",payload:{detailLiveVideoList:pe({},_e)}})},*getCoursesMine({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.Ed,T);return yield _e({type:"save",payload:{courseMine:pe({},Ie)}}),Ie.data},*getBoardList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.KP,T);return yield _e({type:"save",payload:{detailBoardList:pe({},Ie.data)}}),Ie.data},*getCourseGroupsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.kW,T);return yield _e({type:"save",payload:{detailCourseGroupsList:pe({},Ie)}}),Ie},*getCourseStudentsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.J2,T);return yield _e({type:"save",payload:{detailCoursStudentsList:pe({},Ie)}}),Ie.data},*getCourseStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.g4,T);return yield _e({type:"save",payload:{detailCourseStatisticsList:pe({},Ie)}}),Ie},*getCourseActscore({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.t1,T);return yield _e({type:"save",payload:{detailCourseActscore:pe({},Ie)}}),Ie},*getCourseWorkscore({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.GV,T);return yield _e({type:"save",payload:{detailCourseWorkscore:pe({},Ie)}}),Ie},*getShixunLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.Pj,T);return yield _e({type:"save",payload:{shixunLists:pe({},Ie)}}),Ie},*getExperimentLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It._9,T);return yield _e({type:"save",payload:{shixunLists:pe({},Ie)}}),Ie},*getShixunAiRecommendLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.Hn,T);return yield _e({type:"save",payload:{shixunAiRecommendLists:pe({},Ie)}}),Ie},*getCoursesLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.W7,T);return yield _e({type:"save",payload:{coursesLists:pe({},Ie)}}),Ie},*createCoursesHomework({payload:T,callback:O},{call:L,put:_e}){return yield L(It.Ds,T)},*createShixunHomework({payload:T,callback:O},{call:L,put:_e}){return yield L(It.aQ,T)},*createExperiment({payload:T,callback:O},{call:L,put:_e}){return yield L(It.BQ,T)},*getSchoolList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.K$,T);return yield _e({type:"save",payload:{schoolList:pe({},Ie.school_names)}}),Ie.school_names},*searchSchoolTeacherList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.nQ,T);return yield _e({type:"save",payload:{searchMemberList:pe({},Ie)}}),Ie},*getAllTaskList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.km,T);return yield _e({type:"save",payload:{taskList:[...Ie.tasks]}}),Ie},*updateTaskPosition({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.U8,T);return yield _e({type:"save",payload:{actionTabs:{key:""}}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pe({},T)}})},*setUpdateData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateData:T}})}},reducers:{save(T,O){return pe(pe({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},at=Object.defineProperty,$t=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,gt=(T,O,L)=>O in T?at(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ze=(T,O)=>{for(var L in O||(O={}))yt.call(O,L)&>(T,L,O[L]);if($t)for(var L of $t(O))Ae.call(O,L)&>(T,L,O[L]);return T},bt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:T},{call:O,put:L}){const _e=yield O(It.K$,T);yield L({type:"save",payload:{schoolList:(_e==null?void 0:_e.school_names)||[]}})},*getSearchCourseList({payload:T},{call:O,put:L}){const _e=yield O(It.oM,T);yield L({type:"save",payload:{searchCourseList:(_e==null?void 0:_e.course_lists)||[]}})},*submitCourses({payload:T},{call:O,put:L}){return yield O(It.Bn,T)},*appplySchool({payload:T},{call:O,put:L}){return yield O(It.bz,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ze({},T)}})},*joincoursegroup({payload:T},{call:O,put:L}){return yield O(It.WK,T)}},reducers:{save(T,O){return ze(ze({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Ft=Object.defineProperty,Fe=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,en=(T,O,L)=>O in T?Ft(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,on=(T,O)=>{for(var L in O||(O={}))kr.call(O,L)&&en(T,L,O[L]);if(Fe)for(var L of Fe(O))pt.call(O,L)&&en(T,L,O[L]);return T},Jt={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:T},{call:O,put:L}){const _e=yield O(It.Dd,T);yield L({type:"save",payload:{CourseUseInfos:_e}})},*getRankList({payload:T},{call:O,put:L}){const _e=yield O(It.Fg,T);yield L({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(_e==null?void 0:_e.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(_e==null?void 0:_e.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(_e==null?void 0:_e.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(_e==null?void 0:_e.finish_course_list)||[]]}}})},*getStatisticsBody({payload:T},{call:O,put:L}){const _e=yield O(It.Gz,T);yield L({type:"save",payload:{SBody:_e}})},*getStatisticsHeader({payload:T},{call:O,put:L}){const _e=yield O(It.Hl,T);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(T,O){return on(on({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},kt=e(80546),Xt=Object.defineProperty,Er=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,Kt=(T,O,L)=>O in T?Xt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Lt=(T,O)=>{for(var L in O||(O={}))Or.call(O,L)&&Kt(T,L,O[L]);if(Er)for(var L of Er(O))Ct.call(O,L)&&Kt(T,L,O[L]);return T},br={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.s3,T);return yield _e({type:"save",payload:{pollsList:Lt({},Ie)}}),Ie},*getCommonHeader({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.UK,T);return yield _e({type:"save",payload:{commonHeader:Lt({},Ie)}}),Ie},*getPollsStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Qn,T);return yield _e({type:"save",payload:{statisticsList:Lt({},Ie)}}),Ie},*getBrankList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.n$,T);return yield _e({type:"save",payload:{brankList:Lt({},Ie)}}),Ie},*saveBanks({payload:T,callback:O},{call:L,put:_e}){return yield L(kt.lf,T)},*getPollsCourses({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Q9,T);return yield _e({type:"save",payload:{pollsCoursesList:Lt({},Ie)}}),Ie},*getPollsSetting({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Hi,T);return yield _e({type:"save",payload:{pollSetting:Lt({},Ie)}}),Ie},*editPolls({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Ye,T);return yield _e({type:"save",payload:{editData:Lt({},JSON.parse(JSON.stringify(Ie)))}}),Ie},*getEndGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.KE,T);return yield _e({type:"save",payload:{endGroups:Lt({},Ie)}}),Ie},*getPublishGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.ux,T);return yield _e({type:"save",payload:{publishGroups:Lt({},Ie)}}),Ie},*getExerciseBanks({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.kp,T);return yield _e({type:"save",payload:{exerciseBanks:Lt({},Ie)}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Lt({},T)}})}},reducers:{save(T,O){return Lt(Lt({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Qr=e(47546),Hr=Object.defineProperty,Bn=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,At=(T,O,L)=>O in T?Hr(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Yr=(T,O)=>{for(var L in O||(O={}))wn.call(O,L)&&At(T,L,O[L]);if(Bn)for(var L of Bn(O))Vn.call(O,L)&&At(T,L,O[L]);return T},Mi={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:T},{call:O,put:L}){var _e;const Ie=yield O(Qr.gp,T);return(_e=Ie==null?void 0:Ie.teacher_list)==null||_e.map(hn=>(hn.key=hn.course_member_id,hn)),yield L({type:"save",payload:{list:Ie}}),Ie},*getStudentsList({payload:T},{call:O,put:L}){var _e;const Ie=yield O(Qr.ur,T);return(_e=Ie==null?void 0:Ie.students)==null||_e.map(hn=>(hn.key=hn.user_id,hn)),yield L({type:"save",payload:{studentsList:Ie}}),Ie},*getApplyList({payload:T},{call:O,put:L}){const _e=yield O(Qr.s,T);return yield L({type:"save",payload:{applyList:_e}}),_e},*getAllCourseGroups({payload:T},{call:O,put:L}){const _e=yield O(Qr.xV,T);return yield L({type:"save",payload:{allCourseGroups:_e}}),_e},*getGraduationGroupList({payload:T},{call:O,put:L}){const _e=yield O(Qr.Bg,T);return yield L({type:"save",payload:{graduationGroupList:_e}}),_e},*setAllCourseGroups({payload:T},{call:O,put:L}){const _e=yield O(Qr.oZ,T);return yield L({type:"save",payload:{setAllCourseGroups:_e}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Yr({},T)}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(T,O){return Yr(Yr({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Et=e(11176),Xn=Object.defineProperty,si=Object.getOwnPropertySymbols,Ui=Object.prototype.hasOwnProperty,Ei=Object.prototype.propertyIsEnumerable,ji=(T,O,L)=>O in T?Xn(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,la=(T,O)=>{for(var L in O||(O={}))Ui.call(O,L)&&ji(T,L,O[L]);if(si)for(var L of si(O))Ei.call(O,L)&&ji(T,L,O[L]);return T},Di={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.BQ,T);return yield _e({type:"save",payload:{videoStatisticsList:la({},Ie)}}),Ie},*getNewVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.cU,T);return yield _e({type:"save",payload:{newVideoStatisticsList:la({},Ie)}}),Ie},*getVideoPeopleStatics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.Zx,T);return yield _e({type:"save",payload:{videoPeopleStatics:la({},Ie)}}),Ie},*getVideoDurationStatics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.Mz,T);return yield _e({type:"save",payload:{videoDurationStatics:la({},Ie)}}),Ie},*getVideoStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.ZY,T);return yield _e({type:"save",payload:{videoStatistics:la({},Ie)}}),Ie},*getOneVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.cU,T);return yield _e({type:"save",payload:{oneVideoStatisticsList:la({},Ie)}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:la({},T)}})},*getStudentVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.Vg,T);return yield _e({type:"save",payload:{StudentvideoStatistics:la({},Ie)}}),Ie}},reducers:{save(T,O){return la(la({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},di=e(33361),Hi=Object.defineProperty,Ta=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Gi=(T,O,L)=>O in T?Hi(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,_i=(T,O)=>{for(var L in O||(O={}))xt.call(O,L)&&Gi(T,L,O[L]);if(Ta)for(var L of Ta(O))xa.call(O,L)&&Gi(T,L,O[L]);return T},Ki={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:T,callback:O},{call:L,put:_e}){return yield L(di.cC,T)},*getGuides({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.Ax,T);return yield _e({type:"save",payload:{GuidesData:Ie}}),Ie},*getWorkSubmitUpdateRes({payload:T,callback:O},{call:L,put:_e}){return yield L(di.zF,T)},*getList({payload:T},{call:O,put:L}){const _e=T,Ie=yield O(di.bQ,T);return yield L({type:"save",payload:_i({listParams:_e},Ie)}),Ie},*getMemberWorks({payload:T},{call:O,put:L}){const _e=yield O(di.xx,T);return yield L({type:"save",payload:{MemberWorks:_e||{}}}),_e},*addApplytojoincourse({payload:T,callback:O},{call:L,put:_e}){return yield L(di.qS,T)},*competitionTeams({payload:T,callback:O},{call:L,put:_e}){return yield L(di.Pt,T)},*getStaff({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.Dh,T);return yield _e({type:"save",payload:{Staff:Ie}}),Ie},*getHeader({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.Pg,T);return yield _e({type:"save",payload:{Header:Ie}}),Ie},*getItem({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.rV,T);return yield _e({type:"save",payload:{RightItems:Ie}}),Ie},*updateMdContent({payload:T,callback:O},{call:L,put:_e}){return yield L(di.zj,T)},*getTeamList({payload:T,callback:O},{call:L,put:_e}){return yield L(di.aq,T)},*getTeamDetail({payload:T,callback:O},{call:L,put:_e}){return yield L(di.Ze,T)},*UpTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(di.yS,T)},*DeleteTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(di.ps,T)},*ExitTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(di.vV,T)},*AddTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(di.FU,T)},*AddPersonnel({payload:T,callback:O},{call:L,put:_e}){return yield L(di.R9,T)},*JoinTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(di.zc,T)},*getTeacher({payload:T,callback:O},{call:L,put:_e}){return yield L(di.jS,T)},*getStudents({payload:T,callback:O},{call:L,put:_e}){return yield L(di.sK,T)},*SubmitTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(di.rm,T)},*Reward({payload:T,callback:O},{call:L,put:_e}){return yield L(di.Qp,T)},*ChartRules({payload:T,callback:O},{call:L,put:_e}){return yield L(di.Ux,T)},*Charts({payload:T,callback:O},{call:L,put:_e}){return yield L(di.GQ,T)},*TabResults({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.ml,T);return yield _e({type:"save",payload:{TabResultList:Ie}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_i({},T)}})},*Results({payload:T,callback:O},{call:L,put:_e}){return yield L(di.u9,T)},*Prize({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.pU,T);return yield _e({type:"save",payload:{Prizes:Ie}}),Ie},*Accounts({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.XJ,T);return yield _e({type:"save",payload:{Account:Ie}}),Ie},*getVerification({payload:T,callback:O},{call:L,put:_e}){return yield L(di.Ni,T)},*PhoneBind({payload:T,callback:O},{call:L,put:_e}){return yield L(di.uZ,T)},*EmailBind({payload:T,callback:O},{call:L,put:_e}){return yield L(di.rk,T)},*Authentication({payload:T,callback:O},{call:L,put:_e}){return yield L(di.Vy,T)},*Professional({payload:T,callback:O},{call:L,put:_e}){return yield L(di.tC,T)},*setleader({payload:T,callback:O},{call:L,put:_e}){return yield L(di.tO,T)},*getShixun({payload:T,callback:O},{call:L,put:_e}){return yield L(di.qj,T)},*getCourse({payload:T,callback:O},{call:L,put:_e}){return yield L(di.XR,T)},*competition_teams({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.zz,T);return yield _e({type:"save",payload:{competition_team:Ie}}),Ie},*all_team_members({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(di.$P,T);return yield _e({type:"save",payload:{all_team_member:Ie}}),Ie}},reducers:{save(T,O){return _i(_i({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ti=e(64348),Zn=e(23184),or=Object.defineProperty,ut=Object.defineProperties,me=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,mr=(T,O,L)=>O in T?or(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ir=(T,O)=>{for(var L in O||(O={}))rt.call(O,L)&&mr(T,L,O[L]);if(dt)for(var L of dt(O))pr.call(O,L)&&mr(T,L,O[L]);return T},Gr=(T,O)=>ut(T,me(O)),Dr={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Zn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Zn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ir({},T)}})},*getMajorList({payload:T},{call:O,put:L,select:_e}){const{userInfo:Ie}=yield _e(hn=>hn.user);if(Ie!=null&&Ie.school_id){const hn=yield O(ti.BA,Ie.school_id);hn&&hn.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[0],value:hn.data.map(On=>({label:On.name,value:On.ec_major_school_id}))}}))}},*getYearList({payload:T},{call:O,put:L}){const _e=yield O(ti.Nx,T);_e&&_e.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[1],value:_e.data.map(Ie=>({label:Ie.year,value:Ie.ec_year_id}))}}))},*getCourseResultDetail({payload:T},{call:O,put:L}){console.log(T,"payload");const _e=yield O(ti.p1,T);_e&&_e.ec_course_target&&(yield L({type:"setEchartsData",payload:_e}))},*getCourseResultDetailClass({payload:T},{call:O,put:L}){const _e=yield O(ti.ff,T);_e&&_e.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[..._e.class_name]}}}))},*setClassActive({payload:T},{call:O,put:L}){yield L({type:"save",payload:{classDataSource:Ir({},T)}})}},reducers:{save(T,O){return Ir(Ir({},T),O.payload)},setMajorOrYearDataSource(T,{payload:O}){return Gr(Ir({},T),{headerData:Gr(Ir({},T.headerData),{dataSource:Gr(Ir({},T.headerData.dataSource),{[O.key]:Gr(Ir({},T.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(T,{payload:O}){return Gr(Ir({},T),{headerData:Gr(Ir({},T.headerData),{active:Gr(Ir({},T.headerData.active),{[O.key]:O.value})})})},setEchartsData(T,{payload:O}){let L={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},_e={name:O.course_name||"",xData:[],seriesData:[]},Ie={};return O.ec_course_target.forEach((hn,On)=>{hn.position=On+1,L=Gr(Ir({},L),{dataSource:{xData:[...L.dataSource.xData,On+1],yBarData:[...L.dataSource.yBarData,hn.actual_grade],yLineData:[...L.dataSource.yLineData,hn.standard_grade]}});let mn=[],Bi={min:[],max:[]},ds=[],$a=[],Yo=[];hn.student_data.detail.forEach((is,Po)=>{let $s=is.score;mn.push(Po+1),Bi.max.push($s>=hn.student_data.goal_score?$s:null),Bi.min.push($s>=hn.student_data.goal_score?null:$s),ds.push(is.name),$a.push(is.student_id),Yo.push(is.clazz)}),Ie[On+1]={name:On+1,average_score:hn.student_data.average_score,goal_score:hn.student_data.goal_score,xData:mn,yData:Bi,name_data:ds,student_ids:$a,class_data:Yo,goal_scoreData:new Array(hn.student_data.detail.length).fill(hn.student_data.goal_score),average_scoreData:new Array(hn.student_data.detail.length).fill(hn.student_data.average_score)}}),O.history.forEach(hn=>{_e=Gr(Ir({},_e),{xData:[..._e.xData,hn.year],seriesData:[..._e.seriesData,hn.total_score]})}),Gr(Ir({},T),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:L,lineData:_e,scatterData:Ie}})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Cn=Object.defineProperty,_r=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,$e=(T,O,L)=>O in T?Cn(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,lt=(T,O)=>{for(var L in O||(O={}))Nn.call(O,L)&&$e(T,L,O[L]);if(_r)for(var L of _r(O))qn.call(O,L)&&$e(T,L,O[L]);return T},sr={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:lt({},T)}})},*setShowMenu({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showMenu:T}})},*setMatrixVerify({payload:T},{call:O,put:L}){yield L({type:"save",payload:{matrixVerify:lt({},T)}})}},reducers:{save(T,O){return lt(lt({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},nr=e(65152),Lr=Object.defineProperty,$r=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,pn=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,bn=(T,O,L)=>O in T?Lr(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Kr=(T,O)=>{for(var L in O||(O={}))Ci.call(O,L)&&bn(T,L,O[L]);if(pn)for(var L of pn(O))ln.call(O,L)&&bn(T,L,O[L]);return T},Rn=(T,O)=>$r(T,Wr(O)),wa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Zn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Zn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Kr({},T)}})},*getMajorList({},{call:T,put:O,select:L}){const{userInfo:_e}=yield L(Ie=>Ie.user);if(_e!=null&&_e.school_id){const Ie=yield T(ti.BA,_e.school_id);if(Ie&&Ie.data){const hn=nr.U.getItem(_e==null?void 0:_e.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Zn.k[0],value:Ie.data.map(On=>({label:On.name,value:On.ec_major_school_id})),active:Ie.data.length>0?hn[0]||Ie.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(ti.Nx,T.id),{userInfo:hn}=yield _e(On=>On.user);if(Ie&&Ie.data){const On=nr.U.getItem(hn==null?void 0:hn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[1],value:Ie.data.map(mn=>({label:mn.year,value:mn.ec_year_id})),active:Ie.data.length>0?T.firstEnter?On[1]:Ie.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:T,put:O,select:L}){const{headerData:_e}=yield L(On=>On.engineeringNavigtion),{userInfo:Ie}=yield L(On=>On.user);let hn={};if(_e.active[Zn.k[1]]&&Ie.school_id){const On=[_e.active[Zn.k[0]],_e.active[Zn.k[1]]];nr.U.setItem(Ie==null?void 0:Ie.login,On);const mn=yield T(ti.bA,{ec_year_id:_e.active[Zn.k[1]],school_id:Ie.school_id});mn&&mn.data&&(hn=mn.data),yield O({type:"setTopPage",payload:hn})}},*putTopPageName({payload:T,callback:O},{call:L,put:_e}){try{const Ie=yield L(ti.ay,T);O(Ie)}catch(Ie){let hn="";Ie&&(hn=JSON.stringify(Ie),Ie.message&&(hn=Ie.message)),O({message:hn,status:999})}}},reducers:{save(T,O){return Kr(Kr({},T),O.payload)},setMajorOrYearDataSource(T,{payload:O}){let L=T.headerData.active;return O.active&&(L=Rn(Kr({},L),{[O.key]:O.active})),Rn(Kr({},T),{headerData:Rn(Kr({},T.headerData),{dataSource:Rn(Kr({},T.headerData.dataSource),{[O.key]:Rn(Kr({},T.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(T,{payload:O}){return Rn(Kr({},T),{headerData:Rn(Kr({},T.headerData),{active:Rn(Kr({},T.headerData.active),{[O.key]:O.value})})})},setTopPage(T,{payload:O}){return Rn(Kr({},T),{headerData:Rn(Kr({},T.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:Rn(Kr({},T.cardListData),{appraiseData:Rn(Kr({},T.cardListData.appraiseData),{norm:Rn(Kr({},T.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:T.cardListData.appraiseData.norm.listData.map(L=>Rn(Kr({},L),{value:O[L.key]||0}))}),course:Rn(Kr({},T.cardListData.appraiseData.course),{result:O.course_result,listData:T.cardListData.appraiseData.course.listData.map(L=>Rn(Kr({},L),{value:O[L.key]||0}))})}),teamData:{teach:Rn(Kr({},T.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:Rn(Kr({},T.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:T.totalListData.map(L=>Rn(Kr({},L),{value:O[L.key]||0}))})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Qs=Object.defineProperty,Ba=Object.defineProperties,zs=Object.getOwnPropertyDescriptors,Ns=Object.getOwnPropertySymbols,as=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Aa=(T,O,L)=>O in T?Qs(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ps=(T,O)=>{for(var L in O||(O={}))as.call(O,L)&&Aa(T,L,O[L]);if(Ns)for(var L of Ns(O))oo.call(O,L)&&Aa(T,L,O[L]);return T},ps=(T,O)=>Ba(T,zs(O)),Ji={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ps({},T)}})},*getGraduationResultDetail({payload:T},{call:O,put:L}){const _e=yield O(ti.gq,T);yield L({type:"save",payload:{dataSource:_e}})}},reducers:{save(T,O){return Ps(Ps({},T),O.payload)},setDataSource(T,{payload:O}){let L=O;return ps(Ps({},T),{dataSource:L})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},to=e(8591),Zo=Object.defineProperty,Na=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,pi=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,ss=(T,O,L)=>O in T?Zo(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Is=(T,O)=>{for(var L in O||(O={}))ro.call(O,L)&&ss(T,L,O[L]);if(pi)for(var L of pi(O))Ln.call(O,L)&&ss(T,L,O[L]);return T},Os=(T,O)=>Na(T,Zs(O)),qi=(T,O)=>{var L={};for(var _e in T)ro.call(T,_e)&&O.indexOf(_e)<0&&(L[_e]=T[_e]);if(T!=null&&pi)for(var _e of pi(T))O.indexOf(_e)<0&&Ln.call(T,_e)&&(L[_e]=T[_e]);return L},zi={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Zn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Zn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Is({},T)}})},*getMajorList({},{call:T,put:O,select:L}){const{userInfo:_e}=yield L(Ie=>Ie.user);if(_e!=null&&_e.school_id){const Ie=yield T(ti.BA,_e.school_id);if(Ie&&Ie.data){const hn=nr.U.getItem(_e==null?void 0:_e.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Zn.k[0],value:Ie.data.map(On=>({label:On.name,value:On.ec_major_school_id})),active:Ie.data.length>0?hn[0]||Ie.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(ti.Nx,T.id),{userInfo:hn}=yield _e(On=>On.user);if(Ie&&Ie.data){const On=nr.U.getItem(hn==null?void 0:hn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[1],value:Ie.data.map(mn=>({label:mn.year,value:mn.ec_year_id})),active:Ie.data.length>0?T.firstEnter?On[1]:Ie.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:T,put:O,select:L}){const{headerData:_e}=yield L(ds=>ds.engineeringNormList),{userInfo:Ie}=yield L(ds=>ds.user);let hn=[],On=[],mn="";const Bi=_e.active[Zn.k[1]];if(Bi){const ds=[_e.active[Zn.k[0]],_e.active[Zn.k[1]]];nr.U.setItem(Ie==null?void 0:Ie.login,ds);const $a=yield T(ti.eM,Bi);$a&&$a.graduation_requirements&&(mn=$a.all_goal_value||"",hn=$a.graduation_requirements.map(Yo=>{var is=Yo,{subitems:Po}=is,$s=qi(is,["subitems"]);return On.push($s.id),Os(Is({},$s),{children:Po})}))}yield O({type:"save",payload:{tabListData:hn,all_goal_value:mn,expandedRowKeys:On}})},*exportGraduation({},{call:T,select:O}){const{headerData:L}=yield O(_e=>_e.engineeringNormList);L.active[Zn.k[1]]&&(yield T(ti.OE,L.active[Zn.k[1]]))},*compute({payload:T},{call:O,put:L}){const _e=T,{all:Ie}=_e,hn=qi(_e,["all"]),On=yield O(Ie?ti.Qx:ti.Xl,hn);On&&On.status===0?(to.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):to.ZP.error(On.message)},*getFormulas({callback:T},{call:O,select:L}){const{headerData:_e}=yield L(Ie=>Ie.engineeringNormList);if(_e.active[Zn.k[1]]){const Ie=yield O(ti.mK,_e.active[Zn.k[1]]);T(Ie)}},*setFormulas({payload:T,callback:O},{call:L}){const _e=yield L(ti.y9,T);O(_e)},*putGoalValue({payload:T},{call:O,put:L}){const _e=yield O(ti.No,T);if(_e&&_e.status===0)to.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let Ie="\u4FDD\u5B58\u5931\u8D25";_e&&_e.message&&(Ie=_e.message),to.ZP.error(Ie)}}},reducers:{save(T,O){return Is(Is({},T),O.payload)},setMajorOrYearDataSource(T,{payload:O}){let L=T.headerData.active;return O.active&&(L=Os(Is({},L),{[O.key]:O.active})),Os(Is({},T),{headerData:Os(Is({},T.headerData),{dataSource:Os(Is({},T.headerData.dataSource),{[O.key]:Os(Is({},T.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(T,{payload:O}){return Os(Is({},T),{headerData:Os(Is({},T.headerData),{active:Os(Is({},T.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Ds=e(91697),xo=Object.defineProperty,Wo=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,vu=(T,O,L)=>O in T?xo(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,_o=(T,O)=>{for(var L in O||(O={}))Xo.call(O,L)&&vu(T,L,O[L]);if(Wo)for(var L of Wo(O))mu.call(O,L)&&vu(T,L,O[L]);return T},Oo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:T},{call:O,put:L}){const _e=yield O(Ds.Si,T);return yield L({type:"save",payload:{forumsDetailData:_o({},_e)}}),_e},*setForumsDetailData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{forumsDetailData:_o({},T)}})}},reducers:{save(T,O){return _o(_o({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},nu=Object.defineProperty,qo=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,Ja=(T,O,L)=>O in T?nu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ls=(T,O)=>{for(var L in O||(O={}))mi.call(O,L)&&Ja(T,L,O[L]);if(qo)for(var L of qo(O))gi.call(O,L)&&Ja(T,L,O[L]);return T},Ha={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:T},{call:O,put:L}){const _e=yield O(T.memoType==="shixun_discuss"?Ds.kd:Ds.bc,T);return delete T.memoType,yield L({type:"save",payload:{listParams:T,forumsData:ls({},_e)}}),_e}},reducers:{save(T,O){return ls(ls({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ms=e(19415),Qo=e(78323),ks=e(28209),Mo=e.n(ks),wu=Object.defineProperty,Iu=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Fo=(T,O,L)=>O in T?wu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,uo=(T,O)=>{for(var L in O||(O={}))rl.call(O,L)&&Fo(T,L,O[L]);if(Iu)for(var L of Iu(O))dl.call(O,L)&&Fo(T,L,O[L]);return T},Gu={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:T},{call:O,put:L}){var _e,Ie;const hn=yield O(ms.D2,T);Qo.Z.ONLYOFFICE=(_e=hn==null?void 0:hn.setting)==null?void 0:_e.office_server_url,Bo(hn);try{const Bi="5183666c72eec9e4",ds="5183666c72eec9e4";var On=Mo().enc.Utf8.parse(Bi);let $a=Mo().enc.Utf8.parse(ds);var mn=Mo().AES.decrypt(((Ie=hn==null?void 0:hn.setting)==null?void 0:Ie.user_default_password)||"",On,{iv:$a,mode:Mo().mode.CBC});hn.setting.user_default_password=mn.toString(Mo().enc.Utf8)}catch(Bi){}yield L({type:"save",payload:uo({},hn)})},*getSystemUpdate({payload:T},{call:O,put:L}){const _e=yield O(ms.n0,T);yield L({type:"save",payload:{updateData:uo({},_e)}})},*setTheme({payload:T},{call:O,put:L}){const _e=yield O(ms.n0,T);yield L({type:"save",payload:{theme:T||"default"}})},*setShareData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{shareData:T}})},*setGlobalLoading({payload:T},{call:O,put:L}){yield L({type:"save",payload:{globalLoading:uo({},T)}})},*delayTipToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showTip:T}})},*headerToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showHeader:T}})},*footerToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showFooter:T}})},*headerFooterToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFooter:T}})},*delayTipToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showTip:T}})},*headerFixedToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFixed:T}})},*onlyShowBackTopToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTop:T}})},*onlyShowBackTopIconToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:T}})},*setOperateModel({payload:T},{call:O,put:L}){yield L({type:"save",payload:{operateModel:T}})},*setOperateModelPath({payload:T},{call:O,put:L}){yield L({type:"save",payload:{operateModelPath:T}})},*setShowQuestionBackTop({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showQuestionBackTop:T}})},*setInfoData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{infoData:uo({},T)}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:uo({},T)}})}},reducers:{save(T,O){return uo(uo({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{})}}};const Bo=(T={})=>{var O,L,_e,Ie,hn;if(window.self!==window.top||!((O=T.setting)!=null&&O.tab_logo_url))return;const On=document.createElement("link"),mn=document.getElementById("dynamic-favicon");On.id="dynamic-favicon",On.rel="shortcut icon",On.href=(L=T.setting)!=null&&L.tab_logo_url?`${Qo.Z.IMG_SERVER}/${(_e=T.setting)==null?void 0:_e.tab_logo_url}`:"",mn&&document.head.removeChild(mn),document.head.appendChild(On);try{(Ie=T.setting)!=null&&Ie.main_site||(document.querySelector('meta[name="keywords"]').content=(hn=T.setting)==null?void 0:hn.name,document.querySelector('meta[name="description"]').remove())}catch(Bi){}};var $o=e(15039),Uu=Object.defineProperty,iu=Object.getOwnPropertySymbols,_u=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,gu=(T,O,L)=>O in T?Uu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ko=(T,O)=>{for(var L in O||(O={}))_u.call(O,L)&&gu(T,L,O[L]);if(iu)for(var L of iu(O))No.call(O,L)&&gu(T,L,O[L]);return T},yr={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:T},{call:O,put:L}){return yield O($o.Xh,T)},*getGraduationsFinalScore({payload:T},{call:O,put:L}){return yield O($o.H3,T)},*getDelGraduationsTasks({payload:T},{call:O,put:L}){return yield O($o.km,T)},*getGraduationsTasks({payload:T},{call:O,put:L}){const _e=yield O($o.Xw,T);yield L({type:"save",payload:{Tasks:_e}})},*getGraduationsTeachers({payload:T},{call:O,put:L}){var _e;const Ie=yield O($o.AA,T);return(_e=Ie==null?void 0:Ie.data)==null||_e.map(hn=>(hn.key=hn.id,hn)),yield L({type:"save",payload:{teachers:Ie}}),Ie},*getGraduationsStudents({payload:T},{call:O,put:L}){var _e;const Ie=yield O($o.eh,T);(_e=Ie==null?void 0:Ie.data)==null||_e.map(hn=>(hn.key=hn.id,hn)),yield L({type:"save",payload:{students:Ie}})},*getGraduationsNotices({payload:T},{call:O,put:L}){const _e=yield O($o.Rk,T);yield L({type:"save",payload:{Notices:_e}})},*getGraduationsInfo({payload:T},{call:O,put:L}){const _e=yield O($o.F7,T);yield L({type:"save",payload:{graduation:_e.graduation}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ko({},T)}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:T},{call:O,put:L}){const _e=yield O($o.Ou,T);yield L({type:"save",payload:{details:(_e==null?void 0:_e.graduation)||{},menus:(_e==null?void 0:_e.data)||[],forTask:(_e==null?void 0:_e.for_task)||[]}})}},reducers:{save(T,O){return Ko(Ko({},T),O.payload)}}},hr=e(59898),gr=Object.defineProperty,Tr=Object.defineProperties,xn=Object.getOwnPropertyDescriptors,Wn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,oi=(T,O,L)=>O in T?gr(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Jn=(T,O)=>{for(var L in O||(O={}))Mn.call(O,L)&&oi(T,L,O[L]);if(Wn)for(var L of Wn(O))Hn.call(O,L)&&oi(T,L,O[L]);return T},vr=(T,O)=>Tr(T,xn(O)),jr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:T},{call:O,put:L}){const _e=yield O(hr.Tt,{payload:T});yield L({type:"save",payload:vr(Jn({},_e),{isloading:!0})})},*query({payload:T},{call:O,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:T,callback:O},{call:L,put:_e}){return yield L(hr.LA,T)},*UploadNotice({payload:T,callback:O},{call:L,put:_e}){return yield L(hr.S_,T)}},reducers:{save(T,O){return Jn(Jn({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Tn=Object.defineProperty,In=Object.defineProperties,li=Object.getOwnPropertyDescriptors,Ai=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,ra=(T,O,L)=>O in T?Tn(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,yi=(T,O)=>{for(var L in O||(O={}))$n.call(O,L)&&ra(T,L,O[L]);if(Ai)for(var L of Ai(O))ta.call(O,L)&&ra(T,L,O[L]);return T},wt=(T,O)=>In(T,li(O)),Sa={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(T,O){return yi(yi({},T),O.payload)},openModal(T,O){return wt(yi({},T),{visibleModalName:O.payload})},closeModal(T){return wt(yi({},T),{visibleModalName:""})},openSimpleModal(T,O){return wt(yi({},T),{simpleModalProps:yi({visible:!0},O.payload)})},closeSimpleModal(T){return wt(yi({},T),{simpleModalProps:{visible:!1}})}}},Ra=e(57193),Ys=Object.defineProperty,sn=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,Rs=(T,O,L)=>O in T?Ys(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,no=(T,O)=>{for(var L in O||(O={}))Do.call(O,L)&&Rs(T,L,O[L]);if(sn)for(var L of sn(O))lo.call(O,L)&&Rs(T,L,O[L]);return T},io=(T,O,L)=>new Promise((_e,Ie)=>{var hn=Bi=>{try{mn(L.next(Bi))}catch(ds){Ie(ds)}},On=Bi=>{try{mn(L.throw(Bi))}catch(ds){Ie(ds)}},mn=Bi=>Bi.done?_e(Bi.value):Promise.resolve(Bi.value).then(hn,On);mn((L=L.apply(T,O)).next())});const ts=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/banner.json",{method:"get",params:no({},T)})}),cs=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:no({},T)})}),ja=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:no({},T)})}),os=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:no({},T)})}),Ye=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects.json",{method:"post",body:no({},T)})}),Pe=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:no({},T)})}),Bt=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:no({},T)})}),mt=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:no({},T)})});var Ar=Object.defineProperty,Br=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,fn=(T,O,L)=>O in T?Ar(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,An=(T,O)=>{for(var L in O||(O={}))Vr.call(O,L)&&fn(T,L,O[L]);if(Br)for(var L of Br(O))En.call(O,L)&&fn(T,L,O[L]);return T},ai={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:T},{call:O,put:L}){const{data:{adv:_e,top_banner:Ie}}=yield O(ts,T);yield L({type:"save",payload:{BannerList:Ie,Adv:_e}})},*getTopCategoryList({payload:T},{call:O,put:L}){const{data:{top_category_list:_e}}=yield O(cs,T);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},..._e]}})},*getHotList({payload:T},{call:O,put:L}){const{data:{hot_list:_e}}=yield O(ja,T);yield L({type:"save",payload:{HotList:_e}})},*getDiscountList({payload:T},{call:O,put:L}){const{data:{discount_list:_e}}=yield O(os,T);yield L({type:"save",payload:{DiscountList:_e}})},*getPaidSubjects({payload:T},{call:O,put:L}){const{data:_e}=yield O(Ye,T);yield L({type:"save",payload:{SubjectList:_e}})},*getTags({payload:T},{call:O,put:L}){const{data:{list:_e}}=yield O(Pe,T);yield L({type:"save",payload:{Tags:_e}})},*getUserComments({payload:T},{call:O,put:L}){const{data:{list:_e}}=yield O(Bt,T);yield L({type:"save",payload:{UserComments:_e}})},*getInfoShow({payload:T},{call:O,put:L}){const{data:_e}=yield O(mt,T);yield L({type:"save",payload:{InfoShow:_e}})}},reducers:{save(T,O){return An(An({},T),O.payload)}}},Fi={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},na=e(62889),$i=Object.defineProperty,Pi=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,vi=(T,O,L)=>O in T?$i(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,fa=(T,O)=>{for(var L in O||(O={}))Pa.call(O,L)&&vi(T,L,O[L]);if(Pi)for(var L of Pi(O))Ii.call(O,L)&&vi(T,L,O[L]);return T},Xs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:T},{call:O,put:L}){const _e=yield O(na.Ub,T);return yield L({type:"save",payload:{privateMessageDetails:_e||[]}}),_e},*getTidings({payload:T},{call:O,put:L}){const _e=yield O(na.AD,T);yield L({type:"save",payload:{tidingsList:_e||[]}})},*getPrivateMessages({payload:T},{call:O,put:L}){const _e=yield O(na.V8,T);return yield L({type:"save",payload:{privateMessage:_e||[]}}),_e},*getUsersForPrivateMessages({payload:T},{call:O,put:L}){const _e=yield O(na.QJ,T);return yield L({type:"save",payload:{userPrivateMessage:_e||[]}}),_e},*unreadMessageInfo({payload:T},{call:O,put:L}){const _e=yield O(na.Ig,T);yield L({type:"save",payload:{unreadInfo:_e||[]}})},*getRecentContacts({payload:T},{call:O,put:L}){const _e=yield O(na.Ko,T);return yield L({type:"save",payload:{recentContacts:_e||[]}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:fa({},T)}})}},reducers:{save(T,O){return fa(fa({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},ia=e(68875),fs=e(63949),ya=e(76936),vs=Object.defineProperty,La=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Ls=Object.getOwnPropertySymbols,ao=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable,pa=(T,O,L)=>O in T?vs(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ms=(T,O)=>{for(var L in O||(O={}))ao.call(O,L)&&pa(T,L,O[L]);if(Ls)for(var L of Ls(O))xs.call(O,L)&&pa(T,L,O[L]);return T},jo=(T,O)=>La(T,rs(O));const Js=(T,O)=>{var L,_e,Ie,hn,On,mn,Bi,ds,$a;if(!T)return;const{exam:Yo,single_questions:is,multiple_questions:Po,judgement_questions:$s,program_questions:tf,completion_questions:Jl,subjective_questions:Bc,practical_questions:rf,combination_questions:Qu,bprogram_questions:Ti}=T||{},Cl=[Ms({type:"SINGLE",question_type:0,name:((L=O==null?void 0:O.find(gs=>gs.value==ya.fw[0].nameType))==null?void 0:L.name)||ya.fw[0].name},is),Ms({type:"MULTIPLE",question_type:1,name:((_e=O==null?void 0:O.find(gs=>gs.value==ya.fw[1].nameType))==null?void 0:_e.name)||ya.fw[1].name},Po),Ms({type:"JUDGMENT",question_type:2,name:((Ie=O==null?void 0:O.find(gs=>gs.value==ya.fw[2].nameType))==null?void 0:Ie.name)||ya.fw[2].name},$s),Ms({type:"PROGRAM",question_type:6,name:((hn=O==null?void 0:O.find(gs=>gs.value==ya.fw[6].nameType))==null?void 0:hn.name)||ya.fw[6].name},tf),Ms({type:"COMPLETION",question_type:3,name:((On=O==null?void 0:O.find(gs=>gs.value==ya.fw[3].nameType))==null?void 0:On.name)||ya.fw[3].name},Jl),Ms({type:"SUBJECTIVE",question_type:4,name:((mn=O==null?void 0:O.find(gs=>gs.value==ya.fw[4].nameType))==null?void 0:mn.name)||ya.fw[4].name},Bc),Ms({type:"PRACTICAL",question_type:5,name:((Bi=O==null?void 0:O.find(gs=>gs.value==ya.fw[5].nameType))==null?void 0:Bi.name)||ya.fw[5].name},rf),Ms({type:"COMBINATION",question_type:7,name:((ds=O==null?void 0:O.find(gs=>gs.value==ya.fw[7].nameType))==null?void 0:ds.name)||ya.fw[7].name},Qu),Ms({type:"BPROGRAM",question_type:8,name:(($a=O==null?void 0:O.find(gs=>gs.value==ya.fw[8].nameType))==null?void 0:$a.name)||ya.fw[8].name},Ti)],Nc=[];if(T.sort_by_qustion_type)for(const gs of T.qustion_type_order_name_en)Nc.push(Cl.find(bl=>bl.type===gs));const vo=(T.sort_by_qustion_type?Nc:Cl).filter(gs=>(gs==null?void 0:gs.questions_count)>0).map((gs,bl)=>{var ec;return Ms(Ms({},gs),{number:(0,fs.EM)(bl+1),questions:(ec=gs==null?void 0:gs.questions)==null?void 0:ec.map(xl=>jo(Ms({},xl),{shixun:xl.examination_bank_shixun_challenges,question_type:gs.question_type}))})});return{exam:Yo,questionList:vo}};var Ga=e(41576),us=Object.defineProperty,co=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Dt=(T,O,L)=>O in T?us(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ia=(T,O)=>{for(var L in O||(O={}))Va.call(O,L)&&Dt(T,L,O[L]);if(co)for(var L of co(O))Vt.call(O,L)&&Dt(T,L,O[L]);return T},_n={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:T},{call:O,put:L}){return yield O(ia.a2,T)},*postCheckExaminationBanks({payload:T},{call:O,put:L}){return yield O(ia.q$,T)},*postPaperlibraryCopy({payload:T},{call:O,put:L}){return yield O(ia.ID,T)},*getDisciplines({payload:T},{call:O,put:L}){const _e=yield O(ia.d1,T);return yield L({type:"save",payload:{disciplinesData:Ia({},_e)}}),_e},*getCustomDisciplines({payload:T},{call:O,put:L}){const _e=yield O(ia.ar,T);return yield L({type:"save",payload:{disciplinesData:Ia({},_e)}}),_e},*getEditDisciplines({payload:T},{call:O,put:L}){const _e=yield O(ia.d1,T),Ie=_e==null?void 0:_e.disciplines,hn=(0,Ga.L)(Ie);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:Ia({},_e)}}),_e},*getTeachGroupData({payload:T},{call:O,put:L}){const _e=yield O(ia.Dm,T);return yield L({type:"save",payload:{teachGroupData:Ia({},_e)}}),_e},*getPaperData({payload:T},{call:O,put:L}){const _e=yield O(ia.iT,T),Ie=yield O(ia.cV,T),hn=Js(_e,Ie.data);return yield L({type:"save",payload:{paperData:hn}}),_e},*getPaperlibraryList({payload:T},{call:O,put:L}){return yield O(ia.Gd,T)},*setPublic({payload:T},{call:O,put:L}){return yield O(ia.DF,T)},*handleDelete({payload:T},{call:O,put:L}){return yield O(ia.fn,T)},*getCourseList({payload:T},{call:O,put:L}){return yield O(ia.tS,T)},*postBatchSendToCourse({payload:T},{call:O,put:L}){return yield O(ia.lc,T)},*sendToClass({payload:T},{call:O,put:L}){return yield O(ia.kp,T)},*adjustPosition({payload:T},{call:O,put:L}){return yield O(ia.qN,T)},*setScore({payload:T},{call:O,put:L}){return yield O(ia.ts,T)},*handleDeleteEditQuestion({payload:T},{call:O,put:L}){return yield O(ia.NC,T)},*batchSetScore({payload:T},{call:O,put:L}){return yield O(ia.YP,T)},*batchDelete({payload:T},{call:O,put:L}){return yield O(ia.Hm,T)},*updatePaper({payload:T},{call:O,put:L}){return yield O(ia.jK,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ia({},T)}})}},reducers:{save(T,O){return Ia(Ia({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Sn=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,Mr=(T,O,L)=>O in T?Sn(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Jr=(T,O)=>{for(var L in O||(O={}))Nt.call(O,L)&&Mr(T,L,O[L]);if(Ze)for(var L of Ze(O))Sr.call(O,L)&&Mr(T,L,O[L]);return T},Qi={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ia.Dq,T);return yield _e({type:"save",payload:{exerciseExportHeadData:Jr({},Ie)}}),Ie},*editExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ia.Di,T);return yield _e({type:"save",payload:{editData:Jr({},Ie)}}),Ie},*getTagDiscipline({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.YY,T);return yield _e({type:"save",payload:{tagDisciplineData:Jr({},Ie)}}),Ie},*editExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(ia.oF,T)},*addExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(ia.oF,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Jr({},T)}})}},reducers:{save(T,O){return Jr(Jr({},T),O.payload)},modifyTitle(T,O){const L=(0,Ge.cloneDeep)(T);return L.editData.exercise.exercise_name=O.payload,L}},subscriptions:{setup({dispatch:T,history:O}){}}},ci=e(53283),Eo=Object.defineProperty,da=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable,ws=(T,O,L)=>O in T?Eo(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,go=(T,O)=>{for(var L in O||(O={}))ns.call(O,L)&&ws(T,L,O[L]);if(da)for(var L of da(O))qa.call(O,L)&&ws(T,L,O[L]);return T},yu={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:T},{call:O,put:L}){const _e=yield O(ci.Ax,T);yield L({type:"save",payload:{discusses:go({},_e)}})},*getPathsDetail({payload:T},{call:O,put:L}){const _e=yield O(ci.lk,T);return yield L({type:"save",payload:{detail:go({},_e)}}),_e},*getCourseDetail({payload:T},{call:O,put:L}){const _e=yield O(ci.Sp,T);return yield L({type:"save",payload:{detail:go({},_e)}}),_e},*getRightData({payload:T},{call:O,put:L}){const _e=yield O(ci.AQ,T);yield L({type:"save",payload:{rightData:go({},_e)}})},*getCoureses({payload:T},{call:O,put:L}){const _e=yield O(ci.ue,T);yield L({type:"save",payload:{Courses:go({},_e)}})},*getStageChildrenData({payload:T},{call:O,put:L}){const _e=yield O(ci.w4,T);return yield L({type:"save",payload:{StageChildrenData:_e}}),_e},*getStageData({payload:T},{call:O,put:L}){var _e,Ie,hn;let On=null;return T!=null&&T.show_course_section?On=yield O(ci.yN,T):On=yield O(ci.p,T),yield L({type:"save",payload:{stageData:((_e=On==null?void 0:On.data)==null?void 0:_e.stages)||(On==null?void 0:On.stages)||[],isShowSchedule:((Ie=On==null?void 0:On.data)==null?void 0:Ie.is_show_schedule)||(On==null?void 0:On.is_show_schedule)||!1}}),(hn=On==null?void 0:On.data)==null?void 0:hn.stages},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:go({},T)}})}},reducers:{save(T,O){return go(go({},T),O.payload)}}},Ke=Object.defineProperty,W=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,he=(T,O,L)=>O in T?Ke(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,we=(T,O)=>{for(var L in O||(O={}))Y.call(O,L)&&he(T,L,O[L]);if(W)for(var L of W(O))te.call(O,L)&&he(T,L,O[L]);return T},St={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:T},{call:O,put:L}){const _e=T,Ie=yield O(ci.tS,T);return yield L({type:"save",payload:we({listParams:_e},Ie)}),Ie},*getMenus({payload:T},{call:O,put:L}){const _e=yield O(ci.fh,T);yield L({type:"save",payload:{menus:_e}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:we({},T)}})},*clearListParams({payload:T},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(T,O){return we(we({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},zt=Object.defineProperty,fr=Object.getOwnPropertySymbols,Pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,dn=(T,O,L)=>O in T?zt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Pn=(T,O)=>{for(var L in O||(O={}))Pr.call(O,L)&&dn(T,L,O[L]);if(fr)for(var L of fr(O))Xr.call(O,L)&&dn(T,L,O[L]);return T},ei={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:T},{call:O,put:L}){return yield O(ci.tu,T)},*submitCourse({payload:T},{call:O,put:L}){return yield O(ci.pU,T)},*getEditCourseData({payload:T},{call:O,put:L}){return yield O(ci.mQ,T)},*getSchoolOption({payload:T},{call:O,put:L}){return yield O(ci.GY,T)},*appplySchool({payload:T},{call:O,put:L}){return yield O(ci.bz,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Pn({},T)}})}},reducers:{save(T,O){return Pn(Pn({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ki=Object.defineProperty,Ni=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,Cs=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,js=(T,O,L)=>O in T?ki(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,_s=(T,O)=>{for(var L in O||(O={}))Cs.call(O,L)&&js(T,L,O[L]);if(ba)for(var L of ba(O))Fs.call(O,L)&&js(T,L,O[L]);return T},Oa=(T,O)=>Ni(T,aa(O)),Es={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:T},{call:O,put:L}){const _e=yield O(ci.nq,T);yield L({type:"save",payload:{SubjectUseInfos:_e}})},*getRankList({payload:T},{call:O,put:L}){const _e=yield O(ci.Fg,T);yield L({type:"save",payload:{RankList:Oa(_s({},_e),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_list)||[]]})}})},*getStatisticsBody({payload:T},{call:O,put:L}){const _e=yield O(ci.Gz,T);yield L({type:"save",payload:{SBody:_e}})},*getOnlineCount({payload:T},{call:O,put:L}){const _e=yield O(ci.hS,T);yield L({type:"save",payload:{OnlineCount:_e==null?void 0:_e.data}})},*getStatisticsHeader({payload:T},{call:O,put:L}){const _e=yield O(ci.Hl,T);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(T,O){return _s(_s({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},xr=e(55301),ko=Object.defineProperty,Uo=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Jo=(T,O,L)=>O in T?ko(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,yo=(T,O)=>{for(var L in O||(O={}))Su.call(O,L)&&Jo(T,L,O[L]);if(Uo)for(var L of Uo(O))Hs.call(O,L)&&Jo(T,L,O[L]);return T},El={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:T},{call:O,put:L}){const _e=yield O(xr.ex,T);return yield L({type:"save",payload:{groupfolderList:_e}}),_e},*getDisciplines({payload:T},{call:O,put:L}){const _e=yield O(xr.d1,T);return yield L({type:"save",payload:{disciplinesData:yo({},_e)}}),_e},*getEditDisciplines({payload:T},{call:O,put:L}){const _e=yield O(xr.d1,T),Ie=_e==null?void 0:_e.disciplines,hn=(0,Ga.L)(Ie);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:yo({},_e)}}),_e},*getBasketList({payload:T},{call:O,put:L}){const _e=yield O(xr.Qj,T);return yield L({type:"save",payload:{basketData:yo({},_e)}}),_e},*getTeachGroupData({payload:T},{call:O,put:L}){const _e=yield O(xr.Dm,T);return yield L({type:"save",payload:{teachGroupData:yo({},_e)}}),_e},*getEditData({payload:T},{call:O,put:L}){const _e=yield O(xr.FG,T);return yield L({type:"save",payload:{editData:yo({},_e)}}),_e},*getEditDataBprogram({payload:T},{call:O,put:L}){const _e=yield O(xr.Bo,T);return yield L({type:"save",payload:{editData:yo({},_e)}}),_e},*getGroupData({payload:T},{call:O,put:L}){const _e=yield O(xr.hI,T);return yield L({type:"save",payload:{groupData:yo({},_e)}}),_e},*getItemBanks({payload:T},{call:O,put:L}){const _e=yield O(xr.Of,T);return yield L({type:"save",payload:{itemBanks:yo({},_e)}}),_e},*setPrivate({payload:T},{call:O,put:L}){return yield O(xr.Pl,T)},*revokePublish({payload:T},{call:O,put:L}){return yield O(xr.IJ,T)},*setPublic({payload:T},{call:O,put:L}){return yield O(xr.DF,T)},*handleDelete({payload:T},{call:O,put:L}){return yield O(xr.fn,T)},*startExperience({payload:T},{call:O,put:L}){return yield O(xr.Bd,T)},*cancel({payload:T},{call:O,put:L}){return yield O(xr.al,T)},*select({payload:T},{call:O,put:L}){return yield O(xr.Ys,T)},*examUnselectAll({payload:T},{call:O,put:L}){return yield O(xr.rV,T)},*basketDelete({payload:T},{call:O,put:L}){return yield O(xr.x5,T)},*unselectAll({payload:T},{call:O,put:L}){return yield O(xr.HF,T)},*addKnowledge({payload:T},{call:O,put:L}){return yield O(xr.U6,T)},*editProblemset({payload:T},{call:O,put:L}){return yield O(xr.Wk,T)},*addProblemset({payload:T},{call:O,put:L}){return yield O(xr.Mr,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:yo({},T)}})}},reducers:{save(T,O){return yo(yo({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Sl=Object.defineProperty,nl=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,Ku=(T,O,L)=>O in T?Sl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ro=(T,O)=>{for(var L in O||(O={}))Gs.call(O,L)&&Ku(T,L,O[L]);if(nl)for(var L of nl(O))$u.call(O,L)&&Ku(T,L,O[L]);return T},Zl={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:T},{call:O,put:L}){const _e=yield O(xr.iT,T),Ie=(0,Ga.r)(_e);return yield L({type:"save",payload:{paperData:Ie}}),_e},*getEditDisciplines({payload:T},{call:O,put:L}){const _e=yield O(xr.d1,T),Ie=_e==null?void 0:_e.disciplines,hn=(0,Ga.L)(Ie);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:Ro({},_e)}}),_e},*setScore({payload:T},{call:O,put:L}){return yield O(xr.ts,T)},*handleDelete({payload:T},{call:O,put:L}){return yield O(xr.Cn,T)},*batchSetScore({payload:T},{call:O,put:L}){return yield O(xr.YP,T)},*batchDelete({payload:T},{call:O,put:L}){return yield O(xr.Hm,T)},*adjustPosition({payload:T},{call:O,put:L}){return yield O(xr.qN,T)},*newPreviewProblemset({payload:T},{call:O,put:L}){return yield O(xr.et,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ro({},T)}})}},reducers:{save(T,O){return Ro(Ro({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},bu=e(43126),Wl=Object.defineProperty,So=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Hl=(T,O,L)=>O in T?Wl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,tu=(T,O)=>{for(var L in O||(O={}))au.call(O,L)&&Hl(T,L,O[L]);if(So)for(var L of So(O))hl.call(O,L)&&Hl(T,L,O[L]);return T},$l={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:T},{call:O,put:L}){const _e=yield O(bu.Go,T);return yield L({type:"save",payload:{restful:tu({},_e)}}),_e},*getRestfulDetail({payload:T},{call:O,put:L}){const _e=yield O(bu.H5,T);return yield L({type:"save",payload:{restfulDetail:tu({},(_e==null?void 0:_e.data)||{})}}),(_e==null?void 0:_e.data)||{}},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:tu({},T)}})}},reducers:{save(T,O){return tu(tu({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},fi=e(86342);const uc=(T={})=>{var O,L,_e,Ie,hn,On;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=T==null?void 0:T.content_info)==null?void 0:O.status,username:(L=T==null?void 0:T.content_info)==null?void 0:L.username,time:(_e=T==null?void 0:T.content_info)==null?void 0:_e.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Ie=T==null?void 0:T.perference_info)==null?void 0:Ie.status,username:(hn=T==null?void 0:T.perference_info)==null?void 0:hn.username,time:(On=T==null?void 0:T.perference_info)==null?void 0:On.time}]};var ho=Object.defineProperty,Gc=Object.defineProperties,zu=Object.getOwnPropertyDescriptors,pl=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,$c=(T,O,L)=>O in T?ho(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ao=(T,O)=>{for(var L in O||(O={}))il.call(O,L)&&$c(T,L,O[L]);if(pl)for(var L of pl(O))Ac.call(O,L)&&$c(T,L,O[L]);return T},Kc=(T,O)=>Gc(T,zu(O)),lc={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:T},{call:O,put:L}){const _e=yield O(fi.Po,T);return yield L({type:"save",payload:{detail:Ao({},_e)}}),_e},*getMirrorApplies({payload:T},{call:O,put:L}){const _e=yield O(fi.tX,T);return yield L({type:"save",payload:{mirrorApplies:Ao({},(_e==null?void 0:_e.data)||{})}}),_e},*getRightData({payload:T},{call:O,put:L}){const _e=yield O(fi.AQ,T);yield L({type:"save",payload:{rightData:Ao({},_e)}})},*getChallengesData({payload:T},{call:O,put:L}){const _e=yield O(fi.n5,T);yield L({type:"save",payload:{challenges:Ao({},_e)}})},*saveCopyForExercise({payload:T},{call:O,put:L}){return yield O(fi.FB,T)},*execJupyter({payload:T},{call:O,put:L}){return yield O(fi.BK,T)},*execShixun({payload:T},{call:O,put:L}){const _e=yield O(fi.Ir,T);return(_e==null?void 0:_e.status)===-3&&(0,fs.eF)(),_e},*openChallenge({payload:T},{call:O,put:L}){return yield O(fi.dK,T)},*challengeMoveUp({payload:T},{call:O,put:L}){return yield O(fi.zD,T)},*challengeMoveDown({payload:T},{call:O,put:L}){return yield O(fi.hn,T)},*cancelCollect({payload:T},{call:O,put:L}){return yield O(fi.rs,T)},*collect({payload:T},{call:O,put:L}){return yield O(fi.KM,T)},*searchUserCourses({payload:T},{call:O,put:L}){return yield O(fi._7,T)},*sendToCourse({payload:T},{call:O,put:L}){return yield O(fi.Q,T)},*cancelRelease({payload:T},{call:O,put:L}){return yield O(fi.Ne,T)},*cancelPublic({payload:T},{call:O,put:L}){return yield O(fi.Er,T)},*applyPublic({payload:T},{call:O,put:L}){return yield O(fi.WO,T)},*release({payload:T},{call:O,put:L}){return yield O(fi.Ar,T)},*updateAuditSituation({payload:T},{call:O,put:L}){return yield O(fi.LP,T)},*getCollaboratorsData({payload:T},{call:O,put:L}){return yield O(fi.j8,T)},*addCollaborator({payload:T},{call:O,put:L}){return yield O(fi.OV,T)},*addTeachGroupMember({payload:T},{call:O,put:L}){return yield O(fi.l3,T)},*getChangeManager({payload:T},{call:O,put:L}){return yield O(fi.P2,T)},*changeManager({payload:T},{call:O,put:L}){return yield O(fi.X$,T)},*deleteCollaborators({payload:T},{call:O,put:L}){return yield O(fi.xk,T)},*getRankingList({payload:T},{call:O,put:L}){return yield O(fi.E4,T)},*getMirrorScript({payload:T},{call:O,put:L}){return yield O(fi.Z2,T)},*getScriptContent({payload:T},{call:O,put:L}){return yield O(fi.Bj,T)},*getCustomScript({payload:T},{call:O,put:L}){return yield O(fi.Wi,T)},*updateSettingBasicInfo({payload:T},{call:O,put:L}){return yield O(fi.ZO,T)},*getShixunQuote({payload:T},{call:O,put:L}){return yield O(fi.Gr,T)},*deleteShixun({payload:T},{call:O,put:L}){return yield O(fi.Ps,T)},*permanentClose({payload:T},{call:O,put:L}){return yield O(fi.U9,T)},*getDepartments({payload:T},{call:O,put:L}){return yield O(fi.Ql,T)},*updatePermissionSetting({payload:T},{call:O,put:L}){return yield O(fi.aH,T)},*updateLearnSetting({payload:T},{call:O,put:L}){return yield O(fi.yE,T)},*updateSetting({payload:T},{call:O,put:L}){return yield O(fi.m7,T)},*getSetData({payload:T},{call:O,put:L}){return yield O(fi.U0,T)},*deleteDataSet({payload:T},{call:O,put:L}){return yield O(fi.uo,T)},*deleteGitFile({payload:T},{call:O,put:L}){return yield O(fi.sr,T)},*deleteGitFiles({payload:T},{call:O,put:L}){return yield O(fi.p0,T)},*moveGitFile({payload:T},{call:O,put:L}){return yield O(fi.IT,T)},*moveGitFiles({payload:T},{call:O,put:L}){return yield O(fi.t2,T)},*getRepository({payload:T},{call:O,put:L}){const _e=yield O(fi.Ag,T);return yield L({type:"save",payload:{repository:Ao({},_e)}}),Ao({},_e)},*getRepositorys({payload:T},{call:O,put:L}){const _e=yield O(fi.Wl,T);return yield L({type:"save",payload:{repository:Ao({},_e)}}),Ao({},_e)},*getRepositorys({payload:T},{call:O,put:L}){const _e=yield O(fi.Wl,T);return yield L({type:"save",payload:{repository:Ao({},_e)}}),Ao({},_e)},*getSecretRepository({payload:T},{call:O,put:L}){const _e=yield O(fi.w,T);return yield L({type:"save",payload:{secretRepository:Ao({},_e)}}),_e},*addRepositoryFile({payload:T},{call:O,put:L}){return yield O(fi.v3,T)},*addRepositoryFiles({payload:T},{call:O,put:L}){return yield O(fi.fL,T)},*getRepositoryCommit({payload:T},{call:O,put:L}){return yield O(fi.Je,T)},*getFileContent({payload:T},{call:O,put:L}){const _e=yield O(fi.LK,T);return yield L({type:"save",payload:{fileContent:Kc(Ao({},_e),{params:T})}}),_e},*getFileContents({payload:T},{call:O,put:L}){const _e=yield O(fi.nu,T);return yield L({type:"save",payload:{fileContent:Kc(Ao({},_e),{params:T})}}),_e},*updateRepositoryFile({payload:T},{call:O,put:L}){return yield O(fi.kF,T)},*updateRepositoryFiles({payload:T},{call:O,put:L}){return yield O(fi.jq,T)},*uploadGitFolder({payload:T},{call:O,put:L}){return yield O(fi.Op,T)},*updateCollaboratorEditable({payload:T},{call:O,put:L}){return yield O(fi.Dz,T)},*getSettingsData({payload:T},{call:O,put:L}){const _e=yield O(fi.DC,T);yield L({type:"save",payload:{setting:Ao({},_e)}})},*getChallengesNew({payload:T},{call:O,put:L}){const _e=yield O(fi.km,T);yield L({type:"save",payload:{challengesNew:Ao({},_e)}})},*getChallengesEdit({payload:T},{call:O,put:L}){const _e=yield O(fi.q0,T);return yield L({type:"save",payload:{challengesEdit:Ao({},_e)}}),_e},*getAuditSituationData({payload:T},{call:O,put:L}){const _e=yield O(fi.GI,T),Ie=uc(_e);yield L({type:"save",payload:{auditSituationData:Ie}})},*getEditChallengesQuestion({payload:T},{call:O,put:L}){const _e=yield O(fi.UQ,T);return yield L({type:"save",payload:{editChallengesQuestion:_e}}),_e},*getInfoWithJupyterLab({payload:T},{call:O,put:L}){const _e=yield O(fi.mI,T);return yield L({type:"save",payload:{infoWithJupyterLab:_e}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ao({},T)}})}},reducers:{save(T,O){return console.log("reducers:",T,O),Ao(Ao({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Dl=Object.defineProperty,Vc=Object.getOwnPropertySymbols,kl=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,Vl=(T,O,L)=>O in T?Dl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,mo=(T,O)=>{for(var L in O||(O={}))kl.call(O,L)&&Vl(T,L,O[L]);if(Vc)for(var L of Vc(O))Ou.call(O,L)&&Vl(T,L,O[L]);return T},fu={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:T},{call:O,put:L}){const _e=yield O(fi.he,T),Ie=mo({},T);return yield L({type:"save",payload:mo({listParams:Ie},_e)}),_e},*getMenus({payload:T},{call:O,put:L}){var _e;const Ie=yield O(fi.I_,T);(_e=Ie==null?void 0:Ie.disciplines)==null||_e.map(hn=>(hn.sub_repertoires=hn.sub_disciplines,hn)),yield L({type:"save",payload:{menus:[...(Ie==null?void 0:Ie.disciplines)||[]]}})},*clearListParams({payload:T},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(T,O){return mo(mo({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Yl=Object.defineProperty,Al=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,du=Object.prototype.propertyIsEnumerable,pf=(T,O,L)=>O in T?Yl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Du=(T,O)=>{for(var L in O||(O={}))Zu.call(O,L)&&pf(T,L,O[L]);if(Al)for(var L of Al(O))du.call(O,L)&&pf(T,L,O[L]);return T},Vu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:T},{call:O,put:L}){const _e=yield O(fi.b8,T);return yield L({type:"save",payload:{newData:Du({},_e)}}),_e},*deleteAttachment({payload:T},{call:O,put:L}){return yield O(fi.OW,T)},*applyShixunMirror({payload:T},{call:O,put:L}){return yield O(fi.EH,T)},*submitShixuns({payload:T},{call:O,put:L}){return yield O(fi.eX,T)},*getShixunsJupyterLab({payload:T},{call:O,put:L}){const _e=yield O(fi.Gu,T);return yield L({type:"save",payload:{newData:Du({},_e)}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Du({},T)}})},*getEnvironmentData({payload:T},{call:O,put:L}){const _e=yield O(fi.K,T);return console.log(_e,"response"),yield L({type:"save",payload:{environmentData:Du({},_e.data)}}),_e}},reducers:{save(T,O){return Du(Du({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Cc=Object.defineProperty,Rl=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,mf=Object.prototype.propertyIsEnumerable,Yc=(T,O,L)=>O in T?Cc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ml=(T,O)=>{for(var L in O||(O={}))Ca.call(O,L)&&Yc(T,L,O[L]);if(Rl)for(var L of Rl(O))mf.call(O,L)&&Yc(T,L,O[L]);return T},Df={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:T},{call:O,put:L}){const _e=yield O(fi.e,T);yield L({type:"save",payload:{ShixunUseInfos:_e}})},*getRankList({payload:T},{call:O,put:L}){const _e=yield O(fi.Fg,T);yield L({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(_e==null?void 0:_e.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(_e==null?void 0:_e.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(_e==null?void 0:_e.quote_list)||[]]}}})},*getStatisticsBody({payload:T},{call:O,put:L}){const _e=yield O(fi.Gz,T);yield L({type:"save",payload:{SBody:_e}})},*getOnlineCount({payload:T},{call:O,put:L}){const _e=yield O(fi.hS,T);yield L({type:"save",payload:{OnlineCount:_e==null?void 0:_e.data}})},*getStatisticsHeader({payload:T},{call:O,put:L}){const _e=yield O(fi.Hl,T);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(T,O){return ml(ml({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Tc=(T,O,L)=>new Promise((_e,Ie)=>{var hn=Bi=>{try{mn(L.next(Bi))}catch(ds){Ie(ds)}},On=Bi=>{try{mn(L.throw(Bi))}catch(ds){Ie(ds)}},mn=Bi=>Bi.done?_e(Bi.value):Promise.resolve(Bi.value).then(hn,On);mn((L=L.apply(T,O)).next())});function ku(T){return Tc(this,null,function*(){return(0,Ra.ZP)("/api/shixuns/new.json",{method:"Get",params:T})})}function vf(T){return Tc(this,null,function*(){return(0,Ra.ZP)(`/api/shixuns/${T.id}/required_status.json`,{method:"Get",params:{}})})}var Pc=Object.defineProperty,Xl=Object.defineProperties,_f=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,Oc=(T,O,L)=>O in T?Pc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,_l=(T,O)=>{for(var L in O||(O={}))Ru.call(O,L)&&Oc(T,L,O[L]);if(Ic)for(var L of Ic(O))vl.call(O,L)&&Oc(T,L,O[L]);return T},qc=(T,O)=>Xl(T,_f(O)),cc={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:T},{call:O,put:L}){yield L({type:"save",payload:_l({},T)})},*getTestData({payload:T},{call:O,put:L}){const _e=yield O(ku,T);yield L({type:"save",payload:{data:_e}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:T},{call:O,put:L}){const _e=yield O(vf,T);yield L({type:"save",payload:_l({},_e.data)})},*setSideBarTabs({payload:T},{call:O,put:L}){yield L({type:"sideBar",payload:_l({},T)})}},reducers:{save(T,O){return _l(_l({},T),O.payload)},sideBar(T,O){return qc(_l({},T),{sideBar:_l(_l({},T.sideBar),O.payload)})}},subscriptions:{setup({dispatch:T,history:O}){}}},Co=e(67670),Dc=Object.defineProperty,Qc=Object.getOwnPropertySymbols,gl=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable,To=(T,O,L)=>O in T?Dc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ll=(T,O)=>{for(var L in O||(O={}))gl.call(O,L)&&To(T,L,O[L]);if(Qc)for(var L of Qc(O))Wu.call(O,L)&&To(T,L,O[L]);return T},kc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:T},{call:O,put:L}){const _e=yield O(Co.JJ,T);return yield L({type:"save",payload:{homeworkBanksDetail:Ll({},_e)}}),_e},*getSystemUpdate({payload:T},{call:O,put:L}){const _e=yield O(Co.n0,T);return yield L({type:"save",payload:{systemUpdate:Ll({},_e)}}),_e},*getHomepageInfo({payload:T},{call:O,put:L}){const _e=yield O(Co.DA,T);return yield L({type:"save",payload:{homepageInfo:Ll({},_e)}}),_e},*signed({payload:T},{call:O,put:L}){return yield O(Co.qN,T)},*getCourses({payload:T},{call:O,put:L}){return yield O(Co.Ho,T)},*getShixuns({payload:T},{call:O,put:L}){return yield O(Co.rV,T)},*getPaths({payload:T},{call:O,put:L}){return yield O(Co.w3,T)},*getProjects({payload:T},{call:O,put:L}){return yield O(Co.mW,T)},*getVideos({payload:T},{call:O,put:L}){return yield O(Co.WY,T)},*getReviewVideos({payload:T},{call:O,put:L}){return yield O(Co.Qx,T)},*deleteVideo({payload:T},{call:O,put:L}){return yield O(Co.FM,T)},*getQuestionBanks({payload:T},{call:O,put:L}){return yield O(Co.ai,T)},*topicsSetPublic({payload:T},{call:O,put:L}){return yield O(Co.Cx,T)},*topicsDelete({payload:T},{call:O,put:L}){return yield O(Co.WS,T)},*topicGetCourseList({payload:T},{call:O,put:L}){return yield O(Co.gI,T)},*topicSendToClass({payload:T},{call:O,put:L}){return T.object_type==="videos"?yield O(Co.Fn,T):yield O(Co.Ef,T)},*logWatchHistory({payload:T},{call:O,put:L}){const _e=yield O(Co.lO,T);return _e==null?void 0:_e.log_id},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ll({},T)}})}},reducers:{save(T,O){return Ll(Ll({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Yu=Object.defineProperty,qs=Object.getOwnPropertySymbols,bo=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Ne=(T,O,L)=>O in T?Yu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Xu=(T,O)=>{for(var L in O||(O={}))bo.call(O,L)&&Ne(T,L,O[L]);if(qs)for(var L of qs(O))Lu.call(O,L)&&Ne(T,L,O[L]);return T},Au=(T,O)=>{var L={};for(var _e in T)bo.call(T,_e)&&O.indexOf(_e)<0&&(L[_e]=T[_e]);if(T!=null&&qs)for(var _e of qs(T))O.indexOf(_e)<0&&Lu.call(T,_e)&&(L[_e]=T[_e]);return L},hu={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:T},{call:O,put:L}){const _e=T,{to:Ie}=_e,hn=Au(_e,["to"]);if(!(yield O(Co.Es,hn)).status)try{Ie?f.history.replace(Ie):location.reload()}catch(mn){}},*showPopLogin({payload:T},{put:O}){yield O({type:"save",payload:{showPopLogin:T.showPopLogin,showClosable:T.showClosable}})},*setBindAccountModal({payload:T},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:T.bindAccountModalVisible,userInfoForBindAccountModal:T.userInfoForBindAccountModal,loginInfo:T.loginInfo}})},*getUserInfo({payload:T},{call:O,put:L}){const _e=yield O(Co.bG,Xu({},T));return localStorage.userInfo=JSON.stringify(_e),yield L({type:"save",payload:{userInfo:Xu({},_e)}}),_e},*getNavigationInfo({payload:T},{call:O,put:L}){const _e=yield O(Co.x4,Xu({},T));yield L({type:"save",payload:{navigationInfo:Xu({},_e)}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Xu({},T)}})}},reducers:{save(T,O){return Xu(Xu({},T),O.payload)}}},qu=e(45062),dc=Object.defineProperty,hc=Object.defineProperties,al=Object.getOwnPropertyDescriptors,sl=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,yf=Object.prototype.propertyIsEnumerable,pc=(T,O,L)=>O in T?dc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Cu=(T,O)=>{for(var L in O||(O={}))Mu.call(O,L)&&pc(T,L,O[L]);if(sl)for(var L of sl(O))yf.call(O,L)&&pc(T,L,O[L]);return T},yl=(T,O)=>hc(T,al(O));const Fu=()=>{var T,O,L,_e,Ie,hn,On;let mn=window.location.href.split("/");if(!mn.includes("video"))return;let Bi=(T=mn[mn.length-1])==null?void 0:T.split("?")[0];Bi=Number(Bi);const ds=(L=(O=mn[mn.length-1])==null?void 0:O.split("?")[1])==null?void 0:L.split("=")[1];return((Ie=(_e=mn[mn.length-1])==null?void 0:_e.split("?")[1])==null?void 0:Ie.split("=")[0])==="subject_id"?{videoId:Bi,subject_id:ds}:((On=(hn=mn[mn.length-1])==null?void 0:hn.split("?")[1])==null?void 0:On.split("=")[0])==="new_video_id"?{videoId:Bi,new_video_id:ds}:{videoId:Bi,course_id:ds}};var Jc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Fu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Et.O2,T);return O?O(Ie):yield _e({type:"save",payload:{detail:Cu({},Ie)}}),Ie},*setVideoValue({payload:T},{call:O,put:L}){yield L({type:"save",payload:{detail:Cu({},T)}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Cu({},T)}})},*setVideoTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{videoTabs:Cu({},T)}})},*setSelectValue({payload:T},{call:O,put:L}){yield L({type:"save",payload:{selectParams:Cu({},T)}})},*getStageData({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(Et.yN,T),hn=yield O(ci.lk,{id:T.subject_id}),{queryParams:On}=yield _e(is=>is.videoDetail),{stages:mn=[]}=Ie,Bi=[];let ds=[],$a={};const Yo=is=>{is.forEach(Po=>{String(Po.id)===String(On.videoId)&&($a=Po),Po.item_type==="VideoItem"?Bi.push(Po):Po.item_type==="Attachment"&&ds.push(Po),Po.children&&Po.children.length&&Yo(Po.children)})};mn==null||mn.forEach(is=>{Yo(is.items)}),window.filterVideoSign=[...Bi],yield L({type:"save",payload:{stages:mn,active:$a,cust_seq:hn.cust_seq,videoList:Bi,attachmentList:ds}})},*getVideoData({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(Et.fn,T),{categories:hn=[],coruse_videos:On=[]}=Ie;yield L({type:"save",payload:{stages:(hn==null?void 0:hn.length)>0?hn:[{coruse_videos:On,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(qu.R7,T),{queryParams:hn}=yield _e(Yo=>Yo.videoDetail),{stages:On}=Ie;let mn=[],Bi=[],ds={};const $a=Yo=>{Yo.forEach(is=>{String(is.id)===String(hn.videoId)&&(ds=is),is.item_type==="VideoItem"?mn.push(is):is.item_type==="Attachment"&&Bi.push(is),is.children&&is.children.length&&$a(is.children)})};On==null||On.forEach(Yo=>{$a(Yo.items)}),window.filterVideoSign=[...mn],yield L({type:"save",payload:{active:ds,stages:On,cust_seq:!0,videoList:mn,attachmentList:Bi}})}},reducers:{save(T,O){return Cu(Cu({},T),O.payload)},handleListItemClick(T,O){const{videoList:L,attachmentList:_e}=T,Ie=O.payload.videoId||O.payload.attachmentId,hn=[...L,..._e].find(On=>`${On.id}`==`${Ie}`);return yl(Cu({},T),{active:hn,queryParams:Cu(Cu({},Fu()),O.payload)})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Vo=e(3668),Ml=Object.defineProperty,Rc=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,_c=(T,O,L)=>O in T?Ml(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,gc=(T,O)=>{for(var L in O||(O={}))mc.call(O,L)&&_c(T,L,O[L]);if(Rc)for(var L of Rc(O))vc.call(O,L)&&_c(T,L,O[L]);return T},Lc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:T},{call:O,put:L}){const _e=yield O(Vo.y2,T);return yield L({type:"save",payload:{Workplace:{BaseData:_e.data}}}),_e},*putEditDiscussion({payload:T},{call:O,put:L}){return yield O(Vo.CH,T)},*getDiscussionDetail({payload:T},{call:O,put:L}){const _e=yield O(Vo.XQ,T);return yield L({type:"save",payload:{DiscussionDetail:_e}}),_e},*postDiscussionList({payload:T},{call:O,put:L}){return yield O(Vo.Ll,T)},*getDiscussionList({payload:T},{call:O,put:L}){const _e=yield O(Vo.EA,T);return yield L({type:"save",payload:{DiscussionList:_e}}),_e},*postAddLessonRes({payload:T},{call:O,put:L}){return yield O(Vo.cZ,T)},*getLessonResourcesList({payload:T},{call:O,put:L}){const _e=yield O(Vo.b,T);return yield L({type:"save",payload:{LessonResList:_e}}),_e},*putGoodLessonsDetail({payload:T},{call:O,put:L}){return yield O(Vo.To,T)},*getGoodLessonsDetail({payload:T},{call:O,put:L}){const _e=yield O(Vo.FU,T);return yield L({type:"save",payload:{LessonDetail:_e}}),_e},*postGoodLessonsList({payload:T},{call:O,put:L}){return yield O(Vo.Vf,T)},*getGoodLessonsList({payload:T},{call:O,put:L}){const _e=yield O(Vo.G_,T);return yield L({type:"save",payload:{LessonsList:_e}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gc({},T)}})},*setShowMenu({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showMenu:T}})},*getVirtualSpacesDetails({payload:T},{call:O,put:L}){const _e=yield O(Vo.sT,T);yield L({type:"save",payload:{virtualSpacesDetails:gc({},_e)}})},*setVirtualSpacesLoading({payload:T},{call:O,put:L}){yield L({type:"save",payload:{loading:T}})},*getVirtualSpacesMenus({payload:T},{call:O,put:L}){const _e=yield O(Vo.Sl,T);return yield L({type:"save",payload:{menus:_e}}),_e}},reducers:{save(T,O){return gc(gc({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}};const ql={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:Te},model_5:{namespace:"classrooms.exercise",model:Ue},model_6:{namespace:"classrooms.graduation",model:De},model_7:{namespace:"classrooms.homeworks",model:Yt},model_8:{namespace:"classrooms.index",model:Se},model_9:{namespace:"classrooms.new",model:bt},model_10:{namespace:"classrooms.overview",model:Jt},model_11:{namespace:"classrooms.polls",model:br},model_12:{namespace:"classrooms.teacher",model:Mi},model_13:{namespace:"classrooms.video",model:Di},model_14:{namespace:"competitions.index",model:Ki},model_15:{namespace:"engineering.evaluateDetail",model:Dr},model_16:{namespace:"engineering.evaluateList",model:Zn.Z},model_17:{namespace:"engineering.index",model:sr},model_18:{namespace:"engineering.navigation",model:wa},model_19:{namespace:"engineering.normDetail",model:Ji},model_20:{namespace:"engineering.normList",model:zi},model_21:{namespace:"forums.detail",model:Oo},model_22:{namespace:"forums.index",model:Ha},model_23:{namespace:"globalSetting",model:Gu},model_24:{namespace:"graduations.index",model:yr},model_25:{namespace:"homePage",model:jr},model_26:{namespace:"innovation.index",model:Sa},model_27:{namespace:"intraincourse.index",model:ai},model_28:{namespace:"loading",model:Fi},model_29:{namespace:"messages.index",model:Xs},model_30:{namespace:"paperlibrary.index",model:_n},model_31:{namespace:"paperlibrary.newPaper",model:Qi},model_32:{namespace:"paths.detail",model:yu},model_33:{namespace:"paths.index",model:St},model_34:{namespace:"paths.new",model:ei},model_35:{namespace:"paths.overview",model:Es},model_36:{namespace:"problemset.index",model:El},model_37:{namespace:"problemset.preview",model:Zl},model_38:{namespace:"resetFul.index",model:$l},model_39:{namespace:"shixuns.detail",model:lc},model_40:{namespace:"shixuns.index",model:fu},model_41:{namespace:"shixuns.new",model:Vu},model_42:{namespace:"shixuns.overview",model:Df},model_43:{namespace:"shixuns.practiceSetting",model:cc},model_44:{namespace:"user.detail",model:kc},model_45:{namespace:"user.index",model:hu},model_46:{namespace:"video.detail",model:Jc},model_47:{namespace:"virtualSpaces.index",model:Lc}};var Ql=Object.defineProperty,bf=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,yc=(T,O,L)=>O in T?Ql(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,bc=(T,O)=>{for(var L in O||(O={}))ef.call(O,L)&&yc(T,L,O[L]);if(bf)for(var L of bf(O))ol.call(O,L)&&yc(T,L,O[L]);return T};let Mc;function Fc(T){const{pluginManager:O}=(0,f.useAppData)(),L=(0,c.useRef)(),_e=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(bc({history:f.history},_e.config||{}),{initialReducer:{},setupMiddlewares(Ie){return[...Ie]},setupApp(Ie){Ie._history=f.history}}),Mc=L.current,L.current.use(l()()),(_e.plugins||[]).forEach(Ie=>{L.current.use(Ie)});for(const Ie of Object.keys(ql))L.current.model(bc({namespace:ql[Ie].namespace},ql[Ie].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},T.children)}function xf(){return Mc}},64857:function(d,_,e){"use strict";e.d(_,{PZ:function(){return ut},eU:function(){return a},B:function(){return or},Mg:function(){return Dr},lw:function(){return Ir},Kd:function(){return tn},H8:function(){return dt}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f($e){return $e.displayName||$e.name||"Component"}const u=r.createContext(null),{Consumer:h,Provider:o}=u,a=o,x=null;function p($e,lt){const{intlPropName:ye="intl",forwardRef:sr=!1,enforceContext:nr=!0}=lt||{},Lr=$r=>React.createElement(h,null,Wr=>(nr&&invariantIntlContext(Wr),React.createElement($e,Object.assign({},$r,{[ye]:Wr},{ref:sr?$r.forwardedRef:null}))));return Lr.displayName=`injectIntl(${f($e)})`,Lr.WrappedComponent=$e,c(sr?React.forwardRef(($r,Wr)=>React.createElement(Lr,Object.assign({},$r,{forwardedRef:Wr}))):Lr,$e)}var y;(function($e){$e[$e.literal=0]="literal",$e[$e.argument=1]="argument",$e[$e.number=2]="number",$e[$e.date=3]="date",$e[$e.time=4]="time",$e[$e.select=5]="select",$e[$e.plural=6]="plural",$e[$e.pound=7]="pound"})(y||(y={}));function m($e){return $e.type===y.literal}function b($e){return $e.type===y.argument}function S($e){return $e.type===y.number}function k($e){return $e.type===y.date}function R($e){return $e.type===y.time}function A($e){return $e.type===y.select}function I($e){return $e.type===y.plural}function M($e){return $e.type===y.pound}function B($e){return!!($e&&typeof $e=="object"&&$e.type===0)}function N($e){return!!($e&&typeof $e=="object"&&$e.type===1)}function K($e){return{type:y.literal,value:$e}}function G($e,lt){return{type:y.number,value:$e,style:lt}}var H=function(){var $e=function(lt,ye){return $e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var Lr in nr)nr.hasOwnProperty(Lr)&&(sr[Lr]=nr[Lr])},$e(lt,ye)};return function(lt,ye){$e(lt,ye);function sr(){this.constructor=lt}lt.prototype=ye===null?Object.create(ye):(sr.prototype=ye.prototype,new sr)}}(),ae=function(){return ae=Object.assign||function($e){for(var lt,ye=1,sr=arguments.length;ye0){for(Kr=1,Rn=1;KrRa&&(Ra=wt,Ys=[]),Ys.push(Ze))}function Ar(Ze,Nt){return new ne(Ze,[],"",Nt)}function Br(Ze,Nt,Sr){return new ne(ne.buildMessage(Ze,Nt),Ze,Nt,Sr)}function Vr(){var Ze;return Ze=En(),Ze}function En(){var Ze,Nt;for(Ze=[],Nt=fn();Nt!==ye;)Ze.push(Nt),Nt=fn();return Ze}function fn(){var Ze;return Ze=ii(),Ze===ye&&(Ze=bi(),Ze===ye&&(Ze=fs(),Ze===ye&&(Ze=ya(),Ze===ye&&(Ze=vs(),Ze===ye&&(Ze=ai()))))),Ze}function An(){var Ze,Nt,Sr;if(Ze=wt,Nt=[],Sr=Js(),Sr===ye&&(Sr=Ga(),Sr===ye&&(Sr=us())),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=Js(),Sr===ye&&(Sr=Ga(),Sr===ye&&(Sr=us()));else Nt=ye;return Nt!==ye&&(Qn=Ze,Nt=Lr(Nt)),Ze=Nt,Ze}function ii(){var Ze,Nt;return Ze=wt,Nt=An(),Nt!==ye&&(Qn=Ze,Nt=$r(Nt)),Ze=Nt,Ze}function ai(){var Ze,Nt;return Ze=wt,$e.charCodeAt(wt)===35?(Nt=Wr,wt++):(Nt=ye,sn===0&&mt(pn)),Nt!==ye&&(Qn=Ze,Nt=Ci()),Ze=Nt,Ze}function bi(){var Ze,Nt,Sr,Mr,Jr,yn;return sn++,Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye?(Sr=pa(),Sr!==ye?(Mr=Va(),Mr!==ye?(Jr=pa(),Jr!==ye?($e.charCodeAt(wt)===125?(yn=Rn,wt++):(yn=ye,sn===0&&mt(ui)),yn!==ye?(Qn=Ze,Nt=wa(Mr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(ln)),Ze}function Fi(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,Nt=[],Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Ba.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(zs))),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Ba.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(zs))),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye);else Nt=ye;return Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(Qs)),Ze}function na(){var Ze,Nt,Sr;return sn++,Ze=wt,$e.charCodeAt(wt)===47?(Nt=oo,wt++):(Nt=ye,sn===0&&mt(Aa)),Nt!==ye?(Sr=Fi(),Sr!==ye?(Qn=Ze,Nt=Ps(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(as)),Ze}function $i(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,Nt=pa(),Nt!==ye)if(Sr=Fi(),Sr!==ye){for(Mr=[],Jr=na();Jr!==ye;)Mr.push(Jr),Jr=na();Mr!==ye?(Qn=Ze,Nt=po(Sr,Mr),Ze=Nt):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return sn--,Ze===ye&&(Nt=ye,sn===0&&mt(ps)),Ze}function Pi(){var Ze,Nt,Sr;if(Ze=wt,Nt=[],Sr=$i(),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=$i();else Nt=ye;return Nt!==ye&&(Qn=Ze,Nt=Ji(Nt)),Ze=Nt,Ze}function Pa(){var Ze,Nt,Sr;return Ze=wt,$e.substr(wt,2)===to?(Nt=to,wt+=2):(Nt=ye,sn===0&&mt(Zo)),Nt!==ye?(Sr=Pi(),Sr!==ye?(Qn=Ze,Nt=Na(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze===ye&&(Ze=wt,Qn=wt,Nt=Zs(),Nt?Nt=void 0:Nt=ye,Nt!==ye?(Sr=An(),Sr!==ye?(Qn=Ze,Nt=pi(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)),Ze}function Ii(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws;return Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye?(Sr=pa(),Sr!==ye?(Mr=Va(),Mr!==ye?(Jr=pa(),Jr!==ye?($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye?(Qi=pa(),Qi!==ye?($e.substr(wt,6)===ss?(ci=ss,wt+=6):(ci=ye,sn===0&&mt(Is)),ci!==ye?(Eo=pa(),Eo!==ye?(da=wt,$e.charCodeAt(wt)===44?(ns=ro,wt++):(ns=ye,sn===0&&mt(Ln)),ns!==ye?(qa=pa(),qa!==ye?(ws=Pa(),ws!==ye?(ns=[ns,qa,ws],da=ns):(wt=da,da=ye)):(wt=da,da=ye)):(wt=da,da=ye),da===ye&&(da=null),da!==ye?(ns=pa(),ns!==ye?($e.charCodeAt(wt)===125?(qa=Rn,wt++):(qa=ye,sn===0&&mt(ui)),qa!==ye?(Qn=Ze,Nt=Os(Mr,ci,da),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function vi(){var Ze,Nt,Sr,Mr;if(Ze=wt,$e.charCodeAt(wt)===39?(Nt=qi,wt++):(Nt=ye,sn===0&&mt(Ka)),Nt!==ye){if(Sr=[],Mr=Js(),Mr===ye&&(zi.test($e.charAt(wt))?(Mr=$e.charAt(wt),wt++):(Mr=ye,sn===0&&mt(Ds))),Mr!==ye)for(;Mr!==ye;)Sr.push(Mr),Mr=Js(),Mr===ye&&(zi.test($e.charAt(wt))?(Mr=$e.charAt(wt),wt++):(Mr=ye,sn===0&&mt(Ds)));else Sr=ye;Sr!==ye?($e.charCodeAt(wt)===39?(Mr=qi,wt++):(Mr=ye,sn===0&&mt(Ka)),Mr!==ye?(Nt=[Nt,Sr,Mr],Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;if(Ze===ye)if(Ze=[],Nt=Js(),Nt===ye&&(xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(Wo))),Nt!==ye)for(;Nt!==ye;)Ze.push(Nt),Nt=Js(),Nt===ye&&(xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(Wo)));else Ze=ye;return Ze}function fa(){var Ze,Nt;if(Ze=[],Xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(mu)),Nt!==ye)for(;Nt!==ye;)Ze.push(Nt),Xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(mu));else Ze=ye;return Ze}function wo(){var Ze,Nt,Sr,Mr;if(Ze=wt,Nt=wt,Sr=[],Mr=vi(),Mr===ye&&(Mr=fa()),Mr!==ye)for(;Mr!==ye;)Sr.push(Mr),Mr=vi(),Mr===ye&&(Mr=fa());else Sr=ye;return Sr!==ye?Nt=$e.substring(Nt,wt):Nt=Sr,Nt!==ye&&(Qn=Ze,Nt=vu(Nt)),Ze=Nt,Ze}function Xs(){var Ze,Nt,Sr;return Ze=wt,$e.substr(wt,2)===to?(Nt=to,wt+=2):(Nt=ye,sn===0&&mt(Zo)),Nt!==ye?(Sr=wo(),Sr!==ye?(Qn=Ze,Nt=Na(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze===ye&&(Ze=wt,Qn=wt,Nt=_o(),Nt?Nt=void 0:Nt=ye,Nt!==ye?(Sr=An(),Sr!==ye?(Qn=Ze,Nt=pi(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)),Ze}function ia(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws;return Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye?(Sr=pa(),Sr!==ye?(Mr=Va(),Mr!==ye?(Jr=pa(),Jr!==ye?($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye?(Qi=pa(),Qi!==ye?($e.substr(wt,4)===Ho?(ci=Ho,wt+=4):(ci=ye,sn===0&&mt(Oo)),ci===ye&&($e.substr(wt,4)===nu?(ci=nu,wt+=4):(ci=ye,sn===0&&mt(qo))),ci!==ye?(Eo=pa(),Eo!==ye?(da=wt,$e.charCodeAt(wt)===44?(ns=ro,wt++):(ns=ye,sn===0&&mt(Ln)),ns!==ye?(qa=pa(),qa!==ye?(ws=Xs(),ws!==ye?(ns=[ns,qa,ws],da=ns):(wt=da,da=ye)):(wt=da,da=ye)):(wt=da,da=ye),da===ye&&(da=null),da!==ye?(ns=pa(),ns!==ye?($e.charCodeAt(wt)===125?(qa=Rn,wt++):(qa=ye,sn===0&&mt(ui)),qa!==ye?(Qn=Ze,Nt=Os(Mr,ci,da),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function fs(){var Ze;return Ze=Ii(),Ze===ye&&(Ze=ia()),Ze}function ya(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws,go,Eu,yu;if(Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye)if(Sr=pa(),Sr!==ye)if(Mr=Va(),Mr!==ye)if(Jr=pa(),Jr!==ye)if($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye)if(Qi=pa(),Qi!==ye)if($e.substr(wt,6)===mi?(ci=mi,wt+=6):(ci=ye,sn===0&&mt(gi)),ci===ye&&($e.substr(wt,13)===Ja?(ci=Ja,wt+=13):(ci=ye,sn===0&&mt(ls))),ci!==ye)if(Eo=pa(),Eo!==ye)if($e.charCodeAt(wt)===44?(da=ro,wt++):(da=ye,sn===0&&mt(Ln)),da!==ye)if(ns=pa(),ns!==ye)if(qa=wt,$e.substr(wt,7)===es?(ws=es,wt+=7):(ws=ye,sn===0&&mt(Ha)),ws!==ye?(go=pa(),go!==ye?(Eu=Ms(),Eu!==ye?(ws=[ws,go,Eu],qa=ws):(wt=qa,qa=ye)):(wt=qa,qa=ye)):(wt=qa,qa=ye),qa===ye&&(qa=null),qa!==ye)if(ws=pa(),ws!==ye){if(go=[],Eu=Ls(),Eu!==ye)for(;Eu!==ye;)go.push(Eu),Eu=Ls();else go=ye;go!==ye?(Eu=pa(),Eu!==ye?($e.charCodeAt(wt)===125?(yu=Rn,wt++):(yu=ye,sn===0&&mt(ui)),yu!==ye?(Qn=Ze,Nt=ms(Mr,ci,qa,go),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return Ze}function vs(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws,go;if(Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye)if(Sr=pa(),Sr!==ye)if(Mr=Va(),Mr!==ye)if(Jr=pa(),Jr!==ye)if($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye)if(Qi=pa(),Qi!==ye)if($e.substr(wt,6)===Qo?(ci=Qo,wt+=6):(ci=ye,sn===0&&mt(ks)),ci!==ye)if(Eo=pa(),Eo!==ye)if($e.charCodeAt(wt)===44?(da=ro,wt++):(da=ye,sn===0&&mt(Ln)),da!==ye)if(ns=pa(),ns!==ye){if(qa=[],ws=rs(),ws!==ye)for(;ws!==ye;)qa.push(ws),ws=rs();else qa=ye;qa!==ye?(ws=pa(),ws!==ye?($e.charCodeAt(wt)===125?(go=Rn,wt++):(go=ye,sn===0&&mt(ui)),go!==ye?(Qn=Ze,Nt=Mo(Mr,qa),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return Ze}function La(){var Ze,Nt,Sr,Mr;return Ze=wt,Nt=wt,$e.charCodeAt(wt)===61?(Sr=wu,wt++):(Sr=ye,sn===0&&mt(Iu)),Sr!==ye?(Mr=Ms(),Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)):(wt=Nt,Nt=ye),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,Ze===ye&&(Ze=Dt()),Ze}function rs(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci;return Ze=wt,Nt=pa(),Nt!==ye?(Sr=Dt(),Sr!==ye?(Mr=pa(),Mr!==ye?($e.charCodeAt(wt)===123?(Jr=bn,wt++):(Jr=ye,sn===0&&mt(Kr)),Jr!==ye?(Qn=wt,yn=rl(Sr),yn?yn=void 0:yn=ye,yn!==ye?(Qi=En(),Qi!==ye?($e.charCodeAt(wt)===125?(ci=Rn,wt++):(ci=ye,sn===0&&mt(ui)),ci!==ye?(Qn=Ze,Nt=dl(Sr,Qi),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function Ls(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci;return Ze=wt,Nt=pa(),Nt!==ye?(Sr=La(),Sr!==ye?(Mr=pa(),Mr!==ye?($e.charCodeAt(wt)===123?(Jr=bn,wt++):(Jr=ye,sn===0&&mt(Kr)),Jr!==ye?(Qn=wt,yn=Fo(Sr),yn?yn=void 0:yn=ye,yn!==ye?(Qi=En(),Qi!==ye?($e.charCodeAt(wt)===125?(ci=Rn,wt++):(ci=ye,sn===0&&mt(ui)),ci!==ye?(Qn=Ze,Nt=uo(Sr,Qi),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function ao(){var Ze,Nt;return sn++,Gu.test($e.charAt(wt))?(Ze=$e.charAt(wt),wt++):(Ze=ye,sn===0&&mt(Bo)),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(Go)),Ze}function xs(){var Ze,Nt;return sn++,Uu.test($e.charAt(wt))?(Ze=$e.charAt(wt),wt++):(Ze=ye,sn===0&&mt(iu)),sn--,Ze===ye&&(Nt=ye,sn===0&&mt($o)),Ze}function pa(){var Ze,Nt,Sr;for(sn++,Ze=wt,Nt=[],Sr=ao();Sr!==ye;)Nt.push(Sr),Sr=ao();return Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(_u)),Ze}function Ms(){var Ze,Nt,Sr;return sn++,Ze=wt,$e.charCodeAt(wt)===45?(Nt=gu,wt++):(Nt=ye,sn===0&&mt(Ko)),Nt===ye&&(Nt=null),Nt!==ye?(Sr=Vt(),Sr!==ye?(Qn=Ze,Nt=rr(Nt,Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(No)),Ze}function jo(){var Ze,Nt;return sn++,$e.charCodeAt(wt)===39?(Ze=qi,wt++):(Ze=ye,sn===0&&mt(Ka)),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(yr)),Ze}function Js(){var Ze,Nt;return sn++,Ze=wt,$e.substr(wt,2)===gr?(Nt=gr,wt+=2):(Nt=ye,sn===0&&mt(Tr)),Nt!==ye&&(Qn=Ze,Nt=xn()),Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(hr)),Ze}function Ga(){var Ze,Nt,Sr,Mr,Jr,yn;if(Ze=wt,$e.charCodeAt(wt)===39?(Nt=qi,wt++):(Nt=ye,sn===0&&mt(Ka)),Nt!==ye)if(Sr=co(),Sr!==ye){for(Mr=wt,Jr=[],$e.substr(wt,2)===gr?(yn=gr,wt+=2):(yn=ye,sn===0&&mt(Tr)),yn===ye&&(zi.test($e.charAt(wt))?(yn=$e.charAt(wt),wt++):(yn=ye,sn===0&&mt(Ds)));yn!==ye;)Jr.push(yn),$e.substr(wt,2)===gr?(yn=gr,wt+=2):(yn=ye,sn===0&&mt(Tr)),yn===ye&&(zi.test($e.charAt(wt))?(yn=$e.charAt(wt),wt++):(yn=ye,sn===0&&mt(Ds)));Jr!==ye?Mr=$e.substring(Mr,wt):Mr=Jr,Mr!==ye?($e.charCodeAt(wt)===39?(Jr=qi,wt++):(Jr=ye,sn===0&&mt(Ka)),Jr===ye&&(Jr=null),Jr!==ye?(Qn=Ze,Nt=Wn(Sr,Mr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return Ze}function us(){var Ze,Nt,Sr,Mr;return Ze=wt,Nt=wt,$e.length>wt?(Sr=$e.charAt(wt),wt++):(Sr=ye,sn===0&&mt(Ns)),Sr!==ye?(Qn=wt,Mr=Mn(Sr),Mr?Mr=void 0:Mr=ye,Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)):(wt=Nt,Nt=ye),Nt===ye&&($e.charCodeAt(wt)===10?(Nt=Hn,wt++):(Nt=ye,sn===0&&mt(oi))),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,Ze}function co(){var Ze,Nt,Sr,Mr;return Ze=wt,Nt=wt,$e.length>wt?(Sr=$e.charAt(wt),wt++):(Sr=ye,sn===0&&mt(Ns)),Sr!==ye?(Qn=wt,Mr=Jn(Sr),Mr?Mr=void 0:Mr=ye,Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)):(wt=Nt,Nt=ye),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,Ze}function Va(){var Ze,Nt;return sn++,Ze=wt,Nt=Vt(),Nt===ye&&(Nt=Dt()),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(vr)),Ze}function Vt(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,$e.charCodeAt(wt)===48?(Nt=jr,wt++):(Nt=ye,sn===0&&mt(Tn)),Nt!==ye&&(Qn=Ze,Nt=In()),Ze=Nt,Ze===ye){if(Ze=wt,Nt=wt,li.test($e.charAt(wt))?(Sr=$e.charAt(wt),wt++):(Sr=ye,sn===0&&mt(Ai)),Sr!==ye){for(Mr=[],$n.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(ta));Jr!==ye;)Mr.push(Jr),$n.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(ta));Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)}else wt=Nt,Nt=ye;Nt!==ye&&(Qn=Ze,Nt=ra(Nt)),Ze=Nt}return sn--,Ze===ye&&(Nt=ye,sn===0&&mt(Nr)),Ze}function Dt(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,Nt=[],Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Jr=xs()),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Jr=xs()),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye);else Nt=ye;return Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(yi)),Ze}var Ia=["root"];function Ws(){return Ia.length>1}function _n(){return Ia[Ia.length-1]==="plural"}function Sn(){return lt&<.captureLocation?{location:Rs()}:{}}if(Do=nr(),Do!==ye&&wt===$e.length)return Do;throw Do!==ye&&wt<$e.length&&mt(os()),Br(Ys,Ra<$e.length?$e.charAt(Ra):null,Ra<$e.length?Bt(Ra,Ra+1):Bt(Ra,Ra))}var J=oe,q=function(){for(var $e=0,lt=0,ye=arguments.length;lt1)throw new RangeError("Fraction-precision stems only accept a single optional option");nr.stem.replace(je,function($r,Wr,pn){return $r==="."?lt.maximumFractionDigits=0:pn==="+"?lt.minimumFractionDigits=pn.length:Wr[0]==="#"?lt.maximumFractionDigits=Wr.length:(lt.minimumFractionDigits=Wr.length,lt.maximumFractionDigits=Wr.length+(typeof pn=="string"?pn.length:0)),""}),nr.options.length&&(lt=ve(ve({},lt),ft(nr.options[0])));continue}if(Ot.test(nr.stem)){lt=ve(ve({},lt),ft(nr.stem));continue}var Lr=Pt(nr.stem);Lr&&(lt=ve(ve({},lt),Lr))}return lt}var ar=function(){var $e=function(lt,ye){return $e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var Lr in nr)nr.hasOwnProperty(Lr)&&(sr[Lr]=nr[Lr])},$e(lt,ye)};return function(lt,ye){$e(lt,ye);function sr(){this.constructor=lt}lt.prototype=ye===null?Object.create(ye):(sr.prototype=ye.prototype,new sr)}}(),Ue=function(){for(var $e=0,lt=0,ye=arguments.length;lt{Ws.current=void 0,Va.current=void 0,us.current=Ze});const Nt=i.useMemo(()=>i.createElement(Ii,(0,Iu.Z)({},Ze,{ref:ya})),[ya,Ii,Ze]);return i.useMemo(()=>na?i.createElement(La.Provider,{value:Ga},Nt):Nt,[La,Nt,Ga])}const Xs=i.memo(fa);if(Xs.WrappedComponent=Ii,Xs.displayName=fa.displayName=Oi,fn){const fs=i.forwardRef(function(vs,La){return i.createElement(Xs,(0,Iu.Z)({},vs,{reactReduxForwardedRef:La}))});return fs.displayName=Oi,fs.WrappedComponent=Ii,Fo()(fs,Ii)}return Fo()(Xs,Ii)}}var Qn=wt;function Sa({store:Ye,context:Pe,children:Bt,serverState:mt,stabilityCheck:Ar="once",noopCheck:Br="once"}){const Vr=i.useMemo(()=>{const An=xn(Ye);return{store:Ye,subscription:An,getServerState:mt?()=>mt:void 0,stabilityCheck:Ar,noopCheck:Br}},[Ye,mt,Ar,Br]),En=i.useMemo(()=>Ye.getState(),[Ye]);Mn(()=>{const{subscription:An}=Vr;return An.onStateChange=An.notifyNestedSubs,An.trySubscribe(),En!==Ye.getState()&&An.notifyNestedSubs(),()=>{An.tryUnsubscribe(),An.onStateChange=void 0}},[Vr,En]);const fn=Pe||yi;return i.createElement(fn.Provider,{value:Vr},Bt)}var Ra=Sa;function Ys(Ye=yi){const Pe=Ye===yi?es:ls(Ye);return function(){const{store:mt}=Pe();return mt}}const sn=Ys();function Do(Ye=yi){const Pe=Ye===yi?sn:Ys(Ye);return function(){return Pe().dispatch}}const lo=Do();Qo(Xo.useSyncExternalStoreWithSelector),Nr(Wo.useSyncExternalStore),Ho(mu.unstable_batchedUpdates);var Rs=Object.defineProperty,no=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,cs=(Ye,Pe,Bt)=>Pe in Ye?Rs(Ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Ye[Pe]=Bt,ja=(Ye,Pe)=>{for(var Bt in Pe||(Pe={}))io.call(Pe,Bt)&&cs(Ye,Bt,Pe[Bt]);if(no)for(var Bt of no(Pe))ts.call(Pe,Bt)&&cs(Ye,Bt,Pe[Bt]);return Ye};function os(Ye){const Pe=create(Ye,{initialReducer:{},setupApp(){}}),Bt=Pe.start;return Pe.router=mt,Pe.start=Ar,Pe;function mt(Br){Pe._router=Br}function Ar(Br){if(typeof Br!="undefined")throw new Error("dva.start() should not be called with any arguments.");Pe._store||Bt.call(Pe);const Vr=Pe._store,En=Pe._router;return fn=>React.createElement(Provider,{store:Vr},En(ja({app:Pe},fn)))}}},82328:function(d,_,e){"use strict";e.d(_,{fi:function(){return m},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,a=(R,A)=>{for(var I in A||(A={}))u.call(A,I)&&o(R,I,A[I]);if(f)for(var I of f(A))h.call(A,I)&&o(R,I,A[I]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function m(R){let A;return R.type==="hash"?A=(0,r.q_)():R.type==="memory"?A=(0,r.PP)(R):A=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},A),{push(I,M){A.push(S(I,A),M)},replace(I,M){A.replace(S(I,A),M)},get location(){return A.location},get action(){return A.action}}),A}function b(R){R&&(p=R)}function S(R,A){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const I=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:I})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},38542:function(d,_,e){"use strict";e.d(_,{gD:function(){return en},We:function(){return on}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return Xe}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Se}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return $t}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return bt}});var u=e(8591),h=e(56656),o=e.n(h);o().locale("ZH-cn");const a={config:{onError(jt){u.ZP.error(jt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),m=e(12373),b=e.n(m),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function I(){return I=Object.assign||function(jt){for(var Jt=1;Jt=0||(Er[kt]=jt[kt]);return Er}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},G={rel:["amphtml","canonical","alternate"]},H={type:["application/ld+json"]},ae={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ne=Object.keys(K).map(function(jt){return K[jt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},J=Object.keys(oe).reduce(function(jt,Jt){return jt[oe[Jt]]=Jt,jt},{}),q=function(jt,Jt){for(var kt=jt.length-1;kt>=0;kt-=1){var Xt=jt[kt];if(Object.prototype.hasOwnProperty.call(Xt,Jt))return Xt[Jt]}return null},V=function(jt){var Jt=q(jt,K.TITLE),kt=q(jt,"titleTemplate");if(Array.isArray(Jt)&&(Jt=Jt.join("")),kt&&Jt)return kt.replace(/%s/g,function(){return Jt});var Xt=q(jt,"defaultTitle");return Jt||Xt||void 0},se=function(jt){return q(jt,"onChangeClientState")||function(){}},ee=function(jt,Jt){return Jt.filter(function(kt){return kt[jt]!==void 0}).map(function(kt){return kt[jt]}).reduce(function(kt,Xt){return I({},kt,Xt)},{})},Q=function(jt,Jt){return Jt.filter(function(kt){return kt[K.BASE]!==void 0}).map(function(kt){return kt[K.BASE]}).reverse().reduce(function(kt,Xt){if(!kt.length)for(var Er=Object.keys(Xt),Or=0;Or/g,">").replace(/"/g,""").replace(/'/g,"'")},He=function(jt){return Object.keys(jt).reduce(function(Jt,kt){var Xt=jt[kt]!==void 0?kt+'="'+jt[kt]+'"':""+kt;return Jt?Jt+" "+Xt:Xt},"")},je=function(jt,Jt){return Jt===void 0&&(Jt={}),Object.keys(jt).reduce(function(kt,Xt){return kt[oe[Xt]||Xt]=jt[Xt],kt},Jt)},Ot=function(jt,Jt){return Jt.map(function(kt,Xt){var Er,Or=((Er={key:Xt})["data-rh"]=!0,Er);return Object.keys(kt).forEach(function(At){var Kt=oe[At]||At;Kt==="innerHTML"||Kt==="cssText"?Or.dangerouslySetInnerHTML={__html:kt.innerHTML||kt.cssText}:Or[Kt]=kt[At]}),x.createElement(jt,Or)})},ft=function(jt,Jt,kt){switch(jt){case K.TITLE:return{toComponent:function(){return Er=Jt.titleAttributes,(Or={key:Xt=Jt.title})["data-rh"]=!0,At=je(Er,Or),[x.createElement(K.TITLE,At,Xt)];var Xt,Er,Or,At},toString:function(){return function(Xt,Er,Or,At){var Kt=He(Or),Lt=j(Er);return Kt?"<"+Xt+' data-rh="true" '+Kt+">"+Te(Lt,At)+"":"<"+Xt+' data-rh="true">'+Te(Lt,At)+""}(jt,Jt.title,Jt.titleAttributes,kt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return je(Jt)},toString:function(){return He(Jt)}};default:return{toComponent:function(){return Ot(jt,Jt)},toString:function(){return function(Xt,Er,Or){return Er.reduce(function(At,Kt){var Lt=Object.keys(Kt).filter(function(Qr){return!(Qr==="innerHTML"||Qr==="cssText")}).reduce(function(Qr,Hr){var Bn=Kt[Hr]===void 0?Hr:Hr+'="'+Te(Kt[Hr],Or)+'"';return Qr?Qr+" "+Bn:Bn},""),Qt=Kt.innerHTML||Kt.cssText||"",br=Ee.indexOf(Xt)===-1;return At+"<"+Xt+' data-rh="true" '+Lt+(br?"/>":">"+Qt+"")},"")}(jt,Jt,kt)}}}},Pt=function(jt){var Jt=jt.baseTag,kt=jt.bodyAttributes,Xt=jt.encode,Er=jt.htmlAttributes,Or=jt.noscriptTags,At=jt.styleTags,Kt=jt.title,Lt=Kt===void 0?"":Kt,Qt=jt.titleAttributes,br=jt.linkTags,Qr=jt.metaTags,Hr=jt.scriptTags,Bn={toComponent:function(){},toString:function(){return""}};if(jt.prioritizeSeoTags){var wn=function(Yn){var St=Yn.linkTags,Yr=Yn.scriptTags,ni=Yn.encode,Mi=ie(Yn.metaTags,ae),Kn=ie(St,G),Tt=ie(Yr,H);return{priorityMethods:{toComponent:function(){return[].concat(Ot(K.META,Mi.priority),Ot(K.LINK,Kn.priority),Ot(K.SCRIPT,Tt.priority))},toString:function(){return ft(K.META,Mi.priority,ni)+" "+ft(K.LINK,Kn.priority,ni)+" "+ft(K.SCRIPT,Tt.priority,ni)}},metaTags:Mi.default,linkTags:Kn.default,scriptTags:Tt.default}}(jt);Bn=wn.priorityMethods,br=wn.linkTags,Qr=wn.metaTags,Hr=wn.scriptTags}return{priority:Bn,base:ft(K.BASE,Jt,Xt),bodyAttributes:ft("bodyAttributes",kt,Xt),htmlAttributes:ft("htmlAttributes",Er,Xt),link:ft(K.LINK,br,Xt),meta:ft(K.META,Qr,Xt),noscript:ft(K.NOSCRIPT,Or,Xt),script:ft(K.SCRIPT,Hr,Xt),style:ft(K.STYLE,At,Xt),title:ft(K.TITLE,{title:Lt,titleAttributes:Qt},Xt)}},Wt=[],Rt=function(jt,Jt){var kt=this;Jt===void 0&&(Jt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Xt){kt.context.helmet=Xt},helmetInstances:{get:function(){return kt.canUseDOM?Wt:kt.instances},add:function(Xt){(kt.canUseDOM?Wt:kt.instances).push(Xt)},remove:function(Xt){var Er=(kt.canUseDOM?Wt:kt.instances).indexOf(Xt);(kt.canUseDOM?Wt:kt.instances).splice(Er,1)}}},this.context=jt,this.canUseDOM=Jt,Jt||(jt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},ar=x.createContext({}),Ue=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),_t=typeof document!="undefined",Mt=function(jt){function Jt(kt){var Xt;return(Xt=jt.call(this,kt)||this).helmetData=new Rt(Xt.props.context,Jt.canUseDOM),Xt}return M(Jt,jt),Jt.prototype.render=function(){return x.createElement(ar.Provider,{value:this.helmetData.value},this.props.children)},Jt}(x.Component);Mt.canUseDOM=_t,Mt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Mt.defaultProps={context:{}},Mt.displayName="HelmetProvider";var Qe=function(jt,Jt){var kt,Xt=document.head||document.querySelector(K.HEAD),Er=Xt.querySelectorAll(jt+"[data-rh]"),Or=[].slice.call(Er),At=[];return Jt&&Jt.length&&Jt.forEach(function(Kt){var Lt=document.createElement(jt);for(var Qt in Kt)Object.prototype.hasOwnProperty.call(Kt,Qt)&&(Qt==="innerHTML"?Lt.innerHTML=Kt.innerHTML:Qt==="cssText"?Lt.styleSheet?Lt.styleSheet.cssText=Kt.cssText:Lt.appendChild(document.createTextNode(Kt.cssText)):Lt.setAttribute(Qt,Kt[Qt]===void 0?"":Kt[Qt]));Lt.setAttribute("data-rh","true"),Or.some(function(br,Qr){return kt=Qr,Lt.isEqualNode(br)})?Or.splice(kt,1):At.push(Lt)}),Or.forEach(function(Kt){return Kt.parentNode.removeChild(Kt)}),At.forEach(function(Kt){return Xt.appendChild(Kt)}),{oldTags:Or,newTags:At}},ct=function(jt,Jt){var kt=document.getElementsByTagName(jt)[0];if(kt){for(var Xt=kt.getAttribute("data-rh"),Er=Xt?Xt.split(","):[],Or=[].concat(Er),At=Object.keys(Jt),Kt=0;Kt=0;Qr-=1)kt.removeAttribute(Or[Qr]);Er.length===Or.length?kt.removeAttribute("data-rh"):kt.getAttribute("data-rh")!==At.join(",")&&kt.setAttribute("data-rh",At.join(","))}},st=function(jt,Jt){var kt=jt.baseTag,Xt=jt.htmlAttributes,Er=jt.linkTags,Or=jt.metaTags,At=jt.noscriptTags,Kt=jt.onChangeClientState,Lt=jt.scriptTags,Qt=jt.styleTags,br=jt.title,Qr=jt.titleAttributes;ct(K.BODY,jt.bodyAttributes),ct(K.HTML,Xt),function(Yn,St){Yn!==void 0&&document.title!==Yn&&(document.title=j(Yn)),ct(K.TITLE,St)}(br,Qr);var Hr={baseTag:Qe(K.BASE,kt),linkTags:Qe(K.LINK,Er),metaTags:Qe(K.META,Or),noscriptTags:Qe(K.NOSCRIPT,At),scriptTags:Qe(K.SCRIPT,Lt),styleTags:Qe(K.STYLE,Qt)},Bn={},wn={};Object.keys(Hr).forEach(function(Yn){var St=Hr[Yn],Yr=St.newTags,ni=St.oldTags;Yr.length&&(Bn[Yn]=Yr),ni.length&&(wn[Yn]=Hr[Yn].oldTags)}),Jt&&Jt(),Kt(jt,Bn,wn)},qe=null,Be=function(jt){function Jt(){for(var Xt,Er=arguments.length,Or=new Array(Er),At=0;At elements are self-closing and can not contain children. Refer to our API for more information.")}},kt.flattenArrayTypeChildren=function(Xt){var Er,Or=Xt.child,At=Xt.arrayTypeChildren;return I({},At,((Er={})[Or.type]=[].concat(At[Or.type]||[],[I({},Xt.newChildProps,this.mapNestedChildrenToProps(Or,Xt.nestedChildren))]),Er))},kt.mapObjectTypeChildren=function(Xt){var Er,Or,At=Xt.child,Kt=Xt.newProps,Lt=Xt.newChildProps,Qt=Xt.nestedChildren;switch(At.type){case K.TITLE:return I({},Kt,((Er={})[At.type]=Qt,Er.titleAttributes=I({},Lt),Er));case K.BODY:return I({},Kt,{bodyAttributes:I({},Lt)});case K.HTML:return I({},Kt,{htmlAttributes:I({},Lt)});default:return I({},Kt,((Or={})[At.type]=I({},Lt),Or))}},kt.mapArrayTypeChildrenToProps=function(Xt,Er){var Or=I({},Er);return Object.keys(Xt).forEach(function(At){var Kt;Or=I({},Or,((Kt={})[At]=Xt[At],Kt))}),Or},kt.warnOnInvalidChildren=function(Xt,Er){return k()(ne.some(function(Or){return Xt.type===Or}),typeof Xt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+Xt.type+"> elements. Refer to our API for more information."),k()(!Er||typeof Er=="string"||Array.isArray(Er)&&!Er.some(function(Or){return typeof Or!="string"}),"Helmet expects a string as a child of <"+Xt.type+">. Did you forget to wrap your children in braces? ( <"+Xt.type+">{``} ) Refer to our API for more information."),!0},kt.mapChildrenToProps=function(Xt,Er){var Or=this,At={};return x.Children.forEach(Xt,function(Kt){if(Kt&&Kt.props){var Lt=Kt.props,Qt=Lt.children,br=N(Lt,be),Qr=Object.keys(br).reduce(function(Bn,wn){return Bn[J[wn]||wn]=br[wn],Bn},{}),Hr=Kt.type;switch(typeof Hr=="symbol"?Hr=Hr.toString():Or.warnOnInvalidChildren(Kt,Qt),Hr){case K.FRAGMENT:Er=Or.mapChildrenToProps(Qt,Er);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:At=Or.flattenArrayTypeChildren({child:Kt,arrayTypeChildren:At,newChildProps:Qr,nestedChildren:Qt});break;default:Er=Or.mapObjectTypeChildren({child:Kt,newProps:Er,newChildProps:Qr,nestedChildren:Qt})}}}),this.mapArrayTypeChildrenToProps(At,Er)},kt.render=function(){var Xt=this.props,Er=Xt.children,Or=N(Xt,De),At=I({},Or),Kt=Or.helmetData;return Er&&(At=this.mapChildrenToProps(Er,At)),!Kt||Kt instanceof Rt||(Kt=new Rt(Kt.context,Kt.instances)),Kt?x.createElement(Be,I({},At,{context:Kt.value,helmetData:void 0})):x.createElement(ar.Consumer,null,function(Lt){return x.createElement(Be,I({},At,{context:Lt}))})},Jt}(x.Component);Ge.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},Ge.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ge.displayName="Helmet";const We={},Xe=jt=>x.createElement(Mt,{context:We},jt);var ot=e(92736),ht=e(95392),ur=e(36237),tr=e(73376),Le=e(28440),Je=e.n(Le),Yt=Object.defineProperty,It=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,cr=(jt,Jt,kt)=>Jt in jt?Yt(jt,Jt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):jt[Jt]=kt,Ht=(jt,Jt)=>{for(var kt in Jt||(Jt={}))Zt.call(Jt,kt)&&cr(jt,kt,Jt[kt]);if(It)for(var kt of It(Jt))Gt.call(Jt,kt)&&cr(jt,kt,Jt[kt]);return jt},Ce=(jt,Jt)=>{var kt={};for(var Xt in jt)Zt.call(jt,Xt)&&Jt.indexOf(Xt)<0&&(kt[Xt]=jt[Xt]);if(jt!=null&&It)for(var Xt of It(jt))Jt.indexOf(Xt)<0&&Gt.call(jt,Xt)&&(kt[Xt]=jt[Xt]);return kt};let ce=null;const pe=()=>(ce||(ce=on().applyPlugins({key:"antd",type:ht.ApplyPluginsType.modify,initialValue:Ht({},{componentSize:"middle"})})),ce);function Ct({children:jt}){let Jt=jt;const[kt,Xt]=x.useState(()=>{const Or=pe(),{appConfig:At}=Or;return Ce(Or,["appConfig"])}),Er=Or=>{Xt(At=>Je()({},At,typeof Or=="function"?Or(At):Or))};return kt.prefixCls&&ot.ZP.config({prefixCls:kt.prefixCls}),kt.iconPrefixCls&&ot.ZP.config({iconPrefixCls:kt.iconPrefixCls}),kt.theme&&ot.ZP.config({theme:kt.theme}),Jt=x.createElement(ot.ZP,Ht({},kt),Jt),Jt=x.createElement(ur.StyleProvider,{hashPriority:"high"},Jt),Jt=x.createElement(tr.C.Provider,{value:Er},x.createElement(tr.S.Provider,{value:kt},Jt)),Jt}function Se(jt){return x.createElement(Ct,null,jt)}var at=e(97670);function $t(jt,Jt){return x.createElement(at.j,Jt,jt)}var yt=e(92769),Ae=e(64857);function gt(){var jt,Jt;const kt=getLocale();(jt=moment)!=null&&jt.locale&&moment.locale(((Jt=localeInfo[kt])==null?void 0:Jt.momentLocale)||""),setIntl(kt)}const ze=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,et=jt=>{var Jt;const kt=(0,Ae.Kd)(),[Xt,Er]=x.useState(kt),[Or,At]=x.useState(()=>(0,Ae.lw)(Xt,!0)),Kt=br=>{var Qr,Hr;(Qr=o())!=null&&Qr.locale&&o().locale(((Hr=Ae.H8[br])==null?void 0:Hr.momentLocale)||"en"),Er(br),At((0,Ae.lw)(br))};ze(()=>(Ae.B.on(Ae.PZ,Kt),()=>{Ae.B.off(Ae.PZ,Kt)}),[]);const Lt={},Qt=(0,Ae.Mg)();return x.createElement(ot.ZP,{direction:Qt,locale:((Jt=Ae.H8[Xt])==null?void 0:Jt.antd)||Lt},x.createElement(Ae.eU,{value:Or},jt.children))};function bt(jt){return x.createElement(et,null,jt)}function Ft(jt){return jt.default?typeof jt.default=="function"?jt.default():jt.default:jt}function Fe(){return[{apply:Ft(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function kr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let pt=null;function en(){return pt=ht.PluginManager.create({plugins:Fe(),validKeys:kr()}),pt}function on(){return pt}},95392:function(d,_,e){"use strict";e.d(_,{ApplyPluginsType:function(){return _t},Link:function(){return q},Outlet:function(){return V.j3},PluginManager:function(){return Mt},connect:function(){return f.$j},getDvaApp:function(){return u.Q},history:function(){return Qe.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return V.TH},useOutletContext:function(){return V.bx},useParams:function(){return V.UO},useSearchParams:function(){return G.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(73376);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(71051),u=e(97670),h=e(64857),o=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(Xe,ot,ht)=>ot in Xe?o(Xe,ot,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Xe[ot]=ht,S=(Xe,ot)=>{for(var ht in ot||(ot={}))y.call(ot,ht)&&b(Xe,ht,ot[ht]);if(p)for(var ht of p(ot))m.call(ot,ht)&&b(Xe,ht,ot[ht]);return Xe},k=(Xe,ot)=>a(Xe,x(ot)),R=(Xe,ot)=>{var ht={};for(var ur in Xe)y.call(Xe,ur)&&ot.indexOf(ur)<0&&(ht[ur]=Xe[ur]);if(Xe!=null&&p)for(var ur of p(Xe))ot.indexOf(ur)<0&&m.call(Xe,ur)&&(ht[ur]=Xe[ur]);return ht};const A=Xe=>{var ot=Xe,{overlayClassName:ht}=ot,ur=R(ot,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ht},ur))},I=Xe=>Xe.reduce((ot,ht)=>ht.lang?k(S({},ot),{[ht.lang]:ht}):ot,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},B=Xe=>React.createElement(React.Fragment,null);var N=e(38329),K=e(38127),G=e(32451),H=e(50731),ae=e(87296);function ne(Xe,ot){var ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ur=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var tr=r.useRef(typeof IntersectionObserver=="function"),Le=r.useRef(null);return r.useEffect(function(){if(!(!Xe.current||!tr.current||ur.disabled))return Le.current=new IntersectionObserver(function(Je){var Yt=(0,ae.Z)(Je,1),It=Yt[0];ot(It)},ht),Le.current.observe(Xe.current),function(){var Je;(Je=Le.current)===null||Je===void 0||Je.disconnect()}},[ot,ht,ur.disabled,Xe]),Le.current}var oe=["prefetch"];function J(Xe){var ot=r.useRef(null);return r.useEffect(function(){Xe&&(typeof Xe=="function"?Xe(ot.current):Xe.current=ot.current)}),ot}var q=r.forwardRef(function(Xe,ot){var ht,ur=Xe.prefetch,tr=(0,K.Z)(Xe,oe),Le=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Je=Le.defaultPrefetch,Yt=Le.defaultPrefetchTimeout,It=(ur===!0?"intent":ur===!1?"none":ur)||Je;if(!["intent","render","viewport","none"].includes(It))throw new Error("Invalid prefetch value ".concat(It," found in Link component"));var Zt=(0,H.Ov)(),Gt=typeof Xe.to=="string"?Xe.to:(ht=Xe.to)===null||ht===void 0?void 0:ht.pathname,cr=r.useRef(!1),Ht=J(ot),Ce=function(Ct){if(It==="intent"){var Se=Ct.target||{};Se.preloadTimeout||(Se.preloadTimeout=setTimeout(function(){var at;Se.preloadTimeout=null,(at=Zt.preloadRoute)===null||at===void 0||at.call(Zt,Gt)},Xe.prefetchTimeout||Yt))}},ce=function(Ct){if(It==="intent"){var Se=Ct.target||{};Se.preloadTimeout&&(clearTimeout(Se.preloadTimeout),Se.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(It==="render"&&!cr.current){var pe;(pe=Zt.preloadRoute)===null||pe===void 0||pe.call(Zt,Gt),cr.current=!0}},[It,Gt]),ne(Ht,function(pe){if(pe!=null&&pe.isIntersecting){var Ct;(Ct=Zt.preloadRoute)===null||Ct===void 0||Ct.call(Zt,Gt)}},{rootMargin:"100px"},{disabled:It!=="viewport"}),Gt?r.createElement(G.rU,(0,N.Z)({onMouseEnter:Ce,onMouseLeave:ce,ref:Ht},tr),Xe.children):null}),V=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return ot};var Xe,ot={},ht=Object.prototype,ur=ht.hasOwnProperty,tr=Object.defineProperty||function(jt,Jt,kt){jt[Jt]=kt.value},Le=typeof Symbol=="function"?Symbol:{},Je=Le.iterator||"@@iterator",Yt=Le.asyncIterator||"@@asyncIterator",It=Le.toStringTag||"@@toStringTag";function Zt(jt,Jt,kt){return Object.defineProperty(jt,Jt,{value:kt,enumerable:!0,configurable:!0,writable:!0}),jt[Jt]}try{Zt({},"")}catch(jt){Zt=function(kt,Xt,Er){return kt[Xt]=Er}}function Gt(jt,Jt,kt,Xt){var Er=Jt&&Jt.prototype instanceof Se?Jt:Se,Or=Object.create(Er.prototype),At=new en(Xt||[]);return tr(Or,"_invoke",{value:Ft(jt,kt,At)}),Or}function cr(jt,Jt,kt){try{return{type:"normal",arg:jt.call(Jt,kt)}}catch(Xt){return{type:"throw",arg:Xt}}}ot.wrap=Gt;var Ht="suspendedStart",Ce="suspendedYield",ce="executing",pe="completed",Ct={};function Se(){}function at(){}function $t(){}var yt={};Zt(yt,Je,function(){return this});var Ae=Object.getPrototypeOf,gt=Ae&&Ae(Ae(on([])));gt&>!==ht&&ur.call(gt,Je)&&(yt=gt);var ze=$t.prototype=Se.prototype=Object.create(yt);function et(jt){["next","throw","return"].forEach(function(Jt){Zt(jt,Jt,function(kt){return this._invoke(Jt,kt)})})}function bt(jt,Jt){function kt(Er,Or,At,Kt){var Lt=cr(jt[Er],jt,Or);if(Lt.type!=="throw"){var Qt=Lt.arg,br=Qt.value;return br&&(0,se.Z)(br)=="object"&&ur.call(br,"__await")?Jt.resolve(br.__await).then(function(Qr){kt("next",Qr,At,Kt)},function(Qr){kt("throw",Qr,At,Kt)}):Jt.resolve(br).then(function(Qr){Qt.value=Qr,At(Qt)},function(Qr){return kt("throw",Qr,At,Kt)})}Kt(Lt.arg)}var Xt;tr(this,"_invoke",{value:function(Or,At){function Kt(){return new Jt(function(Lt,Qt){kt(Or,At,Lt,Qt)})}return Xt=Xt?Xt.then(Kt,Kt):Kt()}})}function Ft(jt,Jt,kt){var Xt=Ht;return function(Er,Or){if(Xt===ce)throw new Error("Generator is already running");if(Xt===pe){if(Er==="throw")throw Or;return{value:Xe,done:!0}}for(kt.method=Er,kt.arg=Or;;){var At=kt.delegate;if(At){var Kt=Fe(At,kt);if(Kt){if(Kt===Ct)continue;return Kt}}if(kt.method==="next")kt.sent=kt._sent=kt.arg;else if(kt.method==="throw"){if(Xt===Ht)throw Xt=pe,kt.arg;kt.dispatchException(kt.arg)}else kt.method==="return"&&kt.abrupt("return",kt.arg);Xt=ce;var Lt=cr(jt,Jt,kt);if(Lt.type==="normal"){if(Xt=kt.done?pe:Ce,Lt.arg===Ct)continue;return{value:Lt.arg,done:kt.done}}Lt.type==="throw"&&(Xt=pe,kt.method="throw",kt.arg=Lt.arg)}}}function Fe(jt,Jt){var kt=Jt.method,Xt=jt.iterator[kt];if(Xt===Xe)return Jt.delegate=null,kt==="throw"&&jt.iterator.return&&(Jt.method="return",Jt.arg=Xe,Fe(jt,Jt),Jt.method==="throw")||kt!=="return"&&(Jt.method="throw",Jt.arg=new TypeError("The iterator does not provide a '"+kt+"' method")),Ct;var Er=cr(Xt,jt.iterator,Jt.arg);if(Er.type==="throw")return Jt.method="throw",Jt.arg=Er.arg,Jt.delegate=null,Ct;var Or=Er.arg;return Or?Or.done?(Jt[jt.resultName]=Or.value,Jt.next=jt.nextLoc,Jt.method!=="return"&&(Jt.method="next",Jt.arg=Xe),Jt.delegate=null,Ct):Or:(Jt.method="throw",Jt.arg=new TypeError("iterator result is not an object"),Jt.delegate=null,Ct)}function kr(jt){var Jt={tryLoc:jt[0]};1 in jt&&(Jt.catchLoc=jt[1]),2 in jt&&(Jt.finallyLoc=jt[2],Jt.afterLoc=jt[3]),this.tryEntries.push(Jt)}function pt(jt){var Jt=jt.completion||{};Jt.type="normal",delete Jt.arg,jt.completion=Jt}function en(jt){this.tryEntries=[{tryLoc:"root"}],jt.forEach(kr,this),this.reset(!0)}function on(jt){if(jt||jt===""){var Jt=jt[Je];if(Jt)return Jt.call(jt);if(typeof jt.next=="function")return jt;if(!isNaN(jt.length)){var kt=-1,Xt=function Er(){for(;++kt=0;--Er){var Or=this.tryEntries[Er],At=Or.completion;if(Or.tryLoc==="root")return Xt("end");if(Or.tryLoc<=this.prev){var Kt=ur.call(Or,"catchLoc"),Lt=ur.call(Or,"finallyLoc");if(Kt&&Lt){if(this.prev=0;--Xt){var Er=this.tryEntries[Xt];if(Er.tryLoc<=this.prev&&ur.call(Er,"finallyLoc")&&this.prev=0;--kt){var Xt=this.tryEntries[kt];if(Xt.finallyLoc===Jt)return this.complete(Xt.completion,Xt.afterLoc),pt(Xt),Ct}},catch:function(Jt){for(var kt=this.tryEntries.length-1;kt>=0;--kt){var Xt=this.tryEntries[kt];if(Xt.tryLoc===Jt){var Er=Xt.completion;if(Er.type==="throw"){var Or=Er.arg;pt(Xt)}return Or}}throw new Error("illegal catch attempt")},delegateYield:function(Jt,kt,Xt){return this.delegate={iterator:on(Jt),resultName:kt,nextLoc:Xt},this.method==="next"&&(this.arg=Xe),Ct}},ot}var Q=e(63579);function le(Xe,ot,ht,ur,tr,Le,Je){try{var Yt=Xe[Le](Je),It=Yt.value}catch(Zt){ht(Zt);return}Yt.done?ot(It):Promise.resolve(It).then(ur,tr)}function Z(Xe){return function(){var ot=this,ht=arguments;return new Promise(function(ur,tr){var Le=Xe.apply(ot,ht);function Je(It){le(Le,ur,tr,Je,Yt,"next",It)}function Yt(It){le(Le,ur,tr,Je,Yt,"throw",It)}Je(void 0)})}}var j=e(99227);function ie(Xe,ot){var ht=typeof Symbol!="undefined"&&Xe[Symbol.iterator]||Xe["@@iterator"];if(!ht){if(Array.isArray(Xe)||(ht=(0,j.Z)(Xe))||ot&&Xe&&typeof Xe.length=="number"){ht&&(Xe=ht);var ur=0,tr=function(){};return{s:tr,n:function(){return ur>=Xe.length?{done:!0}:{done:!1,value:Xe[ur++]}},e:function(Zt){throw Zt},f:tr}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Le=!0,Je=!1,Yt;return{s:function(){ht=ht.call(Xe)},n:function(){var Zt=ht.next();return Le=Zt.done,Zt},e:function(Zt){Je=!0,Yt=Zt},f:function(){try{!Le&&ht.return!=null&&ht.return()}finally{if(Je)throw Yt}}}}var ve=e(73825);function Ee(Xe){if(typeof Symbol!="undefined"&&Xe[Symbol.iterator]!=null||Xe["@@iterator"]!=null)return Array.from(Xe)}var Te=e(66160);function He(Xe){return(0,ve.Z)(Xe)||Ee(Xe)||(0,j.Z)(Xe)||(0,Te.Z)()}function je(Xe,ot){if(!(Xe instanceof ot))throw new TypeError("Cannot call a class as a function")}var Ot=e(89878);function ft(Xe,ot){for(var ht=0;ht-1,"register failed, invalid key ".concat(tr," ").concat(ht.path?"from plugin ".concat(ht.path):"",".")),ur.hooks[tr]=(ur.hooks[tr]||[]).concat(ht.apply[tr])})}},{key:"getHooks",value:function(ht){var ur=ht.split("."),tr=He(ur),Le=tr[0],Je=tr.slice(1),Yt=this.hooks[Le]||[];return Je.length&&(Yt=Yt.map(function(It){try{var Zt=It,Gt=ie(Je),cr;try{for(Gt.s();!(cr=Gt.n()).done;){var Ht=cr.value;Zt=Zt[Ht]}}catch(Ce){Gt.e(Ce)}finally{Gt.f()}return Zt}catch(Ce){return null}}).filter(Boolean)),Yt}},{key:"applyPlugins",value:function(ht){var ur=ht.key,tr=ht.type,Le=ht.initialValue,Je=ht.args,Yt=ht.async,It=this.getHooks(ur)||[];switch(Je&&Rt((0,se.Z)(Je)==="object","applyPlugins failed, args must be plain object."),Yt&&Rt(tr===_t.modify||tr===_t.event,"async only works with modify and event type."),tr){case _t.modify:return Yt?It.reduce(function(){var Zt=Z(ee().mark(function Gt(cr,Ht){var Ce;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Rt(typeof Ht=="function"||(0,se.Z)(Ht)==="object"||Ue(Ht),"applyPlugins failed, all hooks for key ".concat(ur," must be function, plain object or Promise.")),!Ue(cr)){pe.next=5;break}return pe.next=4,cr;case 4:cr=pe.sent;case 5:if(typeof Ht!="function"){pe.next=16;break}if(Ce=Ht(cr,Je),!Ue(Ce)){pe.next=13;break}return pe.next=10,Ce;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Ce);case 14:pe.next=21;break;case 16:if(!Ue(Ht)){pe.next=20;break}return pe.next=19,Ht;case 19:Ht=pe.sent;case 20:return pe.abrupt("return",(0,Q.Z)((0,Q.Z)({},cr),Ht));case 21:case"end":return pe.stop()}},Gt)}));return function(Gt,cr){return Zt.apply(this,arguments)}}(),Ue(Le)?Le:Promise.resolve(Le)):It.reduce(function(Zt,Gt){return Rt(typeof Gt=="function"||(0,se.Z)(Gt)==="object","applyPlugins failed, all hooks for key ".concat(ur," must be function or plain object.")),typeof Gt=="function"?Gt(Zt,Je):(0,Q.Z)((0,Q.Z)({},Zt),Gt)},Le);case _t.event:return Z(ee().mark(function Zt(){var Gt,cr,Ht,Ce;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Gt=ie(It),pe.prev=1,Gt.s();case 3:if((cr=Gt.n()).done){pe.next=12;break}if(Ht=cr.value,Rt(typeof Ht=="function","applyPlugins failed, all hooks for key ".concat(ur," must be function.")),Ce=Ht(Je),!(Yt&&Ue(Ce))){pe.next=10;break}return pe.next=10,Ce;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Gt.e(pe.t0);case 17:return pe.prev=17,Gt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Zt,null,[[1,14,17,20]])}))();case _t.compose:return function(){return ar({fns:It.concat(Le),args:Je})()}}}}],[{key:"create",value:function(ht){var ur=new Xe({validKeys:ht.validKeys});return ht.plugins.forEach(function(tr){ur.register(tr)}),ur}}]),Xe}(),Qe=e(82328);let ct=0,st=0;function qe(Xe,ot){}function Be(Xe){return JSON.stringify(Xe,null,2)}function be(Xe){const ot=Xe.length>1?Xe.map(De).join(" "):Xe[0];return typeof ot=="object"?`${Be(ot)}`:ot.toString()}function De(Xe){return typeof Xe=="object"?`${JSON.stringify(Xe)}`:Xe.toString()}const Ge={log(...Xe){be(Xe)},info(...Xe){be(Xe)},warn(...Xe){be(Xe)},error(...Xe){be(Xe)},group(){st++},groupCollapsed(){st++},groupEnd(){st&&--st},clear(){},trace(...Xe){console.trace(...Xe)},profile(...Xe){console.profile(...Xe)},profileEnd(...Xe){console.profileEnd(...Xe)}},We=()=>{}},73376:function(d,_,e){"use strict";e.d(_,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},97670:function(d,_,e){"use strict";e.d(_,{j:function(){return Fc},Q:function(){return xf}});var r=e(71051),i=e(89880),l=e.n(i),c=e(59301),f=e(95392),u=e(79134),h=Object.defineProperty,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(T,O,L)=>O in T?h(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,y=(T,O)=>{for(var L in O||(O={}))a.call(O,L)&&p(T,L,O[L]);if(o)for(var L of o(O))x.call(O,L)&&p(T,L,O[L]);return T},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:T},{call:O,put:L}){return yield O(u.n1,T)},*appplySchool({payload:T},{call:O,put:L}){return yield O(u.bz,T)},*getSchoolOption({payload:T},{call:O,put:L}){return yield O(u.GY,T)},*getDepartmentOption({payload:T},{call:O,put:L}){return yield O(u.Ql,T)},*appplyDepartment({payload:T},{call:O,put:L}){return yield O(u.Zm,T)},*updateAccount({payload:T},{call:O,put:L}){return yield O(u.sG,T)},*cancelRealNameAuth({payload:T},{call:O,put:L}){return yield O(u.P,T)},*cancelProfessionalAuth({payload:T},{call:O,put:L}){return yield O(u.$f,T)},*applyProfessionalAuth({payload:T},{call:O,put:L}){return yield O(u.Ow,T)},*applyRealNameAuth({payload:T},{call:O,put:L}){return yield O(u.ht,T)},*getCode({payload:T},{call:O,put:L}){return yield O(u.Cq,T)},*bindPhone({payload:T},{call:O,put:L}){return yield O(u.eF,T)},*bindEmail({payload:T},{call:O,put:L}){return yield O(u.I8,T)},*updatePassword({payload:T},{call:O,put:L}){return yield O(u.gQ,T)},*unbindAccount({payload:T},{call:O,put:L}){return yield O(u.wi,T)},*getBasicInfo({payload:T},{call:O,put:L}){const _e=yield O(u.o9,T);return yield L({type:"save",payload:{basicInfo:y({},_e)}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:y({},T)}})}},reducers:{save(T,O){return y(y({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},S=e(71832),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,M=(T,O,L)=>O in T?k(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,B=(T,O)=>{for(var L in O||(O={}))A.call(O,L)&&M(T,L,O[L]);if(R)for(var L of R(O))I.call(O,L)&&M(T,L,O[L]);return T},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:T,callback:O},{call:L,put:_e}){return yield L(S.nZ,T)},*informUp({payload:T,callback:O},{call:L,put:_e}){return yield L(S.TO,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:B({},T)}})}},reducers:{save(T,O){return B(B({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},G=e(14084),H=Object.defineProperty,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,J=(T,O,L)=>O in T?H(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,q=(T,O)=>{for(var L in O||(O={}))ne.call(O,L)&&J(T,L,O[L]);if(ae)for(var L of ae(O))oe.call(O,L)&&J(T,L,O[L]);return T},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(G.SV,T);return yield _e({type:"save",payload:{allList:q({},Ie)}}),Ie},*mineAttachment({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(G.zI,T);return yield _e({type:"save",payload:{mineList:q({},Ie)}}),Ie},*fileImport({payload:T,callback:O},{call:L,put:_e}){return yield L(G.tO,T)},*getDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(G.Nm,T);return yield _e({type:"save",payload:{detail:q({},Ie)}}),Ie},*updateVisits({payload:T,callback:O},{call:L,put:_e}){return yield L(G.H,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:q({},T)}})}},reducers:{save(T,O){return q(q({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},ee=e(10436),Q=Object.defineProperty,le=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,ie=(T,O,L)=>O in T?Q(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ve=(T,O)=>{for(var L in O||(O={}))Z.call(O,L)&&ie(T,L,O[L]);if(le)for(var L of le(O))j.call(O,L)&&ie(T,L,O[L]);return T},Te={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ee.yq,T);return yield _e({type:"save",payload:{boardsCategoryList:ve({},Ie.data)}}),Ie.data},*getBoardsDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ee.dI,T);return yield _e({type:"save",payload:{boardsDetail:ve({},Ie.data)}}),Ie.data},*setTopping({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.cc,T)},*escTopping({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.CJ,T)},*getReplyList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ee.PC,T);yield _e({type:"save",payload:{replyList:ve({},Ie.data)}})},*createReply({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.PP,T)},*replyLike({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.NA,T)},*replyUnLike({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.YQ,T)},*deleteReply({payload:T,callback:O},{call:L,put:_e}){return yield L(ee.Mf,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ve({},T)}})}},reducers:{save(T,O){return ve(ve({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},He=e(75823),je=Object.defineProperty,Ot=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Wt=(T,O,L)=>O in T?je(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Rt=(T,O)=>{for(var L in O||(O={}))ft.call(O,L)&&Wt(T,L,O[L]);if(Ot)for(var L of Ot(O))Pt.call(O,L)&&Wt(T,L,O[L]);return T},Ue={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.$Q,T);return yield _e({type:"save",payload:{ScoreRangesData:Ie==null?void 0:Ie.data}}),Ie},*getQuestionResult({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He._U,T);return yield _e({type:"save",payload:{NormalResult:Ie}}),Ie},*getUserExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.xA,T);return yield _e({type:"save",payload:{userExerciseList:Rt({},(Ie==null?void 0:Ie.data)||{})}}),console.log("getUserExercise-res:",Ie),Ie==null?void 0:Ie.data},*getExerciseIdentityPhotos({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.J,T);return yield _e({type:"save",payload:{exerciseIdentityPhotos:Rt({},(Ie==null?void 0:Ie.data)||{})}}),Ie==null?void 0:Ie.data},*getExerciseExportHeadData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.iw,T);return yield _e({type:"save",payload:{exerciseExportHeadData:Rt({},Ie)}}),Ie},*getExerciseUserInfo({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.Ty,T);return(Ie==null?void 0:Ie.status)===0&&(yield _e({type:"save",payload:Rt({},{exerciseUserInfo:Rt({},Ie.data)})})),Ie},*getExaminationIntelligentSettings({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.sA,T);return yield _e({type:"save",payload:{examinationIntelligentSettings:Rt({},Ie)}}),Ie},*getRandomEditExercises({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.yu,T);return yield _e({type:"save",payload:{editRandomExercises:Rt({},Ie)}}),Ie},*getExerciseList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.G$,T);if(Ie!=null&&Ie.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Ie.total_exercise_users)}catch(hn){}return yield _e({type:"save",payload:{exerciseList:Rt({},Ie)}}),yield _e({type:"save",payload:{order_type:T.order_type,order:T.order}}),Ie},*getExerciseStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He._u,T);return yield _e({type:"save",payload:{statisticsList:Rt({},Ie)}}),Ie},*getBrankList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.n$,T);return yield _e({type:"save",payload:{brankList:Rt({},Ie)}}),Ie},*saveBanks({payload:T,callback:O},{call:L,put:_e}){return yield L(He.lf,T)},*getExerciseCourses({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.N3,T);return yield _e({type:"save",payload:{exerciseCoursesList:Rt({},Ie)}}),Ie},*addExercise({payload:T,callback:O},{call:L,put:_e}){return yield L(He.uR,T)},*editExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.qf,T);return yield _e({type:"save",payload:{editData:Rt({},Ie)}}),Ie},*getTagDiscipline({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.YY,T);return yield _e({type:"save",payload:{tagDisciplineData:Rt({},Ie)}}),Ie},*editExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(He.Di,T)},*addExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(He.MK,T)},*exeriseMoveUpDown({payload:T,callback:O},{call:L,put:_e}){return yield L(He.GK,T)},*getEndGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.KE,T);return yield _e({type:"save",payload:{endGroups:Rt({},Ie)}}),Ie},*getPublishGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.ux,T);return yield _e({type:"save",payload:{publishGroups:Rt({},Ie)}}),Ie},*getCommonHeader({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.UK,T);return yield _e({type:"save",payload:{commonHeader:Rt({},Ie)}}),Ie},*getReviewExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.BJ,T);return yield _e({type:"save",payload:{reviewExercise:Rt({},Ie)}}),Ie},*postReviewExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.pu,T);return yield _e({type:"save",payload:{reviewExercise:Rt({},Ie)}}),Ie},*getCentralizeReviewExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.X4,T);return yield _e({type:"save",payload:{reviewExercise:Rt({},Ie)}}),Ie},*clearData({payload:T,callback:O},{call:L,put:_e}){yield _e({type:"save",payload:{[T.key]:{}}})},*getReviewGroupExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.W4,T);return yield _e({type:"save",payload:{reviewGroupExercise:Rt({},Ie)}}),Ie},*getWorkSetting({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.Ul,T);return yield _e({type:"save",payload:{workSetting:Rt({},Ie)}}),Ie},*getRedoModal({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.tX,T);return yield _e({type:"save",payload:{redoModal:Rt({},Ie)}}),Ie},*getRedoListModal({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.s,T);return yield _e({type:"save",payload:{redoModal:Rt({},Ie)}}),Ie},*getCodeReviewDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.Xn,T);return yield _e({type:"save",payload:{codeReviewDetail:Rt({},Ie)}}),Ie},*changeScore({payload:T,callback:O},{call:L,put:_e}){return yield L(He.gG,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Rt({},T)}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:T==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:T},{call:O,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:T}})}},reducers:{save(T,O){return Rt(Rt({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},_t=e(28831),Mt=Object.defineProperty,Qe=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,qe=(T,O,L)=>O in T?Mt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Be=(T,O)=>{for(var L in O||(O={}))ct.call(O,L)&&qe(T,L,O[L]);if(Qe)for(var L of Qe(O))st.call(O,L)&&qe(T,L,O[L]);return T},De={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.x_,T);return yield _e({type:"save",payload:{detailList:Be({},Ie)}}),Ie},*getTasksListDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.QA,T);return yield _e({type:"save",payload:{detailTaskList:Be({},Ie)}}),Ie},*getTopisDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.B6,T);return yield _e({type:"save",payload:{detail:Be({},Ie)}}),Ie},*getTasksDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.y3,T);return yield _e({type:"save",payload:{tasksDetail:Be({},Ie)}}),Ie},*refuseTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.mM,T)},*agreeTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.je,T)},*getReplyList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.PC,T);yield _e({type:"save",payload:{replyList:Be({},Ie)}})},*createReply({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.PP,T)},*replyLike({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.NA,T)},*replyUnLike({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.YQ,T)},*deleteReply({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.Mf,T)},*addTopicDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.y0,T);yield _e({type:"save",payload:{addTopicData:Be({},Ie)}})},*editTopicDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t.hL,T);return yield _e({type:"save",payload:{editTopicData:Be({},Ie)}}),Ie},*editTasksDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(_t._n,T);return yield _e({type:"save",payload:{editTasksData:Be({},Ie)}}),Ie},*addTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.Gr,T)},*editTopic({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.wA,T)},*addTasks({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.Sv,T)},*editTasks({payload:T,callback:O},{call:L,put:_e}){return yield L(_t.RP,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Be({},T)}})}},reducers:{save(T,O){return Be(Be({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Ge=e(89392),We=e(79777),Xe=Object.defineProperty,ot=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,tr=(T,O,L)=>O in T?Xe(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Le=(T,O)=>{for(var L in O||(O={}))ht.call(O,L)&&tr(T,L,O[L]);if(ot)for(var L of ot(O))ur.call(O,L)&&tr(T,L,O[L]);return T},Yt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.h$,T);try{sessionStorage.all_student_works=JSON.stringify(Ie.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(T),localStorage.setItem("all_student_works_param",JSON.stringify(T))}catch(hn){}return yield _e({type:"save",payload:{workList:Le({},Ie)}}),Ie},*getShixunWorkHeadInfo({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.fK,T);try{}catch(hn){}return yield _e({type:"save",payload:{headerInfo:Ie==null?void 0:Ie.data}}),Ie},*getShixunWorkList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Z8,T);try{sessionStorage.all_student_works=JSON.stringify(Ie.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(T),localStorage.setItem("all_student_works_param",JSON.stringify(T))}catch(hn){}return yield _e({type:"save",payload:{shixunWorkList:Ie==null?void 0:Ie.data,homeworkAssistantPermissions:Ie.homework_assistant_permissions,shixunAssistantPermission:Ie.shixun_assistant_permission,courseAssistantPermission:Ie.course_assistant_permission}}),Ie},*getCodeReview({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.RP,T);return yield _e({type:"save",payload:{codeReview:Le({},Ie)}}),Ie},*getCodeReviewDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Xn,T);return yield _e({type:"save",payload:{codeReviewDetail:Le({},Ie)}}),Ie},*getWorkDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.to,T);return yield _e({type:"save",payload:{workDetail:Le({},Ie)}}),Ie},*updateWork({payload:T,callback:O},{call:L,put:_e}){return yield L(We.H,T)},*getShixunWorkReport({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.sw,T);try{Ie.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(hn){}return yield _e({type:"save",payload:{shixunWorkReport:Le({},Ie)}}),Ie},*getShixunWorkReports({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.cz,T);try{Ie.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(hn){}return yield _e({type:"save",payload:{shixunWorkReport:Le({},Ie)}}),Ie},*getWorkSetting({payload:T,callback:O},{call:L,put:_e}){var Ie,hn;const On=yield L(We.Ul,T);(Ie=On==null?void 0:On.group_settings)==null||Ie.map(Bi=>{Bi.value=Bi.group_name,Bi.id=Bi.group_id,Bi.group_id=[Bi.group_id]}),(hn=On==null?void 0:On.allow_late_settings)==null||hn.map(Bi=>{Bi.value=Bi.group_name,Bi.id=Bi.group_id,Bi.group_id=[Bi.group_id]});const mn={shixun_evaluation:On.shixun_evaluation,challenge_settings:On.challenge_settings};return yield _e({type:"save",payload:{workSetting:Le({},On),changeData:(0,Ge.cloneDeep)(mn)}}),On},*updateSetting({payload:T,callback:O},{call:L,put:_e}){return yield L(We.m7,T)},*getCodeReviewCourse({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.JG,T);return yield _e({type:"save",payload:{codeReviewCourse:Le({},Ie)}}),Ie},*exportShixunWorks({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Dx,T)},*getReferenceAnswer({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Q3,T);return yield _e({type:"save",payload:{referenceAnswer:Le({},Ie)}}),Ie},*getPublishGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ux,T);return yield _e({type:"save",payload:{publishGroups:Le({},Ie)}}),Ie},*getEndGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.KE,T);return yield _e({type:"save",payload:{endGroups:Le({},Ie)}}),Ie},*getBrankList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.n$,T);return yield _e({type:"save",payload:{brankList:Le({},Ie)}}),Ie},*changeScore({payload:T,callback:O},{call:L,put:_e}){return yield L(We.gG,T)},*saveBanks({payload:T,callback:O},{call:L,put:_e}){return yield L(We.lf,T)},*addCommonHomeWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Qt,T);return yield _e({type:"save",payload:{commonHomeWorkAddDefaultData:Le({},Ie)}}),Ie},*getSearchMemberList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Lz,T);return yield _e({type:"save",payload:{searchMemberList:Le({},Ie)}}),Ie},*getProjectList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ku,T);return yield _e({type:"save",payload:{searchProjectList:Le({},Ie)}}),Ie},*addStudentWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ak,T);return yield _e({type:"save",payload:{studentWorkAddDefaultData:Le({},Ie)}}),Ie},*editStudentWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.PW,T);return yield _e({type:"save",payload:{studentWorkEditDefaultData:Le({},Ie)}}),Ie},*editCommonHomeWorkDefaultData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.BD,T);return yield _e({type:"save",payload:{commonHomeWorkEditDefaultData:Le({},Ie)}}),Ie},*editCommonHomeWorkDefaultBankData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.pH,T);return yield _e({type:"save",payload:{commonHomeWorkEditDefaultData:Le({},Ie)}}),Ie},*getReplyList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.PC,T);yield _e({type:"save",payload:{replyList:Le({},Ie)}})},*getStudentWorkDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Hj,T);yield _e({type:"save",payload:{studentWorkDetail:Le({},Ie)}})},*getStudentWorkSupplyDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ub,T);yield _e({type:"save",payload:{studentWorkSupplyDetail:Le({},Ie)}})},*getStudentWorkCommon({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.JA,T);yield _e({type:"save",payload:{studentWorkCommon:Le({},Ie)}})},*getAllStudentWorks({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.ql,T);return yield _e({type:"save",payload:{allStudentWorks:Le({},Ie)}}),Ie},*getFileRepeatResult({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.oN,T);return yield _e({type:"save",payload:{codeReview:Le({},Ie)}}),Ie},*getFileRepeatDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(We.Ti,T);return yield _e({type:"save",payload:{codeReviewDetail:Le({},Ie)}}),Ie},*createReply({payload:T,callback:O},{call:L,put:_e}){return yield L(We.PP,T)},*replyLike({payload:T,callback:O},{call:L,put:_e}){return yield L(We.NA,T)},*replyUnLike({payload:T,callback:O},{call:L,put:_e}){return yield L(We.YQ,T)},*deleteReply({payload:T,callback:O},{call:L,put:_e}){return yield L(We.Mf,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Le({},T)}})}},reducers:{save(T,O){return Le(Le({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},It=e(94373),Zt=e(81779),Gt=Object.defineProperty,cr=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,ce=(T,O,L)=>O in T?Gt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,pe=(T,O)=>{for(var L in O||(O={}))Ht.call(O,L)&&ce(T,L,O[L]);if(cr)for(var L of cr(O))Ce.call(O,L)&&ce(T,L,O[L]);return T},Se={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:"",courseAiData:{have_tiding:!1,is_open_ai:!1,name:""}},effects:{*setCourseAiState({payload:T},{call:O,put:L,select:_e}){yield O(It.zC,T),yield L({type:"getCourseAiData",payload:T})},*getCourseAiData({payload:T},{call:O,put:L}){const _e=yield O(It.tI,T);yield L({type:"save",payload:{courseAiData:_e.data}})},*setAssistantPermissions({payload:T},{call:O,put:L}){yield O(It.gq,T)},*getAssistantPermissions({payload:T},{call:O,put:L}){if(!(0,Zt.eB)())return;const _e=yield O(It.rS,T);yield L({type:"save",payload:{AssistantObject:_e.permissions}})},*getAiStatusQuery({payload:T},{call:O,put:L}){const _e=yield O(It.LH,T);return yield L({type:"save",payload:{cal_finish_if:_e.cal_finish_if}}),_e},*updateCoursePortraitData({payload:T},{call:O,put:L}){return yield O(It.Z_,T)},*getUserPortraitConfig({payload:T},{call:O,put:L}){const _e=yield O(It._0,T);return yield L({type:"save",payload:{userPortraitConfig:_e.data}}),_e},*updateUserPortraitConfig({payload:T},{call:O,put:L}){return yield O(It.r2,T)},*getClassroom({payload:T},{call:O,put:L}){const _e=T,Ie=yield O(It.V8,T);return yield L({type:"save",payload:pe({listParams:_e},Ie)}),Ie},*getClassroomTopBanner({payload:T},{call:O,put:L}){const _e=yield O(It.U_,T);return yield L({type:"save",payload:{detailTopBanner:_e.status?{copy_completed:!0}:pe({},_e)}}),_e.status?{copy_completed:!0}:_e},*getClassroomLeftMenus({payload:T},{call:O,put:L}){const _e=yield O(It.w9,T);let Ie=[...(_e==null?void 0:_e.course_modules)||[],...(_e==null?void 0:_e.hidden_modules)||[]],hn={};return Ie==null||Ie.forEach(On=>{hn[On.type]=On.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},_e),detailLeftMenusNames:hn}}),_e},*getClassroomShixunsList({payload:T},{call:O,put:L}){const _e=yield O(It.Nd,T);yield L({type:"save",payload:{detailShixunsList:pe({},_e)}})},*getClassroomTeacherShixunsList({payload:T},{call:O,put:L}){const _e=yield O(It.Gk,T);return yield L({type:"save",payload:{detailShixunsList:pe({},_e)}}),_e},*getClassroomCommonList({payload:T},{call:O,put:L}){const _e=yield O(It.Nd,T);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}})},*getClassroomTeacherCommonList({payload:T},{call:O,put:L}){const _e=yield O(It.Gk,T);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}}),_e},*getClassroomGraduationTopicsList({payload:T},{call:O,put:L}){const _e=yield O(It.yV,T);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},_e)}})},*getClassroomGraduationTaskList({payload:T},{call:O,put:L}){const _e=yield O(It.R2,T);yield L({type:"save",payload:{detailGraduationTaskList:pe({},_e)}})},*getClassroomExercisesList({payload:T},{call:O,put:L}){const _e=yield O(It.N7,T);yield L({type:"save",payload:{detailExerciseList:pe({},_e)}})},*getClassroomPollsList({payload:T},{call:O,put:L}){const _e=yield O(It.BR,T);yield L({type:"save",payload:{detailPollsList:pe({},_e)}})},*getCourseGroups({payload:T},{call:O,put:L}){const _e=yield O(It.qB,T);yield L({type:"save",payload:{courseGroups:pe({},_e)}})},*getAllCourseGroup({payload:T},{call:O,put:L}){const _e=yield O(It.c_,T);return yield L({type:"save",payload:{allCourseGroups:pe({},_e)}}),_e},*getClassroomCommonHomeworksList({payload:T},{call:O,put:L}){const _e=yield O(It.Al,T);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}})},*getClassroomAttendancesList({payload:T},{call:O,put:L}){const _e=yield O(It.Vw,T);yield L({type:"save",payload:{detailAttendancesList:pe({},_e)}})},*getClassroomAttendancesStatistic({payload:T},{call:O,put:L}){const _e=yield O(It.Ls,T);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},_e)}})},*getAttendanceDetail({payload:T},{call:O,put:L}){const _e=yield O(It.zg,T);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},_e)}}),_e},*getAnnouncementList({payload:T},{call:O,put:L}){const _e=yield O(It.QZ,T);yield L({type:"save",payload:{detailAnnouncementList:pe({},_e)}})},*getAttachmentList({payload:T},{call:O,put:L}){const _e=yield O(It.KT,T);yield L({type:"save",payload:{detailAttachmentList:pe({},_e.data)}})},*getCourseware({payload:T},{call:O,put:L}){const _e=yield O(It.ZT,T);yield L({type:"save",payload:{detailCourseware:pe({},_e.data)}})},*getVideoList({payload:T},{call:O,put:L}){const _e=yield O(It.O3,T);yield L({type:"save",payload:{detailVideoList:pe({},_e)}})},*getLiveVideoList({payload:T},{call:O,put:L}){const _e=yield O(It.DJ,T);yield L({type:"save",payload:{detailLiveVideoList:pe({},_e)}})},*getCoursesMine({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.Ed,T);return yield _e({type:"save",payload:{courseMine:pe({},Ie)}}),Ie.data},*getBoardList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.KP,T);return yield _e({type:"save",payload:{detailBoardList:pe({},Ie.data)}}),Ie.data},*getCourseGroupsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.kW,T);return yield _e({type:"save",payload:{detailCourseGroupsList:pe({},Ie)}}),Ie},*getCourseStudentsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.J2,T);return yield _e({type:"save",payload:{detailCoursStudentsList:pe({},Ie)}}),Ie.data},*getCourseStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.g4,T);return yield _e({type:"save",payload:{detailCourseStatisticsList:pe({},Ie)}}),Ie},*getCourseActscore({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.t1,T);return yield _e({type:"save",payload:{detailCourseActscore:pe({},Ie)}}),Ie},*getCourseWorkscore({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.GV,T);return yield _e({type:"save",payload:{detailCourseWorkscore:pe({},Ie)}}),Ie},*getShixunLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.Pj,T);return yield _e({type:"save",payload:{shixunLists:pe({},Ie)}}),Ie},*getExperimentLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It._9,T);return yield _e({type:"save",payload:{shixunLists:pe({},Ie)}}),Ie},*getShixunAiRecommendLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.Hn,T);return yield _e({type:"save",payload:{shixunAiRecommendLists:pe({},Ie)}}),Ie},*getCoursesLists({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.W7,T);return yield _e({type:"save",payload:{coursesLists:pe({},Ie)}}),Ie},*createCoursesHomework({payload:T,callback:O},{call:L,put:_e}){return yield L(It.Ds,T)},*createShixunHomework({payload:T,callback:O},{call:L,put:_e}){return yield L(It.aQ,T)},*createExperiment({payload:T,callback:O},{call:L,put:_e}){return yield L(It.BQ,T)},*getSchoolList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.K$,T);return yield _e({type:"save",payload:{schoolList:pe({},Ie.school_names)}}),Ie.school_names},*searchSchoolTeacherList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.nQ,T);return yield _e({type:"save",payload:{searchMemberList:pe({},Ie)}}),Ie},*getAllTaskList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.km,T);return yield _e({type:"save",payload:{taskList:[...Ie.tasks]}}),Ie},*updateTaskPosition({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(It.U8,T);return yield _e({type:"save",payload:{actionTabs:{key:""}}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pe({},T)}})},*setUpdateData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateData:T}})}},reducers:{save(T,O){return pe(pe({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},at=Object.defineProperty,$t=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,gt=(T,O,L)=>O in T?at(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ze=(T,O)=>{for(var L in O||(O={}))yt.call(O,L)&>(T,L,O[L]);if($t)for(var L of $t(O))Ae.call(O,L)&>(T,L,O[L]);return T},bt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:T},{call:O,put:L}){const _e=yield O(It.K$,T);yield L({type:"save",payload:{schoolList:(_e==null?void 0:_e.school_names)||[]}})},*getSearchCourseList({payload:T},{call:O,put:L}){const _e=yield O(It.oM,T);yield L({type:"save",payload:{searchCourseList:(_e==null?void 0:_e.course_lists)||[]}})},*submitCourses({payload:T},{call:O,put:L}){return yield O(It.Bn,T)},*appplySchool({payload:T},{call:O,put:L}){return yield O(It.bz,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ze({},T)}})},*joincoursegroup({payload:T},{call:O,put:L}){return yield O(It.WK,T)}},reducers:{save(T,O){return ze(ze({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Ft=Object.defineProperty,Fe=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,en=(T,O,L)=>O in T?Ft(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,on=(T,O)=>{for(var L in O||(O={}))kr.call(O,L)&&en(T,L,O[L]);if(Fe)for(var L of Fe(O))pt.call(O,L)&&en(T,L,O[L]);return T},Jt={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:T},{call:O,put:L}){const _e=yield O(It.Dd,T);yield L({type:"save",payload:{CourseUseInfos:_e}})},*getRankList({payload:T},{call:O,put:L}){const _e=yield O(It.Fg,T);yield L({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(_e==null?void 0:_e.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(_e==null?void 0:_e.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(_e==null?void 0:_e.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(_e==null?void 0:_e.finish_course_list)||[]]}}})},*getStatisticsBody({payload:T},{call:O,put:L}){const _e=yield O(It.Gz,T);yield L({type:"save",payload:{SBody:_e}})},*getStatisticsHeader({payload:T},{call:O,put:L}){const _e=yield O(It.Hl,T);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(T,O){return on(on({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},kt=e(80546),Xt=Object.defineProperty,Er=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Kt=(T,O,L)=>O in T?Xt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Lt=(T,O)=>{for(var L in O||(O={}))Or.call(O,L)&&Kt(T,L,O[L]);if(Er)for(var L of Er(O))At.call(O,L)&&Kt(T,L,O[L]);return T},br={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.s3,T);return yield _e({type:"save",payload:{pollsList:Lt({},Ie)}}),Ie},*getCommonHeader({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.UK,T);return yield _e({type:"save",payload:{commonHeader:Lt({},Ie)}}),Ie},*getPollsStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Qn,T);return yield _e({type:"save",payload:{statisticsList:Lt({},Ie)}}),Ie},*getBrankList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.n$,T);return yield _e({type:"save",payload:{brankList:Lt({},Ie)}}),Ie},*saveBanks({payload:T,callback:O},{call:L,put:_e}){return yield L(kt.lf,T)},*getPollsCourses({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Q9,T);return yield _e({type:"save",payload:{pollsCoursesList:Lt({},Ie)}}),Ie},*getPollsSetting({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Hi,T);return yield _e({type:"save",payload:{pollSetting:Lt({},Ie)}}),Ie},*editPolls({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.Ye,T);return yield _e({type:"save",payload:{editData:Lt({},JSON.parse(JSON.stringify(Ie)))}}),Ie},*getEndGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.KE,T);return yield _e({type:"save",payload:{endGroups:Lt({},Ie)}}),Ie},*getPublishGroups({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.ux,T);return yield _e({type:"save",payload:{publishGroups:Lt({},Ie)}}),Ie},*getExerciseBanks({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(kt.kp,T);return yield _e({type:"save",payload:{exerciseBanks:Lt({},Ie)}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Lt({},T)}})}},reducers:{save(T,O){return Lt(Lt({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Qr=e(47546),Hr=Object.defineProperty,Bn=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,St=(T,O,L)=>O in T?Hr(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Yr=(T,O)=>{for(var L in O||(O={}))wn.call(O,L)&&St(T,L,O[L]);if(Bn)for(var L of Bn(O))Yn.call(O,L)&&St(T,L,O[L]);return T},Mi={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:T},{call:O,put:L}){var _e;const Ie=yield O(Qr.gp,T);return(_e=Ie==null?void 0:Ie.teacher_list)==null||_e.map(hn=>(hn.key=hn.course_member_id,hn)),yield L({type:"save",payload:{list:Ie}}),Ie},*getStudentsList({payload:T},{call:O,put:L}){var _e;const Ie=yield O(Qr.ur,T);return(_e=Ie==null?void 0:Ie.students)==null||_e.map(hn=>(hn.key=hn.user_id,hn)),yield L({type:"save",payload:{studentsList:Ie}}),Ie},*getApplyList({payload:T},{call:O,put:L}){const _e=yield O(Qr.s,T);return yield L({type:"save",payload:{applyList:_e}}),_e},*getAllCourseGroups({payload:T},{call:O,put:L}){const _e=yield O(Qr.xV,T);return yield L({type:"save",payload:{allCourseGroups:_e}}),_e},*getGraduationGroupList({payload:T},{call:O,put:L}){const _e=yield O(Qr.Bg,T);return yield L({type:"save",payload:{graduationGroupList:_e}}),_e},*setAllCourseGroups({payload:T},{call:O,put:L}){const _e=yield O(Qr.oZ,T);return yield L({type:"save",payload:{setAllCourseGroups:_e}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Yr({},T)}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(T,O){return Yr(Yr({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Kn=e(11176),Tt=Object.defineProperty,fi=Object.getOwnPropertySymbols,pi=Object.prototype.hasOwnProperty,Ai=Object.prototype.propertyIsEnumerable,Ni=(T,O,L)=>O in T?Tt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,la=(T,O)=>{for(var L in O||(O={}))pi.call(O,L)&&Ni(T,L,O[L]);if(fi)for(var L of fi(O))Ai.call(O,L)&&Ni(T,L,O[L]);return T},zi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.BQ,T);return yield _e({type:"save",payload:{videoStatisticsList:la({},Ie)}}),Ie},*getNewVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.cU,T);return yield _e({type:"save",payload:{newVideoStatisticsList:la({},Ie)}}),Ie},*getVideoPeopleStatics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.Zx,T);return yield _e({type:"save",payload:{videoPeopleStatics:la({},Ie)}}),Ie},*getVideoDurationStatics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.Mz,T);return yield _e({type:"save",payload:{videoDurationStatics:la({},Ie)}}),Ie},*getVideoStatistics({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.ZY,T);return yield _e({type:"save",payload:{videoStatistics:la({},Ie)}}),Ie},*getOneVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.cU,T);return yield _e({type:"save",payload:{oneVideoStatisticsList:la({},Ie)}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:la({},T)}})},*getStudentVideoStatisticsList({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.Vg,T);return yield _e({type:"save",payload:{StudentvideoStatistics:la({},Ie)}}),Ie}},reducers:{save(T,O){return la(la({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},oi=e(33361),ji=Object.defineProperty,Ta=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Hi=(T,O,L)=>O in T?ji(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,gi=(T,O)=>{for(var L in O||(O={}))xt.call(O,L)&&Hi(T,L,O[L]);if(Ta)for(var L of Ta(O))xa.call(O,L)&&Hi(T,L,O[L]);return T},$i={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.cC,T)},*getGuides({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.Ax,T);return yield _e({type:"save",payload:{GuidesData:Ie}}),Ie},*getWorkSubmitUpdateRes({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.zF,T)},*getList({payload:T},{call:O,put:L}){const _e=T,Ie=yield O(oi.bQ,T);return yield L({type:"save",payload:gi({listParams:_e},Ie)}),Ie},*getMemberWorks({payload:T},{call:O,put:L}){const _e=yield O(oi.xx,T);return yield L({type:"save",payload:{MemberWorks:_e||{}}}),_e},*addApplytojoincourse({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.qS,T)},*competitionTeams({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.Pt,T)},*getStaff({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.Dh,T);return yield _e({type:"save",payload:{Staff:Ie}}),Ie},*getHeader({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.Pg,T);return yield _e({type:"save",payload:{Header:Ie}}),Ie},*getItem({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.rV,T);return yield _e({type:"save",payload:{RightItems:Ie}}),Ie},*updateMdContent({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.zj,T)},*getTeamList({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.aq,T)},*getTeamDetail({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.Ze,T)},*UpTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.yS,T)},*DeleteTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.ps,T)},*ExitTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.vV,T)},*AddTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.FU,T)},*AddPersonnel({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.R9,T)},*JoinTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.zc,T)},*getTeacher({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.jS,T)},*getStudents({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.sK,T)},*SubmitTeam({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.rm,T)},*Reward({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.Qp,T)},*ChartRules({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.Ux,T)},*Charts({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.GQ,T)},*TabResults({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.ml,T);return yield _e({type:"save",payload:{TabResultList:Ie}}),Ie},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gi({},T)}})},*Results({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.u9,T)},*Prize({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.pU,T);return yield _e({type:"save",payload:{Prizes:Ie}}),Ie},*Accounts({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.XJ,T);return yield _e({type:"save",payload:{Account:Ie}}),Ie},*getVerification({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.Ni,T)},*PhoneBind({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.uZ,T)},*EmailBind({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.rk,T)},*Authentication({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.Vy,T)},*Professional({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.tC,T)},*setleader({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.tO,T)},*getShixun({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.qj,T)},*getCourse({payload:T,callback:O},{call:L,put:_e}){return yield L(oi.XR,T)},*competition_teams({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.zz,T);return yield _e({type:"save",payload:{competition_team:Ie}}),Ie},*all_team_members({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(oi.$P,T);return yield _e({type:"save",payload:{all_team_member:Ie}}),Ie}},reducers:{save(T,O){return gi(gi({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ti=e(64348),Zn=e(23184),or=Object.defineProperty,ut=Object.defineProperties,me=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,mr=(T,O,L)=>O in T?or(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ir=(T,O)=>{for(var L in O||(O={}))rt.call(O,L)&&mr(T,L,O[L]);if(dt)for(var L of dt(O))pr.call(O,L)&&mr(T,L,O[L]);return T},Gr=(T,O)=>ut(T,me(O)),Dr={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Zn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Zn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ir({},T)}})},*getMajorList({payload:T},{call:O,put:L,select:_e}){const{userInfo:Ie}=yield _e(hn=>hn.user);if(Ie!=null&&Ie.school_id){const hn=yield O(ti.BA,Ie.school_id);hn&&hn.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[0],value:hn.data.map(On=>({label:On.name,value:On.ec_major_school_id}))}}))}},*getYearList({payload:T},{call:O,put:L}){const _e=yield O(ti.Nx,T);_e&&_e.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[1],value:_e.data.map(Ie=>({label:Ie.year,value:Ie.ec_year_id}))}}))},*getCourseResultDetail({payload:T},{call:O,put:L}){console.log(T,"payload");const _e=yield O(ti.p1,T);_e&&_e.ec_course_target&&(yield L({type:"setEchartsData",payload:_e}))},*getCourseResultDetailClass({payload:T},{call:O,put:L}){const _e=yield O(ti.ff,T);_e&&_e.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[..._e.class_name]}}}))},*setClassActive({payload:T},{call:O,put:L}){yield L({type:"save",payload:{classDataSource:Ir({},T)}})}},reducers:{save(T,O){return Ir(Ir({},T),O.payload)},setMajorOrYearDataSource(T,{payload:O}){return Gr(Ir({},T),{headerData:Gr(Ir({},T.headerData),{dataSource:Gr(Ir({},T.headerData.dataSource),{[O.key]:Gr(Ir({},T.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(T,{payload:O}){return Gr(Ir({},T),{headerData:Gr(Ir({},T.headerData),{active:Gr(Ir({},T.headerData.active),{[O.key]:O.value})})})},setEchartsData(T,{payload:O}){let L={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},_e={name:O.course_name||"",xData:[],seriesData:[]},Ie={};return O.ec_course_target.forEach((hn,On)=>{hn.position=On+1,L=Gr(Ir({},L),{dataSource:{xData:[...L.dataSource.xData,On+1],yBarData:[...L.dataSource.yBarData,hn.actual_grade],yLineData:[...L.dataSource.yLineData,hn.standard_grade]}});let mn=[],Bi={min:[],max:[]},ds=[],$a=[],Yo=[];hn.student_data.detail.forEach((is,Po)=>{let $s=is.score;mn.push(Po+1),Bi.max.push($s>=hn.student_data.goal_score?$s:null),Bi.min.push($s>=hn.student_data.goal_score?null:$s),ds.push(is.name),$a.push(is.student_id),Yo.push(is.clazz)}),Ie[On+1]={name:On+1,average_score:hn.student_data.average_score,goal_score:hn.student_data.goal_score,xData:mn,yData:Bi,name_data:ds,student_ids:$a,class_data:Yo,goal_scoreData:new Array(hn.student_data.detail.length).fill(hn.student_data.goal_score),average_scoreData:new Array(hn.student_data.detail.length).fill(hn.student_data.average_score)}}),O.history.forEach(hn=>{_e=Gr(Ir({},_e),{xData:[..._e.xData,hn.year],seriesData:[..._e.seriesData,hn.total_score]})}),Gr(Ir({},T),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:L,lineData:_e,scatterData:Ie}})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Cn=Object.defineProperty,_r=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,$e=(T,O,L)=>O in T?Cn(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,lt=(T,O)=>{for(var L in O||(O={}))Nn.call(O,L)&&$e(T,L,O[L]);if(_r)for(var L of _r(O))qn.call(O,L)&&$e(T,L,O[L]);return T},sr={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:lt({},T)}})},*setShowMenu({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showMenu:T}})},*setMatrixVerify({payload:T},{call:O,put:L}){yield L({type:"save",payload:{matrixVerify:lt({},T)}})}},reducers:{save(T,O){return lt(lt({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},nr=e(65152),Lr=Object.defineProperty,$r=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,pn=Object.getOwnPropertySymbols,Ti=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,bn=(T,O,L)=>O in T?Lr(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Kr=(T,O)=>{for(var L in O||(O={}))Ti.call(O,L)&&bn(T,L,O[L]);if(pn)for(var L of pn(O))ln.call(O,L)&&bn(T,L,O[L]);return T},Rn=(T,O)=>$r(T,Wr(O)),wa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Zn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Zn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Kr({},T)}})},*getMajorList({},{call:T,put:O,select:L}){const{userInfo:_e}=yield L(Ie=>Ie.user);if(_e!=null&&_e.school_id){const Ie=yield T(ti.BA,_e.school_id);if(Ie&&Ie.data){const hn=nr.U.getItem(_e==null?void 0:_e.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Zn.k[0],value:Ie.data.map(On=>({label:On.name,value:On.ec_major_school_id})),active:Ie.data.length>0?hn[0]||Ie.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(ti.Nx,T.id),{userInfo:hn}=yield _e(On=>On.user);if(Ie&&Ie.data){const On=nr.U.getItem(hn==null?void 0:hn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[1],value:Ie.data.map(mn=>({label:mn.year,value:mn.ec_year_id})),active:Ie.data.length>0?T.firstEnter?On[1]:Ie.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:T,put:O,select:L}){const{headerData:_e}=yield L(On=>On.engineeringNavigtion),{userInfo:Ie}=yield L(On=>On.user);let hn={};if(_e.active[Zn.k[1]]&&Ie.school_id){const On=[_e.active[Zn.k[0]],_e.active[Zn.k[1]]];nr.U.setItem(Ie==null?void 0:Ie.login,On);const mn=yield T(ti.bA,{ec_year_id:_e.active[Zn.k[1]],school_id:Ie.school_id});mn&&mn.data&&(hn=mn.data),yield O({type:"setTopPage",payload:hn})}},*putTopPageName({payload:T,callback:O},{call:L,put:_e}){try{const Ie=yield L(ti.ay,T);O(Ie)}catch(Ie){let hn="";Ie&&(hn=JSON.stringify(Ie),Ie.message&&(hn=Ie.message)),O({message:hn,status:999})}}},reducers:{save(T,O){return Kr(Kr({},T),O.payload)},setMajorOrYearDataSource(T,{payload:O}){let L=T.headerData.active;return O.active&&(L=Rn(Kr({},L),{[O.key]:O.active})),Rn(Kr({},T),{headerData:Rn(Kr({},T.headerData),{dataSource:Rn(Kr({},T.headerData.dataSource),{[O.key]:Rn(Kr({},T.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(T,{payload:O}){return Rn(Kr({},T),{headerData:Rn(Kr({},T.headerData),{active:Rn(Kr({},T.headerData.active),{[O.key]:O.value})})})},setTopPage(T,{payload:O}){return Rn(Kr({},T),{headerData:Rn(Kr({},T.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:Rn(Kr({},T.cardListData),{appraiseData:Rn(Kr({},T.cardListData.appraiseData),{norm:Rn(Kr({},T.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:T.cardListData.appraiseData.norm.listData.map(L=>Rn(Kr({},L),{value:O[L.key]||0}))}),course:Rn(Kr({},T.cardListData.appraiseData.course),{result:O.course_result,listData:T.cardListData.appraiseData.course.listData.map(L=>Rn(Kr({},L),{value:O[L.key]||0}))})}),teamData:{teach:Rn(Kr({},T.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:Rn(Kr({},T.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:T.totalListData.map(L=>Rn(Kr({},L),{value:O[L.key]||0}))})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Qs=Object.defineProperty,Ba=Object.defineProperties,zs=Object.getOwnPropertyDescriptors,Ns=Object.getOwnPropertySymbols,as=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Aa=(T,O,L)=>O in T?Qs(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ps=(T,O)=>{for(var L in O||(O={}))as.call(O,L)&&Aa(T,L,O[L]);if(Ns)for(var L of Ns(O))oo.call(O,L)&&Aa(T,L,O[L]);return T},ps=(T,O)=>Ba(T,zs(O)),Ji={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ps({},T)}})},*getGraduationResultDetail({payload:T},{call:O,put:L}){const _e=yield O(ti.gq,T);yield L({type:"save",payload:{dataSource:_e}})}},reducers:{save(T,O){return Ps(Ps({},T),O.payload)},setDataSource(T,{payload:O}){let L=O;return ps(Ps({},T),{dataSource:L})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},to=e(8591),Zo=Object.defineProperty,Na=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,mi=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,ss=(T,O,L)=>O in T?Zo(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Is=(T,O)=>{for(var L in O||(O={}))ro.call(O,L)&&ss(T,L,O[L]);if(mi)for(var L of mi(O))Ln.call(O,L)&&ss(T,L,O[L]);return T},Os=(T,O)=>Na(T,Zs(O)),qi=(T,O)=>{var L={};for(var _e in T)ro.call(T,_e)&&O.indexOf(_e)<0&&(L[_e]=T[_e]);if(T!=null&&mi)for(var _e of mi(T))O.indexOf(_e)<0&&Ln.call(T,_e)&&(L[_e]=T[_e]);return L},Zi={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Zn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Zn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Is({},T)}})},*getMajorList({},{call:T,put:O,select:L}){const{userInfo:_e}=yield L(Ie=>Ie.user);if(_e!=null&&_e.school_id){const Ie=yield T(ti.BA,_e.school_id);if(Ie&&Ie.data){const hn=nr.U.getItem(_e==null?void 0:_e.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Zn.k[0],value:Ie.data.map(On=>({label:On.name,value:On.ec_major_school_id})),active:Ie.data.length>0?hn[0]||Ie.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(ti.Nx,T.id),{userInfo:hn}=yield _e(On=>On.user);if(Ie&&Ie.data){const On=nr.U.getItem(hn==null?void 0:hn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Zn.k[1],value:Ie.data.map(mn=>({label:mn.year,value:mn.ec_year_id})),active:Ie.data.length>0?T.firstEnter?On[1]:Ie.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:T,put:O,select:L}){const{headerData:_e}=yield L(ds=>ds.engineeringNormList),{userInfo:Ie}=yield L(ds=>ds.user);let hn=[],On=[],mn="";const Bi=_e.active[Zn.k[1]];if(Bi){const ds=[_e.active[Zn.k[0]],_e.active[Zn.k[1]]];nr.U.setItem(Ie==null?void 0:Ie.login,ds);const $a=yield T(ti.eM,Bi);$a&&$a.graduation_requirements&&(mn=$a.all_goal_value||"",hn=$a.graduation_requirements.map(Yo=>{var is=Yo,{subitems:Po}=is,$s=qi(is,["subitems"]);return On.push($s.id),Os(Is({},$s),{children:Po})}))}yield O({type:"save",payload:{tabListData:hn,all_goal_value:mn,expandedRowKeys:On}})},*exportGraduation({},{call:T,select:O}){const{headerData:L}=yield O(_e=>_e.engineeringNormList);L.active[Zn.k[1]]&&(yield T(ti.OE,L.active[Zn.k[1]]))},*compute({payload:T},{call:O,put:L}){const _e=T,{all:Ie}=_e,hn=qi(_e,["all"]),On=yield O(Ie?ti.Qx:ti.Xl,hn);On&&On.status===0?(to.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):to.ZP.error(On.message)},*getFormulas({callback:T},{call:O,select:L}){const{headerData:_e}=yield L(Ie=>Ie.engineeringNormList);if(_e.active[Zn.k[1]]){const Ie=yield O(ti.mK,_e.active[Zn.k[1]]);T(Ie)}},*setFormulas({payload:T,callback:O},{call:L}){const _e=yield L(ti.y9,T);O(_e)},*putGoalValue({payload:T},{call:O,put:L}){const _e=yield O(ti.No,T);if(_e&&_e.status===0)to.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let Ie="\u4FDD\u5B58\u5931\u8D25";_e&&_e.message&&(Ie=_e.message),to.ZP.error(Ie)}}},reducers:{save(T,O){return Is(Is({},T),O.payload)},setMajorOrYearDataSource(T,{payload:O}){let L=T.headerData.active;return O.active&&(L=Os(Is({},L),{[O.key]:O.active})),Os(Is({},T),{headerData:Os(Is({},T.headerData),{dataSource:Os(Is({},T.headerData.dataSource),{[O.key]:Os(Is({},T.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(T,{payload:O}){return Os(Is({},T),{headerData:Os(Is({},T.headerData),{active:Os(Is({},T.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Ds=e(91697),xo=Object.defineProperty,Wo=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,vu=(T,O,L)=>O in T?xo(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,go=(T,O)=>{for(var L in O||(O={}))Xo.call(O,L)&&vu(T,L,O[L]);if(Wo)for(var L of Wo(O))mu.call(O,L)&&vu(T,L,O[L]);return T},Oo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:T},{call:O,put:L}){const _e=yield O(Ds.Si,T);return yield L({type:"save",payload:{forumsDetailData:go({},_e)}}),_e},*setForumsDetailData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{forumsDetailData:go({},T)}})}},reducers:{save(T,O){return go(go({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},nu=Object.defineProperty,qo=Object.getOwnPropertySymbols,vi=Object.prototype.hasOwnProperty,yi=Object.prototype.propertyIsEnumerable,Ja=(T,O,L)=>O in T?nu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ls=(T,O)=>{for(var L in O||(O={}))vi.call(O,L)&&Ja(T,L,O[L]);if(qo)for(var L of qo(O))yi.call(O,L)&&Ja(T,L,O[L]);return T},Ha={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:T},{call:O,put:L}){const _e=yield O(T.memoType==="shixun_discuss"?Ds.kd:Ds.bc,T);return delete T.memoType,yield L({type:"save",payload:{listParams:T,forumsData:ls({},_e)}}),_e}},reducers:{save(T,O){return ls(ls({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ms=e(19415),Qo=e(78323),ks=e(28209),Mo=e.n(ks),wu=Object.defineProperty,Iu=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Fo=(T,O,L)=>O in T?wu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,uo=(T,O)=>{for(var L in O||(O={}))rl.call(O,L)&&Fo(T,L,O[L]);if(Iu)for(var L of Iu(O))dl.call(O,L)&&Fo(T,L,O[L]);return T},Gu={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:T},{call:O,put:L}){var _e,Ie;const hn=yield O(ms.D2,T);Qo.Z.ONLYOFFICE=(_e=hn==null?void 0:hn.setting)==null?void 0:_e.office_server_url,Bo(hn);try{const Bi="5183666c72eec9e4",ds="5183666c72eec9e4";var On=Mo().enc.Utf8.parse(Bi);let $a=Mo().enc.Utf8.parse(ds);var mn=Mo().AES.decrypt(((Ie=hn==null?void 0:hn.setting)==null?void 0:Ie.user_default_password)||"",On,{iv:$a,mode:Mo().mode.CBC});hn.setting.user_default_password=mn.toString(Mo().enc.Utf8)}catch(Bi){}yield L({type:"save",payload:uo({},hn)})},*getSystemUpdate({payload:T},{call:O,put:L}){const _e=yield O(ms.n0,T);yield L({type:"save",payload:{updateData:uo({},_e)}})},*setTheme({payload:T},{call:O,put:L}){const _e=yield O(ms.n0,T);yield L({type:"save",payload:{theme:T||"default"}})},*setShareData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{shareData:T}})},*setGlobalLoading({payload:T},{call:O,put:L}){yield L({type:"save",payload:{globalLoading:uo({},T)}})},*delayTipToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showTip:T}})},*headerToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showHeader:T}})},*footerToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showFooter:T}})},*headerFooterToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFooter:T}})},*delayTipToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showTip:T}})},*headerFixedToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFixed:T}})},*onlyShowBackTopToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTop:T}})},*onlyShowBackTopIconToggle({payload:T},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:T}})},*setOperateModel({payload:T},{call:O,put:L}){yield L({type:"save",payload:{operateModel:T}})},*setOperateModelPath({payload:T},{call:O,put:L}){yield L({type:"save",payload:{operateModelPath:T}})},*setShowQuestionBackTop({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showQuestionBackTop:T}})},*setInfoData({payload:T},{call:O,put:L}){yield L({type:"save",payload:{infoData:uo({},T)}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:uo({},T)}})}},reducers:{save(T,O){return uo(uo({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{})}}};const Bo=(T={})=>{var O,L,_e,Ie,hn;if(window.self!==window.top||!((O=T.setting)!=null&&O.tab_logo_url))return;const On=document.createElement("link"),mn=document.getElementById("dynamic-favicon");On.id="dynamic-favicon",On.rel="shortcut icon",On.href=(L=T.setting)!=null&&L.tab_logo_url?`${Qo.Z.IMG_SERVER}/${(_e=T.setting)==null?void 0:_e.tab_logo_url}`:"",mn&&document.head.removeChild(mn),document.head.appendChild(On);try{(Ie=T.setting)!=null&&Ie.main_site||(document.querySelector('meta[name="keywords"]').content=(hn=T.setting)==null?void 0:hn.name,document.querySelector('meta[name="description"]').remove())}catch(Bi){}};var $o=e(15039),Uu=Object.defineProperty,iu=Object.getOwnPropertySymbols,_u=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,gu=(T,O,L)=>O in T?Uu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ko=(T,O)=>{for(var L in O||(O={}))_u.call(O,L)&&gu(T,L,O[L]);if(iu)for(var L of iu(O))No.call(O,L)&&gu(T,L,O[L]);return T},yr={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:T},{call:O,put:L}){return yield O($o.Xh,T)},*getGraduationsFinalScore({payload:T},{call:O,put:L}){return yield O($o.H3,T)},*getDelGraduationsTasks({payload:T},{call:O,put:L}){return yield O($o.km,T)},*getGraduationsTasks({payload:T},{call:O,put:L}){const _e=yield O($o.Xw,T);yield L({type:"save",payload:{Tasks:_e}})},*getGraduationsTeachers({payload:T},{call:O,put:L}){var _e;const Ie=yield O($o.AA,T);return(_e=Ie==null?void 0:Ie.data)==null||_e.map(hn=>(hn.key=hn.id,hn)),yield L({type:"save",payload:{teachers:Ie}}),Ie},*getGraduationsStudents({payload:T},{call:O,put:L}){var _e;const Ie=yield O($o.eh,T);(_e=Ie==null?void 0:Ie.data)==null||_e.map(hn=>(hn.key=hn.id,hn)),yield L({type:"save",payload:{students:Ie}})},*getGraduationsNotices({payload:T},{call:O,put:L}){const _e=yield O($o.Rk,T);yield L({type:"save",payload:{Notices:_e}})},*getGraduationsInfo({payload:T},{call:O,put:L}){const _e=yield O($o.F7,T);yield L({type:"save",payload:{graduation:_e.graduation}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ko({},T)}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:T},{call:O,put:L}){const _e=yield O($o.Ou,T);yield L({type:"save",payload:{details:(_e==null?void 0:_e.graduation)||{},menus:(_e==null?void 0:_e.data)||[],forTask:(_e==null?void 0:_e.for_task)||[]}})}},reducers:{save(T,O){return Ko(Ko({},T),O.payload)}}},hr=e(59898),gr=Object.defineProperty,Tr=Object.defineProperties,xn=Object.getOwnPropertyDescriptors,Wn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,si=(T,O,L)=>O in T?gr(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Jn=(T,O)=>{for(var L in O||(O={}))Mn.call(O,L)&&si(T,L,O[L]);if(Wn)for(var L of Wn(O))Hn.call(O,L)&&si(T,L,O[L]);return T},vr=(T,O)=>Tr(T,xn(O)),jr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:T},{call:O,put:L}){const _e=yield O(hr.Tt,{payload:T});yield L({type:"save",payload:vr(Jn({},_e),{isloading:!0})})},*query({payload:T},{call:O,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:T,callback:O},{call:L,put:_e}){return yield L(hr.LA,T)},*UploadNotice({payload:T,callback:O},{call:L,put:_e}){return yield L(hr.S_,T)}},reducers:{save(T,O){return Jn(Jn({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Tn=Object.defineProperty,In=Object.defineProperties,li=Object.getOwnPropertyDescriptors,Ci=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,ra=(T,O,L)=>O in T?Tn(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,bi=(T,O)=>{for(var L in O||(O={}))$n.call(O,L)&&ra(T,L,O[L]);if(Ci)for(var L of Ci(O))ta.call(O,L)&&ra(T,L,O[L]);return T},wt=(T,O)=>In(T,li(O)),Sa={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(T,O){return bi(bi({},T),O.payload)},openModal(T,O){return wt(bi({},T),{visibleModalName:O.payload})},closeModal(T){return wt(bi({},T),{visibleModalName:""})},openSimpleModal(T,O){return wt(bi({},T),{simpleModalProps:bi({visible:!0},O.payload)})},closeSimpleModal(T){return wt(bi({},T),{simpleModalProps:{visible:!1}})}}},Ra=e(57193),Ys=Object.defineProperty,sn=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,Rs=(T,O,L)=>O in T?Ys(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,no=(T,O)=>{for(var L in O||(O={}))Do.call(O,L)&&Rs(T,L,O[L]);if(sn)for(var L of sn(O))lo.call(O,L)&&Rs(T,L,O[L]);return T},io=(T,O,L)=>new Promise((_e,Ie)=>{var hn=Bi=>{try{mn(L.next(Bi))}catch(ds){Ie(ds)}},On=Bi=>{try{mn(L.throw(Bi))}catch(ds){Ie(ds)}},mn=Bi=>Bi.done?_e(Bi.value):Promise.resolve(Bi.value).then(hn,On);mn((L=L.apply(T,O)).next())});const ts=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/banner.json",{method:"get",params:no({},T)})}),cs=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:no({},T)})}),ja=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:no({},T)})}),os=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:no({},T)})}),Ye=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects.json",{method:"post",body:no({},T)})}),Pe=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:no({},T)})}),Bt=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:no({},T)})}),mt=T=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:no({},T)})});var Ar=Object.defineProperty,Br=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,fn=(T,O,L)=>O in T?Ar(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,An=(T,O)=>{for(var L in O||(O={}))Vr.call(O,L)&&fn(T,L,O[L]);if(Br)for(var L of Br(O))En.call(O,L)&&fn(T,L,O[L]);return T},ai={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:T},{call:O,put:L}){const{data:{adv:_e,top_banner:Ie}}=yield O(ts,T);yield L({type:"save",payload:{BannerList:Ie,Adv:_e}})},*getTopCategoryList({payload:T},{call:O,put:L}){const{data:{top_category_list:_e}}=yield O(cs,T);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},..._e]}})},*getHotList({payload:T},{call:O,put:L}){const{data:{hot_list:_e}}=yield O(ja,T);yield L({type:"save",payload:{HotList:_e}})},*getDiscountList({payload:T},{call:O,put:L}){const{data:{discount_list:_e}}=yield O(os,T);yield L({type:"save",payload:{DiscountList:_e}})},*getPaidSubjects({payload:T},{call:O,put:L}){const{data:_e}=yield O(Ye,T);yield L({type:"save",payload:{SubjectList:_e}})},*getTags({payload:T},{call:O,put:L}){const{data:{list:_e}}=yield O(Pe,T);yield L({type:"save",payload:{Tags:_e}})},*getUserComments({payload:T},{call:O,put:L}){const{data:{list:_e}}=yield O(Bt,T);yield L({type:"save",payload:{UserComments:_e}})},*getInfoShow({payload:T},{call:O,put:L}){const{data:_e}=yield O(mt,T);yield L({type:"save",payload:{InfoShow:_e}})}},reducers:{save(T,O){return An(An({},T),O.payload)}}},Fi={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},na=e(62889),Gi=Object.defineProperty,Ii=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,_i=(T,O,L)=>O in T?Gi(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,fa=(T,O)=>{for(var L in O||(O={}))Pa.call(O,L)&&_i(T,L,O[L]);if(Ii)for(var L of Ii(O))Oi.call(O,L)&&_i(T,L,O[L]);return T},Xs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:T},{call:O,put:L}){const _e=yield O(na.Ub,T);return yield L({type:"save",payload:{privateMessageDetails:_e||[]}}),_e},*getTidings({payload:T},{call:O,put:L}){const _e=yield O(na.AD,T);yield L({type:"save",payload:{tidingsList:_e||[]}})},*getPrivateMessages({payload:T},{call:O,put:L}){const _e=yield O(na.V8,T);return yield L({type:"save",payload:{privateMessage:_e||[]}}),_e},*getUsersForPrivateMessages({payload:T},{call:O,put:L}){const _e=yield O(na.QJ,T);return yield L({type:"save",payload:{userPrivateMessage:_e||[]}}),_e},*unreadMessageInfo({payload:T},{call:O,put:L}){const _e=yield O(na.Ig,T);yield L({type:"save",payload:{unreadInfo:_e||[]}})},*getRecentContacts({payload:T},{call:O,put:L}){const _e=yield O(na.Ko,T);return yield L({type:"save",payload:{recentContacts:_e||[]}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:fa({},T)}})}},reducers:{save(T,O){return fa(fa({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},ia=e(68875),fs=e(63949),ya=e(76936),vs=Object.defineProperty,La=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Ls=Object.getOwnPropertySymbols,ao=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable,pa=(T,O,L)=>O in T?vs(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ms=(T,O)=>{for(var L in O||(O={}))ao.call(O,L)&&pa(T,L,O[L]);if(Ls)for(var L of Ls(O))xs.call(O,L)&&pa(T,L,O[L]);return T},jo=(T,O)=>La(T,rs(O));const Js=(T,O)=>{var L,_e,Ie,hn,On,mn,Bi,ds,$a;if(!T)return;const{exam:Yo,single_questions:is,multiple_questions:Po,judgement_questions:$s,program_questions:tf,completion_questions:Jl,subjective_questions:Bc,practical_questions:rf,combination_questions:Qu,bprogram_questions:Pi}=T||{},Cl=[Ms({type:"SINGLE",question_type:0,name:((L=O==null?void 0:O.find(gs=>gs.value==ya.fw[0].nameType))==null?void 0:L.name)||ya.fw[0].name},is),Ms({type:"MULTIPLE",question_type:1,name:((_e=O==null?void 0:O.find(gs=>gs.value==ya.fw[1].nameType))==null?void 0:_e.name)||ya.fw[1].name},Po),Ms({type:"JUDGMENT",question_type:2,name:((Ie=O==null?void 0:O.find(gs=>gs.value==ya.fw[2].nameType))==null?void 0:Ie.name)||ya.fw[2].name},$s),Ms({type:"PROGRAM",question_type:6,name:((hn=O==null?void 0:O.find(gs=>gs.value==ya.fw[6].nameType))==null?void 0:hn.name)||ya.fw[6].name},tf),Ms({type:"COMPLETION",question_type:3,name:((On=O==null?void 0:O.find(gs=>gs.value==ya.fw[3].nameType))==null?void 0:On.name)||ya.fw[3].name},Jl),Ms({type:"SUBJECTIVE",question_type:4,name:((mn=O==null?void 0:O.find(gs=>gs.value==ya.fw[4].nameType))==null?void 0:mn.name)||ya.fw[4].name},Bc),Ms({type:"PRACTICAL",question_type:5,name:((Bi=O==null?void 0:O.find(gs=>gs.value==ya.fw[5].nameType))==null?void 0:Bi.name)||ya.fw[5].name},rf),Ms({type:"COMBINATION",question_type:7,name:((ds=O==null?void 0:O.find(gs=>gs.value==ya.fw[7].nameType))==null?void 0:ds.name)||ya.fw[7].name},Qu),Ms({type:"BPROGRAM",question_type:8,name:(($a=O==null?void 0:O.find(gs=>gs.value==ya.fw[8].nameType))==null?void 0:$a.name)||ya.fw[8].name},Pi)],Nc=[];if(T.sort_by_qustion_type)for(const gs of T.qustion_type_order_name_en)Nc.push(Cl.find(bl=>bl.type===gs));const _o=(T.sort_by_qustion_type?Nc:Cl).filter(gs=>(gs==null?void 0:gs.questions_count)>0).map((gs,bl)=>{var ec;return Ms(Ms({},gs),{number:(0,fs.EM)(bl+1),questions:(ec=gs==null?void 0:gs.questions)==null?void 0:ec.map(xl=>jo(Ms({},xl),{shixun:xl.examination_bank_shixun_challenges,question_type:gs.question_type}))})});return{exam:Yo,questionList:_o}};var Ga=e(41576),us=Object.defineProperty,co=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Dt=(T,O,L)=>O in T?us(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ia=(T,O)=>{for(var L in O||(O={}))Va.call(O,L)&&Dt(T,L,O[L]);if(co)for(var L of co(O))Vt.call(O,L)&&Dt(T,L,O[L]);return T},_n={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:T},{call:O,put:L}){return yield O(ia.a2,T)},*postCheckExaminationBanks({payload:T},{call:O,put:L}){return yield O(ia.q$,T)},*postPaperlibraryCopy({payload:T},{call:O,put:L}){return yield O(ia.ID,T)},*getDisciplines({payload:T},{call:O,put:L}){const _e=yield O(ia.d1,T);return yield L({type:"save",payload:{disciplinesData:Ia({},_e)}}),_e},*getCustomDisciplines({payload:T},{call:O,put:L}){const _e=yield O(ia.ar,T);return yield L({type:"save",payload:{disciplinesData:Ia({},_e)}}),_e},*getEditDisciplines({payload:T},{call:O,put:L}){const _e=yield O(ia.d1,T),Ie=_e==null?void 0:_e.disciplines,hn=(0,Ga.L)(Ie);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:Ia({},_e)}}),_e},*getTeachGroupData({payload:T},{call:O,put:L}){const _e=yield O(ia.Dm,T);return yield L({type:"save",payload:{teachGroupData:Ia({},_e)}}),_e},*getPaperData({payload:T},{call:O,put:L}){const _e=yield O(ia.iT,T),Ie=yield O(ia.cV,T),hn=Js(_e,Ie.data);return yield L({type:"save",payload:{paperData:hn}}),_e},*getPaperlibraryList({payload:T},{call:O,put:L}){return yield O(ia.Gd,T)},*setPublic({payload:T},{call:O,put:L}){return yield O(ia.DF,T)},*handleDelete({payload:T},{call:O,put:L}){return yield O(ia.fn,T)},*getCourseList({payload:T},{call:O,put:L}){return yield O(ia.tS,T)},*postBatchSendToCourse({payload:T},{call:O,put:L}){return yield O(ia.lc,T)},*sendToClass({payload:T},{call:O,put:L}){return yield O(ia.kp,T)},*adjustPosition({payload:T},{call:O,put:L}){return yield O(ia.qN,T)},*setScore({payload:T},{call:O,put:L}){return yield O(ia.ts,T)},*handleDeleteEditQuestion({payload:T},{call:O,put:L}){return yield O(ia.NC,T)},*batchSetScore({payload:T},{call:O,put:L}){return yield O(ia.YP,T)},*batchDelete({payload:T},{call:O,put:L}){return yield O(ia.Hm,T)},*updatePaper({payload:T},{call:O,put:L}){return yield O(ia.jK,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ia({},T)}})}},reducers:{save(T,O){return Ia(Ia({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Sn=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,Mr=(T,O,L)=>O in T?Sn(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Jr=(T,O)=>{for(var L in O||(O={}))Nt.call(O,L)&&Mr(T,L,O[L]);if(Ze)for(var L of Ze(O))Sr.call(O,L)&&Mr(T,L,O[L]);return T},Qi={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ia.Dq,T);return yield _e({type:"save",payload:{exerciseExportHeadData:Jr({},Ie)}}),Ie},*editExercise({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(ia.Di,T);return yield _e({type:"save",payload:{editData:Jr({},Ie)}}),Ie},*getTagDiscipline({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(He.YY,T);return yield _e({type:"save",payload:{tagDisciplineData:Jr({},Ie)}}),Ie},*editExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(ia.oF,T)},*addExerciseQuestion({payload:T,callback:O},{call:L,put:_e}){return yield L(ia.oF,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Jr({},T)}})}},reducers:{save(T,O){return Jr(Jr({},T),O.payload)},modifyTitle(T,O){const L=(0,Ge.cloneDeep)(T);return L.editData.exercise.exercise_name=O.payload,L}},subscriptions:{setup({dispatch:T,history:O}){}}},ci=e(53283),Eo=Object.defineProperty,da=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable,ws=(T,O,L)=>O in T?Eo(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,mo=(T,O)=>{for(var L in O||(O={}))ns.call(O,L)&&ws(T,L,O[L]);if(da)for(var L of da(O))qa.call(O,L)&&ws(T,L,O[L]);return T},yu={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:T},{call:O,put:L}){const _e=yield O(ci.Ax,T);yield L({type:"save",payload:{discusses:mo({},_e)}})},*getPathsDetail({payload:T},{call:O,put:L}){const _e=yield O(ci.lk,T);return yield L({type:"save",payload:{detail:mo({},_e)}}),_e},*getCourseDetail({payload:T},{call:O,put:L}){const _e=yield O(ci.Sp,T);return yield L({type:"save",payload:{detail:mo({},_e)}}),_e},*getKnowledgeGraphs({payload:T},{call:O,put:L}){const _e=yield O(ci.Bz,T);return yield L({type:"save",payload:{detail:mo({},(_e==null?void 0:_e.data)||{})}}),(_e==null?void 0:_e.data)||{}},*getRightData({payload:T},{call:O,put:L}){const _e=yield O(ci.AQ,T);yield L({type:"save",payload:{rightData:mo({},_e)}})},*getCoureses({payload:T},{call:O,put:L}){const _e=yield O(ci.ue,T);yield L({type:"save",payload:{Courses:mo({},_e)}})},*getStageChildrenData({payload:T},{call:O,put:L}){const _e=yield O(ci.w4,T);return yield L({type:"save",payload:{StageChildrenData:_e}}),_e},*getStageData({payload:T},{call:O,put:L}){var _e,Ie,hn;let On=null;return T!=null&&T.show_course_section?On=yield O(ci.yN,T):On=yield O(ci.p,T),yield L({type:"save",payload:{stageData:((_e=On==null?void 0:On.data)==null?void 0:_e.stages)||(On==null?void 0:On.stages)||[],isShowSchedule:((Ie=On==null?void 0:On.data)==null?void 0:Ie.is_show_schedule)||(On==null?void 0:On.is_show_schedule)||!1}}),(hn=On==null?void 0:On.data)==null?void 0:hn.stages},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:mo({},T)}})}},reducers:{save(T,O){return mo(mo({},T),O.payload)}}},Ke=Object.defineProperty,W=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,he=(T,O,L)=>O in T?Ke(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,we=(T,O)=>{for(var L in O||(O={}))Y.call(O,L)&&he(T,L,O[L]);if(W)for(var L of W(O))te.call(O,L)&&he(T,L,O[L]);return T},Et={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:T},{call:O,put:L}){const _e=T,Ie=yield O(ci.tS,T);return yield L({type:"save",payload:we({listParams:_e},Ie)}),Ie},*getMenus({payload:T},{call:O,put:L}){const _e=yield O(ci.fh,T);yield L({type:"save",payload:{menus:_e}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:we({},T)}})},*clearListParams({payload:T},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(T,O){return we(we({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},zt=Object.defineProperty,fr=Object.getOwnPropertySymbols,Pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,dn=(T,O,L)=>O in T?zt(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Pn=(T,O)=>{for(var L in O||(O={}))Pr.call(O,L)&&dn(T,L,O[L]);if(fr)for(var L of fr(O))Xr.call(O,L)&&dn(T,L,O[L]);return T},ei={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:T},{call:O,put:L}){return yield O(ci.tu,T)},*submitCourse({payload:T},{call:O,put:L}){return yield O(ci.pU,T)},*getEditCourseData({payload:T},{call:O,put:L}){return yield O(ci.mQ,T)},*getSchoolOption({payload:T},{call:O,put:L}){return yield O(ci.GY,T)},*appplySchool({payload:T},{call:O,put:L}){return yield O(ci.bz,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Pn({},T)}})}},reducers:{save(T,O){return Pn(Pn({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ki=Object.defineProperty,Ui=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,Cs=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,js=(T,O,L)=>O in T?ki(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,_s=(T,O)=>{for(var L in O||(O={}))Cs.call(O,L)&&js(T,L,O[L]);if(ba)for(var L of ba(O))Fs.call(O,L)&&js(T,L,O[L]);return T},Oa=(T,O)=>Ui(T,aa(O)),Es={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:T},{call:O,put:L}){const _e=yield O(ci.nq,T);yield L({type:"save",payload:{SubjectUseInfos:_e}})},*getRankList({payload:T},{call:O,put:L}){const _e=yield O(ci.Fg,T);yield L({type:"save",payload:{RankList:Oa(_s({},_e),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_list)||[]]})}})},*getStatisticsBody({payload:T},{call:O,put:L}){const _e=yield O(ci.Gz,T);yield L({type:"save",payload:{SBody:_e}})},*getOnlineCount({payload:T},{call:O,put:L}){const _e=yield O(ci.hS,T);yield L({type:"save",payload:{OnlineCount:_e==null?void 0:_e.data}})},*getStatisticsHeader({payload:T},{call:O,put:L}){const _e=yield O(ci.Hl,T);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(T,O){return _s(_s({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},xr=e(55301),ko=Object.defineProperty,Uo=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Jo=(T,O,L)=>O in T?ko(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,yo=(T,O)=>{for(var L in O||(O={}))Su.call(O,L)&&Jo(T,L,O[L]);if(Uo)for(var L of Uo(O))Hs.call(O,L)&&Jo(T,L,O[L]);return T},El={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:T},{call:O,put:L}){const _e=yield O(xr.ex,T);return yield L({type:"save",payload:{groupfolderList:_e}}),_e},*getDisciplines({payload:T},{call:O,put:L}){const _e=yield O(xr.d1,T);return yield L({type:"save",payload:{disciplinesData:yo({},_e)}}),_e},*getEditDisciplines({payload:T},{call:O,put:L}){const _e=yield O(xr.d1,T),Ie=_e==null?void 0:_e.disciplines,hn=(0,Ga.L)(Ie);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:yo({},_e)}}),_e},*getBasketList({payload:T},{call:O,put:L}){const _e=yield O(xr.Qj,T);return yield L({type:"save",payload:{basketData:yo({},_e)}}),_e},*getTeachGroupData({payload:T},{call:O,put:L}){const _e=yield O(xr.Dm,T);return yield L({type:"save",payload:{teachGroupData:yo({},_e)}}),_e},*getEditData({payload:T},{call:O,put:L}){const _e=yield O(xr.FG,T);return yield L({type:"save",payload:{editData:yo({},_e)}}),_e},*getEditDataBprogram({payload:T},{call:O,put:L}){const _e=yield O(xr.Bo,T);return yield L({type:"save",payload:{editData:yo({},_e)}}),_e},*getGroupData({payload:T},{call:O,put:L}){const _e=yield O(xr.hI,T);return yield L({type:"save",payload:{groupData:yo({},_e)}}),_e},*getItemBanks({payload:T},{call:O,put:L}){const _e=yield O(xr.Of,T);return yield L({type:"save",payload:{itemBanks:yo({},_e)}}),_e},*setPrivate({payload:T},{call:O,put:L}){return yield O(xr.Pl,T)},*revokePublish({payload:T},{call:O,put:L}){return yield O(xr.IJ,T)},*setPublic({payload:T},{call:O,put:L}){return yield O(xr.DF,T)},*handleDelete({payload:T},{call:O,put:L}){return yield O(xr.fn,T)},*startExperience({payload:T},{call:O,put:L}){return yield O(xr.Bd,T)},*cancel({payload:T},{call:O,put:L}){return yield O(xr.al,T)},*select({payload:T},{call:O,put:L}){return yield O(xr.Ys,T)},*examUnselectAll({payload:T},{call:O,put:L}){return yield O(xr.rV,T)},*basketDelete({payload:T},{call:O,put:L}){return yield O(xr.x5,T)},*unselectAll({payload:T},{call:O,put:L}){return yield O(xr.HF,T)},*addKnowledge({payload:T},{call:O,put:L}){return yield O(xr.U6,T)},*editProblemset({payload:T},{call:O,put:L}){return yield O(xr.Wk,T)},*addProblemset({payload:T},{call:O,put:L}){return yield O(xr.Mr,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:yo({},T)}})}},reducers:{save(T,O){return yo(yo({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Sl=Object.defineProperty,nl=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,Ku=(T,O,L)=>O in T?Sl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ro=(T,O)=>{for(var L in O||(O={}))Gs.call(O,L)&&Ku(T,L,O[L]);if(nl)for(var L of nl(O))$u.call(O,L)&&Ku(T,L,O[L]);return T},Zl={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:T},{call:O,put:L}){const _e=yield O(xr.iT,T),Ie=(0,Ga.r)(_e);return yield L({type:"save",payload:{paperData:Ie}}),_e},*getEditDisciplines({payload:T},{call:O,put:L}){const _e=yield O(xr.d1,T),Ie=_e==null?void 0:_e.disciplines,hn=(0,Ga.L)(Ie);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:Ro({},_e)}}),_e},*setScore({payload:T},{call:O,put:L}){return yield O(xr.ts,T)},*handleDelete({payload:T},{call:O,put:L}){return yield O(xr.Cn,T)},*batchSetScore({payload:T},{call:O,put:L}){return yield O(xr.YP,T)},*batchDelete({payload:T},{call:O,put:L}){return yield O(xr.Hm,T)},*adjustPosition({payload:T},{call:O,put:L}){return yield O(xr.qN,T)},*newPreviewProblemset({payload:T},{call:O,put:L}){return yield O(xr.et,T)},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ro({},T)}})}},reducers:{save(T,O){return Ro(Ro({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},bu=e(43126),Wl=Object.defineProperty,So=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Hl=(T,O,L)=>O in T?Wl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,tu=(T,O)=>{for(var L in O||(O={}))au.call(O,L)&&Hl(T,L,O[L]);if(So)for(var L of So(O))hl.call(O,L)&&Hl(T,L,O[L]);return T},$l={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:T},{call:O,put:L}){const _e=yield O(bu.Go,T);return yield L({type:"save",payload:{restful:tu({},_e)}}),_e},*getRestfulDetail({payload:T},{call:O,put:L}){const _e=yield O(bu.H5,T);return yield L({type:"save",payload:{restfulDetail:tu({},(_e==null?void 0:_e.data)||{})}}),(_e==null?void 0:_e.data)||{}},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:tu({},T)}})}},reducers:{save(T,O){return tu(tu({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},di=e(86342);const uc=(T={})=>{var O,L,_e,Ie,hn,On;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=T==null?void 0:T.content_info)==null?void 0:O.status,username:(L=T==null?void 0:T.content_info)==null?void 0:L.username,time:(_e=T==null?void 0:T.content_info)==null?void 0:_e.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Ie=T==null?void 0:T.perference_info)==null?void 0:Ie.status,username:(hn=T==null?void 0:T.perference_info)==null?void 0:hn.username,time:(On=T==null?void 0:T.perference_info)==null?void 0:On.time}]};var ho=Object.defineProperty,Gc=Object.defineProperties,zu=Object.getOwnPropertyDescriptors,pl=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,$c=(T,O,L)=>O in T?ho(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ao=(T,O)=>{for(var L in O||(O={}))il.call(O,L)&&$c(T,L,O[L]);if(pl)for(var L of pl(O))Ac.call(O,L)&&$c(T,L,O[L]);return T},Kc=(T,O)=>Gc(T,zu(O)),lc={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:T},{call:O,put:L}){const _e=yield O(di.Po,T);return yield L({type:"save",payload:{detail:Ao({},_e)}}),_e},*getMirrorApplies({payload:T},{call:O,put:L}){const _e=yield O(di.tX,T);return yield L({type:"save",payload:{mirrorApplies:Ao({},(_e==null?void 0:_e.data)||{})}}),_e},*getRightData({payload:T},{call:O,put:L}){const _e=yield O(di.AQ,T);yield L({type:"save",payload:{rightData:Ao({},_e)}})},*getChallengesData({payload:T},{call:O,put:L}){const _e=yield O(di.n5,T);yield L({type:"save",payload:{challenges:Ao({},_e)}})},*saveCopyForExercise({payload:T},{call:O,put:L}){return yield O(di.FB,T)},*execJupyter({payload:T},{call:O,put:L}){return yield O(di.BK,T)},*execShixun({payload:T},{call:O,put:L}){const _e=yield O(di.Ir,T);return(_e==null?void 0:_e.status)===-3&&(0,fs.eF)(),_e},*openChallenge({payload:T},{call:O,put:L}){return yield O(di.dK,T)},*challengeMoveUp({payload:T},{call:O,put:L}){return yield O(di.zD,T)},*challengeMoveDown({payload:T},{call:O,put:L}){return yield O(di.hn,T)},*cancelCollect({payload:T},{call:O,put:L}){return yield O(di.rs,T)},*collect({payload:T},{call:O,put:L}){return yield O(di.KM,T)},*searchUserCourses({payload:T},{call:O,put:L}){return yield O(di._7,T)},*sendToCourse({payload:T},{call:O,put:L}){return yield O(di.Q,T)},*cancelRelease({payload:T},{call:O,put:L}){return yield O(di.Ne,T)},*cancelPublic({payload:T},{call:O,put:L}){return yield O(di.Er,T)},*applyPublic({payload:T},{call:O,put:L}){return yield O(di.WO,T)},*release({payload:T},{call:O,put:L}){return yield O(di.Ar,T)},*updateAuditSituation({payload:T},{call:O,put:L}){return yield O(di.LP,T)},*getCollaboratorsData({payload:T},{call:O,put:L}){return yield O(di.j8,T)},*addCollaborator({payload:T},{call:O,put:L}){return yield O(di.OV,T)},*addTeachGroupMember({payload:T},{call:O,put:L}){return yield O(di.l3,T)},*getChangeManager({payload:T},{call:O,put:L}){return yield O(di.P2,T)},*changeManager({payload:T},{call:O,put:L}){return yield O(di.X$,T)},*deleteCollaborators({payload:T},{call:O,put:L}){return yield O(di.xk,T)},*getRankingList({payload:T},{call:O,put:L}){return yield O(di.E4,T)},*getMirrorScript({payload:T},{call:O,put:L}){return yield O(di.Z2,T)},*getScriptContent({payload:T},{call:O,put:L}){return yield O(di.Bj,T)},*getCustomScript({payload:T},{call:O,put:L}){return yield O(di.Wi,T)},*updateSettingBasicInfo({payload:T},{call:O,put:L}){return yield O(di.ZO,T)},*getShixunQuote({payload:T},{call:O,put:L}){return yield O(di.Gr,T)},*deleteShixun({payload:T},{call:O,put:L}){return yield O(di.Ps,T)},*permanentClose({payload:T},{call:O,put:L}){return yield O(di.U9,T)},*getDepartments({payload:T},{call:O,put:L}){return yield O(di.Ql,T)},*updatePermissionSetting({payload:T},{call:O,put:L}){return yield O(di.aH,T)},*updateLearnSetting({payload:T},{call:O,put:L}){return yield O(di.yE,T)},*updateSetting({payload:T},{call:O,put:L}){return yield O(di.m7,T)},*getSetData({payload:T},{call:O,put:L}){return yield O(di.U0,T)},*deleteDataSet({payload:T},{call:O,put:L}){return yield O(di.uo,T)},*deleteGitFile({payload:T},{call:O,put:L}){return yield O(di.sr,T)},*deleteGitFiles({payload:T},{call:O,put:L}){return yield O(di.p0,T)},*moveGitFile({payload:T},{call:O,put:L}){return yield O(di.IT,T)},*moveGitFiles({payload:T},{call:O,put:L}){return yield O(di.t2,T)},*getRepository({payload:T},{call:O,put:L}){const _e=yield O(di.Ag,T);return yield L({type:"save",payload:{repository:Ao({},_e)}}),Ao({},_e)},*getRepositorys({payload:T},{call:O,put:L}){const _e=yield O(di.Wl,T);return yield L({type:"save",payload:{repository:Ao({},_e)}}),Ao({},_e)},*getRepositorys({payload:T},{call:O,put:L}){const _e=yield O(di.Wl,T);return yield L({type:"save",payload:{repository:Ao({},_e)}}),Ao({},_e)},*getSecretRepository({payload:T},{call:O,put:L}){const _e=yield O(di.w,T);return yield L({type:"save",payload:{secretRepository:Ao({},_e)}}),_e},*addRepositoryFile({payload:T},{call:O,put:L}){return yield O(di.v3,T)},*addRepositoryFiles({payload:T},{call:O,put:L}){return yield O(di.fL,T)},*getRepositoryCommit({payload:T},{call:O,put:L}){return yield O(di.Je,T)},*getFileContent({payload:T},{call:O,put:L}){const _e=yield O(di.LK,T);return yield L({type:"save",payload:{fileContent:Kc(Ao({},_e),{params:T})}}),_e},*getFileContents({payload:T},{call:O,put:L}){const _e=yield O(di.nu,T);return yield L({type:"save",payload:{fileContent:Kc(Ao({},_e),{params:T})}}),_e},*updateRepositoryFile({payload:T},{call:O,put:L}){return yield O(di.kF,T)},*updateRepositoryFiles({payload:T},{call:O,put:L}){return yield O(di.jq,T)},*uploadGitFolder({payload:T},{call:O,put:L}){return yield O(di.Op,T)},*updateCollaboratorEditable({payload:T},{call:O,put:L}){return yield O(di.Dz,T)},*getSettingsData({payload:T},{call:O,put:L}){const _e=yield O(di.DC,T);yield L({type:"save",payload:{setting:Ao({},_e)}})},*getChallengesNew({payload:T},{call:O,put:L}){const _e=yield O(di.km,T);yield L({type:"save",payload:{challengesNew:Ao({},_e)}})},*getChallengesEdit({payload:T},{call:O,put:L}){const _e=yield O(di.q0,T);return yield L({type:"save",payload:{challengesEdit:Ao({},_e)}}),_e},*getAuditSituationData({payload:T},{call:O,put:L}){const _e=yield O(di.GI,T),Ie=uc(_e);yield L({type:"save",payload:{auditSituationData:Ie}})},*getEditChallengesQuestion({payload:T},{call:O,put:L}){const _e=yield O(di.UQ,T);return yield L({type:"save",payload:{editChallengesQuestion:_e}}),_e},*getInfoWithJupyterLab({payload:T},{call:O,put:L}){const _e=yield O(di.mI,T);return yield L({type:"save",payload:{infoWithJupyterLab:_e}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ao({},T)}})}},reducers:{save(T,O){return console.log("reducers:",T,O),Ao(Ao({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Dl=Object.defineProperty,Vc=Object.getOwnPropertySymbols,kl=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,Vl=(T,O,L)=>O in T?Dl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,vo=(T,O)=>{for(var L in O||(O={}))kl.call(O,L)&&Vl(T,L,O[L]);if(Vc)for(var L of Vc(O))Ou.call(O,L)&&Vl(T,L,O[L]);return T},fu={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:T},{call:O,put:L}){const _e=yield O(di.he,T),Ie=vo({},T);return yield L({type:"save",payload:vo({listParams:Ie},_e)}),_e},*getMenus({payload:T},{call:O,put:L}){var _e;const Ie=yield O(di.I_,T);(_e=Ie==null?void 0:Ie.disciplines)==null||_e.map(hn=>(hn.sub_repertoires=hn.sub_disciplines,hn)),yield L({type:"save",payload:{menus:[...(Ie==null?void 0:Ie.disciplines)||[]]}})},*clearListParams({payload:T},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(T,O){return vo(vo({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Yl=Object.defineProperty,Al=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,du=Object.prototype.propertyIsEnumerable,pf=(T,O,L)=>O in T?Yl(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Du=(T,O)=>{for(var L in O||(O={}))Zu.call(O,L)&&pf(T,L,O[L]);if(Al)for(var L of Al(O))du.call(O,L)&&pf(T,L,O[L]);return T},Vu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:T},{call:O,put:L}){const _e=yield O(di.b8,T);return yield L({type:"save",payload:{newData:Du({},_e)}}),_e},*deleteAttachment({payload:T},{call:O,put:L}){return yield O(di.OW,T)},*applyShixunMirror({payload:T},{call:O,put:L}){return yield O(di.EH,T)},*submitShixuns({payload:T},{call:O,put:L}){return yield O(di.eX,T)},*getShixunsJupyterLab({payload:T},{call:O,put:L}){const _e=yield O(di.Gu,T);return yield L({type:"save",payload:{newData:Du({},_e)}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Du({},T)}})},*getEnvironmentData({payload:T},{call:O,put:L}){const _e=yield O(di.K,T);return console.log(_e,"response"),yield L({type:"save",payload:{environmentData:Du({},_e.data)}}),_e}},reducers:{save(T,O){return Du(Du({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){}}},Cc=Object.defineProperty,Rl=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,mf=Object.prototype.propertyIsEnumerable,Yc=(T,O,L)=>O in T?Cc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,ml=(T,O)=>{for(var L in O||(O={}))Ca.call(O,L)&&Yc(T,L,O[L]);if(Rl)for(var L of Rl(O))mf.call(O,L)&&Yc(T,L,O[L]);return T},Df={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:T},{call:O,put:L}){const _e=yield O(di.e,T);yield L({type:"save",payload:{ShixunUseInfos:_e}})},*getRankList({payload:T},{call:O,put:L}){const _e=yield O(di.Fg,T);yield L({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(_e==null?void 0:_e.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(_e==null?void 0:_e.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(_e==null?void 0:_e.quote_list)||[]]}}})},*getStatisticsBody({payload:T},{call:O,put:L}){const _e=yield O(di.Gz,T);yield L({type:"save",payload:{SBody:_e}})},*getOnlineCount({payload:T},{call:O,put:L}){const _e=yield O(di.hS,T);yield L({type:"save",payload:{OnlineCount:_e==null?void 0:_e.data}})},*getStatisticsHeader({payload:T},{call:O,put:L}){const _e=yield O(di.Hl,T);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(T,O){return ml(ml({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Tc=(T,O,L)=>new Promise((_e,Ie)=>{var hn=Bi=>{try{mn(L.next(Bi))}catch(ds){Ie(ds)}},On=Bi=>{try{mn(L.throw(Bi))}catch(ds){Ie(ds)}},mn=Bi=>Bi.done?_e(Bi.value):Promise.resolve(Bi.value).then(hn,On);mn((L=L.apply(T,O)).next())});function ku(T){return Tc(this,null,function*(){return(0,Ra.ZP)("/api/shixuns/new.json",{method:"Get",params:T})})}function vf(T){return Tc(this,null,function*(){return(0,Ra.ZP)(`/api/shixuns/${T.id}/required_status.json`,{method:"Get",params:{}})})}var Pc=Object.defineProperty,Xl=Object.defineProperties,_f=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,Oc=(T,O,L)=>O in T?Pc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,_l=(T,O)=>{for(var L in O||(O={}))Ru.call(O,L)&&Oc(T,L,O[L]);if(Ic)for(var L of Ic(O))vl.call(O,L)&&Oc(T,L,O[L]);return T},qc=(T,O)=>Xl(T,_f(O)),cc={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:T},{call:O,put:L}){yield L({type:"save",payload:_l({},T)})},*getTestData({payload:T},{call:O,put:L}){const _e=yield O(ku,T);yield L({type:"save",payload:{data:_e}})},*setUpdateIndex({payload:T},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:T},{call:O,put:L}){const _e=yield O(vf,T);yield L({type:"save",payload:_l({},_e.data)})},*setSideBarTabs({payload:T},{call:O,put:L}){yield L({type:"sideBar",payload:_l({},T)})}},reducers:{save(T,O){return _l(_l({},T),O.payload)},sideBar(T,O){return qc(_l({},T),{sideBar:_l(_l({},T.sideBar),O.payload)})}},subscriptions:{setup({dispatch:T,history:O}){}}},Co=e(67670),Dc=Object.defineProperty,Qc=Object.getOwnPropertySymbols,gl=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable,To=(T,O,L)=>O in T?Dc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Ll=(T,O)=>{for(var L in O||(O={}))gl.call(O,L)&&To(T,L,O[L]);if(Qc)for(var L of Qc(O))Wu.call(O,L)&&To(T,L,O[L]);return T},kc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:T},{call:O,put:L}){const _e=yield O(Co.JJ,T);return yield L({type:"save",payload:{homeworkBanksDetail:Ll({},_e)}}),_e},*getSystemUpdate({payload:T},{call:O,put:L}){const _e=yield O(Co.n0,T);return yield L({type:"save",payload:{systemUpdate:Ll({},_e)}}),_e},*getHomepageInfo({payload:T},{call:O,put:L}){const _e=yield O(Co.DA,T);return yield L({type:"save",payload:{homepageInfo:Ll({},_e)}}),_e},*signed({payload:T},{call:O,put:L}){return yield O(Co.qN,T)},*getCourses({payload:T},{call:O,put:L}){return yield O(Co.Ho,T)},*getShixuns({payload:T},{call:O,put:L}){return yield O(Co.rV,T)},*getPaths({payload:T},{call:O,put:L}){return yield O(Co.w3,T)},*getProjects({payload:T},{call:O,put:L}){return yield O(Co.mW,T)},*getVideos({payload:T},{call:O,put:L}){return yield O(Co.WY,T)},*getReviewVideos({payload:T},{call:O,put:L}){return yield O(Co.Qx,T)},*deleteVideo({payload:T},{call:O,put:L}){return yield O(Co.FM,T)},*getQuestionBanks({payload:T},{call:O,put:L}){return yield O(Co.ai,T)},*topicsSetPublic({payload:T},{call:O,put:L}){return yield O(Co.Cx,T)},*topicsDelete({payload:T},{call:O,put:L}){return yield O(Co.WS,T)},*topicGetCourseList({payload:T},{call:O,put:L}){return yield O(Co.gI,T)},*topicSendToClass({payload:T},{call:O,put:L}){return T.object_type==="videos"?yield O(Co.Fn,T):yield O(Co.Ef,T)},*logWatchHistory({payload:T},{call:O,put:L}){const _e=yield O(Co.lO,T);return _e==null?void 0:_e.log_id},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ll({},T)}})}},reducers:{save(T,O){return Ll(Ll({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Yu=Object.defineProperty,qs=Object.getOwnPropertySymbols,bo=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Ne=(T,O,L)=>O in T?Yu(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Xu=(T,O)=>{for(var L in O||(O={}))bo.call(O,L)&&Ne(T,L,O[L]);if(qs)for(var L of qs(O))Lu.call(O,L)&&Ne(T,L,O[L]);return T},Au=(T,O)=>{var L={};for(var _e in T)bo.call(T,_e)&&O.indexOf(_e)<0&&(L[_e]=T[_e]);if(T!=null&&qs)for(var _e of qs(T))O.indexOf(_e)<0&&Lu.call(T,_e)&&(L[_e]=T[_e]);return L},hu={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:T},{call:O,put:L}){const _e=T,{to:Ie}=_e,hn=Au(_e,["to"]);if(!(yield O(Co.Es,hn)).status)try{Ie?f.history.replace(Ie):location.reload()}catch(mn){}},*showPopLogin({payload:T},{put:O}){yield O({type:"save",payload:{showPopLogin:T.showPopLogin,showClosable:T.showClosable}})},*setBindAccountModal({payload:T},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:T.bindAccountModalVisible,userInfoForBindAccountModal:T.userInfoForBindAccountModal,loginInfo:T.loginInfo}})},*getUserInfo({payload:T},{call:O,put:L}){const _e=yield O(Co.bG,Xu({},T));return localStorage.userInfo=JSON.stringify(_e),yield L({type:"save",payload:{userInfo:Xu({},_e)}}),_e},*getNavigationInfo({payload:T},{call:O,put:L}){const _e=yield O(Co.x4,Xu({},T));yield L({type:"save",payload:{navigationInfo:Xu({},_e)}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Xu({},T)}})}},reducers:{save(T,O){return Xu(Xu({},T),O.payload)}}},qu=e(45062),dc=Object.defineProperty,hc=Object.defineProperties,al=Object.getOwnPropertyDescriptors,sl=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,yf=Object.prototype.propertyIsEnumerable,pc=(T,O,L)=>O in T?dc(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,Cu=(T,O)=>{for(var L in O||(O={}))Mu.call(O,L)&&pc(T,L,O[L]);if(sl)for(var L of sl(O))yf.call(O,L)&&pc(T,L,O[L]);return T},yl=(T,O)=>hc(T,al(O));const Fu=()=>{var T,O,L,_e,Ie,hn,On;let mn=window.location.href.split("/");if(!mn.includes("video"))return;let Bi=(T=mn[mn.length-1])==null?void 0:T.split("?")[0];Bi=Number(Bi);const ds=(L=(O=mn[mn.length-1])==null?void 0:O.split("?")[1])==null?void 0:L.split("=")[1];return((Ie=(_e=mn[mn.length-1])==null?void 0:_e.split("?")[1])==null?void 0:Ie.split("=")[0])==="subject_id"?{videoId:Bi,subject_id:ds}:((On=(hn=mn[mn.length-1])==null?void 0:hn.split("?")[1])==null?void 0:On.split("=")[0])==="new_video_id"?{videoId:Bi,new_video_id:ds}:{videoId:Bi,course_id:ds}};var Jc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Fu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:T,callback:O},{call:L,put:_e}){const Ie=yield L(Kn.O2,T);return O?O(Ie):yield _e({type:"save",payload:{detail:Cu({},Ie)}}),Ie},*setVideoValue({payload:T},{call:O,put:L}){yield L({type:"save",payload:{detail:Cu({},T)}})},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Cu({},T)}})},*setVideoTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{videoTabs:Cu({},T)}})},*setSelectValue({payload:T},{call:O,put:L}){yield L({type:"save",payload:{selectParams:Cu({},T)}})},*getStageData({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(Kn.yN,T),hn=yield O(ci.lk,{id:T.subject_id}),{queryParams:On}=yield _e(is=>is.videoDetail),{stages:mn=[]}=Ie,Bi=[];let ds=[],$a={};const Yo=is=>{is.forEach(Po=>{String(Po.id)===String(On.videoId)&&($a=Po),Po.item_type==="VideoItem"?Bi.push(Po):Po.item_type==="Attachment"&&ds.push(Po),Po.children&&Po.children.length&&Yo(Po.children)})};mn==null||mn.forEach(is=>{Yo(is.items)}),window.filterVideoSign=[...Bi],yield L({type:"save",payload:{stages:mn,active:$a,cust_seq:hn.cust_seq,videoList:Bi,attachmentList:ds}})},*getVideoData({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(Kn.fn,T),{categories:hn=[],coruse_videos:On=[]}=Ie;yield L({type:"save",payload:{stages:(hn==null?void 0:hn.length)>0?hn:[{coruse_videos:On,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:T},{call:O,put:L,select:_e}){const Ie=yield O(qu.R7,T),{queryParams:hn}=yield _e(Yo=>Yo.videoDetail),{stages:On}=Ie;let mn=[],Bi=[],ds={};const $a=Yo=>{Yo.forEach(is=>{String(is.id)===String(hn.videoId)&&(ds=is),is.item_type==="VideoItem"?mn.push(is):is.item_type==="Attachment"&&Bi.push(is),is.children&&is.children.length&&$a(is.children)})};On==null||On.forEach(Yo=>{$a(Yo.items)}),window.filterVideoSign=[...mn],yield L({type:"save",payload:{active:ds,stages:On,cust_seq:!0,videoList:mn,attachmentList:Bi}})}},reducers:{save(T,O){return Cu(Cu({},T),O.payload)},handleListItemClick(T,O){const{videoList:L,attachmentList:_e}=T,Ie=O.payload.videoId||O.payload.attachmentId,hn=[...L,..._e].find(On=>`${On.id}`==`${Ie}`);return yl(Cu({},T),{active:hn,queryParams:Cu(Cu({},Fu()),O.payload)})}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Vo=e(3668),Ml=Object.defineProperty,Rc=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,_c=(T,O,L)=>O in T?Ml(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,gc=(T,O)=>{for(var L in O||(O={}))mc.call(O,L)&&_c(T,L,O[L]);if(Rc)for(var L of Rc(O))vc.call(O,L)&&_c(T,L,O[L]);return T},Lc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:T},{call:O,put:L}){const _e=yield O(Vo.y2,T);return yield L({type:"save",payload:{Workplace:{BaseData:_e.data}}}),_e},*putEditDiscussion({payload:T},{call:O,put:L}){return yield O(Vo.CH,T)},*getDiscussionDetail({payload:T},{call:O,put:L}){const _e=yield O(Vo.XQ,T);return yield L({type:"save",payload:{DiscussionDetail:_e}}),_e},*postDiscussionList({payload:T},{call:O,put:L}){return yield O(Vo.Ll,T)},*getDiscussionList({payload:T},{call:O,put:L}){const _e=yield O(Vo.EA,T);return yield L({type:"save",payload:{DiscussionList:_e}}),_e},*postAddLessonRes({payload:T},{call:O,put:L}){return yield O(Vo.cZ,T)},*getLessonResourcesList({payload:T},{call:O,put:L}){const _e=yield O(Vo.b,T);return yield L({type:"save",payload:{LessonResList:_e}}),_e},*putGoodLessonsDetail({payload:T},{call:O,put:L}){return yield O(Vo.To,T)},*getGoodLessonsDetail({payload:T},{call:O,put:L}){const _e=yield O(Vo.FU,T);return yield L({type:"save",payload:{LessonDetail:_e}}),_e},*postGoodLessonsList({payload:T},{call:O,put:L}){return yield O(Vo.Vf,T)},*getGoodLessonsList({payload:T},{call:O,put:L}){const _e=yield O(Vo.G_,T);return yield L({type:"save",payload:{LessonsList:_e}}),_e},*setActionTabs({payload:T},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gc({},T)}})},*setShowMenu({payload:T},{call:O,put:L}){yield L({type:"save",payload:{showMenu:T}})},*getVirtualSpacesDetails({payload:T},{call:O,put:L}){const _e=yield O(Vo.sT,T);yield L({type:"save",payload:{virtualSpacesDetails:gc({},_e)}})},*setVirtualSpacesLoading({payload:T},{call:O,put:L}){yield L({type:"save",payload:{loading:T}})},*getVirtualSpacesMenus({payload:T},{call:O,put:L}){const _e=yield O(Vo.Sl,T);return yield L({type:"save",payload:{menus:_e}}),_e}},reducers:{save(T,O){return gc(gc({},T),O.payload)}},subscriptions:{setup({dispatch:T,history:O}){return O.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}};const ql={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:Te},model_5:{namespace:"classrooms.exercise",model:Ue},model_6:{namespace:"classrooms.graduation",model:De},model_7:{namespace:"classrooms.homeworks",model:Yt},model_8:{namespace:"classrooms.index",model:Se},model_9:{namespace:"classrooms.new",model:bt},model_10:{namespace:"classrooms.overview",model:Jt},model_11:{namespace:"classrooms.polls",model:br},model_12:{namespace:"classrooms.teacher",model:Mi},model_13:{namespace:"classrooms.video",model:zi},model_14:{namespace:"competitions.index",model:$i},model_15:{namespace:"engineering.evaluateDetail",model:Dr},model_16:{namespace:"engineering.evaluateList",model:Zn.Z},model_17:{namespace:"engineering.index",model:sr},model_18:{namespace:"engineering.navigation",model:wa},model_19:{namespace:"engineering.normDetail",model:Ji},model_20:{namespace:"engineering.normList",model:Zi},model_21:{namespace:"forums.detail",model:Oo},model_22:{namespace:"forums.index",model:Ha},model_23:{namespace:"globalSetting",model:Gu},model_24:{namespace:"graduations.index",model:yr},model_25:{namespace:"homePage",model:jr},model_26:{namespace:"innovation.index",model:Sa},model_27:{namespace:"intraincourse.index",model:ai},model_28:{namespace:"loading",model:Fi},model_29:{namespace:"messages.index",model:Xs},model_30:{namespace:"paperlibrary.index",model:_n},model_31:{namespace:"paperlibrary.newPaper",model:Qi},model_32:{namespace:"paths.detail",model:yu},model_33:{namespace:"paths.index",model:Et},model_34:{namespace:"paths.new",model:ei},model_35:{namespace:"paths.overview",model:Es},model_36:{namespace:"problemset.index",model:El},model_37:{namespace:"problemset.preview",model:Zl},model_38:{namespace:"resetFul.index",model:$l},model_39:{namespace:"shixuns.detail",model:lc},model_40:{namespace:"shixuns.index",model:fu},model_41:{namespace:"shixuns.new",model:Vu},model_42:{namespace:"shixuns.overview",model:Df},model_43:{namespace:"shixuns.practiceSetting",model:cc},model_44:{namespace:"user.detail",model:kc},model_45:{namespace:"user.index",model:hu},model_46:{namespace:"video.detail",model:Jc},model_47:{namespace:"virtualSpaces.index",model:Lc}};var Ql=Object.defineProperty,bf=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,yc=(T,O,L)=>O in T?Ql(T,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[O]=L,bc=(T,O)=>{for(var L in O||(O={}))ef.call(O,L)&&yc(T,L,O[L]);if(bf)for(var L of bf(O))ol.call(O,L)&&yc(T,L,O[L]);return T};let Mc;function Fc(T){const{pluginManager:O}=(0,f.useAppData)(),L=(0,c.useRef)(),_e=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(bc({history:f.history},_e.config||{}),{initialReducer:{},setupMiddlewares(Ie){return[...Ie]},setupApp(Ie){Ie._history=f.history}}),Mc=L.current,L.current.use(l()()),(_e.plugins||[]).forEach(Ie=>{L.current.use(Ie)});for(const Ie of Object.keys(ql))L.current.model(bc({namespace:ql[Ie].namespace},ql[Ie].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},T.children)}function xf(){return Mc}},64857:function(d,_,e){"use strict";e.d(_,{PZ:function(){return ut},eU:function(){return a},B:function(){return or},Mg:function(){return Dr},lw:function(){return Ir},Kd:function(){return tn},H8:function(){return dt}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f($e){return $e.displayName||$e.name||"Component"}const u=r.createContext(null),{Consumer:h,Provider:o}=u,a=o,x=null;function p($e,lt){const{intlPropName:ye="intl",forwardRef:sr=!1,enforceContext:nr=!0}=lt||{},Lr=$r=>React.createElement(h,null,Wr=>(nr&&invariantIntlContext(Wr),React.createElement($e,Object.assign({},$r,{[ye]:Wr},{ref:sr?$r.forwardedRef:null}))));return Lr.displayName=`injectIntl(${f($e)})`,Lr.WrappedComponent=$e,c(sr?React.forwardRef(($r,Wr)=>React.createElement(Lr,Object.assign({},$r,{forwardedRef:Wr}))):Lr,$e)}var y;(function($e){$e[$e.literal=0]="literal",$e[$e.argument=1]="argument",$e[$e.number=2]="number",$e[$e.date=3]="date",$e[$e.time=4]="time",$e[$e.select=5]="select",$e[$e.plural=6]="plural",$e[$e.pound=7]="pound"})(y||(y={}));function m($e){return $e.type===y.literal}function b($e){return $e.type===y.argument}function S($e){return $e.type===y.number}function k($e){return $e.type===y.date}function R($e){return $e.type===y.time}function A($e){return $e.type===y.select}function I($e){return $e.type===y.plural}function M($e){return $e.type===y.pound}function B($e){return!!($e&&typeof $e=="object"&&$e.type===0)}function N($e){return!!($e&&typeof $e=="object"&&$e.type===1)}function K($e){return{type:y.literal,value:$e}}function G($e,lt){return{type:y.number,value:$e,style:lt}}var H=function(){var $e=function(lt,ye){return $e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var Lr in nr)nr.hasOwnProperty(Lr)&&(sr[Lr]=nr[Lr])},$e(lt,ye)};return function(lt,ye){$e(lt,ye);function sr(){this.constructor=lt}lt.prototype=ye===null?Object.create(ye):(sr.prototype=ye.prototype,new sr)}}(),ae=function(){return ae=Object.assign||function($e){for(var lt,ye=1,sr=arguments.length;ye0){for(Kr=1,Rn=1;KrRa&&(Ra=wt,Ys=[]),Ys.push(Ze))}function Ar(Ze,Nt){return new ne(Ze,[],"",Nt)}function Br(Ze,Nt,Sr){return new ne(ne.buildMessage(Ze,Nt),Ze,Nt,Sr)}function Vr(){var Ze;return Ze=En(),Ze}function En(){var Ze,Nt;for(Ze=[],Nt=fn();Nt!==ye;)Ze.push(Nt),Nt=fn();return Ze}function fn(){var Ze;return Ze=ii(),Ze===ye&&(Ze=xi(),Ze===ye&&(Ze=fs(),Ze===ye&&(Ze=ya(),Ze===ye&&(Ze=vs(),Ze===ye&&(Ze=ai()))))),Ze}function An(){var Ze,Nt,Sr;if(Ze=wt,Nt=[],Sr=Js(),Sr===ye&&(Sr=Ga(),Sr===ye&&(Sr=us())),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=Js(),Sr===ye&&(Sr=Ga(),Sr===ye&&(Sr=us()));else Nt=ye;return Nt!==ye&&(Qn=Ze,Nt=Lr(Nt)),Ze=Nt,Ze}function ii(){var Ze,Nt;return Ze=wt,Nt=An(),Nt!==ye&&(Qn=Ze,Nt=$r(Nt)),Ze=Nt,Ze}function ai(){var Ze,Nt;return Ze=wt,$e.charCodeAt(wt)===35?(Nt=Wr,wt++):(Nt=ye,sn===0&&mt(pn)),Nt!==ye&&(Qn=Ze,Nt=Ti()),Ze=Nt,Ze}function xi(){var Ze,Nt,Sr,Mr,Jr,yn;return sn++,Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye?(Sr=pa(),Sr!==ye?(Mr=Va(),Mr!==ye?(Jr=pa(),Jr!==ye?($e.charCodeAt(wt)===125?(yn=Rn,wt++):(yn=ye,sn===0&&mt(ui)),yn!==ye?(Qn=Ze,Nt=wa(Mr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(ln)),Ze}function Fi(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,Nt=[],Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Ba.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(zs))),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Ba.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(zs))),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye);else Nt=ye;return Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(Qs)),Ze}function na(){var Ze,Nt,Sr;return sn++,Ze=wt,$e.charCodeAt(wt)===47?(Nt=oo,wt++):(Nt=ye,sn===0&&mt(Aa)),Nt!==ye?(Sr=Fi(),Sr!==ye?(Qn=Ze,Nt=Ps(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(as)),Ze}function Gi(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,Nt=pa(),Nt!==ye)if(Sr=Fi(),Sr!==ye){for(Mr=[],Jr=na();Jr!==ye;)Mr.push(Jr),Jr=na();Mr!==ye?(Qn=Ze,Nt=po(Sr,Mr),Ze=Nt):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return sn--,Ze===ye&&(Nt=ye,sn===0&&mt(ps)),Ze}function Ii(){var Ze,Nt,Sr;if(Ze=wt,Nt=[],Sr=Gi(),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=Gi();else Nt=ye;return Nt!==ye&&(Qn=Ze,Nt=Ji(Nt)),Ze=Nt,Ze}function Pa(){var Ze,Nt,Sr;return Ze=wt,$e.substr(wt,2)===to?(Nt=to,wt+=2):(Nt=ye,sn===0&&mt(Zo)),Nt!==ye?(Sr=Ii(),Sr!==ye?(Qn=Ze,Nt=Na(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze===ye&&(Ze=wt,Qn=wt,Nt=Zs(),Nt?Nt=void 0:Nt=ye,Nt!==ye?(Sr=An(),Sr!==ye?(Qn=Ze,Nt=mi(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)),Ze}function Oi(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws;return Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye?(Sr=pa(),Sr!==ye?(Mr=Va(),Mr!==ye?(Jr=pa(),Jr!==ye?($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye?(Qi=pa(),Qi!==ye?($e.substr(wt,6)===ss?(ci=ss,wt+=6):(ci=ye,sn===0&&mt(Is)),ci!==ye?(Eo=pa(),Eo!==ye?(da=wt,$e.charCodeAt(wt)===44?(ns=ro,wt++):(ns=ye,sn===0&&mt(Ln)),ns!==ye?(qa=pa(),qa!==ye?(ws=Pa(),ws!==ye?(ns=[ns,qa,ws],da=ns):(wt=da,da=ye)):(wt=da,da=ye)):(wt=da,da=ye),da===ye&&(da=null),da!==ye?(ns=pa(),ns!==ye?($e.charCodeAt(wt)===125?(qa=Rn,wt++):(qa=ye,sn===0&&mt(ui)),qa!==ye?(Qn=Ze,Nt=Os(Mr,ci,da),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function _i(){var Ze,Nt,Sr,Mr;if(Ze=wt,$e.charCodeAt(wt)===39?(Nt=qi,wt++):(Nt=ye,sn===0&&mt(Ka)),Nt!==ye){if(Sr=[],Mr=Js(),Mr===ye&&(Zi.test($e.charAt(wt))?(Mr=$e.charAt(wt),wt++):(Mr=ye,sn===0&&mt(Ds))),Mr!==ye)for(;Mr!==ye;)Sr.push(Mr),Mr=Js(),Mr===ye&&(Zi.test($e.charAt(wt))?(Mr=$e.charAt(wt),wt++):(Mr=ye,sn===0&&mt(Ds)));else Sr=ye;Sr!==ye?($e.charCodeAt(wt)===39?(Mr=qi,wt++):(Mr=ye,sn===0&&mt(Ka)),Mr!==ye?(Nt=[Nt,Sr,Mr],Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;if(Ze===ye)if(Ze=[],Nt=Js(),Nt===ye&&(xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(Wo))),Nt!==ye)for(;Nt!==ye;)Ze.push(Nt),Nt=Js(),Nt===ye&&(xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(Wo)));else Ze=ye;return Ze}function fa(){var Ze,Nt;if(Ze=[],Xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(mu)),Nt!==ye)for(;Nt!==ye;)Ze.push(Nt),Xo.test($e.charAt(wt))?(Nt=$e.charAt(wt),wt++):(Nt=ye,sn===0&&mt(mu));else Ze=ye;return Ze}function wo(){var Ze,Nt,Sr,Mr;if(Ze=wt,Nt=wt,Sr=[],Mr=_i(),Mr===ye&&(Mr=fa()),Mr!==ye)for(;Mr!==ye;)Sr.push(Mr),Mr=_i(),Mr===ye&&(Mr=fa());else Sr=ye;return Sr!==ye?Nt=$e.substring(Nt,wt):Nt=Sr,Nt!==ye&&(Qn=Ze,Nt=vu(Nt)),Ze=Nt,Ze}function Xs(){var Ze,Nt,Sr;return Ze=wt,$e.substr(wt,2)===to?(Nt=to,wt+=2):(Nt=ye,sn===0&&mt(Zo)),Nt!==ye?(Sr=wo(),Sr!==ye?(Qn=Ze,Nt=Na(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze===ye&&(Ze=wt,Qn=wt,Nt=go(),Nt?Nt=void 0:Nt=ye,Nt!==ye?(Sr=An(),Sr!==ye?(Qn=Ze,Nt=mi(Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)),Ze}function ia(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws;return Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye?(Sr=pa(),Sr!==ye?(Mr=Va(),Mr!==ye?(Jr=pa(),Jr!==ye?($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye?(Qi=pa(),Qi!==ye?($e.substr(wt,4)===Ho?(ci=Ho,wt+=4):(ci=ye,sn===0&&mt(Oo)),ci===ye&&($e.substr(wt,4)===nu?(ci=nu,wt+=4):(ci=ye,sn===0&&mt(qo))),ci!==ye?(Eo=pa(),Eo!==ye?(da=wt,$e.charCodeAt(wt)===44?(ns=ro,wt++):(ns=ye,sn===0&&mt(Ln)),ns!==ye?(qa=pa(),qa!==ye?(ws=Xs(),ws!==ye?(ns=[ns,qa,ws],da=ns):(wt=da,da=ye)):(wt=da,da=ye)):(wt=da,da=ye),da===ye&&(da=null),da!==ye?(ns=pa(),ns!==ye?($e.charCodeAt(wt)===125?(qa=Rn,wt++):(qa=ye,sn===0&&mt(ui)),qa!==ye?(Qn=Ze,Nt=Os(Mr,ci,da),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function fs(){var Ze;return Ze=Oi(),Ze===ye&&(Ze=ia()),Ze}function ya(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws,mo,Eu,yu;if(Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye)if(Sr=pa(),Sr!==ye)if(Mr=Va(),Mr!==ye)if(Jr=pa(),Jr!==ye)if($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye)if(Qi=pa(),Qi!==ye)if($e.substr(wt,6)===vi?(ci=vi,wt+=6):(ci=ye,sn===0&&mt(yi)),ci===ye&&($e.substr(wt,13)===Ja?(ci=Ja,wt+=13):(ci=ye,sn===0&&mt(ls))),ci!==ye)if(Eo=pa(),Eo!==ye)if($e.charCodeAt(wt)===44?(da=ro,wt++):(da=ye,sn===0&&mt(Ln)),da!==ye)if(ns=pa(),ns!==ye)if(qa=wt,$e.substr(wt,7)===es?(ws=es,wt+=7):(ws=ye,sn===0&&mt(Ha)),ws!==ye?(mo=pa(),mo!==ye?(Eu=Ms(),Eu!==ye?(ws=[ws,mo,Eu],qa=ws):(wt=qa,qa=ye)):(wt=qa,qa=ye)):(wt=qa,qa=ye),qa===ye&&(qa=null),qa!==ye)if(ws=pa(),ws!==ye){if(mo=[],Eu=Ls(),Eu!==ye)for(;Eu!==ye;)mo.push(Eu),Eu=Ls();else mo=ye;mo!==ye?(Eu=pa(),Eu!==ye?($e.charCodeAt(wt)===125?(yu=Rn,wt++):(yu=ye,sn===0&&mt(ui)),yu!==ye?(Qn=Ze,Nt=ms(Mr,ci,qa,mo),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return Ze}function vs(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci,Eo,da,ns,qa,ws,mo;if(Ze=wt,$e.charCodeAt(wt)===123?(Nt=bn,wt++):(Nt=ye,sn===0&&mt(Kr)),Nt!==ye)if(Sr=pa(),Sr!==ye)if(Mr=Va(),Mr!==ye)if(Jr=pa(),Jr!==ye)if($e.charCodeAt(wt)===44?(yn=ro,wt++):(yn=ye,sn===0&&mt(Ln)),yn!==ye)if(Qi=pa(),Qi!==ye)if($e.substr(wt,6)===Qo?(ci=Qo,wt+=6):(ci=ye,sn===0&&mt(ks)),ci!==ye)if(Eo=pa(),Eo!==ye)if($e.charCodeAt(wt)===44?(da=ro,wt++):(da=ye,sn===0&&mt(Ln)),da!==ye)if(ns=pa(),ns!==ye){if(qa=[],ws=rs(),ws!==ye)for(;ws!==ye;)qa.push(ws),ws=rs();else qa=ye;qa!==ye?(ws=pa(),ws!==ye?($e.charCodeAt(wt)===125?(mo=Rn,wt++):(mo=ye,sn===0&&mt(ui)),mo!==ye?(Qn=Ze,Nt=Mo(Mr,qa),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return Ze}function La(){var Ze,Nt,Sr,Mr;return Ze=wt,Nt=wt,$e.charCodeAt(wt)===61?(Sr=wu,wt++):(Sr=ye,sn===0&&mt(Iu)),Sr!==ye?(Mr=Ms(),Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)):(wt=Nt,Nt=ye),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,Ze===ye&&(Ze=Dt()),Ze}function rs(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci;return Ze=wt,Nt=pa(),Nt!==ye?(Sr=Dt(),Sr!==ye?(Mr=pa(),Mr!==ye?($e.charCodeAt(wt)===123?(Jr=bn,wt++):(Jr=ye,sn===0&&mt(Kr)),Jr!==ye?(Qn=wt,yn=rl(Sr),yn?yn=void 0:yn=ye,yn!==ye?(Qi=En(),Qi!==ye?($e.charCodeAt(wt)===125?(ci=Rn,wt++):(ci=ye,sn===0&&mt(ui)),ci!==ye?(Qn=Ze,Nt=dl(Sr,Qi),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function Ls(){var Ze,Nt,Sr,Mr,Jr,yn,Qi,ci;return Ze=wt,Nt=pa(),Nt!==ye?(Sr=La(),Sr!==ye?(Mr=pa(),Mr!==ye?($e.charCodeAt(wt)===123?(Jr=bn,wt++):(Jr=ye,sn===0&&mt(Kr)),Jr!==ye?(Qn=wt,yn=Fo(Sr),yn?yn=void 0:yn=ye,yn!==ye?(Qi=En(),Qi!==ye?($e.charCodeAt(wt)===125?(ci=Rn,wt++):(ci=ye,sn===0&&mt(ui)),ci!==ye?(Qn=Ze,Nt=uo(Sr,Qi),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),Ze}function ao(){var Ze,Nt;return sn++,Gu.test($e.charAt(wt))?(Ze=$e.charAt(wt),wt++):(Ze=ye,sn===0&&mt(Bo)),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(Go)),Ze}function xs(){var Ze,Nt;return sn++,Uu.test($e.charAt(wt))?(Ze=$e.charAt(wt),wt++):(Ze=ye,sn===0&&mt(iu)),sn--,Ze===ye&&(Nt=ye,sn===0&&mt($o)),Ze}function pa(){var Ze,Nt,Sr;for(sn++,Ze=wt,Nt=[],Sr=ao();Sr!==ye;)Nt.push(Sr),Sr=ao();return Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(_u)),Ze}function Ms(){var Ze,Nt,Sr;return sn++,Ze=wt,$e.charCodeAt(wt)===45?(Nt=gu,wt++):(Nt=ye,sn===0&&mt(Ko)),Nt===ye&&(Nt=null),Nt!==ye?(Sr=Vt(),Sr!==ye?(Qn=Ze,Nt=rr(Nt,Sr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(No)),Ze}function jo(){var Ze,Nt;return sn++,$e.charCodeAt(wt)===39?(Ze=qi,wt++):(Ze=ye,sn===0&&mt(Ka)),sn--,Ze===ye&&(Nt=ye,sn===0&&mt(yr)),Ze}function Js(){var Ze,Nt;return sn++,Ze=wt,$e.substr(wt,2)===gr?(Nt=gr,wt+=2):(Nt=ye,sn===0&&mt(Tr)),Nt!==ye&&(Qn=Ze,Nt=xn()),Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(hr)),Ze}function Ga(){var Ze,Nt,Sr,Mr,Jr,yn;if(Ze=wt,$e.charCodeAt(wt)===39?(Nt=qi,wt++):(Nt=ye,sn===0&&mt(Ka)),Nt!==ye)if(Sr=co(),Sr!==ye){for(Mr=wt,Jr=[],$e.substr(wt,2)===gr?(yn=gr,wt+=2):(yn=ye,sn===0&&mt(Tr)),yn===ye&&(Zi.test($e.charAt(wt))?(yn=$e.charAt(wt),wt++):(yn=ye,sn===0&&mt(Ds)));yn!==ye;)Jr.push(yn),$e.substr(wt,2)===gr?(yn=gr,wt+=2):(yn=ye,sn===0&&mt(Tr)),yn===ye&&(Zi.test($e.charAt(wt))?(yn=$e.charAt(wt),wt++):(yn=ye,sn===0&&mt(Ds)));Jr!==ye?Mr=$e.substring(Mr,wt):Mr=Jr,Mr!==ye?($e.charCodeAt(wt)===39?(Jr=qi,wt++):(Jr=ye,sn===0&&mt(Ka)),Jr===ye&&(Jr=null),Jr!==ye?(Qn=Ze,Nt=Wn(Sr,Mr),Ze=Nt):(wt=Ze,Ze=ye)):(wt=Ze,Ze=ye)}else wt=Ze,Ze=ye;else wt=Ze,Ze=ye;return Ze}function us(){var Ze,Nt,Sr,Mr;return Ze=wt,Nt=wt,$e.length>wt?(Sr=$e.charAt(wt),wt++):(Sr=ye,sn===0&&mt(Ns)),Sr!==ye?(Qn=wt,Mr=Mn(Sr),Mr?Mr=void 0:Mr=ye,Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)):(wt=Nt,Nt=ye),Nt===ye&&($e.charCodeAt(wt)===10?(Nt=Hn,wt++):(Nt=ye,sn===0&&mt(si))),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,Ze}function co(){var Ze,Nt,Sr,Mr;return Ze=wt,Nt=wt,$e.length>wt?(Sr=$e.charAt(wt),wt++):(Sr=ye,sn===0&&mt(Ns)),Sr!==ye?(Qn=wt,Mr=Jn(Sr),Mr?Mr=void 0:Mr=ye,Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)):(wt=Nt,Nt=ye),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,Ze}function Va(){var Ze,Nt;return sn++,Ze=wt,Nt=Vt(),Nt===ye&&(Nt=Dt()),Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(vr)),Ze}function Vt(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,$e.charCodeAt(wt)===48?(Nt=jr,wt++):(Nt=ye,sn===0&&mt(Tn)),Nt!==ye&&(Qn=Ze,Nt=In()),Ze=Nt,Ze===ye){if(Ze=wt,Nt=wt,li.test($e.charAt(wt))?(Sr=$e.charAt(wt),wt++):(Sr=ye,sn===0&&mt(Ci)),Sr!==ye){for(Mr=[],$n.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(ta));Jr!==ye;)Mr.push(Jr),$n.test($e.charAt(wt))?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(ta));Mr!==ye?(Sr=[Sr,Mr],Nt=Sr):(wt=Nt,Nt=ye)}else wt=Nt,Nt=ye;Nt!==ye&&(Qn=Ze,Nt=ra(Nt)),Ze=Nt}return sn--,Ze===ye&&(Nt=ye,sn===0&&mt(Nr)),Ze}function Dt(){var Ze,Nt,Sr,Mr,Jr;if(sn++,Ze=wt,Nt=[],Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Jr=xs()),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye),Sr!==ye)for(;Sr!==ye;)Nt.push(Sr),Sr=wt,Mr=wt,sn++,Jr=ao(),Jr===ye&&(Jr=xs()),sn--,Jr===ye?Mr=void 0:(wt=Mr,Mr=ye),Mr!==ye?($e.length>wt?(Jr=$e.charAt(wt),wt++):(Jr=ye,sn===0&&mt(Ns)),Jr!==ye?(Mr=[Mr,Jr],Sr=Mr):(wt=Sr,Sr=ye)):(wt=Sr,Sr=ye);else Nt=ye;return Nt!==ye?Ze=$e.substring(Ze,wt):Ze=Nt,sn--,Ze===ye&&(Nt=ye,sn===0&&mt(bi)),Ze}var Ia=["root"];function Ws(){return Ia.length>1}function _n(){return Ia[Ia.length-1]==="plural"}function Sn(){return lt&<.captureLocation?{location:Rs()}:{}}if(Do=nr(),Do!==ye&&wt===$e.length)return Do;throw Do!==ye&&wt<$e.length&&mt(os()),Br(Ys,Ra<$e.length?$e.charAt(Ra):null,Ra<$e.length?Bt(Ra,Ra+1):Bt(Ra,Ra))}var J=oe,q=function(){for(var $e=0,lt=0,ye=arguments.length;lt1)throw new RangeError("Fraction-precision stems only accept a single optional option");nr.stem.replace(je,function($r,Wr,pn){return $r==="."?lt.maximumFractionDigits=0:pn==="+"?lt.minimumFractionDigits=pn.length:Wr[0]==="#"?lt.maximumFractionDigits=Wr.length:(lt.minimumFractionDigits=Wr.length,lt.maximumFractionDigits=Wr.length+(typeof pn=="string"?pn.length:0)),""}),nr.options.length&&(lt=ve(ve({},lt),ft(nr.options[0])));continue}if(Ot.test(nr.stem)){lt=ve(ve({},lt),ft(nr.stem));continue}var Lr=Pt(nr.stem);Lr&&(lt=ve(ve({},lt),Lr))}return lt}var ar=function(){var $e=function(lt,ye){return $e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var Lr in nr)nr.hasOwnProperty(Lr)&&(sr[Lr]=nr[Lr])},$e(lt,ye)};return function(lt,ye){$e(lt,ye);function sr(){this.constructor=lt}lt.prototype=ye===null?Object.create(ye):(sr.prototype=ye.prototype,new sr)}}(),Ue=function(){for(var $e=0,lt=0,ye=arguments.length;lt(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Xe=Date.now()+"@@",ot=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ht($e,lt,ye){var sr=$e.tagName,nr=$e.outerHTML,Lr=$e.textContent,$r=$e.childNodes;if(!sr)return Ge(Lr||"",lt);sr=sr.toLowerCase();var Wr=~ot.indexOf(sr),pn=ye[sr];if(pn&&Wr)throw new _t(sr+" is a self-closing tag and can not be used, please use another tag name.");if(!$r.length)return[nr];var Ci=Array.prototype.slice.call($r).reduce(function(ln,bn){return ln.concat(ht(bn,lt,ye))},[]);return pn?typeof pn=="function"?[pn.apply(void 0,Ci)]:[pn]:Ue(["<"+sr+">"],Ci,[""])}function ur($e,lt,ye,sr,nr,Lr){var $r=Qe($e,lt,ye,sr,nr,void 0,Lr),Wr={},pn=$r.reduce(function(Kr,Rn){if(Rn.type===0)return Kr+=Rn.value;var ui=De();return Wr[ui]=Rn.value,Kr+=""+qe+ui+qe},"");if(!We.test(pn))return Ge(pn,Wr);if(!nr)throw new _t("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new _t("Cannot format XML message without DOMParser");st||(st=new DOMParser);var Ci=st.parseFromString(''+pn+"","text/html").getElementById(Xe);if(!Ci)throw new _t("Malformed HTML message "+pn);var ln=Object.keys(nr).filter(function(Kr){return!!Ci.getElementsByTagName(Kr).length});if(!ln.length)return Ge(pn,Wr);var bn=ln.filter(function(Kr){return Kr!==Kr.toLowerCase()});if(bn.length)throw new _t("HTML tag must be lowercased but the following tags are not: "+bn.join(", "));return Array.prototype.slice.call(Ci.childNodes).reduce(function(Kr,Rn){return Kr.concat(ht(Rn,Wr,nr))},[])}var tr=function(){return tr=Object.assign||function($e){for(var lt,ye=1,sr=arguments.length;ye<"']/g;function ce($e){return(""+$e).replace(Ce,lt=>Ht[lt.charCodeAt(0)])}function pe($e,lt,ye={}){return lt.reduce((sr,nr)=>(nr in $e?sr[nr]=$e[nr]:nr in ye&&(sr[nr]=ye[nr]),sr),{})}function Tt($e){cr($e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function Se($e,lt){const ye=lt?` +`);var wa=ye.getPluralRules(lt,{type:ln.pluralType}).select(Kr-(ln.offset||0));ui=ln.options[wa]||ln.options.other}if(!ui)throw new RangeError('Invalid values for "'+ln.value+'": "'+Kr+'". Options are "'+Object.keys(ln.options).join('", "')+'"');Wr.push.apply(Wr,Qe(ui.value,lt,ye,sr,nr,Kr-(ln.offset||0)));continue}}return Mt(Wr)}function ct($e,lt,ye,sr,nr,Lr){var $r=Qe($e,lt,ye,sr,nr,void 0,Lr);return $r.length===1?$r[0].value:$r.reduce(function(Wr,pn){return Wr+=pn.value},"")}var st,qe="@@",Be=/@@(\d+_\d+)@@/g,be=0;function De(){return Date.now()+"_"+ ++be}function Ge($e,lt){return $e.split(Be).filter(Boolean).map(function(ye){return lt[ye]!=null?lt[ye]:ye}).reduce(function(ye,sr){return ye.length&&typeof sr=="string"&&typeof ye[ye.length-1]=="string"?ye[ye.length-1]+=sr:ye.push(sr),ye},[])}var We=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Xe=Date.now()+"@@",ot=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ht($e,lt,ye){var sr=$e.tagName,nr=$e.outerHTML,Lr=$e.textContent,$r=$e.childNodes;if(!sr)return Ge(Lr||"",lt);sr=sr.toLowerCase();var Wr=~ot.indexOf(sr),pn=ye[sr];if(pn&&Wr)throw new _t(sr+" is a self-closing tag and can not be used, please use another tag name.");if(!$r.length)return[nr];var Ti=Array.prototype.slice.call($r).reduce(function(ln,bn){return ln.concat(ht(bn,lt,ye))},[]);return pn?typeof pn=="function"?[pn.apply(void 0,Ti)]:[pn]:Ue(["<"+sr+">"],Ti,[""])}function ur($e,lt,ye,sr,nr,Lr){var $r=Qe($e,lt,ye,sr,nr,void 0,Lr),Wr={},pn=$r.reduce(function(Kr,Rn){if(Rn.type===0)return Kr+=Rn.value;var ui=De();return Wr[ui]=Rn.value,Kr+=""+qe+ui+qe},"");if(!We.test(pn))return Ge(pn,Wr);if(!nr)throw new _t("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new _t("Cannot format XML message without DOMParser");st||(st=new DOMParser);var Ti=st.parseFromString(''+pn+"","text/html").getElementById(Xe);if(!Ti)throw new _t("Malformed HTML message "+pn);var ln=Object.keys(nr).filter(function(Kr){return!!Ti.getElementsByTagName(Kr).length});if(!ln.length)return Ge(pn,Wr);var bn=ln.filter(function(Kr){return Kr!==Kr.toLowerCase()});if(bn.length)throw new _t("HTML tag must be lowercased but the following tags are not: "+bn.join(", "));return Array.prototype.slice.call(Ti.childNodes).reduce(function(Kr,Rn){return Kr.concat(ht(Rn,Wr,nr))},[])}var tr=function(){return tr=Object.assign||function($e){for(var lt,ye=1,sr=arguments.length;ye<"']/g;function ce($e){return(""+$e).replace(Ce,lt=>Ht[lt.charCodeAt(0)])}function pe($e,lt,ye={}){return lt.reduce((sr,nr)=>(nr in $e?sr[nr]=$e[nr]:nr in ye&&(sr[nr]=ye[nr]),sr),{})}function Ct($e){cr($e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function Se($e,lt){const ye=lt?` ${lt.stack}`:"";return`[React Intl] ${$e}${ye}`}function at($e){}const $t={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:at};function yt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ae($e=yt()){const lt=Intl.RelativeTimeFormat,ye=Intl.ListFormat,sr=Intl.DisplayNames;return{getDateTimeFormat:ie(Intl.DateTimeFormat,$e.dateTime),getNumberFormat:ie(Intl.NumberFormat,$e.number),getMessageFormat:ie(Gt,$e.message),getRelativeTimeFormat:ie(lt,$e.relativeTime),getPluralRules:ie(Intl.PluralRules,$e.pluralRules),getListFormat:ie(ye,$e.list),getDisplayNames:ie(sr,$e.displayNames)}}function gt($e,lt,ye,sr){const nr=$e&&$e[lt];let Lr;if(nr&&(Lr=nr[ye]),Lr)return Lr;sr(Se(`No ${lt} format named: ${ye}`))}const ze=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function et({locale:$e,formats:lt,onError:ye},sr,nr={}){const{format:Lr}=nr,$r=Lr&>(lt,"number",Lr,ye)||{},Wr=pe(nr,ze,$r);return sr($e,Wr)}function bt($e,lt,ye,sr={}){try{return et($e,lt,sr).format(ye)}catch(nr){$e.onError(Se("Error formatting number.",nr))}return String(ye)}function Ft($e,lt,ye,sr={}){try{return et($e,lt,sr).formatToParts(ye)}catch(nr){$e.onError(Se("Error formatting number.",nr))}return[]}const Fe=["numeric","style"];function kr({locale:$e,formats:lt,onError:ye},sr,nr={}){const{format:Lr}=nr,$r=!!Lr&>(lt,"relative",Lr,ye)||{},Wr=pe(nr,Fe,$r);return sr($e,Wr)}function pt($e,lt,ye,sr,nr={}){sr||(sr="second"),Intl.RelativeTimeFormat||$e.onError(Se(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`));try{return kr($e,lt,nr).format(ye,sr)}catch($r){$e.onError(Se("Error formatting relative time.",$r))}return String(ye)}const en=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function on({locale:$e,formats:lt,onError:ye,timeZone:sr},nr,Lr,$r={}){const{format:Wr}=$r,pn=Object.assign(Object.assign({},sr&&{timeZone:sr}),Wr&>(lt,nr,Wr,ye));let Ci=pe($r,en,pn);return nr==="time"&&!Ci.hour&&!Ci.minute&&!Ci.second&&(Ci=Object.assign(Object.assign({},Ci),{hour:"numeric",minute:"numeric"})),Lr($e,Ci)}function jt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"date",lt,sr).format(nr)}catch(Lr){$e.onError(Se("Error formatting date.",Lr))}return String(nr)}function Jt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"time",lt,sr).format(nr)}catch(Lr){$e.onError(Se("Error formatting time.",Lr))}return String(nr)}function kt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"date",lt,sr).formatToParts(nr)}catch(Lr){$e.onError(Se("Error formatting date.",Lr))}return[]}function Xt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"time",lt,sr).formatToParts(nr)}catch(Lr){$e.onError(Se("Error formatting time.",Lr))}return[]}const Er=["localeMatcher","type"];function Or({locale:$e,onError:lt},ye,sr,nr={}){Intl.PluralRules||lt(Se(`Intl.PluralRules is not available in this environment. +`));try{return kr($e,lt,nr).format(ye,sr)}catch($r){$e.onError(Se("Error formatting relative time.",$r))}return String(ye)}const en=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function on({locale:$e,formats:lt,onError:ye,timeZone:sr},nr,Lr,$r={}){const{format:Wr}=$r,pn=Object.assign(Object.assign({},sr&&{timeZone:sr}),Wr&>(lt,nr,Wr,ye));let Ti=pe($r,en,pn);return nr==="time"&&!Ti.hour&&!Ti.minute&&!Ti.second&&(Ti=Object.assign(Object.assign({},Ti),{hour:"numeric",minute:"numeric"})),Lr($e,Ti)}function jt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"date",lt,sr).format(nr)}catch(Lr){$e.onError(Se("Error formatting date.",Lr))}return String(nr)}function Jt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"time",lt,sr).format(nr)}catch(Lr){$e.onError(Se("Error formatting time.",Lr))}return String(nr)}function kt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"date",lt,sr).formatToParts(nr)}catch(Lr){$e.onError(Se("Error formatting date.",Lr))}return[]}function Xt($e,lt,ye,sr={}){const nr=typeof ye=="string"?new Date(ye||0):ye;try{return on($e,"time",lt,sr).formatToParts(nr)}catch(Lr){$e.onError(Se("Error formatting time.",Lr))}return[]}const Er=["localeMatcher","type"];function Or({locale:$e,onError:lt},ye,sr,nr={}){Intl.PluralRules||lt(Se(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`));const Lr=pe(nr,Er);try{return ye($e,Lr).select(sr)}catch($r){lt(Se("Error formatting plural.",$r))}return"other"}function Ct($e,lt){return Object.keys($e).reduce((ye,sr)=>(ye[sr]=Object.assign({timeZone:lt},$e[sr]),ye),{})}function Kt($e,lt){return Object.keys(Object.assign(Object.assign({},$e),lt)).reduce((sr,nr)=>(sr[nr]=Object.assign(Object.assign({},$e[nr]||{}),lt[nr]||{}),sr),{})}function Lt($e,lt){if(!lt)return $e;const ye=Gt.formats;return Object.assign(Object.assign(Object.assign({},ye),$e),{date:Kt(Ct(ye.date,lt),Ct($e.date||{},lt)),time:Kt(Ct(ye.time,lt),Ct($e.time||{},lt))})}const Qt=$e=>r.createElement(r.Fragment,null,...$e);function br({locale:$e,formats:lt,messages:ye,defaultLocale:sr,defaultFormats:nr,onError:Lr,timeZone:$r},Wr,pn={id:""},Ci={}){const{id:ln,defaultMessage:bn}=pn;cr(!!ln,"[React Intl] An `id` must be provided to format a message.");const Kr=ye&&ye[String(ln)];lt=Lt(lt,$r),nr=Lt(nr,$r);let Rn=[];if(Kr)try{Rn=Wr.getMessageFormat(Kr,$e,lt,{formatters:Wr}).formatHTMLMessage(Ci)}catch(ui){Lr(Se(`Error formatting message: "${ln}" for locale: "${$e}"`+(bn?", using default message as fallback.":""),ui))}else(!bn||$e&&$e.toLowerCase()!==sr.toLowerCase())&&Lr(Se(`Missing message: "${ln}" for locale: "${$e}"`+(bn?", using default message as fallback.":"")));if(!Rn.length&&bn)try{Rn=Wr.getMessageFormat(bn,sr,nr).formatHTMLMessage(Ci)}catch(ui){Lr(Se(`Error formatting the default message for: "${ln}"`,ui))}return Rn.length?Rn.length===1&&typeof Rn[0]=="string"?Rn[0]||bn||String(ln):Qt(Rn):(Lr(Se(`Cannot format message: "${ln}", using message ${Kr||bn?"source":"id"} as fallback.`)),typeof Kr=="string"?Kr||bn||String(ln):bn||String(ln))}function Qr($e,lt,ye={id:""},sr={}){const nr=Object.keys(sr).reduce((Lr,$r)=>{const Wr=sr[$r];return Lr[$r]=typeof Wr=="string"?ce(Wr):Wr,Lr},{});return br($e,lt,ye,nr)}var Hr=e(18947),Bn=e.n(Hr);const wn=["localeMatcher","type","style"],Vn=Date.now();function At($e){return`${Vn}_${$e}_${Vn}`}function Yr({locale:$e,onError:lt},ye,sr,nr={}){Intl.ListFormat||lt(Se(`Intl.ListFormat is not available in this environment. +`));const Lr=pe(nr,Er);try{return ye($e,Lr).select(sr)}catch($r){lt(Se("Error formatting plural.",$r))}return"other"}function At($e,lt){return Object.keys($e).reduce((ye,sr)=>(ye[sr]=Object.assign({timeZone:lt},$e[sr]),ye),{})}function Kt($e,lt){return Object.keys(Object.assign(Object.assign({},$e),lt)).reduce((sr,nr)=>(sr[nr]=Object.assign(Object.assign({},$e[nr]||{}),lt[nr]||{}),sr),{})}function Lt($e,lt){if(!lt)return $e;const ye=Gt.formats;return Object.assign(Object.assign(Object.assign({},ye),$e),{date:Kt(At(ye.date,lt),At($e.date||{},lt)),time:Kt(At(ye.time,lt),At($e.time||{},lt))})}const Qt=$e=>r.createElement(r.Fragment,null,...$e);function br({locale:$e,formats:lt,messages:ye,defaultLocale:sr,defaultFormats:nr,onError:Lr,timeZone:$r},Wr,pn={id:""},Ti={}){const{id:ln,defaultMessage:bn}=pn;cr(!!ln,"[React Intl] An `id` must be provided to format a message.");const Kr=ye&&ye[String(ln)];lt=Lt(lt,$r),nr=Lt(nr,$r);let Rn=[];if(Kr)try{Rn=Wr.getMessageFormat(Kr,$e,lt,{formatters:Wr}).formatHTMLMessage(Ti)}catch(ui){Lr(Se(`Error formatting message: "${ln}" for locale: "${$e}"`+(bn?", using default message as fallback.":""),ui))}else(!bn||$e&&$e.toLowerCase()!==sr.toLowerCase())&&Lr(Se(`Missing message: "${ln}" for locale: "${$e}"`+(bn?", using default message as fallback.":"")));if(!Rn.length&&bn)try{Rn=Wr.getMessageFormat(bn,sr,nr).formatHTMLMessage(Ti)}catch(ui){Lr(Se(`Error formatting the default message for: "${ln}"`,ui))}return Rn.length?Rn.length===1&&typeof Rn[0]=="string"?Rn[0]||bn||String(ln):Qt(Rn):(Lr(Se(`Cannot format message: "${ln}", using message ${Kr||bn?"source":"id"} as fallback.`)),typeof Kr=="string"?Kr||bn||String(ln):bn||String(ln))}function Qr($e,lt,ye={id:""},sr={}){const nr=Object.keys(sr).reduce((Lr,$r)=>{const Wr=sr[$r];return Lr[$r]=typeof Wr=="string"?ce(Wr):Wr,Lr},{});return br($e,lt,ye,nr)}var Hr=e(18947),Bn=e.n(Hr);const wn=["localeMatcher","type","style"],Yn=Date.now();function St($e){return`${Yn}_${$e}_${Yn}`}function Yr({locale:$e,onError:lt},ye,sr,nr={}){Intl.ListFormat||lt(Se(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" -`));const $r=pe(nr,wn);try{const Wr={},pn=sr.map((ln,bn)=>{if(typeof ln=="object"){const Kr=At(bn);return Wr[Kr]=ln,Kr}return String(ln)});return Object.keys(Wr).length?ye($e,$r).formatToParts(pn).reduce((ln,bn)=>{const Kr=bn.value;return Wr[Kr]?ln.push(Wr[Kr]):typeof ln[ln.length-1]=="string"?ln[ln.length-1]+=Kr:ln.push(Kr),ln},[]):ye($e,$r).format(pn)}catch(Wr){lt(Se("Error formatting list.",Wr))}return sr}const ni=["localeMatcher","style","type","fallback"];function Mi({locale:$e,onError:lt},ye,sr,nr={}){Intl.DisplayNames||lt(Se(`Intl.DisplayNames is not available in this environment. +`));const $r=pe(nr,wn);try{const Wr={},pn=sr.map((ln,bn)=>{if(typeof ln=="object"){const Kr=St(bn);return Wr[Kr]=ln,Kr}return String(ln)});return Object.keys(Wr).length?ye($e,$r).formatToParts(pn).reduce((ln,bn)=>{const Kr=bn.value;return Wr[Kr]?ln.push(Wr[Kr]):typeof ln[ln.length-1]=="string"?ln[ln.length-1]+=Kr:ln.push(Kr),ln},[]):ye($e,$r).format(pn)}catch(Wr){lt(Se("Error formatting list.",Wr))}return sr}const ni=["localeMatcher","style","type","fallback"];function Mi({locale:$e,onError:lt},ye,sr,nr={}){Intl.DisplayNames||lt(Se(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`));const $r=pe(nr,ni);try{return ye($e,$r).of(sr)}catch(Wr){lt(Se("Error formatting display name.",Wr))}}const Et=Bn()||Hr;function Xn($e){return{locale:$e.locale,timeZone:$e.timeZone,formats:$e.formats,textComponent:$e.textComponent,messages:$e.messages,defaultLocale:$e.defaultLocale,defaultFormats:$e.defaultFormats,onError:$e.onError}}function si($e,lt){const ye=Ae(lt),sr=Object.assign(Object.assign({},$t),$e),{locale:nr,defaultLocale:Lr,onError:$r}=sr;return nr?!Intl.NumberFormat.supportedLocalesOf(nr).length&&$r?$r(Se(`Missing locale data for locale: "${nr}" in Intl.NumberFormat. Using default locale: "${Lr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(nr).length&&$r&&$r(Se(`Missing locale data for locale: "${nr}" in Intl.DateTimeFormat. Using default locale: "${Lr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):($r&&$r(Se(`"locale" was not configured, using "${Lr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),sr.locale=sr.defaultLocale||"en"),Object.assign(Object.assign({},sr),{formatters:ye,formatNumber:bt.bind(null,sr,ye.getNumberFormat),formatNumberToParts:Ft.bind(null,sr,ye.getNumberFormat),formatRelativeTime:pt.bind(null,sr,ye.getRelativeTimeFormat),formatDate:jt.bind(null,sr,ye.getDateTimeFormat),formatDateToParts:kt.bind(null,sr,ye.getDateTimeFormat),formatTime:Jt.bind(null,sr,ye.getDateTimeFormat),formatTimeToParts:Xt.bind(null,sr,ye.getDateTimeFormat),formatPlural:Or.bind(null,sr,ye.getPluralRules),formatMessage:br.bind(null,sr,ye),formatHTMLMessage:Qr.bind(null,sr,ye),formatList:Yr.bind(null,sr,ye.getListFormat),formatDisplayName:Mi.bind(null,sr,ye.getDisplayNames)})}class Ui extends r.PureComponent{constructor(){super(...arguments),this.cache=yt(),this.state={cache:this.cache,intl:si(Xn(this.props),this.cache),prevConfig:Xn(this.props)}}static getDerivedStateFromProps(lt,{prevConfig:ye,cache:sr}){const nr=Xn(lt);return Et(ye,nr)?null:{intl:si(nr,sr),prevConfig:nr}}render(){return Tt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Ui.displayName="IntlProvider",Ui.defaultProps=$t;var Ei=e(38542),ji=e(3424),la=e.n(ji),Wi=e(85239),Di=e.n(Wi),di=e(31724),Hi={table:{submit:"\u63D0\u4EA4\u8868\u5355"}},Ta=Object.defineProperty,xt=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,_i=($e,lt,ye)=>lt in $e?Ta($e,lt,{enumerable:!0,configurable:!0,writable:!0,value:ye}):$e[lt]=ye,Da=($e,lt)=>{for(var ye in lt||(lt={}))xa.call(lt,ye)&&_i($e,ye,lt[ye]);if(xt)for(var ye of xt(lt))Gi.call(lt,ye)&&_i($e,ye,lt[ye]);return $e},Ki=($e,lt)=>{var ye={};for(var sr in $e)xa.call($e,sr)&<.indexOf(sr)<0&&(ye[sr]=$e[sr]);if($e!=null&&xt)for(var sr of xt($e))lt.indexOf(sr)<0&&Gi.call($e,sr)&&(ye[sr]=$e[sr]);return ye};let ti;const Zn=!0,or=new(la()),ut=Symbol("LANG_CHANGE"),me=($e,lt="")=>Object.keys($e).reduce((ye,sr)=>{const nr=$e[sr],Lr=lt?`${lt}.${sr}`:sr;return typeof nr=="string"?ye[Lr]=nr:Object.assign(ye,me(nr,Lr)),ye},{}),dt={"en-US":{messages:Da({},me(Hi)),locale:"en-US",antd:Da({},di.Z),momentLocale:"en"}},rt=($e,lt,ye)=>{var sr,nr,Lr,$r;if(!$e)return;const Wr=(sr=dt[$e])!=null&&sr.messages?Object.assign({},dt[$e].messages,lt):lt,{momentLocale:pn=(nr=dt[$e])==null?void 0:nr.momentLocale,antd:Ci=(Lr=dt[$e])==null?void 0:Lr.antd}=ye||{},ln=($r=$e.split("-"))==null?void 0:$r.join("-");dt[$e]={messages:Wr,locale:ln,momentLocale:pn,antd:Ci},ln===tn()&&or.emit(ut,ln)},pr=$e=>(0,Ei.We)().applyPlugins({key:"locale",type:"modify",initialValue:$e}),mr=$e=>{const ye=pr(dt[$e]),{cache:sr}=ye,nr=Ki(ye,["cache"]);return si(nr,sr)},Ir=($e,lt)=>ti&&!lt&&!$e?ti:($e||($e=tn()),$e&&dt[$e]?mr($e):(Di()(!$e||!!dt[$e],"The current popular language does not exist, please check the locales folder!"),dt["zh-CN"]?mr("zh-CN"):si({locale:"zh-CN",messages:{}}))),Gr=$e=>{ti=Ir($e,!0)},tn=()=>{const $e=pr({});return typeof($e==null?void 0:$e.getLocale)=="function"?$e.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Zn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},Dr=()=>{const $e=tn();return["he","ar","fa","ku"].filter(sr=>$e.startsWith(sr)).length?"rtl":"ltr"},Cn=($e,lt=!0)=>{(()=>{if(tn()!==$e){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Zn&&window.localStorage.setItem("umi_locale",$e||""),Gr($e),lt)window.location.reload();else if(or.emit(ut,$e),window.dispatchEvent){const sr=new Event("languagechange");window.dispatchEvent(sr)}}})()};let _r=!0;const Nn=($e,lt)=>(_r&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. +`));const $r=pe(nr,ni);try{return ye($e,$r).of(sr)}catch(Wr){lt(Se("Error formatting display name.",Wr))}}const Kn=Bn()||Hr;function Tt($e){return{locale:$e.locale,timeZone:$e.timeZone,formats:$e.formats,textComponent:$e.textComponent,messages:$e.messages,defaultLocale:$e.defaultLocale,defaultFormats:$e.defaultFormats,onError:$e.onError}}function fi($e,lt){const ye=Ae(lt),sr=Object.assign(Object.assign({},$t),$e),{locale:nr,defaultLocale:Lr,onError:$r}=sr;return nr?!Intl.NumberFormat.supportedLocalesOf(nr).length&&$r?$r(Se(`Missing locale data for locale: "${nr}" in Intl.NumberFormat. Using default locale: "${Lr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(nr).length&&$r&&$r(Se(`Missing locale data for locale: "${nr}" in Intl.DateTimeFormat. Using default locale: "${Lr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):($r&&$r(Se(`"locale" was not configured, using "${Lr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),sr.locale=sr.defaultLocale||"en"),Object.assign(Object.assign({},sr),{formatters:ye,formatNumber:bt.bind(null,sr,ye.getNumberFormat),formatNumberToParts:Ft.bind(null,sr,ye.getNumberFormat),formatRelativeTime:pt.bind(null,sr,ye.getRelativeTimeFormat),formatDate:jt.bind(null,sr,ye.getDateTimeFormat),formatDateToParts:kt.bind(null,sr,ye.getDateTimeFormat),formatTime:Jt.bind(null,sr,ye.getDateTimeFormat),formatTimeToParts:Xt.bind(null,sr,ye.getDateTimeFormat),formatPlural:Or.bind(null,sr,ye.getPluralRules),formatMessage:br.bind(null,sr,ye),formatHTMLMessage:Qr.bind(null,sr,ye),formatList:Yr.bind(null,sr,ye.getListFormat),formatDisplayName:Mi.bind(null,sr,ye.getDisplayNames)})}class pi extends r.PureComponent{constructor(){super(...arguments),this.cache=yt(),this.state={cache:this.cache,intl:fi(Tt(this.props),this.cache),prevConfig:Tt(this.props)}}static getDerivedStateFromProps(lt,{prevConfig:ye,cache:sr}){const nr=Tt(lt);return Kn(ye,nr)?null:{intl:fi(nr,sr),prevConfig:nr}}render(){return Ct(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}pi.displayName="IntlProvider",pi.defaultProps=$t;var Ai=e(38542),Ni=e(3424),la=e.n(Ni),Xi=e(85239),zi=e.n(Xi),oi=e(31724),ji={table:{submit:"\u63D0\u4EA4\u8868\u5355"}},Ta=Object.defineProperty,xt=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,gi=($e,lt,ye)=>lt in $e?Ta($e,lt,{enumerable:!0,configurable:!0,writable:!0,value:ye}):$e[lt]=ye,Da=($e,lt)=>{for(var ye in lt||(lt={}))xa.call(lt,ye)&&gi($e,ye,lt[ye]);if(xt)for(var ye of xt(lt))Hi.call(lt,ye)&&gi($e,ye,lt[ye]);return $e},$i=($e,lt)=>{var ye={};for(var sr in $e)xa.call($e,sr)&<.indexOf(sr)<0&&(ye[sr]=$e[sr]);if($e!=null&&xt)for(var sr of xt($e))lt.indexOf(sr)<0&&Hi.call($e,sr)&&(ye[sr]=$e[sr]);return ye};let ti;const Zn=!0,or=new(la()),ut=Symbol("LANG_CHANGE"),me=($e,lt="")=>Object.keys($e).reduce((ye,sr)=>{const nr=$e[sr],Lr=lt?`${lt}.${sr}`:sr;return typeof nr=="string"?ye[Lr]=nr:Object.assign(ye,me(nr,Lr)),ye},{}),dt={"en-US":{messages:Da({},me(ji)),locale:"en-US",antd:Da({},oi.Z),momentLocale:"en"}},rt=($e,lt,ye)=>{var sr,nr,Lr,$r;if(!$e)return;const Wr=(sr=dt[$e])!=null&&sr.messages?Object.assign({},dt[$e].messages,lt):lt,{momentLocale:pn=(nr=dt[$e])==null?void 0:nr.momentLocale,antd:Ti=(Lr=dt[$e])==null?void 0:Lr.antd}=ye||{},ln=($r=$e.split("-"))==null?void 0:$r.join("-");dt[$e]={messages:Wr,locale:ln,momentLocale:pn,antd:Ti},ln===tn()&&or.emit(ut,ln)},pr=$e=>(0,Ai.We)().applyPlugins({key:"locale",type:"modify",initialValue:$e}),mr=$e=>{const ye=pr(dt[$e]),{cache:sr}=ye,nr=$i(ye,["cache"]);return fi(nr,sr)},Ir=($e,lt)=>ti&&!lt&&!$e?ti:($e||($e=tn()),$e&&dt[$e]?mr($e):(zi()(!$e||!!dt[$e],"The current popular language does not exist, please check the locales folder!"),dt["zh-CN"]?mr("zh-CN"):fi({locale:"zh-CN",messages:{}}))),Gr=$e=>{ti=Ir($e,!0)},tn=()=>{const $e=pr({});return typeof($e==null?void 0:$e.getLocale)=="function"?$e.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Zn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},Dr=()=>{const $e=tn();return["he","ar","fa","ku"].filter(sr=>$e.startsWith(sr)).length?"rtl":"ltr"},Cn=($e,lt=!0)=>{(()=>{if(tn()!==$e){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Zn&&window.localStorage.setItem("umi_locale",$e||""),Gr($e),lt)window.location.reload();else if(or.emit(ut,$e),window.dispatchEvent){const sr=new Event("languagechange");window.dispatchEvent(sr)}}})()};let _r=!0;const Nn=($e,lt)=>(_r&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 @@ -964,7 +964,7 @@ http://j.mp/37Fkd5Q `)},{label:"include ",content:["#include "].join(` `)}]},u={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var o=e(53184),a=e.n(o),x=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=st=>{try{ct(ar.next(st))}catch(qe){_t(qe)}},Qe=st=>{try{ct(ar.throw(st))}catch(qe){_t(qe)}},ct=st=>st.done?Ue(st.value):Promise.resolve(st.value).then(Mt,Qe);ct((ar=ar.apply(Wt,Rt)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=(Wt,Rt,ar,Ue)=>{const _t=Rt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:ar.lineNumber,endColumn:ar.column});return Array.from(new Set(_t.match(/\b\w{2,}\b/g)||[])).map(Qe=>({label:Qe,kind:Wt.languages.CompletionItemKind.Text,insertText:Qe,range:Ue}))},m=(Wt,Rt,ar,Ue)=>{Wt.languages.registerCompletionItemProvider(Rt,{provideCompletionItems(_t,Mt){const Qe=_t.getWordUntilPosition(Mt),ct={startLineNumber:Mt.lineNumber,endLineNumber:Mt.lineNumber,startColumn:Qe.startColumn,endColumn:Qe.endColumn},st=_t.getLineContent(Mt.lineNumber).substring(Qe.startColumn-2,Qe.endColumn);return{suggestions:[...y(Wt,_t,Mt,ct),...ar.map(Be=>({label:Be,kind:Wt.languages.CompletionItemKind.Keyword,documentation:Be,insertText:Be,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct})),...Ue.map(Be=>({label:Be.label,kind:Wt.languages.CompletionItemKind.Snippet,documentation:Be.content,insertText:st.startsWith("#")?Be.content.replace(/#/,""):Be.content,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}))]}}})};var b=Wt=>{p.languages.forEach(Rt=>{Wt.languages.registerDocumentFormattingEditProvider(Rt,{provideDocumentFormattingEdits(ar){return x(this,null,function*(){const Ue=a()(ar.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:ar.getFullModelRange(),text:Ue}]})}})}),m(Wt,"java",c.keywords,c.quickKey),m(Wt,"cpp",f.keywords,f.quickKey),m(Wt,"c",l.keywords,[]),m(Wt,"python",u.keywords,u.quickKey),m(Wt,"scala",h.keywords,h.quickKey)};const S="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(Wt,Rt,ar)=>Rt in Wt?k(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,A=(Wt,Rt,ar)=>R(Wt,typeof Rt!="symbol"?Rt+"":Rt,ar);const I=class a0{constructor(Rt,ar,Ue){this.placeholder=Rt,this.editor=ar,this.monaco=Ue,ar.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return a0.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};A(I,"ID","editor.widget.placeholderHint");var B=I,N=e(96236),K=e(8591),G=e(6848),H=e(89392),ae=e(27035),ne=e(56102),oe=Object.defineProperty,J=Object.defineProperties,q=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,Q=(Wt,Rt,ar)=>Rt in Wt?oe(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,le=(Wt,Rt)=>{for(var ar in Rt||(Rt={}))se.call(Rt,ar)&&Q(Wt,ar,Rt[ar]);if(V)for(var ar of V(Rt))ee.call(Rt,ar)&&Q(Wt,ar,Rt[ar]);return Wt},Z=(Wt,Rt)=>J(Wt,q(Rt)),j=(Wt,Rt)=>{var ar={};for(var Ue in Wt)se.call(Wt,Ue)&&Rt.indexOf(Ue)<0&&(ar[Ue]=Wt[Ue]);if(Wt!=null&&V)for(var Ue of V(Wt))Rt.indexOf(Ue)<0&&ee.call(Wt,Ue)&&(ar[Ue]=Wt[Ue]);return ar},ie=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=st=>{try{ct(ar.next(st))}catch(qe){_t(qe)}},Qe=st=>{try{ct(ar.throw(st))}catch(qe){_t(qe)}},ct=st=>st.done?Ue(st.value):Promise.resolve(st.value).then(Mt,Qe);ct((ar=ar.apply(Wt,Rt)).next())});function ve(Wt){return/^\d+$/.test(Wt)?`${Wt}px`:Wt}function Ee(){}let Te=!1;const He={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function je(Wt=[]){let Rt=Wt;if(Array.isArray(Wt)){for(let ar=0;ar{var Rt=Wt,{width:ar="100%",height:Ue="100%",value:_t,language:Mt="javascript",style:Qe={},options:ct={},overrideServices:st={},theme:qe="vs-dark",onEditBlur:Be,isCopy:be=!1,onSave:De,autoHeight:Ge=!1,forbidCopy:We=!1,onChange:Xe=Ee,editorDidMount:ot=Ee,onFocus:ht=Ee,onBreakPoint:ur=Ee,breakPointValue:tr=[],filename:Le="educoder.txt",errorLine:Je,errorContent:Yt="",highlightLine:It,openBreakPoint:Zt=!1,placeholder:Gt=""}=Rt,cr=j(Rt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ht=(0,r.useRef)(),Ce=(0,r.useRef)({}),ce=(0,r.useRef)(),pe=(0,r.useRef)(),Tt=(0,r.useRef)([]),Se=(0,r.useRef)(!1),at=(0,r.useRef)(),$t=(0,r.useRef)(),yt=(0,r.useRef)(!1),[Ae,gt]=(0,r.useState)(!1);function ze(){let Ct;return Ht.current&&(Ct=new i.Z(Kt=>{for(let Lt of Kt)(Lt.target.offsetHeight>0||Lt.target.offsetWidth>0)&&Ce.current.instance.layout()}),Ct.observe(Ht.current)),Ct}function et(){K.ZP.warning({content:decodeURIComponent(S),key:"monaco-editor-tip"})}const bt=()=>{let Ct=Ce.current.instance;if(_t!=null&&Ct&&Ae){const Kt=Ct.getModel();Kt&&_t!==Kt.getValue()&&(Te=!0,Kt.setValue(_t),Ct.layout(),Te=!1)}};(0,r.useEffect)(()=>{const Ct=ae.Z.subscribe("formatDocument",Kt=>{var Lt;let Qt=Ce.current.instance;(Lt=Qt==null?void 0:Qt.getAction)==null||Lt.call(Qt,"editor.action.formatDocument").run()});return window.updateMonacoValue=Kt=>{Xe(Kt)},Ct},[]),(0,r.useEffect)(()=>{var Ct;let Kt=Ce.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{bt()},500),_t&&(_t!=null&&_t.length)&&((Ct=Kt==null?void 0:Kt.updateOptions)==null||Ct.call(Kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(_t.split(/\r\n|\r|\n/g).length))+3,5)}))},[_t,Ae,Ce.current]),(0,r.useEffect)(()=>{if(Je&&Ce.current&&Ce.current.instance){let Kt=Ce.current.instance;Kt.changeViewZones(function(Lt){var Qt=document.createElement("div");Qt.style.padding="10px 20px",Qt.style.width="calc(100% - 20px)",Qt.className="my-error-line-wrp",Qt.innerHTML=Yt,Lt.addZone({afterLineNumber:Je||11,heightInLines:3,domNode:Qt})});var Ct={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Kt.addOverlayWidget(Ct),Kt.revealPositionInCenter({lineNumber:20,column:1})}},[Je,Ce.current,Ae]);const Ft=(Ct="",Kt)=>{if(!Ct||Ct.trim()==="")return!0;const Qt=Ce.current.instance.getModel().getLineTokens(Kt);let br=!1;for(let Qr=0;Qr<2;Qr++)Qt.getStandardTokenType(Qr)===1&&(br=!0);return br};(0,r.useEffect)(()=>{var Ct;const Kt=(Ct=Ce.current)==null?void 0:Ct.instance;if(Kt&&Ae&&We){const Lt=Kt.onDidBlurEditorWidget(()=>{yt.current=!1}),Qt=Kt.onDidFocusEditorText(()=>{yt.current=!0});return()=>{Lt.dispose(),Qt.dispose()}}},[Ce.current,Ae,We]),(0,r.useEffect)(()=>{var Ct;if((Ct=Ce.current)!=null&&Ct.instance&&Ae&&Zt){let Kt=Ce.current.instance,Lt=Kt.getModel();if(!Lt)return;(()=>{var Et;let Xn=[],si=[];const Ui=Lt.getAllDecorations();for(let ji of Ui)ji.options.className==="highlighted-line"&&(Xn.push((Et=ji==null?void 0:ji.range)==null?void 0:Et.startLineNumber),si.push(ji==null?void 0:ji.id));if(It===Xn[0])return;Lt.deltaDecorations(si,[]);const Ei=Lt.getLineCount();It&&It<=Ei&&(Kt.deltaDecorations([],[{range:new Ot.Range(It,1,It,Lt.getLineMaxColumn(It)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Kt.revealLineInCenter(It))})();const br=(Et=!1)=>{var Xn;let si=[],Ui=[];const Ei=Lt.getAllDecorations();for(let ji of Ei)ji.options.linesDecorationsClassName==="breakpoints-select"&&(si.push((Xn=ji==null?void 0:ji.range)==null?void 0:Xn.startLineNumber),Ui.push(ji==null?void 0:ji.id));if(Et)return{lines:si,ids:Ui};ur(si)},Qr=Et=>ie(void 0,null,function*(){let Xn={range:new Ot.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Lt.deltaDecorations([],[Xn]),br()}),Hr=Et=>ie(void 0,null,function*(){let Xn=[];const si=Kt.getLineDecorations(Et);for(let Ui of si)Ui.options.linesDecorationsClassName==="breakpoints-select"&&Xn.push(Ui.id);yield Lt.deltaDecorations(Xn,[]),br()}),Bn=Et=>{let Xn=Kt.getLineDecorations(Et);for(let si of Xn)if(si.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(tr,br(!0).lines)){Lt.deltaDecorations(br(!0).ids,[]);const Et=tr.map(Xn=>({range:new Ot.Range(Xn,1,Xn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Lt.deltaDecorations([],Et)}const wn=Kt.onDidChangeModelContent(Et=>{let Xn=Kt.getPosition();if(Xn){let si=Xn.lineNumber;clearTimeout($t.current),$t.current=setTimeout(()=>{Ft(Lt.getLineContent(si),si)?Hr(si):Bn(si)?(Hr(si),Qr(si)):br()},100)}}),Vn=Kt.onMouseDown(Et=>{var Xn,si,Ui;if(Et.target.detail&&((Ui=(si=(Xn=Et.target)==null?void 0:Xn.element)==null?void 0:si.className)!=null&&Ui.includes("line-numbers"))){let Ei=Et.target.position.lineNumber;if(Ft(Lt.getLineContent(Ei),Ei))return;Bn(Ei)?Hr(Ei):Qr(Ei)}}),At=Et=>{let Xn={range:new Ot.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Tt.current=Kt.deltaDecorations(Tt.current,[Xn])},Yr=()=>{Tt.current=Kt.deltaDecorations(Tt.current,[])},ni=Kt.onMouseMove(Et=>{var Xn,si,Ui;if(Yr(),Et.target.detail&&((Ui=(si=(Xn=Et.target)==null?void 0:Xn.element)==null?void 0:si.className)!=null&&Ui.includes("line-numbers"))){let Ei=Et.target.position.lineNumber;if(Ft(Lt.getLineContent(Ei),Ei))return;At(Ei)}}),Mi=Kt.onMouseLeave(()=>{Yr()});return()=>{wn.dispose(),Vn.dispose(),ni.dispose(),Mi.dispose()}}},[Ce.current,Ae,tr,It,Zt,Mt]),(0,r.useEffect)(()=>{var Ct;(Ct=Ce.current)!=null&&Ct.instance&&Zt&&Ce.current.instance.setPosition({lineNumber:0,column:0})},[It]);function Fe(){let Ct=Ce.current.instance;if(Ct){const Kt=Ct.getSelection(),Lt=Ce.current.pastePos||{},Qt=new Ot.Range(Lt.startLineNumber||Kt.endLineNumber,Lt.startColumn||Kt.endColumn,Lt.endLineNumber||Kt.endLineNumber,Lt.endColumn||Kt.endColumn);setTimeout(()=>{Ct.executeEdits("",[{range:Qt,text:""}])},300)}}function kr(Ct){(window.navigator.platform.match("Mac")?Ct.metaKey:Ct.ctrlKey)&&Ct.keyCode==83&&(Ct.preventDefault(),De())}const pt=()=>{if(Ge&&Ce.current.instance){const Ct=Ce.current.instance.getContentHeight();Er(Ct{if(!yt.current)return;const{keyCode:Kt,ctrlKey:Lt,metaKey:Qt,target:br,type:Qr}=Ct;return(Qr==="paste"||(Kt===67||Kt===86)&&(Qt||Lt))&&br.nodeName==="TEXTAREA"&&(et(),Ct.preventDefault()),!1};function jt(Ct,Kt){var Lt=window.URL||window.webkitURL||window,Qt=new Blob([Kt]),br=document.createElementNS("http://www.w3.org/1999/xhtml","a");br.href=Lt.createObjectURL(Qt),br.download=Ct,en(br)}(0,r.useEffect)(()=>{pt()},[pt]),(0,r.useEffect)(()=>{Ht.current&&!Ae&&Promise.all([e.e(8909),e.e(4100)]).then(e.bind(e,71448)).then(Ct=>{try{Ot=Ct,Ce.current.instance=Ot.editor.create(Ht.current,{value:_t,language:je(Mt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},st);const Kt=Ce.current.instance;let br=[...N.BH._menuItems].find(wn=>wn[0]._debugName=="EditorContext")[1],Qr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Hr=(wn,Vn)=>{var At,Yr;let ni=wn._first;do Vn.includes((Yr=(At=ni.element)==null?void 0:At.command)==null?void 0:Yr.id)&&wn._remove(ni);while(ni=ni.next)};if(ot(Kt,Ot),setTimeout(()=>{pt(),Ce.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{jt(Le||"educoder.txt",Kt.getValue())}})},500),Ce.current.subscription=Kt.onDidChangeModelContent(wn=>{Se.current?clearTimeout(at.current):(pt(),Xe(Kt.getValue(),wn)),at.current=setTimeout(()=>{Se.current=!1},500)}),window.Monaco||b(Ot,je(Mt)),We&&(Hr(br,Qr),Ht.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",on),window.removeEventListener("paste",on),window.addEventListener("keydown",on),window.addEventListener("paste",on)),window.Monaco=Ot,Be&&Kt.onDidBlurEditorWidget(()=>{Be(Kt.getValue())}),ht&&Kt.onDidFocusEditorText(()=>{ht(Kt.getValue())}),We)try{Kt.onDidPaste(wn=>{const Vn=Kt.getSelection(),At=Ce.current.pastePos||{},Yr=new Ot.Range(At.startLineNumber||Vn.endLineNumber,At.startColumn||Vn.endColumn,At.endLineNumber||Vn.endLineNumber,At.endColumn||Vn.endColumn);Kt.executeEdits("",[{range:wn.range,text:""}])})}catch(wn){}let Bn=ze();return Gt&&typeof Gt=="string"&&new B(Gt,Kt,Ot),gt(!0),()=>{const wn=Ce.current.instance;wn.dispose();const Vn=wn.getModel();Vn&&Vn.dispose(),Ce.current.subscription&&Ce.current.subscription.dispose(),Bn.unobserve(Ht.current)}}catch(Kt){}})},[]),(0,r.useEffect)(()=>{if(Ce.current.instance&&Ae)return document.addEventListener("keydown",kr,!1),()=>{document.removeEventListener("keydown",kr)}},[De,Ae]),(0,r.useEffect)(()=>{let Ct=Ce.current.instance;if(Ct&&Ae){let Kt=je(Mt);Ot.editor.setModelLanguage(Ct.getModel(),Kt)}},[Mt,Ae]),(0,r.useEffect)(()=>{Ce.current.instance&&Ae&&Ot.editor.setTheme(qe)},[qe,Ae]),(0,r.useEffect)(()=>{let Ct=Ce.current.instance;ce.current=ct,Ct&&Ae&&(Ct.updateOptions(le({},ct)),setTimeout(()=>{Ct.getModel().updateOptions(le({},ct))},200))},[JSON.stringify(ct),Ae]),(0,r.useEffect)(()=>{let Ct=Ce.current.instance;Ct&&Ae&&Ct.layout()},[ar,Ue,Ae]);const[Jt,kt]=(0,r.useState)(ve(ar)),[Xt,Er]=(0,r.useState)(ve(Ue)),Or=Z(le({},Qe),{width:Jt,height:Xt,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Ht,style:Or},be&&r.createElement(ne.CopyToClipboard,{text:_t,onCopy:()=>K.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Pt({width:Wt="100%",height:Rt="100%",original:ar,modified:Ue,language:_t,options:Mt={}}){const Qe=(0,r.useRef)(),[ct,st]=(0,r.useState)(null);function qe(Ge){let We;return Qe.current&&(We=new i.Z(Xe=>{for(let ot of Xe)(ot.target.offsetHeight>0||ot.target.offsetWidth>0)&&Ge.layout()}),We.observe(Qe.current)),We}(0,r.useEffect)(()=>(Qe.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ge=>{Ot=Ge;const We=Ot.editor.createDiffEditor(Qe.current,Z(le({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Mt),{wordWrap:!0}));st(We);let Xe=qe(We);return()=>{We.dispose();const ot=We.getModel();ot&&ot.dispose(),Xe.unobserve(Qe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{ct&&ct.setModel({original:Ot.editor.createModel(ar,_t),modified:Ot.editor.createModel(Ue,_t)})},[ar,Ue,_t,ct]);const Be=ve(Wt),be=ve(Rt),De={width:Be,height:be};return r.createElement("div",{className:"my-diff-editor",ref:Qe,style:De})}},23184:function(d,_,e){"use strict";e.d(_,{k:function(){return b}});var r=e(64348),i=e(8591),l=e(65152),c=Object.defineProperty,f=Object.defineProperties,u=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,A)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,p=(k,R)=>{for(var A in R||(R={}))o.call(R,A)&&x(k,A,R[A]);if(h)for(var A of h(R))a.call(R,A)&&x(k,A,R[A]);return k},y=(k,R)=>f(k,u(R)),m=(k,R)=>{var A={};for(var I in k)o.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&h)for(var I of h(k))R.indexOf(I)<0&&a.call(k,I)&&(A[I]=k[I]);return A};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:A}){yield A({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:A,select:I}){const{userInfo:M}=yield I(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:I}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield I(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:I}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield I(ne=>ne.engineeringEvaluteList),{userInfo:H}=yield I(ne=>ne.user);let ae=K.active[b[1]];if(ae){let ne={id:ae,page:B||1,per_page:N||G.pageSize};M&&(ne=y(p({},ne),{page:G.pageNo}));const oe=yield R(r._y,ne),J=[K.active[b[0]],K.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:ne.page,total:oe.count,pageSize:ne.per_page||G.pageSize,dataSource:oe.ec_courses.map((q,V)=>y(p({},q),{key:ne.page>1?(ne.page-1)*ne.per_page+V+1:V+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:I}=yield A(M=>M.engineeringEvaluteList);I.active[b[1]]&&(yield R(r.F,I.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const I=k,{all:M}=I,B=m(I,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};_.Z=S},41576:function(d,_,e){"use strict";e.d(_,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,u=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),o={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:S,program_questions:k,completion_questions:R,subjective_questions:A,practical_questions:I,combination_questions:M}=x||{},N=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},m),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},A),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},I),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>u(u({},K),{number:o[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},65152:function(d,_,e){"use strict";e.d(_,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(81779);const l=(f,u="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:f})},c={setItem:(f,u)=>{var h;const o=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(u);localStorage.setItem(o,a)},getItem:f=>{var u;const h=f+"-engineering"+((u=(0,i.eY)())==null?void 0:u.school_id),o=localStorage.getItem(h);return o!==null&&o!=="[object Object]"?JSON.parse(o):[]},clear:f=>{var u;const h=f+"-engineering"+((u=(0,i.eY)())==null?void 0:u.school_id);localStorage.removeItem(h)}}},79134:function(d,_,e){"use strict";e.d(_,{$f:function(){return p},Cq:function(){return b},GY:function(){return u},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return I},Zm:function(){return o},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return A}});var r=e(57193),i=(N,K,G)=>new Promise((H,ae)=>{var ne=q=>{try{J(G.next(q))}catch(V){ae(V)}},oe=q=>{try{J(G.throw(q))}catch(V){ae(V)}},J=q=>q.done?H(q.value):Promise.resolve(q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function I(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},71832:function(d,_,e){"use strict";e.d(_,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(m,b,S)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):m[b]=S,h=(m,b)=>{for(var S in b||(b={}))c.call(b,S)&&u(m,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&u(m,S,b[S]);return m},o=(m,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(N){R(N)}},I=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,I);M((S=S.apply(m,b)).next())});function a(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},14084:function(d,_,e){"use strict";e.d(_,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&u(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&u(A,M,I[M]);return A},o=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function x(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function y(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function m(A){return o(this,null,function*(){const{id:I}=A;return delete A.id,(0,r.ZP)(`/api/files/${I}.json`,{method:"put",body:h({},A)})})}function b(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function S(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function k(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function R(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},10436:function(d,_,e){"use strict";e.d(_,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&u(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&u(A,M,I[M]);return A},o=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return o(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function x(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function y(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function m(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function S(A){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function k(A){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function R(A){return o(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},94373:function(d,_,e){"use strict";e.d(_,{$T:function(){return Xn},A:function(){return $t},Ab:function(){return xa},Al:function(){return je},BQ:function(){return ht},BR:function(){return He},Bn:function(){return Yt},Cq:function(){return Mi},D4:function(){return b},DJ:function(){return Mt},Dd:function(){return N},Ds:function(){return tr},EO:function(){return yt},Ed:function(){return Qe},F9:function(){return Gt},FU:function(){return Ht},Fg:function(){return K},GV:function(){return be},Gk:function(){return ie},Gm:function(){return We},Gz:function(){return G},Hf:function(){return a},Hl:function(){return H},Hn:function(){return ee},ID:function(){return Bn},IU:function(){return Ft},J2:function(){return qe},K$:function(){return Le},KP:function(){return ct},KT:function(){return Ue},L$:function(){return Tt},LH:function(){return oe},Lk:function(){return Zn},Lm:function(){return k},Ls:function(){return Wt},MA:function(){return ji},Mc:function(){return ti},N7:function(){return Te},Nd:function(){return j},Nl:function(){return bt},Ns:function(){return wn},O3:function(){return _t},Pj:function(){return Ge},Q9:function(){return y},QX:function(){return et},QZ:function(){return ar},R2:function(){return Ee},Rk:function(){return Et},S9:function(){return Se},SA:function(){return S},U8:function(){return At},UD:function(){return Qt},U_:function(){return le},Uy:function(){return Qr},V8:function(){return se},Vw:function(){return Pt},W0:function(){return kr},W7:function(){return ur},WK:function(){return la},Wr:function(){return xt},YR:function(){return gt},Z0:function(){return kt},ZL:function(){return on},ZT:function(){return Gi},ZX:function(){return Di},Z_:function(){return J},_0:function(){return q},_9:function(){return Xe},_B:function(){return Da},_X:function(){return p},aP:function(){return pt},aQ:function(){return ot},aZ:function(){return ce},al:function(){return at},bm:function(){return Lt},bz:function(){return It},c_:function(){return ni},ds:function(){return Kt},fN:function(){return Wi},fr:function(){return Ae},g4:function(){return Be},gq:function(){return ae},hf:function(){return ft},i:function(){return Xt},i6:function(){return Ui},i7:function(){return Hr},iE:function(){return A},ih:function(){return di},jA:function(){return m},kW:function(){return st},km:function(){return Vn},nP:function(){return M},nQ:function(){return Zt},nX:function(){return Or},oM:function(){return Je},oR:function(){return Ki},o_:function(){return en},pf:function(){return Ct},pr:function(){return _i},pv:function(){return si},qB:function(){return Ot},r2:function(){return V},rS:function(){return ne},s:function(){return Hi},sK:function(){return x},sb:function(){return pe},sm:function(){return B},t1:function(){return De},tB:function(){return Ta},tI:function(){return or},tR:function(){return cr},td:function(){return Fe},uh:function(){return Ce},up:function(){return Yr},v2:function(){return I},vV:function(){return jt},w9:function(){return Z},wR:function(){return Ei},yS:function(){return ze},yV:function(){return ve},yd:function(){return Er},zC:function(){return ut},zg:function(){return Rt}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(me,dt,rt)=>dt in me?i(me,dt,{enumerable:!0,configurable:!0,writable:!0,value:rt}):me[dt]=rt,h=(me,dt)=>{for(var rt in dt||(dt={}))c.call(dt,rt)&&u(me,rt,dt[rt]);if(l)for(var rt of l(dt))f.call(dt,rt)&&u(me,rt,dt[rt]);return me},o=(me,dt,rt)=>new Promise((pr,mr)=>{var Ir=Dr=>{try{tn(rt.next(Dr))}catch(Cn){mr(Cn)}},Gr=Dr=>{try{tn(rt.throw(Dr))}catch(Cn){mr(Cn)}},tn=Dr=>Dr.done?pr(Dr.value):Promise.resolve(Dr.value).then(Ir,Gr);tn((rt=rt.apply(me,dt)).next())});const a=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/update_group.json`,{method:"put",body:me})}),x=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/students.json`,{method:"Get",params:me})}),p=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/add_groups.json`,{method:"post",body:me})}),y=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/list_groups_by_settings.json`,{method:"post",body:me})}),m=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/groups.json`,{method:"Get",params:me})}),b=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/update_leader_permission.json`,{method:"put",body:me})}),S=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/update_group_settings`,{method:"put",body:me})}),k=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/group_settings.json`,{method:"Get",params:me})}),R=me=>o(void 0,null,function*(){return Fetch(`/api/homework_commons/${me==null?void 0:me.id}/test_result_setting.json`,{method:"post",body:me})}),A=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/course_videos/configs.json`,{method:"put",body:me})}),I=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/course_videos/list_for_config.json`,{method:"Get",params:me})}),M=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:me})}),B=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/batch_late_setting`,{method:"post",body:me})}),N=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:me})}),K=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:me})}),G=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:me})}),H=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:me})});function ae(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},me.permissions)})})}function ne(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/assistant_permissions.json`,{method:"Get",params:h({},me)})})}function oe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/ai_status_query.json`,{method:"Get",params:me})})}function J(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},me)})})}function q(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/get_user_portrait_config.json`,{method:"Get",params:me})})}function V(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/update_user_portrait_config.json?id=${me.coursesId}`,{method:"put",body:h({},me)})})}function se(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},me)})})}function ee(me){return o(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},me)})})}function Q(me){return o(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},me)})})}function le(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/top_banner.json`,{method:"get",params:h({},me)})})}function Z(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id||me.coursesId}/left_banner.json`,{method:"get",params:h({},me)})})}function j(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/homework_commons.json`,{method:"get",params:h({},me)})})}function ie(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/homework_commons/list.json`,{method:"get",params:h({},me)})})}function ve(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/graduation_topics.json`,{method:"get",params:h({},me)})})}function Ee(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/graduation_tasks.json`,{method:"get",params:h({},me)})})}function Te(me){return o(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${me.id}/exercises.json`,{method:"get",params:h({},me)})})}function He(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/polls.json`,{method:"get",params:h({},me)})})}function je(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/homework_commons.json`,{method:"get",params:h({},me)})})}function Ot(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/course_groups.json`,{method:"get",params:h({},me)})})}function ft(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/all_course_groups.json`,{method:"get",params:h({},me)})})}function Pt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/attendances.json`,{method:"get",params:h({},me)})})}function Wt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${me.coursesId}/attendances.json`,{method:"get",params:h({},me)})})}function Rt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/attendances/${me.id}/edit.json`,{method:"get",params:h({},me)})})}function ar(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/informs.json`,{method:"get",params:h({},me)})})}function Ue(me){return o(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},me)})})}function _t(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/course_videos.json`,{method:"get",params:h({},me)})})}function Mt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/live_links.json`,{method:"get",params:h({},me)})})}function Qe(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},me)})})}function ct(me){return o(this,null,function*(){return(0,r.ZP)(`/api/boards/${me.categoryId}/messages.json`,{method:"get",params:h({},me)})})}function st(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/course_groups.json`,{method:"get",params:h({},me)})})}function qe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/students.json`,{method:"get",params:h({},me)})})}function Be(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/statistics.json`,{method:"get",params:h({},me)})})}function be(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/work_score.json`,{method:"get",params:h({},me)})})}function De(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/act_score.json`,{method:"get",params:h({},me)})})}function Ge(me){return o(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},me)})})}function We(me){return o(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},me)})})}function Xe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},me)})})}function ot(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},me)})})}function ht(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},me)})})}function ur(me){return o(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},me)})})}function tr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},me)})})}function Le(me){return o(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:me})})}function Je(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:me})})}function Yt(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:me})})}function It(me){return o(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:me})})}function Zt(me){return o(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:me})})}function Gt(me){return o(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},me)})})}function cr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.identifier}/add_student_groups.json`,{method:"post",body:me})})}function Ht(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:me})})}function Ce(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/add_teacher.json`,{method:"post",body:me})})}function ce(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/add_students_by_search.json`,{method:"post",body:me})})}function pe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/set_public_or_private.json`,{method:"post",body:me})})}function Tt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/set_invite_code_halt.json`,{method:"post",body:me})})}function Se(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/duplicate_course.json`,{method:"post",body:me})})}function at(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/update_end_date.json`,{method:"put",body:me})})}function $t(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}.json`,{method:"delete",body:me})})}function yt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/settings.json`,{method:"get",params:h({},me)})})}function Ae(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}.json`,{method:"put",body:me})})}function gt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ze(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},me)})})}function et(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},me)})})}function bt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},me)})})}function Ft(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},me)})})}function Fe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},me)})})}function kr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},me)})})}function pt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${me.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},me)})})}function en(me){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${me.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},me)})})}function on(me){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},me)})})}function jt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},me)})})}function Jt(me){return o(this,null,function*(){return Fetch(`/api/homework_commons/${me.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},me)})})}function kt(me){return o(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${me.id}.json`,{method:"delete",params:{export:!0}})})}function Xt(me){return o(this,null,function*(){return(0,r.ZP)(`/api//boards/${me.id}.json`,{method:"delete",params:{export:!0}})})}function Er(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${me.id}/sticky_module.json`,{method:"get"})})}function Or(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${me.id}/hidden_module.json`,{method:"get"})})}function Ct(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:me})})}function Kt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${me.id}.json`,{method:"get",params:me})})}function Lt(me){return o(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:me})})}function Qt(me){return o(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:me})})}function br(me){return o(this,null,function*(){return Fetch(`/api/polls/${me.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},me)})})}function Qr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},me)})})}function Hr(me){return(0,r.ZP)(`/api/polls/${me.categoryId}/start_answer.json`,{method:"get",params:h({},me)})}function Bn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${me.questionId}/poll_votes.json`,{method:"post",body:me})})}function wn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${me.categoryId}/commit_poll.json`,{method:"post",body:me})})}function Vn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.courseId}/tasks_list.json`,{method:"get",params:me})})}function At(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.courseId}/update_task_position.json`,{method:"post",body:me})})}function Yr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:me})})}function ni(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/all_course_groups.json`,{method:"get",params:me})})}function Mi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/polls/all_course_groups.json`,{method:"get",params:me})})}function Et(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/students.json`,{method:"get",params:me})})}function Xn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${me.categoryId}/rename_group.json`,{method:"POST",body:me})})}function si(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${me.categoryId}.json`,{method:"delete",body:me})})}function Ui(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/join_course_group.json`,{method:"POST",body:me})})}function Ei(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/transfer_to_course_group.json`,{method:"post",body:me})})}function ji(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/delete_from_course.json`,{method:"post",body:me})})}function la(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/join_course_group.json`,{method:"post",body:me})})}function Wi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/exit_course.json`,{method:"post"})})}function Di(me){return o(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},me)})})}function di(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/mooc_users/${me.user_id}/edit.json`,{method:"get",params:me})})}function Hi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/mooc_users.json`,{method:"post",body:me})})}function Ta(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/mooc_users/${me.user_id}.json`,{method:"put",body:me})})}function xt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${me.id}/move_category.json`,{method:"post",body:me})})}function xa(me){return o(this,null,function*(){return(0,r.ZP)(`/api/boards/${me.id}/move_category.json`,{method:"post",body:me})})}function Gi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/courseware.json`,{method:"get",params:me})})}function _i(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me}/mark_wrong_topic.json`,{method:"get",params:dt})})}function Da(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me}/cancel_wrong_topic.json`,{method:"get",params:dt})})}function Ki(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${me}/allow_end_group.json`,{method:"get",params:dt})})}function ti(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:dt})})}function Zn(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/tasks/${me}/get_content_for_commit_id.json`,{method:"get",params:dt})})}function or(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/course_ai_info.json`,{method:"Get",params:h({},me)})})}function ut(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/set_open_ai.json`,{method:"post",body:me})})}},33361:function(d,_,e){"use strict";e.d(_,{$M:function(){return Rt},$P:function(){return ur},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Be},JM:function(){return We},Ju:function(){return Wt},Mn:function(){return qe},Ni:function(){return ie},Pg:function(){return R},Pt:function(){return S},Qp:function(){return V},R9:function(){return ae},Ux:function(){return se},Vy:function(){return He},XJ:function(){return j},XR:function(){return ft},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return be},ml:function(){return le},o3:function(){return Ue},pA:function(){return Mt},pS:function(){return Ge},pU:function(){return Z},ps:function(){return G},q0:function(){return ct},qN:function(){return st},qS:function(){return b},qj:function(){return Ot},qt:function(){return ot},rV:function(){return A},rZ:function(){return Xe},rk:function(){return Ee},rm:function(){return q},sK:function(){return J},sL:function(){return Qe},su:function(){return De},tC:function(){return Te},tO:function(){return je},u9:function(){return Q},uZ:function(){return ve},vV:function(){return K},xx:function(){return tr},y8:function(){return Pt},yS:function(){return N},zF:function(){return y},zc:function(){return ne},zj:function(){return I},zz:function(){return ht}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(Le,Je,Yt)=>Je in Le?i(Le,Je,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Le[Je]=Yt,h=(Le,Je)=>{for(var Yt in Je||(Je={}))c.call(Je,Yt)&&u(Le,Yt,Je[Yt]);if(l)for(var Yt of l(Je))f.call(Je,Yt)&&u(Le,Yt,Je[Yt]);return Le},o=(Le,Je,Yt)=>new Promise((It,Zt)=>{var Gt=Ce=>{try{Ht(Yt.next(Ce))}catch(ce){Zt(ce)}},cr=Ce=>{try{Ht(Yt.throw(Ce))}catch(ce){Zt(ce)}},Ht=Ce=>Ce.done?It(Ce.value):Promise.resolve(Ce.value).then(Gt,cr);Ht((Yt=Yt.apply(Le,Je)).next())});const a=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/create_guide.json`,{method:"post",body:Le}),x=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/guides.json`,{method:"get",params:Le}),p=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.competition_team_id}/edit_info.json`,{method:"put",body:Le});function y(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_result.json`,{method:"post",body:Le})})}function m(Le){return o(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Le)})})}function b(Le){return o(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Le})})}function S(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post"})})}function k(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_staff.json`,{method:"get"})})}function R(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/common_header.json`,{method:"get"})})}function A(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/${Le.url}`,{method:"get",params:h({},Le)})})}function I(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_md_content.json`,{method:"post",body:Le})})}function M(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function B(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}/edit.json`,{method:"get",params:Le})})}function N(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}.json`,{method:"put",body:Le})})}function K(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}/leave.json`,{method:"post",body:Le})})}function G(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}.json`,{method:"delete"})})}function H(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post",body:Le})})}function ae(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/add_managers.json`,{method:"post",body:Le})})}function ne(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/join.json`,{method:"post",body:Le})})}function oe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/teachers.json`,{method:"get",params:Le})})}function J(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/students.json`,{method:"get",params:Le})})}function q(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/crud_team_members.json`,{method:"post",body:Le})})}function V(Le){return o(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Le})})}function se(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/chart_rules.json`,{method:"get"})})}function ee(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/charts.json`,{method:"get",params:Le})})}function Q(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/results.json`,{method:"get",params:Le})})}function le(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/md_tab_rules.json`,{method:"get",params:Le})})}function Z(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize.json`,{method:"get",params:Le})})}function j(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.id}.json`,{method:"get",params:Le})})}function ie(Le){return o(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Le})})}function ve(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/phone_bind.json`,{method:"post",body:Le})})}function Ee(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/email_bind.json`,{method:"post",body:Le})})}function Te(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/authentication_apply.json`,{method:"delete"})})}function je(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize_leader_account.json`,{method:"put",body:Le})})}function Ot(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/shixun_detail.json`,{method:"get"})})}function ft(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/course_detail.json`,{method:"get"})})}function Pt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Le.id}.json`,{method:"delete"})})}function Wt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/get_certificate_info.json`,{method:"get",params:Le})})}function Rt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/basic_setting.json`,{method:"post",body:Le})})}function ar(){return o(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ue(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/common_header.json`,{method:"get"})})}function _t(Le){return o(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Le})})}function Mt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/search_managers.json`,{method:"get",params:Le})})}function Qe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_managers.json`,{method:"get"})})}function ct(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/add_managers.json`,{method:"post",body:Le})})}function st(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/delete_managers.json`,{method:"delete",body:Le})})}function qe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_picture.json`,{method:"get"})})}function Be(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/identifier_exist.json`,{method:"post",body:Le})})}function be(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_shixun_settings.json`,{method:"get"})})}function De(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_add.json`,{method:"post",body:Le})})}function Ge(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_delete.json`,{method:"delete",body:Le})})}function We(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_select.json`,{method:"post",body:Le})})}function Xe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/info_finish.json`,{method:"get"})})}function ot(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/competition_review.json`,{method:"post",body:h({},Le)})})}function ht(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function ur(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/all_team_members.json`,{method:"get",params:Le})})}function tr(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Le})})}},64348:function(d,_,e){"use strict";e.d(_,{F:function(){return b},OE:function(){return I},ff:function(){return S},p1:function(){return k},_y:function(){return m},mK:function(){return K},gq:function(){return H},eM:function(){return N},BA:function(){return oe},bA:function(){return q},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return G},No:function(){return ae},ay:function(){return V}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(se,ee,Q)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):se[ee]=Q,a=(se,ee)=>{for(var Q in ee||(ee={}))u.call(ee,Q)&&o(se,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&o(se,Q,ee[Q]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var Q={};for(var le in se)u.call(se,le)&&ee.indexOf(le)<0&&(Q[le]=se[le]);if(se!=null&&f)for(var le of f(se))ee.indexOf(le)<0&&h.call(se,le)&&(Q[le]=se[le]);return Q},y=(se,ee,Q)=>new Promise((le,Z)=>{var j=Ee=>{try{ve(Q.next(Ee))}catch(Te){Z(Te)}},ie=Ee=>{try{ve(Q.throw(Ee))}catch(Te){Z(Te)}},ve=Ee=>Ee.done?le(Ee.value):Promise.resolve(Ee.value).then(j,ie);ve((Q=Q.apply(se,ee)).next())});const m=se=>y(void 0,null,function*(){var ee=se,{id:Q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:le})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),I=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),K=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:se,formula_one:ee,formula_two:Q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:le}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=se=>{var ee=se,{ec_year_id:Q,type:le,goal_value:Z}=ee,j=p(ee,["ec_year_id","type","goal_value"]);let ie=`?type=${le}`,ve={method:"PUT"};return le==="all"&&(ie+=`&goal_value=${Z}`),le==="each"&&(ve=x(a({},ve),{body:j})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ie}`,ve)};var ne=(se,ee,Q)=>new Promise((le,Z)=>{var j=Ee=>{try{ve(Q.next(Ee))}catch(Te){Z(Te)}},ie=Ee=>{try{ve(Q.throw(Ee))}catch(Te){Z(Te)}},ve=Ee=>Ee.done?le(Ee.value):Promise.resolve(Ee.value).then(j,ie);ve((Q=Q.apply(se,ee)).next())});const oe=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),J=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),q=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),V=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},75823:function(d,_,e){"use strict";e.d(_,{$Q:function(){return I},$l:function(){return Hr},BJ:function(){return st},CD:function(){return Je},Cd:function(){return ot},Cl:function(){return Fe},Di:function(){return ar},Fl:function(){return Mt},G$:function(){return le},GK:function(){return _t},Ip:function(){return be},J:function(){return Z},KE:function(){return Qe},L8:function(){return Ht},LP:function(){return De},MK:function(){return Ue},Mb:function(){return jt},N0:function(){return G},N3:function(){return je},OO:function(){return R},P8:function(){return Or},PJ:function(){return ie},PT:function(){return kt},Qc:function(){return ae},RK:function(){return Q},Ty:function(){return et},UH:function(){return at},UK:function(){return Ot},Uj:function(){return tr},Ul:function(){return Xe},VL:function(){return Zt},Vj:function(){return ce},W4:function(){return ur},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Be},Xn:function(){return en},Xo:function(){return oe},YY:function(){return Rt},Ym:function(){return N},Yu:function(){return Ct},ZD:function(){return Er},Zg:function(){return kr},_B:function(){return Le},_F:function(){return Jt},_U:function(){return q},_u:function(){return ve},aU:function(){return K},ab:function(){return Ft},cC:function(){return ze},cV:function(){return V},ck:function(){return Xt},dp:function(){return H},eA:function(){return br},fG:function(){return S},gA:function(){return se},gG:function(){return on},gJ:function(){return Kt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return gt},kp:function(){return Gt},lL:function(){return A},lf:function(){return He},n$:function(){return Te},n7:function(){return J},nF:function(){return Ce},o3:function(){return Lt},oS:function(){return Ge},oX:function(){return It},oy:function(){return bt},p7:function(){return B},pL:function(){return Yt},pu:function(){return qe},q6:function(){return cr},qf:function(){return Wt},qz:function(){return We},s:function(){return yt},sA:function(){return Tt},sS:function(){return Qt},tX:function(){return $t},uR:function(){return ft},ux:function(){return ct},wy:function(){return Pt},xA:function(){return Ae},yE:function(){return ne},yu:function(){return Se},zP:function(){return M},zR:function(){return Qr}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(At,Yr,ni)=>Yr in At?i(At,Yr,{enumerable:!0,configurable:!0,writable:!0,value:ni}):At[Yr]=ni,a=(At,Yr)=>{for(var ni in Yr||(Yr={}))u.call(Yr,ni)&&o(At,ni,Yr[ni]);if(f)for(var ni of f(Yr))h.call(Yr,ni)&&o(At,ni,Yr[ni]);return At},x=(At,Yr)=>l(At,c(Yr)),p=(At,Yr,ni)=>new Promise((Mi,Et)=>{var Xn=Ei=>{try{Ui(ni.next(Ei))}catch(ji){Et(ji)}},si=Ei=>{try{Ui(ni.throw(Ei))}catch(ji){Et(ji)}},Ui=Ei=>Ei.done?Mi(Ei.value):Promise.resolve(Ei.value).then(Xn,si);Ui((ni=ni.apply(At,Yr)).next())});const y=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:At}),m=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:At}),b=At=>(0,r.ZP)(`/api/exercises/${At.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:At}),S=At=>(0,r.ZP)(`/api/exercises/${At.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:At}),k=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:At}),R=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/list_student_score.json`,{method:"get",params:At}),A=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:At}),I=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/score_ranges.json`,{method:"get",params:At}),M=At=>(0,r.ZP)(`/api/exercises/${At.id}/sava_exam_summary.json`,{method:"post",body:At}),B=At=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:At}),N=At=>(0,r.ZP)(`/api/exercises/${At.id}/generate_exam_summary.json`,{method:"post",body:At}),K=At=>(0,r.ZP)(`/api/exercises/${At.id}/exam_summary_settings.json`,{method:"post",body:At}),G=At=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/review_exercise_user.json`,{method:"post",body:At})}),H=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/code_check.json`,{method:"get",params:At}),ae=At=>(0,r.ZP)(`/api/exercises/${At.id}/reset_pwd.json`,{method:"post",body:At}),ne=At=>(0,r.ZP)(`/api/exercises/${At.id}/encrypt_or_decrypt.json`,{method:"post",body:At}),oe=At=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/delayed_time_or_force.json`,{method:"post",body:At})}),J=At=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/exercise_time.json`,{method:"Get",params:At})}),q=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/exercise_question_result.json`,{method:"get",params:At}),V=At=>(0,r.ZP)(`/api/exercises/${At.id}/get_question_type_alias.json`,{method:"get",params:At});function se(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At==null?void 0:At.id}/teacher_update.json`,{method:"post",body:a({},At)})})}function ee(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At==null?void 0:At.id}/adjust_comment.json`,{method:"post",body:a({},At)})})}function Q(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/edit_question_type_alias.json`,{method:"POST",body:At})})}function le(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_lists.json`,{method:"get",params:a({},At)})})}function Z(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},At)})})}function j(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/video_push_url.json`,{method:"get",params:a({},At)})})}function ie(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},At)})})}function ve(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_result.json`,{method:"get",params:a({},At)})})}function Ee(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},At)})})}function Te(At){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},At)})})}function He(At){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},At)})})}function je(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},At)})})}function Ot(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/common_header.json`,{method:"get",params:a({},At)})})}function ft(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises.json`,{method:"post",body:a({},At)})})}function Pt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}.json`,{method:"put",body:a({},At)})})}function Wt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}.json`,{method:"get",params:a({},At)})})}function Rt(At){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},At)})})}function ar(At){return p(this,null,function*(){const{id:Yr}=At;return delete At.id,(0,r.ZP)(`/api/exercise_questions/${Yr}.json`,{method:"put",body:a({},At)})})}function Ue(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_questions.json`,{method:"post",body:a({},At)})})}function _t(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}/up_down.json`,{method:"post",body:a({},At)})})}function Mt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}.json`,{method:"delete"})})}function Qe(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},At)})})}function ct(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/publish_groups.json`,{method:"get",params:a({},At)})})}function st(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},At)})})}function qe(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/consult_exercise.json`,{method:"post",body:a({},At)})})}function Be(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},At)})})}function be(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}/adjust_score.json`,{method:"post",body:a({},At)})})}function De(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}/batch_adjust_score.json`,{method:"post",body:a({},At)})})}function Ge(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/adjust_score.json`,{method:"post",body:a({},At)})})}function We(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/delayed_time.json`,{method:"post",body:a({},At)})})}function Xe(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_setting.json`,{method:"get",params:a({},At)})})}function ot(At){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${At.categoryId}/exercise_setting.json`,{method:"get",params:a({},At)})})}function ht(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/commit_setting.json`,{method:"post",body:a({},At)})})}function ur(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},At)})})}function tr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},At),{export:!0})})})}function Le(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},At),{login:null})})}function Je(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/start.json`,{method:"get",params:a({},At)})}function Yt(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/start_unlock.json`,{method:"post",body:a({},At)})}function It(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.questionId}/exercise_answers.json`,{method:"post",body:At})})}function Zt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/commit_exercise.json`,{method:"post",body:At})})}function Gt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/simulate_commit_exercise.json`,{method:"post",body:At})})}function cr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/redo_exercise.json`,{method:"post",body:At})})}function Ht(At){return(0,r.ZP)(`/api/${At.url}`,{method:"get",params:a({},At)})}function Ce(At){return(0,r.ZP)(`/api/problems/${At.id}/start.json`,{method:"get",params:a({},At)})}function ce(At){return(0,r.ZP)(`/api/exercises/${At.id}/begin_commit.json`,{method:"get",params:a({},At)})}function pe(At){return(0,r.ZP)(`/api/exercises/${At.id}/simulate_begin_commit.json`,{method:"get",params:a({},At)})}function Tt(At){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},At)})}function Se(At){return console.log("params:",At),(0,r.ZP)(`/api/exercises/${At.categoryId}/edit.json`,{method:"get",params:a({},At)})}function at(At){return(0,r.ZP)(`/api/exercises/${At.id}/get_objective_scores.json`,{method:"get",params:a({},At)})}function $t(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/redo_modal.json`,{method:"get",params:a({},At)})}function yt(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/student_redo_lists.json`,{method:"get",params:a({},At)})}function Ae(At){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:At})}function gt(At){return(0,r.ZP)(`/api/exercises/${At.id}/exercise_header.json`,{method:"get",params:a({},At)})}function ze(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/allow_close_camera.json`,{method:"post",body:a({},At)})}function et(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},At)})}function bt(At){return(0,r.ZP)(`/api/exercises/${At.id}/record_screen`,{method:"post",params:a({},At)})}function Ft(At){return(0,r.ZP)(`/api/exercises/${At.id}/unbind_ip.json`,{method:"post",body:a({},At)})}function Fe(At){return(0,r.ZP)(`/api/exercises/${At.id}/check_ip.json`,{method:"get",params:a({},At)})}function kr(At){return(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/check_user_exercise.json`,{method:"get",params:a({},At)})}function pt(At){return Fetch(`/api/exercises/${At.id}/make_up_students.json`,{method:"get",params:a({},At)})}function en(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},At)})})}function on(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.question_id}/adjust_score.json`,{method:"post",body:a({},At)})})}function jt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${At.categoryId}/simulate_exercise.json`,{method:"post",body:a({},At)})})}function Jt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},At)})})}function kt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_time.json`,{method:"get",params:a({},At)})})}function Xt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/commit_screen_at.json`,{method:"post",body:a({},At)})})}function Er(At,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/unlock_user`,{method:"post",body:Yr})})}function Or(At,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/save_screen_record.json`,{method:"post",body:Yr})})}function Ct(At,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/screen_record_list.json`,{method:"get",params:Yr})})}function Kt(At){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},At)})})}function Lt(At){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:At})})}function Qt(At,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/mark.json`,{method:"post",body:Yr})})}function br(At){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${At}/exit_delete_pod.json`,{method:"post",body:At})})}function Qr(At){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:At})})}function Hr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At==null?void 0:At.id}/send_to_item_bank.json`,{method:"post",body:a({},At)})})}function Bn(At){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${At.exercise_id}/wrong_details.json`,{method:"get",params:a({},At)})})}function wn(At){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${At.exercise_id}/wrong_question.json`,{method:"get",params:a({},At)})})}function Vn(At){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${At.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},At)})})}},91697:function(d,_,e){"use strict";e.d(_,{B0:function(){return p},Si:function(){return R},Sr:function(){return I},YP:function(){return A},b4:function(){return k},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return K}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(G,H,ae)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:ae}):G[H]=ae,h=(G,H)=>{for(var ae in H||(H={}))c.call(H,ae)&&u(G,ae,H[ae]);if(l)for(var ae of l(H))f.call(H,ae)&&u(G,ae,H[ae]);return G},o=(G,H,ae)=>new Promise((ne,oe)=>{var J=se=>{try{V(ae.next(se))}catch(ee){oe(ee)}},q=se=>{try{V(ae.throw(se))}catch(ee){oe(ee)}},V=se=>se.done?ne(se.value):Promise.resolve(se.value).then(J,q);V((ae=ae.apply(G,H)).next())});function a(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return o(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function S(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function A(G){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function I(G){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return o(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return o(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},19415:function(d,_,e){"use strict";e.d(_,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&u(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&u(y,b,m[b]);return y},o=(y,m,b)=>new Promise((S,k)=>{var R=M=>{try{I(b.next(M))}catch(B){k(B)}},A=M=>{try{I(b.throw(M))}catch(B){k(B)}},I=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);I((b=b.apply(y,m)).next())});function a(y){return o(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return o(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return o(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},28831:function(d,_,e){"use strict";e.d(_,{B6:function(){return p},Gr:function(){return N},Mf:function(){return I},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(ne,oe,J)=>oe in ne?i(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,h=(ne,oe)=>{for(var J in oe||(oe={}))c.call(oe,J)&&u(ne,J,oe[J]);if(l)for(var J of l(oe))f.call(oe,J)&&u(ne,J,oe[J]);return ne},o=(ne,oe,J)=>new Promise((q,V)=>{var se=le=>{try{Q(J.next(le))}catch(Z){V(Z)}},ee=le=>{try{Q(J.throw(le))}catch(Z){V(Z)}},Q=le=>le.done?q(le.value):Promise.resolve(le.value).then(se,ee);Q((J=J.apply(ne,oe)).next())});function a(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function x(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function y(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function m(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function S(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function k(ne){return o(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function R(ne){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function A(ne){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function I(ne){return o(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function M(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function B(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function N(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function K(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function G(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function H(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ae(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},15039:function(d,_,e){"use strict";e.d(_,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return le},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return se},J3:function(){return u},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return q},Ps:function(){return c},Rk:function(){return oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return H},Zd:function(){return Q},bS:function(){return I},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return o},jW:function(){return G},km:function(){return ae},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return V},zT:function(){return j}});var r=e(57193),i=(ie,ve,Ee)=>new Promise((Te,He)=>{var je=Pt=>{try{ft(Ee.next(Pt))}catch(Wt){He(Wt)}},Ot=Pt=>{try{ft(Ee.throw(Pt))}catch(Wt){He(Wt)}},ft=Pt=>Pt.done?Te(Pt.value):Promise.resolve(Pt.value).then(je,Ot);ft((Ee=Ee.apply(ie,ve)).next())});function l(ie){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})}function c(ie){return(0,r.ZP)(`/api/schools/${ie.id}/departments/for_option.json`,{method:"get",params:ie})}function f(ie){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ie})}function u(ie){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ie})}function h(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/authorized_redelivery.json`,{method:"POST",body:ie})})}function o(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/submit.json`,{method:"POST",body:ie})})}function a(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_status.json`,{method:"get",params:ie})})}function x(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ie})})}function p(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.id}.json`,{method:"get",params:ie})})}function y(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/set_final_score.json`,{method:"POST",body:ie})})}function m(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/final_score.json`,{method:"get",params:ie})})}function b(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/set_novice_guide.json`,{method:"POST",body:ie})})}function S(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices/${ie.doid}/set_do.json`,{method:"POST",body:ie})})}function k(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"POST",body:ie})})}function R(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_students/${ie.id}/update_major.json`,{method:"PUT",body:ie})})}function A(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"POST",body:ie})})}function I(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers/search.json`,{method:"get",params:ie})})}function M(ie){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})})}function B(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students/search.json`,{method:"get",params:ie})})}function N(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"get",params:ie})})}function K(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"get",params:ie})})}function G(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks.json`,{method:"POST",body:ie})})}function H(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks/${ie.id}.json`,{method:"PUT",body:ie})})}function ae(ie){return i(this,null,function*(){var ve;return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks/${(ve=ie.ids)==null?void 0:ve[0]}`,{method:"DELETE",body:{ids:ie.ids}})})}function ne(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks.json`,{method:"get",params:ie})})}function oe(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices.json`,{method:"get",params:ie})})}function J(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}.json`,{method:"get"})})}function q(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie==null?void 0:ie.id}/common_header.json`,{method:"get"})})}function V(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/preview.json`,{method:"get"})})}function se(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/not_pass.json`,{method:"post",body:ve})})}function ee(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/pass.json`,{method:"post",body:ve})})}function Q(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/not_pass.json`,{method:"post",body:ve})})}function le(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/pass.json`,{method:"post",body:ve})})}function Z(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/batch_delete`,{method:"delete",body:ve})})}function j(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/batch_delete`,{method:"delete",body:ve})})}},59898:function(d,_,e){"use strict";e.d(_,{LA:function(){return x},NX:function(){return m},Rm:function(){return f},S_:function(){return p},Tt:function(){return h},Yu:function(){return S},Zz:function(){return y},cR:function(){return o},eX:function(){return c},h$:function(){return u},su:function(){return b},vm:function(){return a}});var r=e(57193),i=(k,R,A)=>new Promise((I,M)=>{var B=G=>{try{K(A.next(G))}catch(H){M(H)}},N=G=>{try{K(A.throw(G))}catch(H){M(H)}},K=G=>G.done?I(G.value):Promise.resolve(G.value).then(B,N);K((A=A.apply(k,R)).next())});const l=k=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:k})}),c=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:k})}),f=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:k})}),u=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:k})});function h(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function o(k){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:k})})}function a(k){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:k})})}function x(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function p(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:k})})}const y=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:k})}),m=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:k})}),b=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:k})}),S=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:k})})},62889:function(d,_,e){"use strict";e.d(_,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,h=(R,A)=>{for(var I in A||(A={}))c.call(A,I)&&u(R,I,A[I]);if(l)for(var I of l(A))f.call(A,I)&&u(R,I,A[I]);return R},o=(R,A,I)=>new Promise((M,B)=>{var N=H=>{try{G(I.next(H))}catch(ae){B(ae)}},K=H=>{try{G(I.throw(H))}catch(ae){B(ae)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,K);G((I=I.apply(R,A)).next())});function a(R){return o(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return o(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function S(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},45062:function(d,_,e){"use strict";e.d(_,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return I},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&u(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&u(N,G,K[G]);return N},o=(N,K,G)=>new Promise((H,ae)=>{var ne=q=>{try{J(G.next(q))}catch(V){ae(V)}},oe=q=>{try{J(G.throw(q))}catch(V){ae(V)}},J=q=>q.done?H(q.value):Promise.resolve(q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function a(N){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function I(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},68875:function(d,_,e){"use strict";e.d(_,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Ee},Gd:function(){return m},Hb:function(){return Te},Hm:function(){return H},ID:function(){return o},JP:function(){return ve},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return G},a2:function(){return u},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ne},kF:function(){return He},kp:function(){return I},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return se},wX:function(){return q},yE:function(){return f}});var r=e(57193),i=(je,Ot,ft)=>new Promise((Pt,Wt)=>{var Rt=_t=>{try{Ue(ft.next(_t))}catch(Mt){Wt(Mt)}},ar=_t=>{try{Ue(ft.throw(_t))}catch(Mt){Wt(Mt)}},Ue=_t=>_t.done?Pt(_t.value):Promise.resolve(_t.value).then(Rt,ar);Ue((ft=ft.apply(je,Ot)).next())});const l=je=>(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/code_check.json`,{method:"get",params:je}),c=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/reset_pwd.json`,{method:"post",body:je}),f=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/encrypt_or_decrypt.json`,{method:"post",body:je}),u=je=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:je}),h=je=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:je}),o=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/copy.json`,{method:"post",body:je}),a=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/get_question_type_alias.json`,{method:"get",params:je});function x(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_question_type_alias.json`,{method:"POST",body:je})})}function p(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:je})})}function y(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:je})})}function m(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:je})})}function b(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_public.json`,{method:"post"})})}function S(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_private.json`,{method:"post"})})}function k(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const A=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function I(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/send_to_course.json`,{method:"post",body:je})})}function M(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"get",params:je})})}function B(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_score`,{method:"post",body:je})})}function N(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_shixun_score.json`,{method:"post",body:je})})}function K(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}.json`,{method:"delete"})})}function G(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:je})})}function H(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:je})})}function ae(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/adjust_position.json`,{method:"post",body:je})})}function ne(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"put",body:je})})}function oe(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function J(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function q(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/set_public.json`,{method:"post",body:je})})}function V(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function Q(je,Ot){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Ot})})}function le(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:je})})}function Z(je,Ot){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Ot})})}function j(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.exam_id}/examination_banks_item_banks/${je.question_id}.json`,{method:"delete"})})}function ie(je,Ot){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Ot})})}function ve(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function Te(je,Ot,ft){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ot),Pt.append("sub_discipline_id",ft),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function He(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},53283:function(d,_,e){"use strict";e.d(_,{$D:function(){return q},A2:function(){return De},A7:function(){return yt},AP:function(){return Mi},AQ:function(){return K},Ax:function(){return Je},Az:function(){return ni},Bn:function(){return ze},CB:function(){return Or},CI:function(){return ot},Cc:function(){return Vn},D$:function(){return Er},DQ:function(){return Tt},DU:function(){return Qe},EG:function(){return on},EP:function(){return J},Ep:function(){return be},Er:function(){return ve},Eu:function(){return Jt},Ex:function(){return Zt},FD:function(){return Se},F_:function(){return Mt},Fg:function(){return x},GY:function(){return Ce},Go:function(){return Z},Gz:function(){return p},Hl:function(){return y},Ho:function(){return Ft},JS:function(){return Pt},Jd:function(){return Qt},Ju:function(){return Qr},KM:function(){return ee},M1:function(){return Bn},M2:function(){return We},MO:function(){return Ee},Mk:function(){return Yr},Mt:function(){return Xe},Mu:function(){return Yt},NV:function(){return gt},O9:function(){return pt},PQ:function(){return Ct},Q:function(){return Te},S$:function(){return kt},Sp:function(){return N},VO:function(){return at},WD:function(){return Ht},WO:function(){return ie},WW:function(){return Gt},YP:function(){return Lt},_C:function(){return Ae},_V:function(){return Le},b:function(){return Xt},bw:function(){return oe},bz:function(){return pe},c2:function(){return br},c3:function(){return ft},dX:function(){return bt},eJ:function(){return le},ef:function(){return _t},fh:function(){return k},fj:function(){return j},hS:function(){return m},id:function(){return At},jT:function(){return $t},j_:function(){return et},ke:function(){return cr},lk:function(){return B},mB:function(){return Hr},mE:function(){return Fe},mQ:function(){return M},ms:function(){return ur},mx:function(){return je},nq:function(){return a},ol:function(){return ce},p:function(){return H},p4:function(){return He},pU:function(){return I},pf:function(){return jt},rS:function(){return Wt},rs:function(){return Q},s0:function(){return Ge},se:function(){return Kt},sm:function(){return Ot},tS:function(){return b},tu:function(){return A},ue:function(){return G},vf:function(){return qe},w4:function(){return ae},wA:function(){return wn},wv:function(){return kr},xG:function(){return Be},xn:function(){return st},yN:function(){return ne},yy:function(){return tr},zc:function(){return en}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(Et,Xn,si)=>Xn in Et?i(Et,Xn,{enumerable:!0,configurable:!0,writable:!0,value:si}):Et[Xn]=si,h=(Et,Xn)=>{for(var si in Xn||(Xn={}))c.call(Xn,si)&&u(Et,si,Xn[si]);if(l)for(var si of l(Xn))f.call(Xn,si)&&u(Et,si,Xn[si]);return Et},o=(Et,Xn,si)=>new Promise((Ui,Ei)=>{var ji=Di=>{try{Wi(si.next(Di))}catch(di){Ei(di)}},la=Di=>{try{Wi(si.throw(Di))}catch(di){Ei(di)}},Wi=Di=>Di.done?Ui(Di.value):Promise.resolve(Di.value).then(ji,la);Wi((si=si.apply(Et,Xn)).next())});const a=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Et})}),x=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Et})}),p=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Et})}),y=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Et})}),m=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Et})});function b(Et){return o(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},Et)})})}function S(Et){return o(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},Et)})})}function k(Et){return o(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function R(){return o(this,null,function*(){return Fetch("/api/paths/platform_systems.json",{method:"get"})})}function A(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}.json`,{method:"PUT",body:Et})})}function I(Et){return o(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:Et})})}function M(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/edit.json`,{method:"get"})})}function B(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}.json`,{method:"get",params:h({identifier:Et.id},Et)})})}function N(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}.json`,{method:"get",params:h({identifier:Et.id},Et)})})}function K(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/right_banner.json`,{method:"get",params:Et})})}function G(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/spoc_courses.json`,{method:"get",params:Et})})}const H=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:Et})}),ae=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${Et.id}/children.json`,{method:"Get",params:Et})});function ne(Et){return o(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Et})})}function oe(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/update_team_title.json`,{method:"post",body:Et})})}function J(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/delete_member.json`,{method:"Delete",body:Et})})}function q(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/spoc_courses/${Et==null?void 0:Et.courseid}.json`,{method:"Delete"})})}function V(Et){return o(this,null,function*(){return Fetch(`/api/paths/${Et.id}/up_member_position.json`,{method:"post",body:Et})})}function se(Et){return o(this,null,function*(){return Fetch(`/api/paths/${Et.id}/down_member_position.json`,{method:"post",body:Et})})}function ee(Et){return o(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:Et})})}function Q(Et){return o(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:Et})})}function le(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}.json`,{method:"Delete",body:Et})})}function Z(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/publish.json`,{method:"post",body:Et})})}function j(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/cancel_publish.json`,{method:"post",body:Et})})}function ie(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/apply_public.json`,{method:"post",body:Et})})}function ve(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/cancel_public.json`,{method:"post",body:Et})})}function Ee(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/choose_course.json`,{method:"get",params:Et})})}function Te(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/send_to_course.json`,{method:"post",body:Et})})}function He(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Et.id}/send_to_course.json`,{method:"post",body:Et})})}function je(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/add_subject_members.json`,{method:"post",body:Et})})}function Ot(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/spoc_courses.json`,{method:"post",body:Et})})}function ft(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/appointment.json`,{method:"post",body:Et})})}function Pt(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/join_excellent_course.json`,{method:"post",body:Et})})}function Wt(Et){return o(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Et})})}function Rt(Et){return o(this,null,function*(){return Fetch(`/api/paths/${Et.id}/statistics_info.json`,{method:"get",params:Et})})}function ar(Et){return o(this,null,function*(){return Fetch(`/api/paths/${Et.id}/shixun_analyze.json`,{method:"get",params:Et})})}function Ue(Et){return o(this,null,function*(){return Fetch(`/api/paths/${Et.id}/learning_analyze.json`,{method:"get",params:Et})})}function _t(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/learning_statistics.json`,{method:"get",params:Et})})}function Mt(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/shixun_statistics.json`,{method:"get",params:Et})})}function Qe(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/study_analyze/${Et.type}.json`,{method:"get",params:Et})})}function ct(Et){return o(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Et})})}function st(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}.json`,{method:"put",body:Et})})}function qe(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}/add_shixun_to_stage.json`,{method:"post",body:Et})})}const Be=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${Et==null?void 0:Et.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Et})});function be(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}/select_shixun_to_stage.json`,{method:"post",body:Et})})}function De(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}/add_video_to_stage.json`,{method:"post",body:Et})})}function Ge(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}/add_attachment_to_stage.json`,{method:"post",body:Et})})}function We(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Et.id}.json`,{method:"put",body:Et})})}function Xe(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}/add_blank_to_stage.json`,{method:"post",body:Et})})}function ot(Et){return o(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:Et})})}function ht(Et){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Et})})}function ur(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}/up_position.json`,{method:"get"})})}function tr(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}/down_position.json`,{method:"get"})})}function Le(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.id}.json`,{method:"delete"})})}function Je(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.pathId}/discusses.json`,{method:"get",params:h({},Et)})})}function Yt(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/excellent_discusses.json`,{method:"get",params:h({},Et)})})}function It(Et){return o(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},Et)})})}function Zt(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.stage_id}/items/move_position`,{method:"post",body:h({},Et)})})}function Gt(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et.stage_id}/items/${Et.id}`,{method:"delete"})})}function cr(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/excellent_discuss`,{method:"post",body:h({},Et)})})}function Ht(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Et.id}/post_discuss`,{method:"post",body:h({},Et)})})}function Ce(Et){return o(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:Et})})}function ce(Et){return o(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:Et})})}function pe(Et){return o(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Et})})}function Tt(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et==null?void 0:Et.id}/add_homework_to_stage.json`,{method:"post",body:Et})})}function Se(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Et==null?void 0:Et.id}/edit.json`,{method:"get",params:Et})})}function at(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Et==null?void 0:Et.id}.json`,{method:"put",body:Et})})}function $t(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Et==null?void 0:Et.user_id}/subjects/subject_homework.json`,{method:"get",params:Et})})}function yt(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Et==null?void 0:Et.user_id}/courses/course_homework.json`,{method:"get",params:Et})})}function Ae(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Et==null?void 0:Et.id}/batch_add_homework_to_stage.json`,{method:"post",body:Et})})}function gt(Et){return o(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Et})})}function ze(Et){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Et==null?void 0:Et.user_login}/subjects/cancel.json`,{method:"get",params:Et})})}const et=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:Et})}),bt=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:Et})}),Ft=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:Et})}),Fe=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:Et})}),kr=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_goals.json",{method:"POST",body:Et})}),pt=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:Et})}),en=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:Et})}),on=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}.json`,{method:"PUT",body:Et})}),jt=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}.json`,{method:"delete",body:Et})}),Jt=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_goals/home.json",{method:"get",params:Et})}),kt=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/statistic_lists.json",{method:"get",params:Et})}),Xt=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/route_statistics.json",{method:"get",params:Et})}),Er=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/update_statistic.json",{method:"get",params:Et})}),Or=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_tags.json",{method:"POST",body:Et})}),Ct=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_tags/${Et==null?void 0:Et.id}.json`,{method:"delete",body:Et})}),Kt=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}/edit`,{method:"get",params:Et})}),Lt=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_goals.json",{method:"get",params:Et})}),Qt=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_tags.json",{method:"get",params:Et})}),br=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:Et})}),Qr=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}/detail.json`,{method:"get",params:Et})}),Hr=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/knowledge_detail.json",{method:"get",params:Et})}),Bn=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/student_detail.json",{method:"get",params:Et})}),wn=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/knowledge_graph_statistics.json",{method:"get",params:Et})}),Vn=Et=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/knowledge_statistic_lists.json",{method:"get",params:Et})}),At=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}/statistics.json`,{method:"get",params:Et})}),Yr=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}/statistic_lists.json`,{method:"get",params:Et})}),ni=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}/statistic_detail.json`,{method:"get",params:Et})}),Mi=Et=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Et==null?void 0:Et.id}/student_detail.json`,{method:"get",params:Et})})},80546:function(d,_,e){"use strict";e.d(_,{Fd:function(){return se},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return Q},MK:function(){return G},Q9:function(){return I},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return oe},iV:function(){return le},jy:function(){return H},kp:function(){return ne},lf:function(){return A},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return V},wh:function(){return ae},wo:function(){return ee},x$:function(){return q}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(j,ie,ve)=>ie in j?i(j,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):j[ie]=ve,h=(j,ie)=>{for(var ve in ie||(ie={}))c.call(ie,ve)&&u(j,ve,ie[ve]);if(l)for(var ve of l(ie))f.call(ie,ve)&&u(j,ve,ie[ve]);return j},o=(j,ie,ve)=>new Promise((Ee,Te)=>{var He=ft=>{try{Ot(ve.next(ft))}catch(Pt){Te(Pt)}},je=ft=>{try{Ot(ve.throw(ft))}catch(Pt){Te(Pt)}},Ot=ft=>ft.done?Ee(ft.value):Promise.resolve(ft.value).then(He,je);Ot((ve=ve.apply(j,ie)).next())});const a=j=>o(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j==null?void 0:j.id}/commit_word_cloud.json`,{method:"Get",params:j})});function x(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_lists.json`,{method:"get",params:h({},j)})})}function p(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/common_header.json`,{method:"get"})})}function y(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_setting.json`,{method:"get"})})}function m(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_setting.json`,{method:"post",body:h({},j)})})}function b(j){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},j)})})}function S(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/publish_groups.json`,{method:"get",params:h({},j)})})}function k(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_result.json`,{method:"get",params:h({},j)})})}function R(j){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},j)})})}function A(j){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},j)})})}function I(j){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},j)})})}function M(j){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls.json`,{method:"POST",body:h({},j)})})}function B(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/edit.json`,{method:"get"})})}function N(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function K(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function G(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}/poll_questions.json`,{method:"post",body:h({},j)})})}function H(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function ae(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ne(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"get"})})}function oe(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function J(j){return o(this,null,function*(){return Fetch(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function q(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function V(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function se(j){return o(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},j)})})}function ee(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function Q(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.id}.json`,{method:"put",body:h({},j)})})}function le(j){return o(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},j)})})}function Z(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.exerciseId}/up_down.json`,{method:"post",body:h({},j)})})}},55301:function(d,_,e){"use strict";e.d(_,{$c:function(){return ot},A1:function(){return We},Bd:function(){return I},Bo:function(){return J},Cc:function(){return se},Cn:function(){return le},DF:function(){return R},Dm:function(){return Ue},FG:function(){return oe},GW:function(){return _t},HF:function(){return G},Hm:function(){return j},IJ:function(){return Ge},L5:function(){return ar},LS:function(){return Qe},MZ:function(){return be},Mr:function(){return ne},NZ:function(){return Ot},Of:function(){return S},Pl:function(){return k},Qj:function(){return m},Qp:function(){return st},RT:function(){return Le},Rp:function(){return ct},U6:function(){return H},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return ht},d1:function(){return y},dt:function(){return ur},et:function(){return ve},ex:function(){return b},fY:function(){return Ee},fn:function(){return A},hI:function(){return ft},hg:function(){return Be},iT:function(){return q},lS:function(){return je},nD:function(){return Mt},qN:function(){return ie},rV:function(){return N},s:function(){return He},sD:function(){return De},sS:function(){return Rt},ts:function(){return V},vi:function(){return Xe},wX:function(){return qe},x5:function(){return K},zh:function(){return Te}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(Je,Yt,It)=>Yt in Je?i(Je,Yt,{enumerable:!0,configurable:!0,writable:!0,value:It}):Je[Yt]=It,a=(Je,Yt)=>{for(var It in Yt||(Yt={}))u.call(Yt,It)&&o(Je,It,Yt[It]);if(f)for(var It of f(Yt))h.call(Yt,It)&&o(Je,It,Yt[It]);return Je},x=(Je,Yt)=>l(Je,c(Yt)),p=(Je,Yt,It)=>new Promise((Zt,Gt)=>{var cr=ce=>{try{Ce(It.next(ce))}catch(pe){Gt(pe)}},Ht=ce=>{try{Ce(It.throw(ce))}catch(pe){Gt(pe)}},Ce=ce=>ce.done?Zt(ce.value):Promise.resolve(ce.value).then(cr,Ht);Ce((It=It.apply(Je,Yt)).next())});function y(Je){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Je),{clazz:"ItemBanksGroup"})})})}function m(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function S(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function k(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function R(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function A(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function I(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function M(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:a({},Je)})})}function B(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function N(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function K(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function G(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function H(Je){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function ne(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function oe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function J(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function q(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function V(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function se(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ee(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function Q(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function le(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function Z(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function j(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function ie(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function ve(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function Ee(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function Te(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function He(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function je(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Ot(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function ft(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function Pt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function Wt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function Rt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function ar(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Ue(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function _t(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function Mt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function Qe(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function ct(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function st(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function qe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function Be(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function be(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function De(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Ge(Je){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function We(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function Xe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function ot(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ht(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function ur(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function tr(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function Le(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},43126:function(d,_,e){"use strict";e.d(_,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(57193),i=(u,h,o)=>new Promise((a,x)=>{var p=b=>{try{m(o.next(b))}catch(S){x(S)}},y=b=>{try{m(o.throw(b))}catch(S){x(S)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((o=o.apply(u,h)).next())});function l(u){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:u})})}function c(u){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function f(u){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},79777:function(d,_,e){"use strict";e.d(_,{Am:function(){return m},Ar:function(){return Ue},BD:function(){return Xe},Be:function(){return qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Rt},H1:function(){return ar},Hj:function(){return ht},JA:function(){return tr},JG:function(){return se},KE:function(){return Z},Lz:function(){return Ge},Mf:function(){return Wt},NA:function(){return ft},PC:function(){return je},PP:function(){return Ot},PW:function(){return Qe},Q3:function(){return Q},QC:function(){return Le},Qt:function(){return We},Qz:function(){return I},R$:function(){return Ce},RP:function(){return oe},Ti:function(){return yt},Uc:function(){return Zt},Ul:function(){return q},VB:function(){return at},Vs:function(){return Gt},Wr:function(){return R},Xn:function(){return J},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return Mt},cN:function(){return B},co:function(){return Be},cz:function(){return Te},fK:function(){return G},gG:function(){return He},gZ:function(){return It},h$:function(){return N},ku:function(){return De},lf:function(){return ie},m7:function(){return V},mQ:function(){return M},mz:function(){return st},n$:function(){return j},oK:function(){return y},oN:function(){return $t},pH:function(){return ot},pb:function(){return Se},qP:function(){return Je},ql:function(){return Yt},rN:function(){return be},sw:function(){return ve},t1:function(){return Ee},to:function(){return ne},ub:function(){return ur},ux:function(){return le},wS:function(){return Tt},wT:function(){return A},yT:function(){return _t},yy:function(){return cr},z2:function(){return ct}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(Ae,gt,ze)=>gt in Ae?i(Ae,gt,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ae[gt]=ze,a=(Ae,gt)=>{for(var ze in gt||(gt={}))u.call(gt,ze)&&o(Ae,ze,gt[ze]);if(f)for(var ze of f(gt))h.call(gt,ze)&&o(Ae,ze,gt[ze]);return Ae},x=(Ae,gt)=>l(Ae,c(gt)),p=(Ae,gt,ze)=>new Promise((et,bt)=>{var Ft=pt=>{try{kr(ze.next(pt))}catch(en){bt(en)}},Fe=pt=>{try{kr(ze.throw(pt))}catch(en){bt(en)}},kr=pt=>pt.done?et(pt.value):Promise.resolve(pt.value).then(Ft,Fe);kr((ze=ze.apply(Ae,gt)).next())});const y=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.id}/update_journals.json`,{method:"post",body:Ae})}),m=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.homeworkId}/change_score.json`,{method:"post",body:Ae})}),b=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.homeworkId}/history_comment`,{method:"Get",params:Ae})}),S=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.homeworkId}/feedback_know`,{method:"Get",params:Ae})}),k=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.userId}/student_work_feedbacks.json`,{method:"POST",body:Ae})}),R=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.userId}/feedback_list.json`,{method:"Get",params:Ae})}),A=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.userId}/histories.json`,{method:"Get",params:Ae})}),I=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.homeworkId}/feedback_list`,{method:"Get",params:Ae})}),M=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ae})}),B=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.homeworkId}/appeal_list`,{method:"Get",params:Ae})});function N(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/works_list.json`,{method:"post",body:a({},Ae)})})}function K(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ae.categoryId}/student_works.json`,{method:"get",params:a({},Ae)})})}function G(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ae.categoryId}/header_info.json`,{method:"get",params:a({},Ae)})})}function H(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae}/query_game_url.json`,{method:"get"})})}function ae(Ae){return p(this,null,function*(){return Fetch(`/api/student_works/${Ae}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}.json`,{method:"get"})})}function oe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/code_review_results.json`,{method:"get",params:a({},Ae)})})}function J(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ae)})})}function q(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/settings.json`,{method:"get",params:a({},Ae)})})}function V(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/update_settings.json`,{method:"post",body:a({},Ae)})})}function se(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/group_list.json`,{method:"get",params:a({},Ae)})})}function ee(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ae)})})}function Q(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.coursesId}/reference_answer.json`,{method:"get",params:a({},Ae)})})}function le(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/publish_groups.json`,{method:"get",params:a({},Ae)})})}function Z(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/end_groups.json`,{method:"get",params:a({},Ae)})})}function j(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ae)})})}function ie(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ae)})})}function ve(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/shixun_work_report.json`,{method:"get",params:Ae})})}function Ee(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ae})})}function Te(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ae),{id:Ae.categoryId})})})}function He(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ae)})})}function je(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/show_comment.json`,{method:"get",params:a({},Ae)})})}function Ot(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ae)})})}function ft(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ae)})})}function Pt(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ae)})})}function Wt(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ae)})})}function Rt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/update_explanation.json`,{method:"post",body:a({},Ae)})})}function ar(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons.json`,{method:"post",body:a({},Ae)})})}function Ue(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}.json`,{method:"put",body:a({},Ae)})})}function _t(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ae.id}.json`,{method:"put",body:a({},Ae)})})}function Mt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ae)})})}function Qe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/edit.json`,{method:"get",params:a({},Ae)})})}function ct(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}.json`,{method:"put",body:a({},Ae)})})}function st(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ae)})})}function qe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ae)})})}function Be(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ae)})})}function be(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function De(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ae)})})}function Ge(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ae)})})}function We(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ae)})})}function Xe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/edit.json`,{method:"get",params:a({},Ae)})})}function ot(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ae.id}.json`,{method:"get",params:a({},Ae)})})}function ht(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}.json`,{method:"get",params:a({},Ae)})})}function ur(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/supply_attachments.json`,{method:"get",params:a({},Ae)})})}function tr(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/comment_list.json`,{method:"get",params:a({},Ae)})})}function Le(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/destroy_score.json`,{method:"delete",body:a({},Ae)})})}function Je(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/add_score_reply.json`,{method:"post",body:a({},Ae)})})}function Yt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/all_student_works.json`,{method:"get",params:a({},Ae)})})}function It(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ae)})})}function Zt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/score_status.json`,{method:"get",params:a({},Ae)})})}function Gt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/update_score.json`,{method:"get",params:a({},Ae)})})}function cr(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/add_score.json`,{method:"post",body:a({},Ae)})})}function Ht(Ae){return p(this,null,function*(){return Fetch(`/api/student_works/${Ae.userId}/cancel_appeal.json`,{method:"post",body:a({},Ae)})})}function Ce(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ae)})})}function ce(Ae){return p(this,null,function*(){return Fetch(`/api/student_works/${Ae.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ae)})})}function pe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ae.id}/reset_my_game.json`,{method:"get",params:a({},Ae)})})}function Tt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/commit_des.json`,{method:"get",params:a({},Ae)})})}function Se(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/update_des.json`,{method:"post",body:a({},Ae)})})}function at(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ae)})})}function $t(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ae)})})}function yt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ae)})})}},86342:function(d,_,e){"use strict";e.d(_,{$Q:function(){return Jt},AE:function(){return Gt},AQ:function(){return M},Ag:function(){return gt},Ar:function(){return le},At:function(){return Kt},BK:function(){return K},Bj:function(){return Mt},DC:function(){return Ue},Dz:function(){return Lt},E4:function(){return ar},EH:function(){return ie},Ee:function(){return Vn},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return Te},Gr:function(){return st},Gu:function(){return Ee},Gz:function(){return b},HS:function(){return Ta},Hl:function(){return y},IT:function(){return yt},I_:function(){return A},Ir:function(){return G},Je:function(){return Fe},K:function(){return br},K0:function(){return wn},KM:function(){return J},K_:function(){return Xt},LK:function(){return kr},LP:function(){return He},Ne:function(){return se},OV:function(){return Ot},OW:function(){return j},Op:function(){return jt},P2:function(){return Pt},Po:function(){return I},Ps:function(){return qe},Q:function(){return V},Q1:function(){return Qr},QA:function(){return la},Ql:function(){return be},Rs:function(){return Le},SG:function(){return Hi},Tn:function(){return Ht},Tr:function(){return Wi},U0:function(){return Xe},U9:function(){return Be},UQ:function(){return Se},Ui:function(){return kt},Vx:function(){return Bn},WO:function(){return Q},WT:function(){return Di},Wi:function(){return Qe},Wl:function(){return ze},X$:function(){return Wt},Yn:function(){return ce},Z2:function(){return _t},ZO:function(){return ct},Zt:function(){return Qt},_7:function(){return q},_9:function(){return pe},aH:function(){return De},al:function(){return ur},b8:function(){return Z},bq:function(){return Ce},dK:function(){return H},e:function(){return k},eX:function(){return ve},eb:function(){return Je},fL:function(){return Ft},h4:function(){return Hr},hS:function(){return m},he:function(){return R},hn:function(){return ne},ii:function(){return tr},im:function(){return Tt},j8:function(){return je},jq:function(){return on},kF:function(){return en},km:function(){return ht},l3:function(){return ft},m7:function(){return We},mI:function(){return ji},n5:function(){return B},nu:function(){return pt},p0:function(){return $t},q0:function(){return Zt},q9:function(){return Ct},qA:function(){return Or},rO:function(){return It},rs:function(){return oe},sr:function(){return at},t2:function(){return Ae},tX:function(){return At},uo:function(){return ot},v3:function(){return bt},w:function(){return et},xK:function(){return cr},xg:function(){return Yt},xk:function(){return Rt},yE:function(){return Ge},yx:function(){return Ei},zD:function(){return ae},zH:function(){return Er}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(xt,xa,Gi)=>xa in xt?i(xt,xa,{enumerable:!0,configurable:!0,writable:!0,value:Gi}):xt[xa]=Gi,a=(xt,xa)=>{for(var Gi in xa||(xa={}))u.call(xa,Gi)&&o(xt,Gi,xa[Gi]);if(f)for(var Gi of f(xa))h.call(xa,Gi)&&o(xt,Gi,xa[Gi]);return xt},x=(xt,xa)=>l(xt,c(xa)),p=(xt,xa,Gi)=>new Promise((_i,Da)=>{var Ki=or=>{try{Zn(Gi.next(or))}catch(ut){Da(ut)}},ti=or=>{try{Zn(Gi.throw(or))}catch(ut){Da(ut)}},Zn=or=>or.done?_i(or.value):Promise.resolve(or.value).then(Ki,ti);Zn((Gi=Gi.apply(xt,xa)).next())});const y=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:xt})}),m=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:xt})}),b=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:xt})}),S=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:xt})}),k=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:xt})});function R(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},xt)})})}function A(xt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},xt||{})})})}function I(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"Get",params:xt})})}function M(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/show_right.json`,{method:"Get"})})}function B(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges.json`,{method:"Get"})})}function N(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:xt.save_type}})})}function K(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/jupyter_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function G(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function H(xt){return p(this,null,function*(){return(0,r.ZP)(xt.url,{method:"Get"})})}function ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_up.json`,{method:"Get"})})}function ne(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_down.json`,{method:"Get"})})}function oe(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function J(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function q(xt){return p(this,null,function*(){const{id:xa}=xt||{};return(0,r.ZP)(`/api/shixuns/${xa}/search_user_courses.json`,{method:"Get",params:xt})})}function V(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt==null?void 0:xt.id}/send_to_course.json`,{method:"Post",body:a({},xt)})})}function se(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_publish.json`,{method:"Get"})})}function ee(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/apply_public.json`,{method:"post",body:a({},xt)})})}function le(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/publish.json`,{method:"Get"})})}function Z(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function j(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${xt.id}.json`,{method:"delete"})})}function ie(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:xt})})}function ve(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:xt})})}function Ee(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:xt})})}function Te(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_newest_record.json`,{method:"Get"})})}function He(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_shixun.json`,{method:"post",body:xt})})}function je(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators.json`,{method:"Get",params:xt})})}function Ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_members_added.json`,{method:"post",body:xt})})}function ft(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/add_members_group.json`,{method:"post",body:xt})})}function Pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"Get",params:xt})})}function Wt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"post",body:xt})})}function Rt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:xt.userId}})})}function ar(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/ranking_list.json`,{method:"Get"})})}function Ue(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/settings.json`,{method:"Get"})})}function _t(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:xt.mirror_id}})})}function Mt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_script_contents.json`,{method:"Get",params:xt})})}function Qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_custom_script.json`,{method:"Get",params:xt})})}function ct(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_for_jupyter.json`,{method:"put",body:xt})})}function st(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_quotes.json`,{method:"Get"})})}function qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"delete"})})}function Be(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/close.json`,{method:"post",body:xt})})}function be(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:xt})})}function De(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_permission_setting.json`,{method:"post",body:xt})})}function Ge(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_learn_setting.json`,{method:"post",body:xt})})}function We(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_setting`,{method:"post",body:xt})})}function Xe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_data_sets.json`,{method:"Get",params:xt})})}function ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:xt.deleteId}})})}function ht(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/new.json`,{method:"get"})})}function ur(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/challenges.json`,{method:"post",body:a({},xt)})})}function tr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/edit.json`,{method:"get",params:{tab:xt.tab}})})}function Le(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"put",body:a({},xt)})})}function Je(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_questions.json`,{method:"get"})})}function Yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/move_position.json`,{method:"post",body:a({},xt)})})}function It(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"delete",body:a({},xt)})})}function Zt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit.json`,{method:"get",params:a({},xt)})})}function Gt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/answer.json`,{method:"get",params:a({},xt)})})}function cr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/crud_answer.json`,{method:"post",body:a({},xt)})})}function Ht(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_choose_question.json`,{method:"post",body:a({},xt)});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_blank_question.json`,{method:"post",body:a({},xt)});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_judge_question.json`,{method:"post",body:a({},xt)})})}function Ce(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})})})}function ce(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:xt.questionId}})})}function pe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Tt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Se(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},xt),{choose_id:xt.questionId})})})}function at(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function $t(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function Ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function gt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/repository.json`,{method:"post",body:xt})})}function ze(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/repository.json`,{method:"post",body:xt})})}function et(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/secret_repository.json`,{method:"post",body:xt})})}function bt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/add_file.json`,{method:"post",body:xt})})}function Ft(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/add_file.json`,{method:"post",body:xt})})}function Fe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/commits.json`,{method:"post",body:xt})})}function kr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/file_content.json`,{method:"post",body:xt})})}function pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/file_content.json`,{method:"post",body:xt})})}function en(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_file.json`,{method:"post",body:xt})})}function on(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/update_file.json`,{method:"post",body:xt})})}function jt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/upload_git_folder.json`,{method:"post",body:{path:xt.path,secret_repository:xt.secret_repository}})})}function Jt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/${xt.url}`,{method:"Get"})})}function kt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:xt})})}function Xt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:xt})})}function Er(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:xt})})}function Or(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:xt})})}function Ct(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:xt})})}function Kt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/fork_list.json`,{method:"Get",params:xt})})}function Lt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/change_editable.json`,{method:"put",body:a({},xt)})})}function Qt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/set_secret_dir.json`,{method:"post",body:a({},xt)})})}function br(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:xt})})}function Qr(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:xt})})}function Hr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function Bn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function wn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_secret_repository.json`,{method:"post",body:a({},xt)})})}function Vn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/exist_exercise.json`,{method:"get",params:a({},xt)})})}function At(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${xt.id}.json`,{method:"get",params:a({},xt)})})}function Yr(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/publish.json`,{method:"post",body:a({},xt)})})}function ni(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_vnc.json`,{method:"post",params:a({},xt)})})}function Mi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_webssh.json`,{method:"post",params:a({},xt)})})}function Et(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/save_image.json`,{method:"post",body:a({},xt)})})}function Xn(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/delete_image.json`,{method:"post",body:a({},xt)})})}function si(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/extend_vnc.json`,{method:"post",body:a({},xt)})})}function Ui(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/reset_vnc_link.json`,{method:"post",body:a({},xt)})})}function Ei(xt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},xt)})})}function ji(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},xt)})})}function la(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},xt)})})}function Wi(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:xt})})}function Di(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${xt}`,{method:"get",params:{is_initiative_study:1}})})}function di(xt){return p(this,null,function*(){return Fetch(`/api/shixuns/${xt.id}/update_shixun_study_num.json`,{method:"post",body:a({},xt)})})}function Hi(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:xt})})}function Ta(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt}/recommend_config.json`,{method:"get"})})}},47546:function(d,_,e){"use strict";e.d(_,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return m},rM:function(){return I},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(H,ae,ne)=>ae in H?i(H,ae,{enumerable:!0,configurable:!0,writable:!0,value:ne}):H[ae]=ne,h=(H,ae)=>{for(var ne in ae||(ae={}))c.call(ae,ne)&&u(H,ne,ae[ne]);if(l)for(var ne of l(ae))f.call(ae,ne)&&u(H,ne,ae[ne]);return H},o=(H,ae,ne)=>new Promise((oe,J)=>{var q=ee=>{try{se(ne.next(ee))}catch(Q){J(Q)}},V=ee=>{try{se(ne.throw(ee))}catch(Q){J(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(q,V);se((ne=ne.apply(H,ae)).next())});function a(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function I(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,ae){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:ae})})}function K(H,ae){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:ae})})}function G(H,ae){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:ae})})}},67670:function(d,_,e){"use strict";e.d(_,{B$:function(){return y},Cx:function(){return q},DA:function(){return I},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Wt},FM:function(){return ne},Fn:function(){return Q},Gq:function(){return ar},Ho:function(){return B},IU:function(){return ve},JJ:function(){return le},Ol:function(){return je},Qx:function(){return ae},Tv:function(){return Z},V8:function(){return x},WS:function(){return V},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Rt},dE:function(){return ie},dt:function(){return j},gI:function(){return se},lO:function(){return oe},mW:function(){return G},n0:function(){return A},nV:function(){return He},o1:function(){return Ot},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return Te},vR:function(){return S},w3:function(){return K},x4:function(){return R},z2:function(){return ft}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(Ue,_t,Mt)=>_t in Ue?i(Ue,_t,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ue[_t]=Mt,h=(Ue,_t)=>{for(var Mt in _t||(_t={}))c.call(_t,Mt)&&u(Ue,Mt,_t[Mt]);if(l)for(var Mt of l(_t))f.call(_t,Mt)&&u(Ue,Mt,_t[Mt]);return Ue},o=(Ue,_t,Mt)=>new Promise((Qe,ct)=>{var st=be=>{try{Be(Mt.next(be))}catch(De){ct(De)}},qe=be=>{try{Be(Mt.throw(be))}catch(De){ct(De)}},Be=be=>be.done?Qe(be.value):Promise.resolve(be.value).then(st,qe);Be((Mt=Mt.apply(Ue,_t)).next())});const a=Ue=>o(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}/move.json`,{method:"post",body:Ue})}),x=Ue=>o(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"delete",body:Ue})}),p=Ue=>o(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"put",body:Ue})}),y=Ue=>o(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ue})}),m=Ue=>o(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ue})});function b(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ue)})})}function S(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ue)})})}function R(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ue)})})}function A(){return o(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function I(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/homepage_info.json`,{method:"get"})})}function M(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/courses.json`,{method:"get",params:Ue})})}function N(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/shixuns.json`,{method:"get",params:Ue})})}function K(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/subjects.json`,{method:"get",params:Ue})})}function G(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/projects.json`,{method:"get",params:Ue})})}function H(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos.json`,{method:"get",params:Ue})})}function ae(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/review.json`,{method:"get",params:Ue})})}function ne(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.id}.json`,{method:"delete"})})}function oe(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ue})})}function J(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ue})})}function q(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ue})})}function V(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ue})})}function se(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ue})})}function ee(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ue})})}function Q(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.object_id}/create_course_video.json`,{method:"post",body:Ue})})}function le(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ue.topicId}.json`,{method:"get",params:Ue})})}function Z(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ue)})})}function j(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/batch_publish.json`,{method:"post",body:Ue})})}function ie(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ue.identifier}/cancel.json`,{method:"delete",body:h({},Ue)})})}function ve(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ue)})})}function Ee(Ue){return o(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ue)})})}function Te(){return o(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return o(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Ue){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ue})}function Ot(Ue){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ue})}function ft(Ue){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ue)})}function Pt(Ue){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ue)})}function Wt(Ue){return(0,r.ZP)(`/api/users/accounts/${Ue.login}/password.json`,{method:"put",body:h({},Ue)})}function Rt(Ue){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ue)})}function ar(Ue){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ue)})}},11176:function(d,_,e){"use strict";e.d(_,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ne},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return H}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(J,q,V)=>q in J?i(J,q,{enumerable:!0,configurable:!0,writable:!0,value:V}):J[q]=V,h=(J,q)=>{for(var V in q||(q={}))c.call(q,V)&&u(J,V,q[V]);if(l)for(var V of l(q))f.call(q,V)&&u(J,V,q[V]);return J},o=(J,q,V)=>new Promise((se,ee)=>{var Q=j=>{try{Z(V.next(j))}catch(ie){ee(ie)}},le=j=>{try{Z(V.throw(j))}catch(ie){ee(ie)}},Z=j=>j.done?se(j.value):Promise.resolve(j.value).then(Q,le);Z((V=V.apply(J,q)).next())});function a(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return o(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function m(J){return o(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return o(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function S(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return o(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function A(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function I(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return o(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return o(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function K(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function G(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return o(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function ae(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function ne(J){return o(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function oe(J){return o(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},3668:function(d,_,e){"use strict";e.d(_,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return u},MM:function(){return R},Ps:function(){return B},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return o},rV:function(){return I},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(57193),i=(H,ae,ne)=>new Promise((oe,J)=>{var q=ee=>{try{se(ne.next(ee))}catch(Q){J(Q)}},V=ee=>{try{se(ne.throw(ee))}catch(Q){J(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(q,V);se((ne=ne.apply(H,ae)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function I(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:ae})})}function M(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:ae})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:ae})})}function K(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:ae})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},81779:function(d,_,e){"use strict";e.d(_,{$O:function(){return q},EO:function(){return ht},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return ot},JL:function(){return A},Jd:function(){return J},Ny:function(){return k},RV:function(){return ne},Rb:function(){return N},Rm:function(){return G},V9:function(){return ie},Yh:function(){return le},aN:function(){return b},aQ:function(){return o},ag:function(){return Xe},bg:function(){return tr},d8:function(){return B},dE:function(){return ae},eB:function(){return oe},eY:function(){return Le},fn:function(){return We},h:function(){return cr},j5:function(){return m},m$:function(){return Je},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return It},y8:function(){return ur}});var r=e(95392),i=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.CertifiedTeacher=5]="CertifiedTeacher",Ht[Ht.TrainingProduction=8]="TrainingProduction",Ht[Ht.UncertifiedTeacher=12]="UncertifiedTeacher",Ht[Ht.Student=15]="Student",Ht))(i||{}),l=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.Admin=5]="Admin",Ht[Ht.Teacher=8]="Teacher",Ht[Ht.Assistant=12]="Assistant",Ht[Ht.Student=15]="Student",Ht))(l||{}),c=(Ht=>(Ht[Ht.SuperAdmin=0]="SuperAdmin",Ht[Ht.Teacher=1]="Teacher",Ht[Ht.Student=2]="Student",Ht))(c||{});const f=Ht=>{const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return Ht.some(pe=>pe==(ce==null?void 0:ce.role))},u=Ht=>{const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return ce!=null&&ce.own?!0:Ht.some(pe=>{var Tt;return pe==((Tt=ce==null?void 0:ce.course)==null?void 0:Tt.course_role)})},h=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ce}=Ht;return Ce.main_site},o=()=>{var Ht;const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return(Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_is_end},a=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Ce}=Ht;return Ce.authentication},x=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),y=()=>u([1,8,5]),m=()=>u([1]),b=()=>u([1,2,5]),S=()=>u([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),I=()=>u([1,5]),M=()=>u([5,8]),B=()=>u([5]),N=()=>u([1,5,2]),K=()=>u([1,2,5,8]),G=()=>u([12]),H=()=>u([8]),ae=()=>u([15]),ne=()=>u([1,2,5,8,12,15]),oe=()=>u([1,2,5,8,12]),J=()=>{var Ht;const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return((Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_role)===null},q=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ce}=Ht;return Ce==null?void 0:Ce.has_big_model_permission},V=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Ce}=Ht;return Ce==null?void 0:Ce.big_model_user_unlimited},se=(Ht=!0,Ce=!1)=>f([1,2,5,8,12,15]),ee=(Ht=!0,Ce=!1)=>Ce||!Ce&&f([1]),Q=(Ht=!0,Ce=!1)=>Ce||!Ce&&f([1,2]),le=()=>f([15]),Z=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),j=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),ie=(Ht=!0,Ce=!1)=>{const{user:ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=ce;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},ve=(Ht=!0,Ce=!1)=>Ht?f([1]):Ce||!Ce&&f([1]),Ee=(Ht=!0,Ce=!1)=>Ht?f([1,2]):Ce||!Ce&&f([1,2]),Te=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),He=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):Ce||!Ce&&f([1,2]),je=(Ht=!0,Ce=!1)=>Ht?f([1,2,5]):Ce||!Ce&&f([1,2]),Ot=(Ht=!0,Ce=!1)=>Ht?f([1]):!1,ft=(Ht=!0,Ce=!1)=>f([1,2,5,8,12,15]),Pt=(Ht=!0,Ce=!1)=>Ht?f([1]):Ce||!Ce&&f([1]),Wt=(Ht=!0,Ce=!1)=>Ht?f([1,2]):Ce||!Ce&&f([1,2]),Rt=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),ar=(Ht=!0,Ce=!1)=>Ht?!1:Ce||!Ce&&f([1,2]),Ue=(Ht=!0,Ce=!1)=>Ht?Ce||!Ce&&f([1,2]):!1,_t=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):!1,Mt=(Ht=!0,Ce=!1)=>Ht?!Ce&&f([1,2,5,8,12]):!1,Qe=(Ht=!0,Ce=!1)=>Ht?f([1,2,5]):Ce||!Ce&&f([1,2]),ct=(Ht=!0,Ce=!1)=>f([1,2,5,8,12]),st=(Ht=!0,Ce=!1)=>Ht?f([1]):Ce||!Ce&&f([1]),qe=(Ht=!0,Ce=!1)=>Ht?f([1,2]):Ce||!Ce&&f([1,2]),Be=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):Ce||!Ce&&f([1,2]),be=(Ht=!0,Ce=!1)=>Ht?Ce||!Ce&&f([1,2]):!1,De=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):Ce||!Ce&&f([1,2]),Ge=(Ht=!0,Ce=!1)=>u([8]),We=()=>f([1]),Xe=()=>f([1,2]),ot=()=>f([15]),ht=()=>f([1,2,5]),ur=()=>f([1,2,5,12]),tr=()=>{var Ht;const{user:Ce}=(0,r.getDvaApp)()._store.getState();return!!((Ht=Ce.userInfo)!=null&&Ht.login)},Le=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState();return Ht.userInfo},Je=()=>{var Ht,Ce;const{user:ce}=(0,r.getDvaApp)()._store.getState();return!!((Ce=(Ht=ce.userInfo)==null?void 0:Ht.path)!=null&&Ce.own)},Yt=Ht=>{const{graduations:Ce}=(0,r.getDvaApp)()._store.getState(),{details:ce}=Ce;return Ht.some(pe=>pe===(ce==null?void 0:ce.user_identity))},It=()=>Yt([0,1]),Zt=()=>Yt([0]),Gt=()=>Yt([1]),cr=()=>Yt([2])},76936:function(d,_,e){"use strict";e.d(_,{Fy:function(){return u},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{}),u=(o=>(o[o.DEFAULT=0]="DEFAULT",o[o.THEMEONE=1]="THEMEONE",o[o.THEMETWO=2]="THEMETWO",o[o.THEMETHREE=3]="THEMETHREE",o))(u||{}),h=(o=>(o.All="",o.Shixun="shixun",o.VideoItem="video",o.Attachment="attachment",o.Group_count="group_homework",o.Normal_count="normal_homework",o.ExaminationBank="exercise",o.HomeworkCommon="hack_homework",o.Discusses="Discusses",o.Challenge="challenge",o))(h||{})},57583:function(d,_,e){"use strict";e.d(_,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},78323:function(d,_,e){"use strict";e.d(_,{Z:function(){return c}});const r={PROXY_SERVER:"http://113.246.243.98:61820",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},57193:function(d,_,e){"use strict";e.d(_,{IV:function(){return Z},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return le},rz:function(){return ne},v_:function(){return Q}});var r=e(78323),i=e(28909),l=e(43418),c=e(8591),f=e(85582),u=e.n(f),h=e(59301),o=e(95392),a=e(63949),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(j,ie,ve)=>ie in j?y(j,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):j[ie]=ve,I=(j,ie)=>{for(var ve in ie||(ie={}))k.call(ie,ve)&&A(j,ve,ie[ve]);if(S)for(var ve of S(ie))R.call(ie,ve)&&A(j,ve,ie[ve]);return j},M=(j,ie)=>m(j,b(ie)),B=(j,ie,ve)=>new Promise((Ee,Te)=>{var He=ft=>{try{Ot(ve.next(ft))}catch(Pt){Te(Pt)}},je=ft=>{try{Ot(ve.throw(ft))}catch(Pt){Te(Pt)}},Ot=ft=>ft.done?Ee(ft.value):Promise.resolve(ft.value).then(He,je);Ot((ve=ve.apply(j,ie)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=(j,ie)=>B(void 0,null,function*(){if(j.status>=200&&j.status<300)return j;const ve=K[j.status]||j.statusText;let Ee;var Te=j.json();yield Te.then((je,Ot)=>{setTimeout(()=>{let ft=(0,o.getDvaApp)()},400),Ee=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`,description:je.message?"":ve})});const He=new Error(ve);throw He.name=j.status,He.response=j,{data:j,code:j.status,message:Ee||ve}}),H=(j,ie)=>{const ve=j.headers.get("Content-Type");return ve&&ve.match(/application\/json/i)&&j.clone().text().then(()=>{}),j};function ae(j){try{return decodeURIComponent(j),decodeURIComponent(encodeURIComponent(j))===j}catch(ie){return!1}}const ne=j=>{j=j||{};let ie="";for(let ve in j)typeof j[ve]=="object"?Array.isArray(j[ve])&&j[ve].forEach((Ee,Te)=>{ie+="&"+ve+"[]="+Ee}):j[ve]!==void 0&&(ie+="&"+ve+"="+(ae(j[ve])?j[ve]:encodeURIComponent(j[ve])));return ie.substr(1)};function oe(j,ie,ve,Ee){ie.method||(ie.method="get"),ie.method=ie.method.toUpperCase(),ie.mode="cors";const Te=I({},ie),{user:He}=(0,o.getDvaApp)()._store.getState(),{userInfo:je}=He,Ot=j+(Te.body?JSON.stringify(Te.body):""),ft=u().sha256().update(Ot).digest("hex"),Pt={credentials:"include",withCredentials:!0},Wt={};je!=null&&je.login&&(Wt.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(Wt.zzsud=je==null?void 0:je.school_id),Te.params=I(I({},Te.params||{}),Wt));let Rt=I(I({},Pt),(0,x.cloneDeep)(Te));(Rt.method==="POST"||Rt.method==="PUT"||Rt.method==="PATCH"||Rt.method==="DELETE")&&(ve?(Rt.headers=M(I({_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Rt.body=Te.body):(Rt.headers=I({Accept:"application/json",_method:ie.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Rt.headers),Rt.body=JSON.stringify(Te.body))),Rt.method=="GET"?(Rt.headers=M(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Te.params&&ne(Te.params)&&(j+="?"+ne(Te.params))):Wt.zzud&&(j+="?"+ne(I({},Wt)));const ar=Te.expirys&&60;let Ue;(ct=>{ct.json="application/json;charset=UTF-8",ct.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ue||(Ue={}));let _t;(ct=>{ct.get="GET",ct.post="POST"})(_t||(_t={}));const Mt=ct=>B(this,null,function*(){const st=yield ct.arrayBuffer();let qe;const Be=new Blob([st]);try{qe=ct.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(We){qe="userfiles.zip"}const be=document.createElement("a"),De=window.URL.createObjectURL(Be),Ge=qe;return be.href=De,be.download=Ge,be.click(),window.URL.revokeObjectURL(De),st});let Qe=r.Z.API_SERVER;return(window.ENV==="dev"||j.startsWith("http"))&&(Qe=""),Rt.method=="GET"&&Rt.params&&Object.keys(Rt.params).map(ct=>{if(Rt.params[ct]&&!Array.isArray(Rt.params[ct]))try{Rt.params[ct]=encodeURIComponent(decodeURIComponent(Rt.params[ct]))}catch(st){Rt.params[ct]=encodeURIComponent(Rt.params[ct])}}),(0,a.Ec)(Rt,j),Ee&&(Qe=""),Rt.headers._method=Rt.method,Rt.headers["X-HTTP-Method-Override"]=Rt.method,Rt.method!=="GET"&&(Rt.method="POST"),fetch(Qe+j,Rt).then(ct=>G(ct,I({url:r.Z.API_SERVER+j},Rt))).then(ct=>H(ct,ft)).then(ct=>B(this,null,function*(){var st,qe,Be,be;try{const Ge=ct.headers.get("cs");Ge&&(0,a.d8)("_educoder_session",Ge,1)}catch(Ge){}if(ct.status===204)return ct.text();let De;if(ct.headers.get("content-type").indexOf("application/json")>-1){De=yield ct.json();try{const Ge=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,We=/\"\/api\/attachments\/(\d+)\//g,Xe=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ot=/\/api\/attachments\/(\d+)/g,ht=/\/attachments\/download\/(\d+)/g;let ur=JSON.stringify(De).replace(ot,(tr,Le,Je,Yt)=>{const It=Le||Je||Yt;return"/api/attachments/"+(0,a.Jn)(It)}).replace(ht,(tr,Le,Je)=>{const Yt=Le||Je;return"/attachments/download/"+(0,a.Jn)(Yt)}).replace(Ge,(tr,Le,Je,Yt)=>{const It=Le||Je||Yt;return"(/api/attachments/"+(0,a.Jn)(It)}).replace(We,(tr,Le,Je)=>{const Yt=Le||Je;return'"/api/attachments/'+(0,a.Jn)(Yt)}).replace(Xe,(tr,Le,Je)=>{const Yt=Le||Je;return"(/files/uploads/"+(0,a.Jn)(Yt)}).replace(/\r\n/g,` +`)}]};var o=e(53184),a=e.n(o),x=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=st=>{try{ct(ar.next(st))}catch(qe){_t(qe)}},Qe=st=>{try{ct(ar.throw(st))}catch(qe){_t(qe)}},ct=st=>st.done?Ue(st.value):Promise.resolve(st.value).then(Mt,Qe);ct((ar=ar.apply(Wt,Rt)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=(Wt,Rt,ar,Ue)=>{const _t=Rt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:ar.lineNumber,endColumn:ar.column});return Array.from(new Set(_t.match(/\b\w{2,}\b/g)||[])).map(Qe=>({label:Qe,kind:Wt.languages.CompletionItemKind.Text,insertText:Qe,range:Ue}))},m=(Wt,Rt,ar,Ue)=>{Wt.languages.registerCompletionItemProvider(Rt,{provideCompletionItems(_t,Mt){const Qe=_t.getWordUntilPosition(Mt),ct={startLineNumber:Mt.lineNumber,endLineNumber:Mt.lineNumber,startColumn:Qe.startColumn,endColumn:Qe.endColumn},st=_t.getLineContent(Mt.lineNumber).substring(Qe.startColumn-2,Qe.endColumn);return{suggestions:[...y(Wt,_t,Mt,ct),...ar.map(Be=>({label:Be,kind:Wt.languages.CompletionItemKind.Keyword,documentation:Be,insertText:Be,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct})),...Ue.map(Be=>({label:Be.label,kind:Wt.languages.CompletionItemKind.Snippet,documentation:Be.content,insertText:st.startsWith("#")?Be.content.replace(/#/,""):Be.content,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}))]}}})};var b=Wt=>{p.languages.forEach(Rt=>{Wt.languages.registerDocumentFormattingEditProvider(Rt,{provideDocumentFormattingEdits(ar){return x(this,null,function*(){const Ue=a()(ar.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:ar.getFullModelRange(),text:Ue}]})}})}),m(Wt,"java",c.keywords,c.quickKey),m(Wt,"cpp",f.keywords,f.quickKey),m(Wt,"c",l.keywords,[]),m(Wt,"python",u.keywords,u.quickKey),m(Wt,"scala",h.keywords,h.quickKey)};const S="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(Wt,Rt,ar)=>Rt in Wt?k(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,A=(Wt,Rt,ar)=>R(Wt,typeof Rt!="symbol"?Rt+"":Rt,ar);const I=class a0{constructor(Rt,ar,Ue){this.placeholder=Rt,this.editor=ar,this.monaco=Ue,ar.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return a0.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};A(I,"ID","editor.widget.placeholderHint");var B=I,N=e(96236),K=e(8591),G=e(6848),H=e(89392),ae=e(27035),ne=e(56102),oe=Object.defineProperty,J=Object.defineProperties,q=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,Q=(Wt,Rt,ar)=>Rt in Wt?oe(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,le=(Wt,Rt)=>{for(var ar in Rt||(Rt={}))se.call(Rt,ar)&&Q(Wt,ar,Rt[ar]);if(V)for(var ar of V(Rt))ee.call(Rt,ar)&&Q(Wt,ar,Rt[ar]);return Wt},Z=(Wt,Rt)=>J(Wt,q(Rt)),j=(Wt,Rt)=>{var ar={};for(var Ue in Wt)se.call(Wt,Ue)&&Rt.indexOf(Ue)<0&&(ar[Ue]=Wt[Ue]);if(Wt!=null&&V)for(var Ue of V(Wt))Rt.indexOf(Ue)<0&&ee.call(Wt,Ue)&&(ar[Ue]=Wt[Ue]);return ar},ie=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=st=>{try{ct(ar.next(st))}catch(qe){_t(qe)}},Qe=st=>{try{ct(ar.throw(st))}catch(qe){_t(qe)}},ct=st=>st.done?Ue(st.value):Promise.resolve(st.value).then(Mt,Qe);ct((ar=ar.apply(Wt,Rt)).next())});function ve(Wt){return/^\d+$/.test(Wt)?`${Wt}px`:Wt}function Ee(){}let Te=!1;const He={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function je(Wt=[]){let Rt=Wt;if(Array.isArray(Wt)){for(let ar=0;ar{var Rt=Wt,{width:ar="100%",height:Ue="100%",value:_t,language:Mt="javascript",style:Qe={},options:ct={},overrideServices:st={},theme:qe="vs-dark",onEditBlur:Be,isCopy:be=!1,onSave:De,autoHeight:Ge=!1,forbidCopy:We=!1,onChange:Xe=Ee,editorDidMount:ot=Ee,onFocus:ht=Ee,onBreakPoint:ur=Ee,breakPointValue:tr=[],filename:Le="educoder.txt",errorLine:Je,errorContent:Yt="",highlightLine:It,openBreakPoint:Zt=!1,placeholder:Gt=""}=Rt,cr=j(Rt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ht=(0,r.useRef)(),Ce=(0,r.useRef)({}),ce=(0,r.useRef)(),pe=(0,r.useRef)(),Ct=(0,r.useRef)([]),Se=(0,r.useRef)(!1),at=(0,r.useRef)(),$t=(0,r.useRef)(),yt=(0,r.useRef)(!1),[Ae,gt]=(0,r.useState)(!1);function ze(){let At;return Ht.current&&(At=new i.Z(Kt=>{for(let Lt of Kt)(Lt.target.offsetHeight>0||Lt.target.offsetWidth>0)&&Ce.current.instance.layout()}),At.observe(Ht.current)),At}function et(){K.ZP.warning({content:decodeURIComponent(S),key:"monaco-editor-tip"})}const bt=()=>{let At=Ce.current.instance;if(_t!=null&&At&&Ae){const Kt=At.getModel();Kt&&_t!==Kt.getValue()&&(Te=!0,Kt.setValue(_t),At.layout(),Te=!1)}};(0,r.useEffect)(()=>{const At=ae.Z.subscribe("formatDocument",Kt=>{var Lt;let Qt=Ce.current.instance;(Lt=Qt==null?void 0:Qt.getAction)==null||Lt.call(Qt,"editor.action.formatDocument").run()});return window.updateMonacoValue=Kt=>{Xe(Kt)},At},[]),(0,r.useEffect)(()=>{var At;let Kt=Ce.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{bt()},500),_t&&(_t!=null&&_t.length)&&((At=Kt==null?void 0:Kt.updateOptions)==null||At.call(Kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(_t.split(/\r\n|\r|\n/g).length))+3,5)}))},[_t,Ae,Ce.current]),(0,r.useEffect)(()=>{if(Je&&Ce.current&&Ce.current.instance){let Kt=Ce.current.instance;Kt.changeViewZones(function(Lt){var Qt=document.createElement("div");Qt.style.padding="10px 20px",Qt.style.width="calc(100% - 20px)",Qt.className="my-error-line-wrp",Qt.innerHTML=Yt,Lt.addZone({afterLineNumber:Je||11,heightInLines:3,domNode:Qt})});var At={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Kt.addOverlayWidget(At),Kt.revealPositionInCenter({lineNumber:20,column:1})}},[Je,Ce.current,Ae]);const Ft=(At="",Kt)=>{if(!At||At.trim()==="")return!0;const Qt=Ce.current.instance.getModel().getLineTokens(Kt);let br=!1;for(let Qr=0;Qr<2;Qr++)Qt.getStandardTokenType(Qr)===1&&(br=!0);return br};(0,r.useEffect)(()=>{var At;const Kt=(At=Ce.current)==null?void 0:At.instance;if(Kt&&Ae&&We){const Lt=Kt.onDidBlurEditorWidget(()=>{yt.current=!1}),Qt=Kt.onDidFocusEditorText(()=>{yt.current=!0});return()=>{Lt.dispose(),Qt.dispose()}}},[Ce.current,Ae,We]),(0,r.useEffect)(()=>{var At;if((At=Ce.current)!=null&&At.instance&&Ae&&Zt){let Kt=Ce.current.instance,Lt=Kt.getModel();if(!Lt)return;(()=>{var Kn;let Tt=[],fi=[];const pi=Lt.getAllDecorations();for(let Ni of pi)Ni.options.className==="highlighted-line"&&(Tt.push((Kn=Ni==null?void 0:Ni.range)==null?void 0:Kn.startLineNumber),fi.push(Ni==null?void 0:Ni.id));if(It===Tt[0])return;Lt.deltaDecorations(fi,[]);const Ai=Lt.getLineCount();It&&It<=Ai&&(Kt.deltaDecorations([],[{range:new Ot.Range(It,1,It,Lt.getLineMaxColumn(It)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Kt.revealLineInCenter(It))})();const br=(Kn=!1)=>{var Tt;let fi=[],pi=[];const Ai=Lt.getAllDecorations();for(let Ni of Ai)Ni.options.linesDecorationsClassName==="breakpoints-select"&&(fi.push((Tt=Ni==null?void 0:Ni.range)==null?void 0:Tt.startLineNumber),pi.push(Ni==null?void 0:Ni.id));if(Kn)return{lines:fi,ids:pi};ur(fi)},Qr=Kn=>ie(void 0,null,function*(){let Tt={range:new Ot.Range(Kn,1,Kn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Lt.deltaDecorations([],[Tt]),br()}),Hr=Kn=>ie(void 0,null,function*(){let Tt=[];const fi=Kt.getLineDecorations(Kn);for(let pi of fi)pi.options.linesDecorationsClassName==="breakpoints-select"&&Tt.push(pi.id);yield Lt.deltaDecorations(Tt,[]),br()}),Bn=Kn=>{let Tt=Kt.getLineDecorations(Kn);for(let fi of Tt)if(fi.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(tr,br(!0).lines)){Lt.deltaDecorations(br(!0).ids,[]);const Kn=tr.map(Tt=>({range:new Ot.Range(Tt,1,Tt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Lt.deltaDecorations([],Kn)}const wn=Kt.onDidChangeModelContent(Kn=>{let Tt=Kt.getPosition();if(Tt){let fi=Tt.lineNumber;clearTimeout($t.current),$t.current=setTimeout(()=>{Ft(Lt.getLineContent(fi),fi)?Hr(fi):Bn(fi)?(Hr(fi),Qr(fi)):br()},100)}}),Yn=Kt.onMouseDown(Kn=>{var Tt,fi,pi;if(Kn.target.detail&&((pi=(fi=(Tt=Kn.target)==null?void 0:Tt.element)==null?void 0:fi.className)!=null&&pi.includes("line-numbers"))){let Ai=Kn.target.position.lineNumber;if(Ft(Lt.getLineContent(Ai),Ai))return;Bn(Ai)?Hr(Ai):Qr(Ai)}}),St=Kn=>{let Tt={range:new Ot.Range(Kn,1,Kn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ct.current=Kt.deltaDecorations(Ct.current,[Tt])},Yr=()=>{Ct.current=Kt.deltaDecorations(Ct.current,[])},ni=Kt.onMouseMove(Kn=>{var Tt,fi,pi;if(Yr(),Kn.target.detail&&((pi=(fi=(Tt=Kn.target)==null?void 0:Tt.element)==null?void 0:fi.className)!=null&&pi.includes("line-numbers"))){let Ai=Kn.target.position.lineNumber;if(Ft(Lt.getLineContent(Ai),Ai))return;St(Ai)}}),Mi=Kt.onMouseLeave(()=>{Yr()});return()=>{wn.dispose(),Yn.dispose(),ni.dispose(),Mi.dispose()}}},[Ce.current,Ae,tr,It,Zt,Mt]),(0,r.useEffect)(()=>{var At;(At=Ce.current)!=null&&At.instance&&Zt&&Ce.current.instance.setPosition({lineNumber:0,column:0})},[It]);function Fe(){let At=Ce.current.instance;if(At){const Kt=At.getSelection(),Lt=Ce.current.pastePos||{},Qt=new Ot.Range(Lt.startLineNumber||Kt.endLineNumber,Lt.startColumn||Kt.endColumn,Lt.endLineNumber||Kt.endLineNumber,Lt.endColumn||Kt.endColumn);setTimeout(()=>{At.executeEdits("",[{range:Qt,text:""}])},300)}}function kr(At){(window.navigator.platform.match("Mac")?At.metaKey:At.ctrlKey)&&At.keyCode==83&&(At.preventDefault(),De())}const pt=()=>{if(Ge&&Ce.current.instance){const At=Ce.current.instance.getContentHeight();Er(At{if(!yt.current)return;const{keyCode:Kt,ctrlKey:Lt,metaKey:Qt,target:br,type:Qr}=At;return(Qr==="paste"||(Kt===67||Kt===86)&&(Qt||Lt))&&br.nodeName==="TEXTAREA"&&(et(),At.preventDefault()),!1};function jt(At,Kt){var Lt=window.URL||window.webkitURL||window,Qt=new Blob([Kt]),br=document.createElementNS("http://www.w3.org/1999/xhtml","a");br.href=Lt.createObjectURL(Qt),br.download=At,en(br)}(0,r.useEffect)(()=>{pt()},[pt]),(0,r.useEffect)(()=>{Ht.current&&!Ae&&Promise.all([e.e(8909),e.e(4100)]).then(e.bind(e,71448)).then(At=>{try{Ot=At,Ce.current.instance=Ot.editor.create(Ht.current,{value:_t,language:je(Mt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},st);const Kt=Ce.current.instance;let br=[...N.BH._menuItems].find(wn=>wn[0]._debugName=="EditorContext")[1],Qr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Hr=(wn,Yn)=>{var St,Yr;let ni=wn._first;do Yn.includes((Yr=(St=ni.element)==null?void 0:St.command)==null?void 0:Yr.id)&&wn._remove(ni);while(ni=ni.next)};if(ot(Kt,Ot),setTimeout(()=>{pt(),Ce.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{jt(Le||"educoder.txt",Kt.getValue())}})},500),Ce.current.subscription=Kt.onDidChangeModelContent(wn=>{Se.current?clearTimeout(at.current):(pt(),Xe(Kt.getValue(),wn)),at.current=setTimeout(()=>{Se.current=!1},500)}),window.Monaco||b(Ot,je(Mt)),We&&(Hr(br,Qr),Ht.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",on),window.removeEventListener("paste",on),window.addEventListener("keydown",on),window.addEventListener("paste",on)),window.Monaco=Ot,Be&&Kt.onDidBlurEditorWidget(()=>{Be(Kt.getValue())}),ht&&Kt.onDidFocusEditorText(()=>{ht(Kt.getValue())}),We)try{Kt.onDidPaste(wn=>{const Yn=Kt.getSelection(),St=Ce.current.pastePos||{},Yr=new Ot.Range(St.startLineNumber||Yn.endLineNumber,St.startColumn||Yn.endColumn,St.endLineNumber||Yn.endLineNumber,St.endColumn||Yn.endColumn);Kt.executeEdits("",[{range:wn.range,text:""}])})}catch(wn){}let Bn=ze();return Gt&&typeof Gt=="string"&&new B(Gt,Kt,Ot),gt(!0),()=>{const wn=Ce.current.instance;wn.dispose();const Yn=wn.getModel();Yn&&Yn.dispose(),Ce.current.subscription&&Ce.current.subscription.dispose(),Bn.unobserve(Ht.current)}}catch(Kt){}})},[]),(0,r.useEffect)(()=>{if(Ce.current.instance&&Ae)return document.addEventListener("keydown",kr,!1),()=>{document.removeEventListener("keydown",kr)}},[De,Ae]),(0,r.useEffect)(()=>{let At=Ce.current.instance;if(At&&Ae){let Kt=je(Mt);Ot.editor.setModelLanguage(At.getModel(),Kt)}},[Mt,Ae]),(0,r.useEffect)(()=>{Ce.current.instance&&Ae&&Ot.editor.setTheme(qe)},[qe,Ae]),(0,r.useEffect)(()=>{let At=Ce.current.instance;ce.current=ct,At&&Ae&&(At.updateOptions(le({},ct)),setTimeout(()=>{At.getModel().updateOptions(le({},ct))},200))},[JSON.stringify(ct),Ae]),(0,r.useEffect)(()=>{let At=Ce.current.instance;At&&Ae&&At.layout()},[ar,Ue,Ae]);const[Jt,kt]=(0,r.useState)(ve(ar)),[Xt,Er]=(0,r.useState)(ve(Ue)),Or=Z(le({},Qe),{width:Jt,height:Xt,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Ht,style:Or},be&&r.createElement(ne.CopyToClipboard,{text:_t,onCopy:()=>K.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Pt({width:Wt="100%",height:Rt="100%",original:ar,modified:Ue,language:_t,options:Mt={}}){const Qe=(0,r.useRef)(),[ct,st]=(0,r.useState)(null);function qe(Ge){let We;return Qe.current&&(We=new i.Z(Xe=>{for(let ot of Xe)(ot.target.offsetHeight>0||ot.target.offsetWidth>0)&&Ge.layout()}),We.observe(Qe.current)),We}(0,r.useEffect)(()=>(Qe.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ge=>{Ot=Ge;const We=Ot.editor.createDiffEditor(Qe.current,Z(le({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Mt),{wordWrap:!0}));st(We);let Xe=qe(We);return()=>{We.dispose();const ot=We.getModel();ot&&ot.dispose(),Xe.unobserve(Qe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{ct&&ct.setModel({original:Ot.editor.createModel(ar,_t),modified:Ot.editor.createModel(Ue,_t)})},[ar,Ue,_t,ct]);const Be=ve(Wt),be=ve(Rt),De={width:Be,height:be};return r.createElement("div",{className:"my-diff-editor",ref:Qe,style:De})}},23184:function(d,_,e){"use strict";e.d(_,{k:function(){return b}});var r=e(64348),i=e(8591),l=e(65152),c=Object.defineProperty,f=Object.defineProperties,u=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,A)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,p=(k,R)=>{for(var A in R||(R={}))o.call(R,A)&&x(k,A,R[A]);if(h)for(var A of h(R))a.call(R,A)&&x(k,A,R[A]);return k},y=(k,R)=>f(k,u(R)),m=(k,R)=>{var A={};for(var I in k)o.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&h)for(var I of h(k))R.indexOf(I)<0&&a.call(k,I)&&(A[I]=k[I]);return A};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:A}){yield A({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:A,select:I}){const{userInfo:M}=yield I(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:I}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield I(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:I}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield I(ne=>ne.engineeringEvaluteList),{userInfo:H}=yield I(ne=>ne.user);let ae=K.active[b[1]];if(ae){let ne={id:ae,page:B||1,per_page:N||G.pageSize};M&&(ne=y(p({},ne),{page:G.pageNo}));const oe=yield R(r._y,ne),J=[K.active[b[0]],K.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:ne.page,total:oe.count,pageSize:ne.per_page||G.pageSize,dataSource:oe.ec_courses.map((q,V)=>y(p({},q),{key:ne.page>1?(ne.page-1)*ne.per_page+V+1:V+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:I}=yield A(M=>M.engineeringEvaluteList);I.active[b[1]]&&(yield R(r.F,I.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const I=k,{all:M}=I,B=m(I,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};_.Z=S},41576:function(d,_,e){"use strict";e.d(_,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,u=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),o={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:S,program_questions:k,completion_questions:R,subjective_questions:A,practical_questions:I,combination_questions:M}=x||{},N=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},m),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},A),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},I),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>u(u({},K),{number:o[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},65152:function(d,_,e){"use strict";e.d(_,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(81779);const l=(f,u="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:f})},c={setItem:(f,u)=>{var h;const o=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(u);localStorage.setItem(o,a)},getItem:f=>{var u;const h=f+"-engineering"+((u=(0,i.eY)())==null?void 0:u.school_id),o=localStorage.getItem(h);return o!==null&&o!=="[object Object]"?JSON.parse(o):[]},clear:f=>{var u;const h=f+"-engineering"+((u=(0,i.eY)())==null?void 0:u.school_id);localStorage.removeItem(h)}}},79134:function(d,_,e){"use strict";e.d(_,{$f:function(){return p},Cq:function(){return b},GY:function(){return u},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return I},Zm:function(){return o},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return A}});var r=e(57193),i=(N,K,G)=>new Promise((H,ae)=>{var ne=q=>{try{J(G.next(q))}catch(V){ae(V)}},oe=q=>{try{J(G.throw(q))}catch(V){ae(V)}},J=q=>q.done?H(q.value):Promise.resolve(q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function I(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},71832:function(d,_,e){"use strict";e.d(_,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(m,b,S)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):m[b]=S,h=(m,b)=>{for(var S in b||(b={}))c.call(b,S)&&u(m,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&u(m,S,b[S]);return m},o=(m,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(N){R(N)}},I=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,I);M((S=S.apply(m,b)).next())});function a(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},14084:function(d,_,e){"use strict";e.d(_,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&u(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&u(A,M,I[M]);return A},o=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function x(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function y(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function m(A){return o(this,null,function*(){const{id:I}=A;return delete A.id,(0,r.ZP)(`/api/files/${I}.json`,{method:"put",body:h({},A)})})}function b(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function S(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function k(A){return o(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function R(A){return o(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},10436:function(d,_,e){"use strict";e.d(_,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&u(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&u(A,M,I[M]);return A},o=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return o(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function x(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function y(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function m(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return o(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function S(A){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function k(A){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function R(A){return o(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},94373:function(d,_,e){"use strict";e.d(_,{$T:function(){return Tt},A:function(){return $t},Ab:function(){return xa},Al:function(){return je},BQ:function(){return ht},BR:function(){return He},Bn:function(){return Yt},Cq:function(){return Mi},D4:function(){return b},DJ:function(){return Mt},Dd:function(){return N},Ds:function(){return tr},EO:function(){return yt},Ed:function(){return Qe},F9:function(){return Gt},FU:function(){return Ht},Fg:function(){return K},GV:function(){return be},Gk:function(){return ie},Gm:function(){return We},Gz:function(){return G},Hf:function(){return a},Hl:function(){return H},Hn:function(){return ee},ID:function(){return Bn},IU:function(){return Ft},J2:function(){return qe},K$:function(){return Le},KP:function(){return ct},KT:function(){return Ue},L$:function(){return Ct},LH:function(){return oe},Lk:function(){return Zn},Lm:function(){return k},Ls:function(){return Wt},MA:function(){return Ni},Mc:function(){return ti},N7:function(){return Te},Nd:function(){return j},Nl:function(){return bt},Ns:function(){return wn},O3:function(){return _t},Pj:function(){return Ge},Q9:function(){return y},QX:function(){return et},QZ:function(){return ar},R2:function(){return Ee},Rk:function(){return Kn},S9:function(){return Se},SA:function(){return S},U8:function(){return St},UD:function(){return Qt},U_:function(){return le},Uy:function(){return Qr},V8:function(){return se},Vw:function(){return Pt},W0:function(){return kr},W7:function(){return ur},WK:function(){return la},Wr:function(){return xt},YR:function(){return gt},Z0:function(){return kt},ZL:function(){return on},ZT:function(){return Hi},ZX:function(){return zi},Z_:function(){return J},_0:function(){return q},_9:function(){return Xe},_B:function(){return Da},_X:function(){return p},aP:function(){return pt},aQ:function(){return ot},aZ:function(){return ce},al:function(){return at},bm:function(){return Lt},bz:function(){return It},c_:function(){return ni},ds:function(){return Kt},fN:function(){return Xi},fr:function(){return Ae},g4:function(){return Be},gq:function(){return ae},hf:function(){return ft},i:function(){return Xt},i6:function(){return pi},i7:function(){return Hr},iE:function(){return A},ih:function(){return oi},jA:function(){return m},kW:function(){return st},km:function(){return Yn},nP:function(){return M},nQ:function(){return Zt},nX:function(){return Or},oM:function(){return Je},oR:function(){return $i},o_:function(){return en},pf:function(){return At},pr:function(){return gi},pv:function(){return fi},qB:function(){return Ot},r2:function(){return V},rS:function(){return ne},s:function(){return ji},sK:function(){return x},sb:function(){return pe},sm:function(){return B},t1:function(){return De},tB:function(){return Ta},tI:function(){return or},tR:function(){return cr},td:function(){return Fe},uh:function(){return Ce},up:function(){return Yr},v2:function(){return I},vV:function(){return jt},w9:function(){return Z},wR:function(){return Ai},yS:function(){return ze},yV:function(){return ve},yd:function(){return Er},zC:function(){return ut},zg:function(){return Rt}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(me,dt,rt)=>dt in me?i(me,dt,{enumerable:!0,configurable:!0,writable:!0,value:rt}):me[dt]=rt,h=(me,dt)=>{for(var rt in dt||(dt={}))c.call(dt,rt)&&u(me,rt,dt[rt]);if(l)for(var rt of l(dt))f.call(dt,rt)&&u(me,rt,dt[rt]);return me},o=(me,dt,rt)=>new Promise((pr,mr)=>{var Ir=Dr=>{try{tn(rt.next(Dr))}catch(Cn){mr(Cn)}},Gr=Dr=>{try{tn(rt.throw(Dr))}catch(Cn){mr(Cn)}},tn=Dr=>Dr.done?pr(Dr.value):Promise.resolve(Dr.value).then(Ir,Gr);tn((rt=rt.apply(me,dt)).next())});const a=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/update_group.json`,{method:"put",body:me})}),x=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/students.json`,{method:"Get",params:me})}),p=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/add_groups.json`,{method:"post",body:me})}),y=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/list_groups_by_settings.json`,{method:"post",body:me})}),m=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/groups.json`,{method:"Get",params:me})}),b=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/update_leader_permission.json`,{method:"put",body:me})}),S=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/update_group_settings`,{method:"put",body:me})}),k=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/group_homeworks/${me==null?void 0:me.categoryId}/group_settings.json`,{method:"Get",params:me})}),R=me=>o(void 0,null,function*(){return Fetch(`/api/homework_commons/${me==null?void 0:me.id}/test_result_setting.json`,{method:"post",body:me})}),A=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/course_videos/configs.json`,{method:"put",body:me})}),I=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/course_videos/list_for_config.json`,{method:"Get",params:me})}),M=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:me})}),B=me=>o(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/batch_late_setting`,{method:"post",body:me})}),N=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:me})}),K=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:me})}),G=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:me})}),H=me=>o(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:me})});function ae(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},me.permissions)})})}function ne(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/assistant_permissions.json`,{method:"Get",params:h({},me)})})}function oe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/ai_status_query.json`,{method:"Get",params:me})})}function J(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},me)})})}function q(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/get_user_portrait_config.json`,{method:"Get",params:me})})}function V(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/update_user_portrait_config.json?id=${me.coursesId}`,{method:"put",body:h({},me)})})}function se(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},me)})})}function ee(me){return o(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},me)})})}function Q(me){return o(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},me)})})}function le(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/top_banner.json`,{method:"get",params:h({},me)})})}function Z(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id||me.coursesId}/left_banner.json`,{method:"get",params:h({},me)})})}function j(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/homework_commons.json`,{method:"get",params:h({},me)})})}function ie(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/homework_commons/list.json`,{method:"get",params:h({},me)})})}function ve(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/graduation_topics.json`,{method:"get",params:h({},me)})})}function Ee(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/graduation_tasks.json`,{method:"get",params:h({},me)})})}function Te(me){return o(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${me.id}/exercises.json`,{method:"get",params:h({},me)})})}function He(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/polls.json`,{method:"get",params:h({},me)})})}function je(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/homework_commons.json`,{method:"get",params:h({},me)})})}function Ot(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/course_groups.json`,{method:"get",params:h({},me)})})}function ft(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/all_course_groups.json`,{method:"get",params:h({},me)})})}function Pt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/attendances.json`,{method:"get",params:h({},me)})})}function Wt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${me.coursesId}/attendances.json`,{method:"get",params:h({},me)})})}function Rt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/attendances/${me.id}/edit.json`,{method:"get",params:h({},me)})})}function ar(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/informs.json`,{method:"get",params:h({},me)})})}function Ue(me){return o(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},me)})})}function _t(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/course_videos.json`,{method:"get",params:h({},me)})})}function Mt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/live_links.json`,{method:"get",params:h({},me)})})}function Qe(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},me)})})}function ct(me){return o(this,null,function*(){return(0,r.ZP)(`/api/boards/${me.categoryId}/messages.json`,{method:"get",params:h({},me)})})}function st(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/course_groups.json`,{method:"get",params:h({},me)})})}function qe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/students.json`,{method:"get",params:h({},me)})})}function Be(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/statistics.json`,{method:"get",params:h({},me)})})}function be(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/work_score.json`,{method:"get",params:h({},me)})})}function De(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/act_score.json`,{method:"get",params:h({},me)})})}function Ge(me){return o(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},me)})})}function We(me){return o(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},me)})})}function Xe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},me)})})}function ot(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},me)})})}function ht(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me==null?void 0:me.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},me)})})}function ur(me){return o(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},me)})})}function tr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},me)})})}function Le(me){return o(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:me})})}function Je(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:me})})}function Yt(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:me})})}function It(me){return o(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:me})})}function Zt(me){return o(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:me})})}function Gt(me){return o(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},me)})})}function cr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.identifier}/add_student_groups.json`,{method:"post",body:me})})}function Ht(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:me})})}function Ce(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/add_teacher.json`,{method:"post",body:me})})}function ce(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/add_students_by_search.json`,{method:"post",body:me})})}function pe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/set_public_or_private.json`,{method:"post",body:me})})}function Ct(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/set_invite_code_halt.json`,{method:"post",body:me})})}function Se(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/duplicate_course.json`,{method:"post",body:me})})}function at(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/update_end_date.json`,{method:"put",body:me})})}function $t(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}.json`,{method:"delete",body:me})})}function yt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/settings.json`,{method:"get",params:h({},me)})})}function Ae(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}.json`,{method:"put",body:me})})}function gt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ze(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},me)})})}function et(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},me)})})}function bt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},me)})})}function Ft(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},me)})})}function Fe(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},me)})})}function kr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},me)})})}function pt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${me.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},me)})})}function en(me){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${me.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},me)})})}function on(me){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},me)})})}function jt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},me)})})}function Jt(me){return o(this,null,function*(){return Fetch(`/api/homework_commons/${me.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},me)})})}function kt(me){return o(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${me.id}.json`,{method:"delete",params:{export:!0}})})}function Xt(me){return o(this,null,function*(){return(0,r.ZP)(`/api//boards/${me.id}.json`,{method:"delete",params:{export:!0}})})}function Er(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${me.id}/sticky_module.json`,{method:"get"})})}function Or(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${me.id}/hidden_module.json`,{method:"get"})})}function At(me){return o(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:me})})}function Kt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${me.id}.json`,{method:"get",params:me})})}function Lt(me){return o(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:me})})}function Qt(me){return o(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:me})})}function br(me){return o(this,null,function*(){return Fetch(`/api/polls/${me.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},me)})})}function Qr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},me)})})}function Hr(me){return(0,r.ZP)(`/api/polls/${me.categoryId}/start_answer.json`,{method:"get",params:h({},me)})}function Bn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${me.questionId}/poll_votes.json`,{method:"post",body:me})})}function wn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${me.categoryId}/commit_poll.json`,{method:"post",body:me})})}function Yn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.courseId}/tasks_list.json`,{method:"get",params:me})})}function St(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.courseId}/update_task_position.json`,{method:"post",body:me})})}function Yr(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:me})})}function ni(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/all_course_groups.json`,{method:"get",params:me})})}function Mi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/polls/all_course_groups.json`,{method:"get",params:me})})}function Kn(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/students.json`,{method:"get",params:me})})}function Tt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${me.categoryId}/rename_group.json`,{method:"POST",body:me})})}function fi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${me.categoryId}.json`,{method:"delete",body:me})})}function pi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/join_course_group.json`,{method:"POST",body:me})})}function Ai(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/transfer_to_course_group.json`,{method:"post",body:me})})}function Ni(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/delete_from_course.json`,{method:"post",body:me})})}function la(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/join_course_group.json`,{method:"post",body:me})})}function Xi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/exit_course.json`,{method:"post"})})}function zi(me){return o(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},me)})})}function oi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/mooc_users/${me.user_id}/edit.json`,{method:"get",params:me})})}function ji(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/mooc_users.json`,{method:"post",body:me})})}function Ta(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.coursesId}/mooc_users/${me.user_id}.json`,{method:"put",body:me})})}function xt(me){return o(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${me.id}/move_category.json`,{method:"post",body:me})})}function xa(me){return o(this,null,function*(){return(0,r.ZP)(`/api/boards/${me.id}/move_category.json`,{method:"post",body:me})})}function Hi(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.id}/courseware.json`,{method:"get",params:me})})}function gi(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me}/mark_wrong_topic.json`,{method:"get",params:dt})})}function Da(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/exercises/${me}/cancel_wrong_topic.json`,{method:"get",params:dt})})}function $i(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${me}/allow_end_group.json`,{method:"get",params:dt})})}function ti(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:dt})})}function Zn(me,dt){return o(this,null,function*(){return(0,r.ZP)(`/api/tasks/${me}/get_content_for_commit_id.json`,{method:"get",params:dt})})}function or(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/course_ai_info.json`,{method:"Get",params:h({},me)})})}function ut(me){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${me.course_id}/set_open_ai.json`,{method:"post",body:me})})}},33361:function(d,_,e){"use strict";e.d(_,{$M:function(){return Rt},$P:function(){return ur},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Be},JM:function(){return We},Ju:function(){return Wt},Mn:function(){return qe},Ni:function(){return ie},Pg:function(){return R},Pt:function(){return S},Qp:function(){return V},R9:function(){return ae},Ux:function(){return se},Vy:function(){return He},XJ:function(){return j},XR:function(){return ft},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return be},ml:function(){return le},o3:function(){return Ue},pA:function(){return Mt},pS:function(){return Ge},pU:function(){return Z},ps:function(){return G},q0:function(){return ct},qN:function(){return st},qS:function(){return b},qj:function(){return Ot},qt:function(){return ot},rV:function(){return A},rZ:function(){return Xe},rk:function(){return Ee},rm:function(){return q},sK:function(){return J},sL:function(){return Qe},su:function(){return De},tC:function(){return Te},tO:function(){return je},u9:function(){return Q},uZ:function(){return ve},vV:function(){return K},xx:function(){return tr},y8:function(){return Pt},yS:function(){return N},zF:function(){return y},zc:function(){return ne},zj:function(){return I},zz:function(){return ht}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(Le,Je,Yt)=>Je in Le?i(Le,Je,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Le[Je]=Yt,h=(Le,Je)=>{for(var Yt in Je||(Je={}))c.call(Je,Yt)&&u(Le,Yt,Je[Yt]);if(l)for(var Yt of l(Je))f.call(Je,Yt)&&u(Le,Yt,Je[Yt]);return Le},o=(Le,Je,Yt)=>new Promise((It,Zt)=>{var Gt=Ce=>{try{Ht(Yt.next(Ce))}catch(ce){Zt(ce)}},cr=Ce=>{try{Ht(Yt.throw(Ce))}catch(ce){Zt(ce)}},Ht=Ce=>Ce.done?It(Ce.value):Promise.resolve(Ce.value).then(Gt,cr);Ht((Yt=Yt.apply(Le,Je)).next())});const a=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/create_guide.json`,{method:"post",body:Le}),x=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/guides.json`,{method:"get",params:Le}),p=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.competition_team_id}/edit_info.json`,{method:"put",body:Le});function y(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_result.json`,{method:"post",body:Le})})}function m(Le){return o(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Le)})})}function b(Le){return o(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Le})})}function S(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post"})})}function k(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_staff.json`,{method:"get"})})}function R(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/common_header.json`,{method:"get"})})}function A(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/${Le.url}`,{method:"get",params:h({},Le)})})}function I(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_md_content.json`,{method:"post",body:Le})})}function M(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function B(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}/edit.json`,{method:"get",params:Le})})}function N(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}.json`,{method:"put",body:Le})})}function K(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}/leave.json`,{method:"post",body:Le})})}function G(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}.json`,{method:"delete"})})}function H(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post",body:Le})})}function ae(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/add_managers.json`,{method:"post",body:Le})})}function ne(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/join.json`,{method:"post",body:Le})})}function oe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/teachers.json`,{method:"get",params:Le})})}function J(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/students.json`,{method:"get",params:Le})})}function q(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/crud_team_members.json`,{method:"post",body:Le})})}function V(Le){return o(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Le})})}function se(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/chart_rules.json`,{method:"get"})})}function ee(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/charts.json`,{method:"get",params:Le})})}function Q(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/results.json`,{method:"get",params:Le})})}function le(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/md_tab_rules.json`,{method:"get",params:Le})})}function Z(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize.json`,{method:"get",params:Le})})}function j(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.id}.json`,{method:"get",params:Le})})}function ie(Le){return o(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Le})})}function ve(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/phone_bind.json`,{method:"post",body:Le})})}function Ee(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/email_bind.json`,{method:"post",body:Le})})}function Te(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/authentication_apply.json`,{method:"delete"})})}function je(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize_leader_account.json`,{method:"put",body:Le})})}function Ot(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/shixun_detail.json`,{method:"get"})})}function ft(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/course_detail.json`,{method:"get"})})}function Pt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Le.id}.json`,{method:"delete"})})}function Wt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/get_certificate_info.json`,{method:"get",params:Le})})}function Rt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/basic_setting.json`,{method:"post",body:Le})})}function ar(){return o(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ue(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/common_header.json`,{method:"get"})})}function _t(Le){return o(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Le})})}function Mt(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/search_managers.json`,{method:"get",params:Le})})}function Qe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_managers.json`,{method:"get"})})}function ct(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/add_managers.json`,{method:"post",body:Le})})}function st(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/delete_managers.json`,{method:"delete",body:Le})})}function qe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_picture.json`,{method:"get"})})}function Be(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/identifier_exist.json`,{method:"post",body:Le})})}function be(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_shixun_settings.json`,{method:"get"})})}function De(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_add.json`,{method:"post",body:Le})})}function Ge(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_delete.json`,{method:"delete",body:Le})})}function We(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_select.json`,{method:"post",body:Le})})}function Xe(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/info_finish.json`,{method:"get"})})}function ot(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/competition_review.json`,{method:"post",body:h({},Le)})})}function ht(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function ur(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/all_team_members.json`,{method:"get",params:Le})})}function tr(Le){return o(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Le})})}},64348:function(d,_,e){"use strict";e.d(_,{F:function(){return b},OE:function(){return I},ff:function(){return S},p1:function(){return k},_y:function(){return m},mK:function(){return K},gq:function(){return H},eM:function(){return N},BA:function(){return oe},bA:function(){return q},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return G},No:function(){return ae},ay:function(){return V}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(se,ee,Q)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):se[ee]=Q,a=(se,ee)=>{for(var Q in ee||(ee={}))u.call(ee,Q)&&o(se,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&o(se,Q,ee[Q]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var Q={};for(var le in se)u.call(se,le)&&ee.indexOf(le)<0&&(Q[le]=se[le]);if(se!=null&&f)for(var le of f(se))ee.indexOf(le)<0&&h.call(se,le)&&(Q[le]=se[le]);return Q},y=(se,ee,Q)=>new Promise((le,Z)=>{var j=Ee=>{try{ve(Q.next(Ee))}catch(Te){Z(Te)}},ie=Ee=>{try{ve(Q.throw(Ee))}catch(Te){Z(Te)}},ve=Ee=>Ee.done?le(Ee.value):Promise.resolve(Ee.value).then(j,ie);ve((Q=Q.apply(se,ee)).next())});const m=se=>y(void 0,null,function*(){var ee=se,{id:Q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:le})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),I=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),K=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:se,formula_one:ee,formula_two:Q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:le}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=se=>{var ee=se,{ec_year_id:Q,type:le,goal_value:Z}=ee,j=p(ee,["ec_year_id","type","goal_value"]);let ie=`?type=${le}`,ve={method:"PUT"};return le==="all"&&(ie+=`&goal_value=${Z}`),le==="each"&&(ve=x(a({},ve),{body:j})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ie}`,ve)};var ne=(se,ee,Q)=>new Promise((le,Z)=>{var j=Ee=>{try{ve(Q.next(Ee))}catch(Te){Z(Te)}},ie=Ee=>{try{ve(Q.throw(Ee))}catch(Te){Z(Te)}},ve=Ee=>Ee.done?le(Ee.value):Promise.resolve(Ee.value).then(j,ie);ve((Q=Q.apply(se,ee)).next())});const oe=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),J=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),q=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),V=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},75823:function(d,_,e){"use strict";e.d(_,{$Q:function(){return I},$l:function(){return Hr},BJ:function(){return st},CD:function(){return Je},Cd:function(){return ot},Cl:function(){return Fe},Di:function(){return ar},Fl:function(){return Mt},G$:function(){return le},GK:function(){return _t},Ip:function(){return be},J:function(){return Z},KE:function(){return Qe},L8:function(){return Ht},LP:function(){return De},MK:function(){return Ue},Mb:function(){return jt},N0:function(){return G},N3:function(){return je},OO:function(){return R},P8:function(){return Or},PJ:function(){return ie},PT:function(){return kt},Qc:function(){return ae},RK:function(){return Q},Ty:function(){return et},UH:function(){return at},UK:function(){return Ot},Uj:function(){return tr},Ul:function(){return Xe},VL:function(){return Zt},Vj:function(){return ce},W4:function(){return ur},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Be},Xn:function(){return en},Xo:function(){return oe},YY:function(){return Rt},Ym:function(){return N},Yu:function(){return At},ZD:function(){return Er},Zg:function(){return kr},_B:function(){return Le},_F:function(){return Jt},_U:function(){return q},_u:function(){return ve},aU:function(){return K},ab:function(){return Ft},cC:function(){return ze},cV:function(){return V},ck:function(){return Xt},dp:function(){return H},eA:function(){return br},fG:function(){return S},gA:function(){return se},gG:function(){return on},gJ:function(){return Kt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return gt},kp:function(){return Gt},lL:function(){return A},lf:function(){return He},n$:function(){return Te},n7:function(){return J},nF:function(){return Ce},o3:function(){return Lt},oS:function(){return Ge},oX:function(){return It},oy:function(){return bt},p7:function(){return B},pL:function(){return Yt},pu:function(){return qe},q6:function(){return cr},qf:function(){return Wt},qz:function(){return We},s:function(){return yt},sA:function(){return Ct},sS:function(){return Qt},tX:function(){return $t},uR:function(){return ft},ux:function(){return ct},wy:function(){return Pt},xA:function(){return Ae},yE:function(){return ne},yu:function(){return Se},zP:function(){return M},zR:function(){return Qr}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(St,Yr,ni)=>Yr in St?i(St,Yr,{enumerable:!0,configurable:!0,writable:!0,value:ni}):St[Yr]=ni,a=(St,Yr)=>{for(var ni in Yr||(Yr={}))u.call(Yr,ni)&&o(St,ni,Yr[ni]);if(f)for(var ni of f(Yr))h.call(Yr,ni)&&o(St,ni,Yr[ni]);return St},x=(St,Yr)=>l(St,c(Yr)),p=(St,Yr,ni)=>new Promise((Mi,Kn)=>{var Tt=Ai=>{try{pi(ni.next(Ai))}catch(Ni){Kn(Ni)}},fi=Ai=>{try{pi(ni.throw(Ai))}catch(Ni){Kn(Ni)}},pi=Ai=>Ai.done?Mi(Ai.value):Promise.resolve(Ai.value).then(Tt,fi);pi((ni=ni.apply(St,Yr)).next())});const y=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:St}),m=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:St}),b=St=>(0,r.ZP)(`/api/exercises/${St.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:St}),S=St=>(0,r.ZP)(`/api/exercises/${St.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:St}),k=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:St}),R=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score.json`,{method:"get",params:St}),A=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:St}),I=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/score_ranges.json`,{method:"get",params:St}),M=St=>(0,r.ZP)(`/api/exercises/${St.id}/sava_exam_summary.json`,{method:"post",body:St}),B=St=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:St}),N=St=>(0,r.ZP)(`/api/exercises/${St.id}/generate_exam_summary.json`,{method:"post",body:St}),K=St=>(0,r.ZP)(`/api/exercises/${St.id}/exam_summary_settings.json`,{method:"post",body:St}),G=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/review_exercise_user.json`,{method:"post",body:St})}),H=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/code_check.json`,{method:"get",params:St}),ae=St=>(0,r.ZP)(`/api/exercises/${St.id}/reset_pwd.json`,{method:"post",body:St}),ne=St=>(0,r.ZP)(`/api/exercises/${St.id}/encrypt_or_decrypt.json`,{method:"post",body:St}),oe=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/delayed_time_or_force.json`,{method:"post",body:St})}),J=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/exercise_time.json`,{method:"Get",params:St})}),q=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/exercise_question_result.json`,{method:"get",params:St}),V=St=>(0,r.ZP)(`/api/exercises/${St.id}/get_question_type_alias.json`,{method:"get",params:St});function se(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/teacher_update.json`,{method:"post",body:a({},St)})})}function ee(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/adjust_comment.json`,{method:"post",body:a({},St)})})}function Q(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/edit_question_type_alias.json`,{method:"POST",body:St})})}function le(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_lists.json`,{method:"get",params:a({},St)})})}function Z(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},St)})})}function j(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/video_push_url.json`,{method:"get",params:a({},St)})})}function ie(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},St)})})}function ve(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_result.json`,{method:"get",params:a({},St)})})}function Ee(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},St)})})}function Te(St){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},St)})})}function He(St){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},St)})})}function je(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},St)})})}function Ot(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/common_header.json`,{method:"get",params:a({},St)})})}function ft(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises.json`,{method:"post",body:a({},St)})})}function Pt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}.json`,{method:"put",body:a({},St)})})}function Wt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}.json`,{method:"get",params:a({},St)})})}function Rt(St){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},St)})})}function ar(St){return p(this,null,function*(){const{id:Yr}=St;return delete St.id,(0,r.ZP)(`/api/exercise_questions/${Yr}.json`,{method:"put",body:a({},St)})})}function Ue(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_questions.json`,{method:"post",body:a({},St)})})}function _t(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/up_down.json`,{method:"post",body:a({},St)})})}function Mt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}.json`,{method:"delete"})})}function Qe(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},St)})})}function ct(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/publish_groups.json`,{method:"get",params:a({},St)})})}function st(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},St)})})}function qe(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/consult_exercise.json`,{method:"post",body:a({},St)})})}function Be(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},St)})})}function be(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/adjust_score.json`,{method:"post",body:a({},St)})})}function De(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/batch_adjust_score.json`,{method:"post",body:a({},St)})})}function Ge(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/adjust_score.json`,{method:"post",body:a({},St)})})}function We(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/delayed_time.json`,{method:"post",body:a({},St)})})}function Xe(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_setting.json`,{method:"get",params:a({},St)})})}function ot(St){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${St.categoryId}/exercise_setting.json`,{method:"get",params:a({},St)})})}function ht(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/commit_setting.json`,{method:"post",body:a({},St)})})}function ur(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},St)})})}function tr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},St),{export:!0})})})}function Le(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},St),{login:null})})}function Je(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/start.json`,{method:"get",params:a({},St)})}function Yt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/start_unlock.json`,{method:"post",body:a({},St)})}function It(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.questionId}/exercise_answers.json`,{method:"post",body:St})})}function Zt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/commit_exercise.json`,{method:"post",body:St})})}function Gt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/simulate_commit_exercise.json`,{method:"post",body:St})})}function cr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/redo_exercise.json`,{method:"post",body:St})})}function Ht(St){return(0,r.ZP)(`/api/${St.url}`,{method:"get",params:a({},St)})}function Ce(St){return(0,r.ZP)(`/api/problems/${St.id}/start.json`,{method:"get",params:a({},St)})}function ce(St){return(0,r.ZP)(`/api/exercises/${St.id}/begin_commit.json`,{method:"get",params:a({},St)})}function pe(St){return(0,r.ZP)(`/api/exercises/${St.id}/simulate_begin_commit.json`,{method:"get",params:a({},St)})}function Ct(St){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},St)})}function Se(St){return console.log("params:",St),(0,r.ZP)(`/api/exercises/${St.categoryId}/edit.json`,{method:"get",params:a({},St)})}function at(St){return(0,r.ZP)(`/api/exercises/${St.id}/get_objective_scores.json`,{method:"get",params:a({},St)})}function $t(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/redo_modal.json`,{method:"get",params:a({},St)})}function yt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/student_redo_lists.json`,{method:"get",params:a({},St)})}function Ae(St){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:St})}function gt(St){return(0,r.ZP)(`/api/exercises/${St.id}/exercise_header.json`,{method:"get",params:a({},St)})}function ze(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/allow_close_camera.json`,{method:"post",body:a({},St)})}function et(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},St)})}function bt(St){return(0,r.ZP)(`/api/exercises/${St.id}/record_screen`,{method:"post",params:a({},St)})}function Ft(St){return(0,r.ZP)(`/api/exercises/${St.id}/unbind_ip.json`,{method:"post",body:a({},St)})}function Fe(St){return(0,r.ZP)(`/api/exercises/${St.id}/check_ip.json`,{method:"get",params:a({},St)})}function kr(St){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/check_user_exercise.json`,{method:"get",params:a({},St)})}function pt(St){return Fetch(`/api/exercises/${St.id}/make_up_students.json`,{method:"get",params:a({},St)})}function en(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},St)})})}function on(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.question_id}/adjust_score.json`,{method:"post",body:a({},St)})})}function jt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${St.categoryId}/simulate_exercise.json`,{method:"post",body:a({},St)})})}function Jt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},St)})})}function kt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_time.json`,{method:"get",params:a({},St)})})}function Xt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/commit_screen_at.json`,{method:"post",body:a({},St)})})}function Er(St,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/unlock_user`,{method:"post",body:Yr})})}function Or(St,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/save_screen_record.json`,{method:"post",body:Yr})})}function At(St,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/screen_record_list.json`,{method:"get",params:Yr})})}function Kt(St){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},St)})})}function Lt(St){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:St})})}function Qt(St,Yr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/mark.json`,{method:"post",body:Yr})})}function br(St){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${St}/exit_delete_pod.json`,{method:"post",body:St})})}function Qr(St){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:St})})}function Hr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/send_to_item_bank.json`,{method:"post",body:a({},St)})})}function Bn(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_details.json`,{method:"get",params:a({},St)})})}function wn(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_question.json`,{method:"get",params:a({},St)})})}function Yn(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},St)})})}},91697:function(d,_,e){"use strict";e.d(_,{B0:function(){return p},Si:function(){return R},Sr:function(){return I},YP:function(){return A},b4:function(){return k},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return K}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(G,H,ae)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:ae}):G[H]=ae,h=(G,H)=>{for(var ae in H||(H={}))c.call(H,ae)&&u(G,ae,H[ae]);if(l)for(var ae of l(H))f.call(H,ae)&&u(G,ae,H[ae]);return G},o=(G,H,ae)=>new Promise((ne,oe)=>{var J=se=>{try{V(ae.next(se))}catch(ee){oe(ee)}},q=se=>{try{V(ae.throw(se))}catch(ee){oe(ee)}},V=se=>se.done?ne(se.value):Promise.resolve(se.value).then(J,q);V((ae=ae.apply(G,H)).next())});function a(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return o(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function S(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function A(G){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function I(G){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return o(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return o(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return o(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return o(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},19415:function(d,_,e){"use strict";e.d(_,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&u(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&u(y,b,m[b]);return y},o=(y,m,b)=>new Promise((S,k)=>{var R=M=>{try{I(b.next(M))}catch(B){k(B)}},A=M=>{try{I(b.throw(M))}catch(B){k(B)}},I=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);I((b=b.apply(y,m)).next())});function a(y){return o(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return o(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return o(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},28831:function(d,_,e){"use strict";e.d(_,{B6:function(){return p},Gr:function(){return N},Mf:function(){return I},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(ne,oe,J)=>oe in ne?i(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,h=(ne,oe)=>{for(var J in oe||(oe={}))c.call(oe,J)&&u(ne,J,oe[J]);if(l)for(var J of l(oe))f.call(oe,J)&&u(ne,J,oe[J]);return ne},o=(ne,oe,J)=>new Promise((q,V)=>{var se=le=>{try{Q(J.next(le))}catch(Z){V(Z)}},ee=le=>{try{Q(J.throw(le))}catch(Z){V(Z)}},Q=le=>le.done?q(le.value):Promise.resolve(le.value).then(se,ee);Q((J=J.apply(ne,oe)).next())});function a(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function x(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function y(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function m(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function S(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function k(ne){return o(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function R(ne){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function A(ne){return o(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function I(ne){return o(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function M(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function B(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function N(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function K(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function G(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function H(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ae(ne){return o(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},15039:function(d,_,e){"use strict";e.d(_,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return le},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return se},J3:function(){return u},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return q},Ps:function(){return c},Rk:function(){return oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return H},Zd:function(){return Q},bS:function(){return I},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return o},jW:function(){return G},km:function(){return ae},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return V},zT:function(){return j}});var r=e(57193),i=(ie,ve,Ee)=>new Promise((Te,He)=>{var je=Pt=>{try{ft(Ee.next(Pt))}catch(Wt){He(Wt)}},Ot=Pt=>{try{ft(Ee.throw(Pt))}catch(Wt){He(Wt)}},ft=Pt=>Pt.done?Te(Pt.value):Promise.resolve(Pt.value).then(je,Ot);ft((Ee=Ee.apply(ie,ve)).next())});function l(ie){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})}function c(ie){return(0,r.ZP)(`/api/schools/${ie.id}/departments/for_option.json`,{method:"get",params:ie})}function f(ie){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ie})}function u(ie){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ie})}function h(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/authorized_redelivery.json`,{method:"POST",body:ie})})}function o(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/submit.json`,{method:"POST",body:ie})})}function a(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_status.json`,{method:"get",params:ie})})}function x(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ie})})}function p(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.id}.json`,{method:"get",params:ie})})}function y(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/set_final_score.json`,{method:"POST",body:ie})})}function m(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/final_score.json`,{method:"get",params:ie})})}function b(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/set_novice_guide.json`,{method:"POST",body:ie})})}function S(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices/${ie.doid}/set_do.json`,{method:"POST",body:ie})})}function k(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"POST",body:ie})})}function R(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_students/${ie.id}/update_major.json`,{method:"PUT",body:ie})})}function A(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"POST",body:ie})})}function I(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers/search.json`,{method:"get",params:ie})})}function M(ie){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})})}function B(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students/search.json`,{method:"get",params:ie})})}function N(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"get",params:ie})})}function K(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"get",params:ie})})}function G(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks.json`,{method:"POST",body:ie})})}function H(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks/${ie.id}.json`,{method:"PUT",body:ie})})}function ae(ie){return i(this,null,function*(){var ve;return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks/${(ve=ie.ids)==null?void 0:ve[0]}`,{method:"DELETE",body:{ids:ie.ids}})})}function ne(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks.json`,{method:"get",params:ie})})}function oe(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices.json`,{method:"get",params:ie})})}function J(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}.json`,{method:"get"})})}function q(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie==null?void 0:ie.id}/common_header.json`,{method:"get"})})}function V(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/preview.json`,{method:"get"})})}function se(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/not_pass.json`,{method:"post",body:ve})})}function ee(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/pass.json`,{method:"post",body:ve})})}function Q(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/not_pass.json`,{method:"post",body:ve})})}function le(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/pass.json`,{method:"post",body:ve})})}function Z(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/batch_delete`,{method:"delete",body:ve})})}function j(ie,ve){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/batch_delete`,{method:"delete",body:ve})})}},59898:function(d,_,e){"use strict";e.d(_,{LA:function(){return x},NX:function(){return m},Rm:function(){return f},S_:function(){return p},Tt:function(){return h},Yu:function(){return S},Zz:function(){return y},cR:function(){return o},eX:function(){return c},h$:function(){return u},su:function(){return b},vm:function(){return a}});var r=e(57193),i=(k,R,A)=>new Promise((I,M)=>{var B=G=>{try{K(A.next(G))}catch(H){M(H)}},N=G=>{try{K(A.throw(G))}catch(H){M(H)}},K=G=>G.done?I(G.value):Promise.resolve(G.value).then(B,N);K((A=A.apply(k,R)).next())});const l=k=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:k})}),c=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:k})}),f=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:k})}),u=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:k})});function h(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function o(k){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:k})})}function a(k){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:k})})}function x(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function p(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:k})})}const y=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:k})}),m=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:k})}),b=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:k})}),S=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:k})})},62889:function(d,_,e){"use strict";e.d(_,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,h=(R,A)=>{for(var I in A||(A={}))c.call(A,I)&&u(R,I,A[I]);if(l)for(var I of l(A))f.call(A,I)&&u(R,I,A[I]);return R},o=(R,A,I)=>new Promise((M,B)=>{var N=H=>{try{G(I.next(H))}catch(ae){B(ae)}},K=H=>{try{G(I.throw(H))}catch(ae){B(ae)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,K);G((I=I.apply(R,A)).next())});function a(R){return o(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return o(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function S(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},45062:function(d,_,e){"use strict";e.d(_,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return I},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&u(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&u(N,G,K[G]);return N},o=(N,K,G)=>new Promise((H,ae)=>{var ne=q=>{try{J(G.next(q))}catch(V){ae(V)}},oe=q=>{try{J(G.throw(q))}catch(V){ae(V)}},J=q=>q.done?H(q.value):Promise.resolve(q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function a(N){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function I(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return o(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},68875:function(d,_,e){"use strict";e.d(_,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Ee},Gd:function(){return m},Hb:function(){return Te},Hm:function(){return H},ID:function(){return o},JP:function(){return ve},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return G},a2:function(){return u},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ne},kF:function(){return He},kp:function(){return I},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return se},wX:function(){return q},yE:function(){return f}});var r=e(57193),i=(je,Ot,ft)=>new Promise((Pt,Wt)=>{var Rt=_t=>{try{Ue(ft.next(_t))}catch(Mt){Wt(Mt)}},ar=_t=>{try{Ue(ft.throw(_t))}catch(Mt){Wt(Mt)}},Ue=_t=>_t.done?Pt(_t.value):Promise.resolve(_t.value).then(Rt,ar);Ue((ft=ft.apply(je,Ot)).next())});const l=je=>(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/code_check.json`,{method:"get",params:je}),c=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/reset_pwd.json`,{method:"post",body:je}),f=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/encrypt_or_decrypt.json`,{method:"post",body:je}),u=je=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:je}),h=je=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:je}),o=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/copy.json`,{method:"post",body:je}),a=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/get_question_type_alias.json`,{method:"get",params:je});function x(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_question_type_alias.json`,{method:"POST",body:je})})}function p(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:je})})}function y(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:je})})}function m(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:je})})}function b(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_public.json`,{method:"post"})})}function S(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_private.json`,{method:"post"})})}function k(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const A=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function I(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/send_to_course.json`,{method:"post",body:je})})}function M(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"get",params:je})})}function B(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_score`,{method:"post",body:je})})}function N(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_shixun_score.json`,{method:"post",body:je})})}function K(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}.json`,{method:"delete"})})}function G(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:je})})}function H(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:je})})}function ae(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/adjust_position.json`,{method:"post",body:je})})}function ne(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"put",body:je})})}function oe(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function J(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function q(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/set_public.json`,{method:"post",body:je})})}function V(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function Q(je,Ot){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Ot})})}function le(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:je})})}function Z(je,Ot){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Ot})})}function j(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.exam_id}/examination_banks_item_banks/${je.question_id}.json`,{method:"delete"})})}function ie(je,Ot){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Ot})})}function ve(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function Te(je,Ot,ft){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ot),Pt.append("sub_discipline_id",ft),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function He(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},53283:function(d,_,e){"use strict";e.d(_,{$D:function(){return q},A2:function(){return De},A7:function(){return yt},AP:function(){return Mi},AQ:function(){return K},Ax:function(){return Je},Az:function(){return ni},Bn:function(){return ze},Bz:function(){return Kn},CB:function(){return Or},CI:function(){return ot},Cc:function(){return Yn},D$:function(){return Er},DQ:function(){return Ct},DU:function(){return Qe},EG:function(){return on},EP:function(){return J},Ep:function(){return be},Er:function(){return ve},Eu:function(){return Jt},Ex:function(){return Zt},FD:function(){return Se},F_:function(){return Mt},Fg:function(){return x},GY:function(){return Ce},Go:function(){return Z},Gz:function(){return p},Hl:function(){return y},Ho:function(){return Ft},JS:function(){return Pt},Jd:function(){return Qt},Ju:function(){return Qr},KM:function(){return ee},M1:function(){return Bn},M2:function(){return We},MO:function(){return Ee},Mk:function(){return Yr},Mt:function(){return Xe},Mu:function(){return Yt},NV:function(){return gt},O9:function(){return pt},PQ:function(){return At},Q:function(){return Te},S$:function(){return kt},Sp:function(){return N},VO:function(){return at},WD:function(){return Ht},WO:function(){return ie},WW:function(){return Gt},YP:function(){return Lt},_C:function(){return Ae},_V:function(){return Le},b:function(){return Xt},bw:function(){return oe},bz:function(){return pe},c2:function(){return br},c3:function(){return ft},dX:function(){return bt},eJ:function(){return le},ef:function(){return _t},fh:function(){return k},fj:function(){return j},hS:function(){return m},id:function(){return St},jT:function(){return $t},j_:function(){return et},ke:function(){return cr},lk:function(){return B},mB:function(){return Hr},mE:function(){return Fe},mQ:function(){return M},ms:function(){return ur},mx:function(){return je},nq:function(){return a},ol:function(){return ce},p:function(){return H},p4:function(){return He},pU:function(){return I},pf:function(){return jt},rS:function(){return Wt},rs:function(){return Q},s0:function(){return Ge},se:function(){return Kt},sm:function(){return Ot},tS:function(){return b},tu:function(){return A},ue:function(){return G},vf:function(){return qe},w4:function(){return ae},wA:function(){return wn},wv:function(){return kr},xG:function(){return Be},xn:function(){return st},yN:function(){return ne},yy:function(){return tr},zc:function(){return en}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(Tt,fi,pi)=>fi in Tt?i(Tt,fi,{enumerable:!0,configurable:!0,writable:!0,value:pi}):Tt[fi]=pi,h=(Tt,fi)=>{for(var pi in fi||(fi={}))c.call(fi,pi)&&u(Tt,pi,fi[pi]);if(l)for(var pi of l(fi))f.call(fi,pi)&&u(Tt,pi,fi[pi]);return Tt},o=(Tt,fi,pi)=>new Promise((Ai,Ni)=>{var la=oi=>{try{zi(pi.next(oi))}catch(ji){Ni(ji)}},Xi=oi=>{try{zi(pi.throw(oi))}catch(ji){Ni(ji)}},zi=oi=>oi.done?Ai(oi.value):Promise.resolve(oi.value).then(la,Xi);zi((pi=pi.apply(Tt,fi)).next())});const a=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Tt})}),x=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Tt})}),p=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Tt})}),y=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Tt})}),m=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Tt})});function b(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},Tt)})})}function S(Tt){return o(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},Tt)})})}function k(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},Tt)})})}function R(){return o(this,null,function*(){return Fetch("/api/paths/platform_systems.json",{method:"get"})})}function A(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}.json`,{method:"PUT",body:Tt})})}function I(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:Tt})})}function M(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/edit.json`,{method:"get"})})}function B(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}.json`,{method:"get",params:h({identifier:Tt.id},Tt)})})}function N(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Tt.id}.json`,{method:"get",params:h({identifier:Tt.id},Tt)})})}function K(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/right_banner.json`,{method:"get",params:Tt})})}function G(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/spoc_courses.json`,{method:"get",params:Tt})})}const H=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:Tt})}),ae=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${Tt.id}/children.json`,{method:"Get",params:Tt})});function ne(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Tt})})}function oe(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/update_team_title.json`,{method:"post",body:Tt})})}function J(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/delete_member.json`,{method:"Delete",body:Tt})})}function q(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/spoc_courses/${Tt==null?void 0:Tt.courseid}.json`,{method:"Delete"})})}function V(Tt){return o(this,null,function*(){return Fetch(`/api/paths/${Tt.id}/up_member_position.json`,{method:"post",body:Tt})})}function se(Tt){return o(this,null,function*(){return Fetch(`/api/paths/${Tt.id}/down_member_position.json`,{method:"post",body:Tt})})}function ee(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:Tt})})}function Q(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:Tt})})}function le(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}.json`,{method:"Delete",body:Tt})})}function Z(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/publish.json`,{method:"post",body:Tt})})}function j(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/cancel_publish.json`,{method:"post",body:Tt})})}function ie(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/apply_public.json`,{method:"post",body:Tt})})}function ve(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/cancel_public.json`,{method:"post",body:Tt})})}function Ee(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/choose_course.json`,{method:"get",params:Tt})})}function Te(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/send_to_course.json`,{method:"post",body:Tt})})}function He(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Tt.id}/send_to_course.json`,{method:"post",body:Tt})})}function je(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/add_subject_members.json`,{method:"post",body:Tt})})}function Ot(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/spoc_courses.json`,{method:"post",body:Tt})})}function ft(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/appointment.json`,{method:"post",body:Tt})})}function Pt(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Tt.id}/join_excellent_course.json`,{method:"post",body:Tt})})}function Wt(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Tt})})}function Rt(Tt){return o(this,null,function*(){return Fetch(`/api/paths/${Tt.id}/statistics_info.json`,{method:"get",params:Tt})})}function ar(Tt){return o(this,null,function*(){return Fetch(`/api/paths/${Tt.id}/shixun_analyze.json`,{method:"get",params:Tt})})}function Ue(Tt){return o(this,null,function*(){return Fetch(`/api/paths/${Tt.id}/learning_analyze.json`,{method:"get",params:Tt})})}function _t(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/learning_statistics.json`,{method:"get",params:Tt})})}function Mt(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/shixun_statistics.json`,{method:"get",params:Tt})})}function Qe(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/study_analyze/${Tt.type}.json`,{method:"get",params:Tt})})}function ct(Tt){return o(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Tt})})}function st(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}.json`,{method:"put",body:Tt})})}function qe(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}/add_shixun_to_stage.json`,{method:"post",body:Tt})})}const Be=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${Tt==null?void 0:Tt.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Tt})});function be(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}/select_shixun_to_stage.json`,{method:"post",body:Tt})})}function De(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}/add_video_to_stage.json`,{method:"post",body:Tt})})}function Ge(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}/add_attachment_to_stage.json`,{method:"post",body:Tt})})}function We(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Tt.id}.json`,{method:"put",body:Tt})})}function Xe(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}/add_blank_to_stage.json`,{method:"post",body:Tt})})}function ot(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:Tt})})}function ht(Tt){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Tt})})}function ur(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}/up_position.json`,{method:"get"})})}function tr(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}/down_position.json`,{method:"get"})})}function Le(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.id}.json`,{method:"delete"})})}function Je(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.pathId}/discusses.json`,{method:"get",params:h({},Tt)})})}function Yt(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Tt.coursesId}/excellent_discusses.json`,{method:"get",params:h({},Tt)})})}function It(Tt){return o(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},Tt)})})}function Zt(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.stage_id}/items/move_position`,{method:"post",body:h({},Tt)})})}function Gt(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt.stage_id}/items/${Tt.id}`,{method:"delete"})})}function cr(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${Tt.id}/excellent_discuss`,{method:"post",body:h({},Tt)})})}function Ht(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/paths/${Tt.id}/post_discuss`,{method:"post",body:h({},Tt)})})}function Ce(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:Tt})})}function ce(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:Tt})})}function pe(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Tt})})}function Ct(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt==null?void 0:Tt.id}/add_homework_to_stage.json`,{method:"post",body:Tt})})}function Se(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Tt==null?void 0:Tt.id}/edit.json`,{method:"get",params:Tt})})}function at(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Tt==null?void 0:Tt.id}.json`,{method:"put",body:Tt})})}function $t(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Tt==null?void 0:Tt.user_id}/subjects/subject_homework.json`,{method:"get",params:Tt})})}function yt(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Tt==null?void 0:Tt.user_id}/courses/course_homework.json`,{method:"get",params:Tt})})}function Ae(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/stages/${Tt==null?void 0:Tt.id}/batch_add_homework_to_stage.json`,{method:"post",body:Tt})})}function gt(Tt){return o(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Tt})})}function ze(Tt){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Tt==null?void 0:Tt.user_login}/subjects/cancel.json`,{method:"get",params:Tt})})}const et=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:Tt})}),bt=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:Tt})}),Ft=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:Tt})}),Fe=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:Tt})}),kr=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_goals.json",{method:"POST",body:Tt})}),pt=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:Tt})}),en=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:Tt})}),on=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}.json`,{method:"PUT",body:Tt})}),jt=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}.json`,{method:"delete",body:Tt})}),Jt=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_goals/home.json",{method:"get",params:Tt})}),kt=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/statistic_lists.json",{method:"get",params:Tt})}),Xt=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/route_statistics.json",{method:"get",params:Tt})}),Er=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/update_statistic.json",{method:"get",params:Tt})}),Or=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_tags.json",{method:"POST",body:Tt})}),At=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_tags/${Tt==null?void 0:Tt.id}.json`,{method:"delete",body:Tt})}),Kt=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}/edit`,{method:"get",params:Tt})}),Lt=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_goals.json",{method:"get",params:Tt})}),Qt=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/ability_tags.json",{method:"get",params:Tt})}),br=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:Tt})}),Qr=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}/detail.json`,{method:"get",params:Tt})}),Hr=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/knowledge_detail.json",{method:"get",params:Tt})}),Bn=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/student_detail.json",{method:"get",params:Tt})}),wn=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/knowledge_graph_statistics.json",{method:"get",params:Tt})}),Yn=Tt=>o(void 0,null,function*(){return(0,r.ZP)("/api/subject_knowledge/knowledge_statistic_lists.json",{method:"get",params:Tt})}),St=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}/statistics.json`,{method:"get",params:Tt})}),Yr=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}/statistic_lists.json`,{method:"get",params:Tt})}),ni=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}/statistic_detail.json`,{method:"get",params:Tt})}),Mi=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/ability_goals/${Tt==null?void 0:Tt.id}/student_detail.json`,{method:"get",params:Tt})}),Kn=Tt=>o(void 0,null,function*(){return(0,r.ZP)(`/api/v2/knowledge_graphs/${Tt==null?void 0:Tt.graphable_type}/${Tt==null?void 0:Tt.graphable_id}`,{method:"get",params:Tt})})},80546:function(d,_,e){"use strict";e.d(_,{Fd:function(){return se},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return Q},MK:function(){return G},Q9:function(){return I},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return oe},iV:function(){return le},jy:function(){return H},kp:function(){return ne},lf:function(){return A},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return V},wh:function(){return ae},wo:function(){return ee},x$:function(){return q}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(j,ie,ve)=>ie in j?i(j,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):j[ie]=ve,h=(j,ie)=>{for(var ve in ie||(ie={}))c.call(ie,ve)&&u(j,ve,ie[ve]);if(l)for(var ve of l(ie))f.call(ie,ve)&&u(j,ve,ie[ve]);return j},o=(j,ie,ve)=>new Promise((Ee,Te)=>{var He=ft=>{try{Ot(ve.next(ft))}catch(Pt){Te(Pt)}},je=ft=>{try{Ot(ve.throw(ft))}catch(Pt){Te(Pt)}},Ot=ft=>ft.done?Ee(ft.value):Promise.resolve(ft.value).then(He,je);Ot((ve=ve.apply(j,ie)).next())});const a=j=>o(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j==null?void 0:j.id}/commit_word_cloud.json`,{method:"Get",params:j})});function x(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_lists.json`,{method:"get",params:h({},j)})})}function p(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/common_header.json`,{method:"get"})})}function y(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_setting.json`,{method:"get"})})}function m(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_setting.json`,{method:"post",body:h({},j)})})}function b(j){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},j)})})}function S(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/publish_groups.json`,{method:"get",params:h({},j)})})}function k(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_result.json`,{method:"get",params:h({},j)})})}function R(j){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},j)})})}function A(j){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},j)})})}function I(j){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},j)})})}function M(j){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls.json`,{method:"POST",body:h({},j)})})}function B(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/edit.json`,{method:"get"})})}function N(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function K(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function G(j){return o(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}/poll_questions.json`,{method:"post",body:h({},j)})})}function H(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function ae(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ne(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"get"})})}function oe(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function J(j){return o(this,null,function*(){return Fetch(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function q(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function V(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function se(j){return o(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},j)})})}function ee(j){return o(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function Q(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.id}.json`,{method:"put",body:h({},j)})})}function le(j){return o(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},j)})})}function Z(j){return o(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.exerciseId}/up_down.json`,{method:"post",body:h({},j)})})}},55301:function(d,_,e){"use strict";e.d(_,{$c:function(){return ot},A1:function(){return We},Bd:function(){return I},Bo:function(){return J},Cc:function(){return se},Cn:function(){return le},DF:function(){return R},Dm:function(){return Ue},FG:function(){return oe},GW:function(){return _t},HF:function(){return G},Hm:function(){return j},IJ:function(){return Ge},L5:function(){return ar},LS:function(){return Qe},MZ:function(){return be},Mr:function(){return ne},NZ:function(){return Ot},Of:function(){return S},Pl:function(){return k},Qj:function(){return m},Qp:function(){return st},RT:function(){return Le},Rp:function(){return ct},U6:function(){return H},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return ht},d1:function(){return y},dt:function(){return ur},et:function(){return ve},ex:function(){return b},fY:function(){return Ee},fn:function(){return A},hI:function(){return ft},hg:function(){return Be},iT:function(){return q},lS:function(){return je},nD:function(){return Mt},qN:function(){return ie},rV:function(){return N},s:function(){return He},sD:function(){return De},sS:function(){return Rt},ts:function(){return V},vi:function(){return Xe},wX:function(){return qe},x5:function(){return K},zh:function(){return Te}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(Je,Yt,It)=>Yt in Je?i(Je,Yt,{enumerable:!0,configurable:!0,writable:!0,value:It}):Je[Yt]=It,a=(Je,Yt)=>{for(var It in Yt||(Yt={}))u.call(Yt,It)&&o(Je,It,Yt[It]);if(f)for(var It of f(Yt))h.call(Yt,It)&&o(Je,It,Yt[It]);return Je},x=(Je,Yt)=>l(Je,c(Yt)),p=(Je,Yt,It)=>new Promise((Zt,Gt)=>{var cr=ce=>{try{Ce(It.next(ce))}catch(pe){Gt(pe)}},Ht=ce=>{try{Ce(It.throw(ce))}catch(pe){Gt(pe)}},Ce=ce=>ce.done?Zt(ce.value):Promise.resolve(ce.value).then(cr,Ht);Ce((It=It.apply(Je,Yt)).next())});function y(Je){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Je),{clazz:"ItemBanksGroup"})})})}function m(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function S(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function k(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function R(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function A(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function I(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function M(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:a({},Je)})})}function B(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function N(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function K(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function G(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function H(Je){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function ne(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function oe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function J(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function q(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function V(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function se(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ee(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function Q(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function le(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function Z(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function j(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function ie(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function ve(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function Ee(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function Te(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function He(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function je(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Ot(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function ft(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function Pt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function Wt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function Rt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function ar(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Ue(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function _t(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function Mt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function Qe(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function ct(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function st(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function qe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function Be(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function be(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function De(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Ge(Je){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function We(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function Xe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function ot(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ht(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function ur(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function tr(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function Le(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},43126:function(d,_,e){"use strict";e.d(_,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(57193),i=(u,h,o)=>new Promise((a,x)=>{var p=b=>{try{m(o.next(b))}catch(S){x(S)}},y=b=>{try{m(o.throw(b))}catch(S){x(S)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((o=o.apply(u,h)).next())});function l(u){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:u})})}function c(u){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function f(u){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},79777:function(d,_,e){"use strict";e.d(_,{Am:function(){return m},Ar:function(){return Ue},BD:function(){return Xe},Be:function(){return qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Rt},H1:function(){return ar},Hj:function(){return ht},JA:function(){return tr},JG:function(){return se},KE:function(){return Z},Lz:function(){return Ge},Mf:function(){return Wt},NA:function(){return ft},PC:function(){return je},PP:function(){return Ot},PW:function(){return Qe},Q3:function(){return Q},QC:function(){return Le},Qt:function(){return We},Qz:function(){return I},R$:function(){return Ce},RP:function(){return oe},Ti:function(){return yt},Uc:function(){return Zt},Ul:function(){return q},VB:function(){return at},Vs:function(){return Gt},Wr:function(){return R},Xn:function(){return J},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return Mt},cN:function(){return B},co:function(){return Be},cz:function(){return Te},fK:function(){return G},gG:function(){return He},gZ:function(){return It},h$:function(){return N},ku:function(){return De},lf:function(){return ie},m7:function(){return V},mQ:function(){return M},mz:function(){return st},n$:function(){return j},oK:function(){return y},oN:function(){return $t},pH:function(){return ot},pb:function(){return Se},qP:function(){return Je},ql:function(){return Yt},rN:function(){return be},sw:function(){return ve},t1:function(){return Ee},to:function(){return ne},ub:function(){return ur},ux:function(){return le},wS:function(){return Ct},wT:function(){return A},yT:function(){return _t},yy:function(){return cr},z2:function(){return ct}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(Ae,gt,ze)=>gt in Ae?i(Ae,gt,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ae[gt]=ze,a=(Ae,gt)=>{for(var ze in gt||(gt={}))u.call(gt,ze)&&o(Ae,ze,gt[ze]);if(f)for(var ze of f(gt))h.call(gt,ze)&&o(Ae,ze,gt[ze]);return Ae},x=(Ae,gt)=>l(Ae,c(gt)),p=(Ae,gt,ze)=>new Promise((et,bt)=>{var Ft=pt=>{try{kr(ze.next(pt))}catch(en){bt(en)}},Fe=pt=>{try{kr(ze.throw(pt))}catch(en){bt(en)}},kr=pt=>pt.done?et(pt.value):Promise.resolve(pt.value).then(Ft,Fe);kr((ze=ze.apply(Ae,gt)).next())});const y=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.id}/update_journals.json`,{method:"post",body:Ae})}),m=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.homeworkId}/change_score.json`,{method:"post",body:Ae})}),b=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.homeworkId}/history_comment`,{method:"Get",params:Ae})}),S=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.homeworkId}/feedback_know`,{method:"Get",params:Ae})}),k=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.userId}/student_work_feedbacks.json`,{method:"POST",body:Ae})}),R=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.userId}/feedback_list.json`,{method:"Get",params:Ae})}),A=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae==null?void 0:Ae.userId}/histories.json`,{method:"Get",params:Ae})}),I=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.homeworkId}/feedback_list`,{method:"Get",params:Ae})}),M=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ae})}),B=Ae=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae==null?void 0:Ae.homeworkId}/appeal_list`,{method:"Get",params:Ae})});function N(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/works_list.json`,{method:"post",body:a({},Ae)})})}function K(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ae.categoryId}/student_works.json`,{method:"get",params:a({},Ae)})})}function G(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ae.categoryId}/header_info.json`,{method:"get",params:a({},Ae)})})}function H(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae}/query_game_url.json`,{method:"get"})})}function ae(Ae){return p(this,null,function*(){return Fetch(`/api/student_works/${Ae}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}.json`,{method:"get"})})}function oe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/code_review_results.json`,{method:"get",params:a({},Ae)})})}function J(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ae)})})}function q(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/settings.json`,{method:"get",params:a({},Ae)})})}function V(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/update_settings.json`,{method:"post",body:a({},Ae)})})}function se(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/group_list.json`,{method:"get",params:a({},Ae)})})}function ee(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ae)})})}function Q(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.coursesId}/reference_answer.json`,{method:"get",params:a({},Ae)})})}function le(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/publish_groups.json`,{method:"get",params:a({},Ae)})})}function Z(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/end_groups.json`,{method:"get",params:a({},Ae)})})}function j(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ae)})})}function ie(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ae)})})}function ve(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/shixun_work_report.json`,{method:"get",params:Ae})})}function Ee(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ae})})}function Te(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ae),{id:Ae.categoryId})})})}function He(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ae)})})}function je(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/show_comment.json`,{method:"get",params:a({},Ae)})})}function Ot(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ae)})})}function ft(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ae)})})}function Pt(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ae)})})}function Wt(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ae)})})}function Rt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/update_explanation.json`,{method:"post",body:a({},Ae)})})}function ar(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons.json`,{method:"post",body:a({},Ae)})})}function Ue(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}.json`,{method:"put",body:a({},Ae)})})}function _t(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ae.id}.json`,{method:"put",body:a({},Ae)})})}function Mt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ae)})})}function Qe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/edit.json`,{method:"get",params:a({},Ae)})})}function ct(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}.json`,{method:"put",body:a({},Ae)})})}function st(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ae)})})}function qe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ae)})})}function Be(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ae)})})}function be(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function De(Ae){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ae)})})}function Ge(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ae)})})}function We(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ae)})})}function Xe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/edit.json`,{method:"get",params:a({},Ae)})})}function ot(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ae.id}.json`,{method:"get",params:a({},Ae)})})}function ht(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}.json`,{method:"get",params:a({},Ae)})})}function ur(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/supply_attachments.json`,{method:"get",params:a({},Ae)})})}function tr(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/comment_list.json`,{method:"get",params:a({},Ae)})})}function Le(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/destroy_score.json`,{method:"delete",body:a({},Ae)})})}function Je(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/add_score_reply.json`,{method:"post",body:a({},Ae)})})}function Yt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/all_student_works.json`,{method:"get",params:a({},Ae)})})}function It(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ae)})})}function Zt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/score_status.json`,{method:"get",params:a({},Ae)})})}function Gt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ae.categoryId}/update_score.json`,{method:"get",params:a({},Ae)})})}function cr(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/add_score.json`,{method:"post",body:a({},Ae)})})}function Ht(Ae){return p(this,null,function*(){return Fetch(`/api/student_works/${Ae.userId}/cancel_appeal.json`,{method:"post",body:a({},Ae)})})}function Ce(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ae)})})}function ce(Ae){return p(this,null,function*(){return Fetch(`/api/student_works/${Ae.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ae)})})}function pe(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ae.id}/reset_my_game.json`,{method:"get",params:a({},Ae)})})}function Ct(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/commit_des.json`,{method:"get",params:a({},Ae)})})}function Se(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ae.homeworkId}/update_des.json`,{method:"post",body:a({},Ae)})})}function at(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ae)})})}function $t(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ae)})})}function yt(Ae){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ae.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ae)})})}},86342:function(d,_,e){"use strict";e.d(_,{$Q:function(){return Jt},AE:function(){return Gt},AQ:function(){return M},Ag:function(){return gt},Ar:function(){return le},At:function(){return Kt},BK:function(){return K},Bj:function(){return Mt},DC:function(){return Ue},Dz:function(){return Lt},E4:function(){return ar},EH:function(){return ie},Ee:function(){return Yn},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return Te},Gr:function(){return st},Gu:function(){return Ee},Gz:function(){return b},HS:function(){return Ta},Hl:function(){return y},IT:function(){return yt},I_:function(){return A},Ir:function(){return G},Je:function(){return Fe},K:function(){return br},K0:function(){return wn},KM:function(){return J},K_:function(){return Xt},LK:function(){return kr},LP:function(){return He},Ne:function(){return se},OV:function(){return Ot},OW:function(){return j},Op:function(){return jt},P2:function(){return Pt},Po:function(){return I},Ps:function(){return qe},Q:function(){return V},Q1:function(){return Qr},QA:function(){return la},Ql:function(){return be},Rs:function(){return Le},SG:function(){return ji},Tn:function(){return Ht},Tr:function(){return Xi},U0:function(){return Xe},U9:function(){return Be},UQ:function(){return Se},Ui:function(){return kt},Vx:function(){return Bn},WO:function(){return Q},WT:function(){return zi},Wi:function(){return Qe},Wl:function(){return ze},X$:function(){return Wt},Yn:function(){return ce},Z2:function(){return _t},ZO:function(){return ct},Zt:function(){return Qt},_7:function(){return q},_9:function(){return pe},aH:function(){return De},al:function(){return ur},b8:function(){return Z},bq:function(){return Ce},dK:function(){return H},e:function(){return k},eX:function(){return ve},eb:function(){return Je},fL:function(){return Ft},h4:function(){return Hr},hS:function(){return m},he:function(){return R},hn:function(){return ne},ii:function(){return tr},im:function(){return Ct},j8:function(){return je},jq:function(){return on},kF:function(){return en},km:function(){return ht},l3:function(){return ft},m7:function(){return We},mI:function(){return Ni},n5:function(){return B},nu:function(){return pt},p0:function(){return $t},q0:function(){return Zt},q9:function(){return At},qA:function(){return Or},rO:function(){return It},rs:function(){return oe},sr:function(){return at},t2:function(){return Ae},tX:function(){return St},uo:function(){return ot},v3:function(){return bt},w:function(){return et},xK:function(){return cr},xg:function(){return Yt},xk:function(){return Rt},yE:function(){return Ge},yx:function(){return Ai},zD:function(){return ae},zH:function(){return Er}});var r=e(57193),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(xt,xa,Hi)=>xa in xt?i(xt,xa,{enumerable:!0,configurable:!0,writable:!0,value:Hi}):xt[xa]=Hi,a=(xt,xa)=>{for(var Hi in xa||(xa={}))u.call(xa,Hi)&&o(xt,Hi,xa[Hi]);if(f)for(var Hi of f(xa))h.call(xa,Hi)&&o(xt,Hi,xa[Hi]);return xt},x=(xt,xa)=>l(xt,c(xa)),p=(xt,xa,Hi)=>new Promise((gi,Da)=>{var $i=or=>{try{Zn(Hi.next(or))}catch(ut){Da(ut)}},ti=or=>{try{Zn(Hi.throw(or))}catch(ut){Da(ut)}},Zn=or=>or.done?gi(or.value):Promise.resolve(or.value).then($i,ti);Zn((Hi=Hi.apply(xt,xa)).next())});const y=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:xt})}),m=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:xt})}),b=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:xt})}),S=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:xt})}),k=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:xt})});function R(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},xt)})})}function A(xt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},xt||{})})})}function I(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"Get",params:xt})})}function M(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/show_right.json`,{method:"Get"})})}function B(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges.json`,{method:"Get"})})}function N(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:xt.save_type}})})}function K(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/jupyter_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function G(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function H(xt){return p(this,null,function*(){return(0,r.ZP)(xt.url,{method:"Get"})})}function ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_up.json`,{method:"Get"})})}function ne(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_down.json`,{method:"Get"})})}function oe(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function J(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function q(xt){return p(this,null,function*(){const{id:xa}=xt||{};return(0,r.ZP)(`/api/shixuns/${xa}/search_user_courses.json`,{method:"Get",params:xt})})}function V(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt==null?void 0:xt.id}/send_to_course.json`,{method:"Post",body:a({},xt)})})}function se(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_publish.json`,{method:"Get"})})}function ee(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/apply_public.json`,{method:"post",body:a({},xt)})})}function le(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/publish.json`,{method:"Get"})})}function Z(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function j(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${xt.id}.json`,{method:"delete"})})}function ie(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:xt})})}function ve(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:xt})})}function Ee(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:xt})})}function Te(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_newest_record.json`,{method:"Get"})})}function He(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_shixun.json`,{method:"post",body:xt})})}function je(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators.json`,{method:"Get",params:xt})})}function Ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_members_added.json`,{method:"post",body:xt})})}function ft(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/add_members_group.json`,{method:"post",body:xt})})}function Pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"Get",params:xt})})}function Wt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"post",body:xt})})}function Rt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:xt.userId}})})}function ar(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/ranking_list.json`,{method:"Get"})})}function Ue(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/settings.json`,{method:"Get"})})}function _t(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:xt.mirror_id}})})}function Mt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_script_contents.json`,{method:"Get",params:xt})})}function Qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_custom_script.json`,{method:"Get",params:xt})})}function ct(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_for_jupyter.json`,{method:"put",body:xt})})}function st(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_quotes.json`,{method:"Get"})})}function qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"delete"})})}function Be(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/close.json`,{method:"post",body:xt})})}function be(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:xt})})}function De(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_permission_setting.json`,{method:"post",body:xt})})}function Ge(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_learn_setting.json`,{method:"post",body:xt})})}function We(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_setting`,{method:"post",body:xt})})}function Xe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_data_sets.json`,{method:"Get",params:xt})})}function ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:xt.deleteId}})})}function ht(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/new.json`,{method:"get"})})}function ur(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/challenges.json`,{method:"post",body:a({},xt)})})}function tr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/edit.json`,{method:"get",params:{tab:xt.tab}})})}function Le(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"put",body:a({},xt)})})}function Je(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_questions.json`,{method:"get"})})}function Yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/move_position.json`,{method:"post",body:a({},xt)})})}function It(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"delete",body:a({},xt)})})}function Zt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit.json`,{method:"get",params:a({},xt)})})}function Gt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/answer.json`,{method:"get",params:a({},xt)})})}function cr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/crud_answer.json`,{method:"post",body:a({},xt)})})}function Ht(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_choose_question.json`,{method:"post",body:a({},xt)});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_blank_question.json`,{method:"post",body:a({},xt)});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_judge_question.json`,{method:"post",body:a({},xt)})})}function Ce(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})})})}function ce(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:xt.questionId}})})}function pe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Ct(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Se(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},xt),{choose_id:xt.questionId})})})}function at(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function $t(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function Ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function gt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/repository.json`,{method:"post",body:xt})})}function ze(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/repository.json`,{method:"post",body:xt})})}function et(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/secret_repository.json`,{method:"post",body:xt})})}function bt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/add_file.json`,{method:"post",body:xt})})}function Ft(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/add_file.json`,{method:"post",body:xt})})}function Fe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/commits.json`,{method:"post",body:xt})})}function kr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/file_content.json`,{method:"post",body:xt})})}function pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/file_content.json`,{method:"post",body:xt})})}function en(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_file.json`,{method:"post",body:xt})})}function on(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/update_file.json`,{method:"post",body:xt})})}function jt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/upload_git_folder.json`,{method:"post",body:{path:xt.path,secret_repository:xt.secret_repository}})})}function Jt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/${xt.url}`,{method:"Get"})})}function kt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:xt})})}function Xt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:xt})})}function Er(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:xt})})}function Or(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:xt})})}function At(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:xt})})}function Kt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/fork_list.json`,{method:"Get",params:xt})})}function Lt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/change_editable.json`,{method:"put",body:a({},xt)})})}function Qt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/set_secret_dir.json`,{method:"post",body:a({},xt)})})}function br(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:xt})})}function Qr(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:xt})})}function Hr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function Bn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function wn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_secret_repository.json`,{method:"post",body:a({},xt)})})}function Yn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/exist_exercise.json`,{method:"get",params:a({},xt)})})}function St(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${xt.id}.json`,{method:"get",params:a({},xt)})})}function Yr(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/publish.json`,{method:"post",body:a({},xt)})})}function ni(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_vnc.json`,{method:"post",params:a({},xt)})})}function Mi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_webssh.json`,{method:"post",params:a({},xt)})})}function Kn(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/save_image.json`,{method:"post",body:a({},xt)})})}function Tt(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/delete_image.json`,{method:"post",body:a({},xt)})})}function fi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/extend_vnc.json`,{method:"post",body:a({},xt)})})}function pi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/reset_vnc_link.json`,{method:"post",body:a({},xt)})})}function Ai(xt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},xt)})})}function Ni(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},xt)})})}function la(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},xt)})})}function Xi(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:xt})})}function zi(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${xt}`,{method:"get",params:{is_initiative_study:1}})})}function oi(xt){return p(this,null,function*(){return Fetch(`/api/shixuns/${xt.id}/update_shixun_study_num.json`,{method:"post",body:a({},xt)})})}function ji(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:xt})})}function Ta(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt}/recommend_config.json`,{method:"get"})})}},47546:function(d,_,e){"use strict";e.d(_,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return m},rM:function(){return I},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(H,ae,ne)=>ae in H?i(H,ae,{enumerable:!0,configurable:!0,writable:!0,value:ne}):H[ae]=ne,h=(H,ae)=>{for(var ne in ae||(ae={}))c.call(ae,ne)&&u(H,ne,ae[ne]);if(l)for(var ne of l(ae))f.call(ae,ne)&&u(H,ne,ae[ne]);return H},o=(H,ae,ne)=>new Promise((oe,J)=>{var q=ee=>{try{se(ne.next(ee))}catch(Q){J(Q)}},V=ee=>{try{se(ne.throw(ee))}catch(Q){J(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(q,V);se((ne=ne.apply(H,ae)).next())});function a(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function I(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,ae){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:ae})})}function K(H,ae){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:ae})})}function G(H,ae){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:ae})})}},67670:function(d,_,e){"use strict";e.d(_,{B$:function(){return y},Cx:function(){return q},DA:function(){return I},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Wt},FM:function(){return ne},Fn:function(){return Q},Gq:function(){return ar},Ho:function(){return B},IU:function(){return ve},JJ:function(){return le},Ol:function(){return je},Qx:function(){return ae},Tv:function(){return Z},V8:function(){return x},WS:function(){return V},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Rt},dE:function(){return ie},dt:function(){return j},gI:function(){return se},lO:function(){return oe},mW:function(){return G},n0:function(){return A},nV:function(){return He},o1:function(){return Ot},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return Te},vR:function(){return S},w3:function(){return K},x4:function(){return R},z2:function(){return ft}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(Ue,_t,Mt)=>_t in Ue?i(Ue,_t,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ue[_t]=Mt,h=(Ue,_t)=>{for(var Mt in _t||(_t={}))c.call(_t,Mt)&&u(Ue,Mt,_t[Mt]);if(l)for(var Mt of l(_t))f.call(_t,Mt)&&u(Ue,Mt,_t[Mt]);return Ue},o=(Ue,_t,Mt)=>new Promise((Qe,ct)=>{var st=be=>{try{Be(Mt.next(be))}catch(De){ct(De)}},qe=be=>{try{Be(Mt.throw(be))}catch(De){ct(De)}},Be=be=>be.done?Qe(be.value):Promise.resolve(be.value).then(st,qe);Be((Mt=Mt.apply(Ue,_t)).next())});const a=Ue=>o(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}/move.json`,{method:"post",body:Ue})}),x=Ue=>o(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"delete",body:Ue})}),p=Ue=>o(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"put",body:Ue})}),y=Ue=>o(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ue})}),m=Ue=>o(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ue})});function b(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ue)})})}function S(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ue)})})}function R(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ue)})})}function A(){return o(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function I(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/homepage_info.json`,{method:"get"})})}function M(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/courses.json`,{method:"get",params:Ue})})}function N(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/shixuns.json`,{method:"get",params:Ue})})}function K(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/subjects.json`,{method:"get",params:Ue})})}function G(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/projects.json`,{method:"get",params:Ue})})}function H(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos.json`,{method:"get",params:Ue})})}function ae(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/review.json`,{method:"get",params:Ue})})}function ne(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.id}.json`,{method:"delete"})})}function oe(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ue})})}function J(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ue})})}function q(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ue})})}function V(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ue})})}function se(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ue})})}function ee(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ue})})}function Q(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.object_id}/create_course_video.json`,{method:"post",body:Ue})})}function le(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ue.topicId}.json`,{method:"get",params:Ue})})}function Z(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ue)})})}function j(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/batch_publish.json`,{method:"post",body:Ue})})}function ie(Ue){return o(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ue.identifier}/cancel.json`,{method:"delete",body:h({},Ue)})})}function ve(Ue){return o(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ue)})})}function Ee(Ue){return o(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ue)})})}function Te(){return o(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return o(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Ue){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ue})}function Ot(Ue){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ue})}function ft(Ue){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ue)})}function Pt(Ue){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ue)})}function Wt(Ue){return(0,r.ZP)(`/api/users/accounts/${Ue.login}/password.json`,{method:"put",body:h({},Ue)})}function Rt(Ue){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ue)})}function ar(Ue){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ue)})}},11176:function(d,_,e){"use strict";e.d(_,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ne},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return H}});var r=e(57193),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(J,q,V)=>q in J?i(J,q,{enumerable:!0,configurable:!0,writable:!0,value:V}):J[q]=V,h=(J,q)=>{for(var V in q||(q={}))c.call(q,V)&&u(J,V,q[V]);if(l)for(var V of l(q))f.call(q,V)&&u(J,V,q[V]);return J},o=(J,q,V)=>new Promise((se,ee)=>{var Q=j=>{try{Z(V.next(j))}catch(ie){ee(ie)}},le=j=>{try{Z(V.throw(j))}catch(ie){ee(ie)}},Z=j=>j.done?se(j.value):Promise.resolve(j.value).then(Q,le);Z((V=V.apply(J,q)).next())});function a(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return o(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function m(J){return o(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return o(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function S(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return o(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return o(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function A(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function I(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return o(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return o(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return o(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function K(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function G(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return o(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function ae(J){return o(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function ne(J){return o(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function oe(J){return o(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},3668:function(d,_,e){"use strict";e.d(_,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return u},MM:function(){return R},Ps:function(){return B},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return o},rV:function(){return I},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(57193),i=(H,ae,ne)=>new Promise((oe,J)=>{var q=ee=>{try{se(ne.next(ee))}catch(Q){J(Q)}},V=ee=>{try{se(ne.throw(ee))}catch(Q){J(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(q,V);se((ne=ne.apply(H,ae)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function I(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:ae})})}function M(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:ae})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:ae})})}function K(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:ae})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},81779:function(d,_,e){"use strict";e.d(_,{$O:function(){return q},EO:function(){return ht},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return ot},JL:function(){return A},Jd:function(){return J},Ny:function(){return k},RV:function(){return ne},Rb:function(){return N},Rm:function(){return G},V9:function(){return ie},Yh:function(){return le},aN:function(){return b},aQ:function(){return o},ag:function(){return Xe},bg:function(){return tr},d8:function(){return B},dE:function(){return ae},eB:function(){return oe},eY:function(){return Le},fn:function(){return We},h:function(){return cr},j5:function(){return m},m$:function(){return Je},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return It},y8:function(){return ur}});var r=e(95392),i=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.CertifiedTeacher=5]="CertifiedTeacher",Ht[Ht.TrainingProduction=8]="TrainingProduction",Ht[Ht.UncertifiedTeacher=12]="UncertifiedTeacher",Ht[Ht.Student=15]="Student",Ht))(i||{}),l=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.Admin=5]="Admin",Ht[Ht.Teacher=8]="Teacher",Ht[Ht.Assistant=12]="Assistant",Ht[Ht.Student=15]="Student",Ht))(l||{}),c=(Ht=>(Ht[Ht.SuperAdmin=0]="SuperAdmin",Ht[Ht.Teacher=1]="Teacher",Ht[Ht.Student=2]="Student",Ht))(c||{});const f=Ht=>{const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return Ht.some(pe=>pe==(ce==null?void 0:ce.role))},u=Ht=>{const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return ce!=null&&ce.own?!0:Ht.some(pe=>{var Ct;return pe==((Ct=ce==null?void 0:ce.course)==null?void 0:Ct.course_role)})},h=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ce}=Ht;return Ce.main_site},o=()=>{var Ht;const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return(Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_is_end},a=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Ce}=Ht;return Ce.authentication},x=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),y=()=>u([1,8,5]),m=()=>u([1]),b=()=>u([1,2,5]),S=()=>u([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),I=()=>u([1,5]),M=()=>u([5,8]),B=()=>u([5]),N=()=>u([1,5,2]),K=()=>u([1,2,5,8]),G=()=>u([12]),H=()=>u([8]),ae=()=>u([15]),ne=()=>u([1,2,5,8,12,15]),oe=()=>u([1,2,5,8,12]),J=()=>{var Ht;const{user:Ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ce;return((Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_role)===null},q=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ce}=Ht;return Ce==null?void 0:Ce.has_big_model_permission},V=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Ce}=Ht;return Ce==null?void 0:Ce.big_model_user_unlimited},se=(Ht=!0,Ce=!1)=>f([1,2,5,8,12,15]),ee=(Ht=!0,Ce=!1)=>Ce||!Ce&&f([1]),Q=(Ht=!0,Ce=!1)=>Ce||!Ce&&f([1,2]),le=()=>f([15]),Z=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),j=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),ie=(Ht=!0,Ce=!1)=>{const{user:ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=ce;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},ve=(Ht=!0,Ce=!1)=>Ht?f([1]):Ce||!Ce&&f([1]),Ee=(Ht=!0,Ce=!1)=>Ht?f([1,2]):Ce||!Ce&&f([1,2]),Te=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),He=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):Ce||!Ce&&f([1,2]),je=(Ht=!0,Ce=!1)=>Ht?f([1,2,5]):Ce||!Ce&&f([1,2]),Ot=(Ht=!0,Ce=!1)=>Ht?f([1]):!1,ft=(Ht=!0,Ce=!1)=>f([1,2,5,8,12,15]),Pt=(Ht=!0,Ce=!1)=>Ht?f([1]):Ce||!Ce&&f([1]),Wt=(Ht=!0,Ce=!1)=>Ht?f([1,2]):Ce||!Ce&&f([1,2]),Rt=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12,15]):Ce||!Ce&&f([1,2]),ar=(Ht=!0,Ce=!1)=>Ht?!1:Ce||!Ce&&f([1,2]),Ue=(Ht=!0,Ce=!1)=>Ht?Ce||!Ce&&f([1,2]):!1,_t=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):!1,Mt=(Ht=!0,Ce=!1)=>Ht?!Ce&&f([1,2,5,8,12]):!1,Qe=(Ht=!0,Ce=!1)=>Ht?f([1,2,5]):Ce||!Ce&&f([1,2]),ct=(Ht=!0,Ce=!1)=>f([1,2,5,8,12]),st=(Ht=!0,Ce=!1)=>Ht?f([1]):Ce||!Ce&&f([1]),qe=(Ht=!0,Ce=!1)=>Ht?f([1,2]):Ce||!Ce&&f([1,2]),Be=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):Ce||!Ce&&f([1,2]),be=(Ht=!0,Ce=!1)=>Ht?Ce||!Ce&&f([1,2]):!1,De=(Ht=!0,Ce=!1)=>Ht?f([1,2,5,8,12]):Ce||!Ce&&f([1,2]),Ge=(Ht=!0,Ce=!1)=>u([8]),We=()=>f([1]),Xe=()=>f([1,2]),ot=()=>f([15]),ht=()=>f([1,2,5]),ur=()=>f([1,2,5,12]),tr=()=>{var Ht;const{user:Ce}=(0,r.getDvaApp)()._store.getState();return!!((Ht=Ce.userInfo)!=null&&Ht.login)},Le=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState();return Ht.userInfo},Je=()=>{var Ht,Ce;const{user:ce}=(0,r.getDvaApp)()._store.getState();return!!((Ce=(Ht=ce.userInfo)==null?void 0:Ht.path)!=null&&Ce.own)},Yt=Ht=>{const{graduations:Ce}=(0,r.getDvaApp)()._store.getState(),{details:ce}=Ce;return Ht.some(pe=>pe===(ce==null?void 0:ce.user_identity))},It=()=>Yt([0,1]),Zt=()=>Yt([0]),Gt=()=>Yt([1]),cr=()=>Yt([2])},76936:function(d,_,e){"use strict";e.d(_,{Fy:function(){return u},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{}),u=(o=>(o[o.DEFAULT=0]="DEFAULT",o[o.THEMEONE=1]="THEMEONE",o[o.THEMETWO=2]="THEMETWO",o[o.THEMETHREE=3]="THEMETHREE",o))(u||{}),h=(o=>(o.All="",o.Shixun="shixun",o.VideoItem="video",o.Attachment="attachment",o.Group_count="group_homework",o.Normal_count="normal_homework",o.ExaminationBank="exercise",o.HomeworkCommon="hack_homework",o.Discusses="Discusses",o.Challenge="challenge",o))(h||{})},57583:function(d,_,e){"use strict";e.d(_,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},78323:function(d,_,e){"use strict";e.d(_,{Z:function(){return c}});const r={PROXY_SERVER:"http://113.246.243.98:61820",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},57193:function(d,_,e){"use strict";e.d(_,{IV:function(){return Z},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return le},rz:function(){return ne},v_:function(){return Q}});var r=e(78323),i=e(28909),l=e(43418),c=e(8591),f=e(85582),u=e.n(f),h=e(59301),o=e(95392),a=e(63949),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(j,ie,ve)=>ie in j?y(j,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):j[ie]=ve,I=(j,ie)=>{for(var ve in ie||(ie={}))k.call(ie,ve)&&A(j,ve,ie[ve]);if(S)for(var ve of S(ie))R.call(ie,ve)&&A(j,ve,ie[ve]);return j},M=(j,ie)=>m(j,b(ie)),B=(j,ie,ve)=>new Promise((Ee,Te)=>{var He=ft=>{try{Ot(ve.next(ft))}catch(Pt){Te(Pt)}},je=ft=>{try{Ot(ve.throw(ft))}catch(Pt){Te(Pt)}},Ot=ft=>ft.done?Ee(ft.value):Promise.resolve(ft.value).then(He,je);Ot((ve=ve.apply(j,ie)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=(j,ie)=>B(void 0,null,function*(){if(j.status>=200&&j.status<300)return j;const ve=K[j.status]||j.statusText;let Ee;var Te=j.json();yield Te.then((je,Ot)=>{setTimeout(()=>{let ft=(0,o.getDvaApp)()},400),Ee=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`,description:je.message?"":ve})});const He=new Error(ve);throw He.name=j.status,He.response=j,{data:j,code:j.status,message:Ee||ve}}),H=(j,ie)=>{const ve=j.headers.get("Content-Type");return ve&&ve.match(/application\/json/i)&&j.clone().text().then(()=>{}),j};function ae(j){try{return decodeURIComponent(j),decodeURIComponent(encodeURIComponent(j))===j}catch(ie){return!1}}const ne=j=>{j=j||{};let ie="";for(let ve in j)typeof j[ve]=="object"?Array.isArray(j[ve])&&j[ve].forEach((Ee,Te)=>{ie+="&"+ve+"[]="+Ee}):j[ve]!==void 0&&(ie+="&"+ve+"="+(ae(j[ve])?j[ve]:encodeURIComponent(j[ve])));return ie.substr(1)};function oe(j,ie,ve,Ee){ie.method||(ie.method="get"),ie.method=ie.method.toUpperCase(),ie.mode="cors";const Te=I({},ie),{user:He}=(0,o.getDvaApp)()._store.getState(),{userInfo:je}=He,Ot=j+(Te.body?JSON.stringify(Te.body):""),ft=u().sha256().update(Ot).digest("hex"),Pt={credentials:"include",withCredentials:!0},Wt={};je!=null&&je.login&&(Wt.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(Wt.zzsud=je==null?void 0:je.school_id),Te.params=I(I({},Te.params||{}),Wt));let Rt=I(I({},Pt),(0,x.cloneDeep)(Te));(Rt.method==="POST"||Rt.method==="PUT"||Rt.method==="PATCH"||Rt.method==="DELETE")&&(ve?(Rt.headers=M(I({_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Rt.body=Te.body):(Rt.headers=I({Accept:"application/json",_method:ie.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Rt.headers),Rt.body=JSON.stringify(Te.body))),Rt.method=="GET"?(Rt.headers=M(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Te.params&&ne(Te.params)&&(j+="?"+ne(Te.params))):Wt.zzud&&(j+="?"+ne(I({},Wt)));const ar=Te.expirys&&60;let Ue;(ct=>{ct.json="application/json;charset=UTF-8",ct.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ue||(Ue={}));let _t;(ct=>{ct.get="GET",ct.post="POST"})(_t||(_t={}));const Mt=ct=>B(this,null,function*(){const st=yield ct.arrayBuffer();let qe;const Be=new Blob([st]);try{qe=ct.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(We){qe="userfiles.zip"}const be=document.createElement("a"),De=window.URL.createObjectURL(Be),Ge=qe;return be.href=De,be.download=Ge,be.click(),window.URL.revokeObjectURL(De),st});let Qe=r.Z.API_SERVER;return(window.ENV==="dev"||j.startsWith("http"))&&(Qe=""),Rt.method=="GET"&&Rt.params&&Object.keys(Rt.params).map(ct=>{if(Rt.params[ct]&&!Array.isArray(Rt.params[ct]))try{Rt.params[ct]=encodeURIComponent(decodeURIComponent(Rt.params[ct]))}catch(st){Rt.params[ct]=encodeURIComponent(Rt.params[ct])}}),(0,a.Ec)(Rt,j),Ee&&(Qe=""),Rt.headers._method=Rt.method,Rt.headers["X-HTTP-Method-Override"]=Rt.method,Rt.method!=="GET"&&(Rt.method="POST"),fetch(Qe+j,Rt).then(ct=>G(ct,I({url:r.Z.API_SERVER+j},Rt))).then(ct=>H(ct,ft)).then(ct=>B(this,null,function*(){var st,qe,Be,be;try{const Ge=ct.headers.get("cs");Ge&&(0,a.d8)("_educoder_session",Ge,1)}catch(Ge){}if(ct.status===204)return ct.text();let De;if(ct.headers.get("content-type").indexOf("application/json")>-1){De=yield ct.json();try{const Ge=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,We=/\"\/api\/attachments\/(\d+)\//g,Xe=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ot=/\/api\/attachments\/(\d+)/g,ht=/\/attachments\/download\/(\d+)/g;let ur=JSON.stringify(De).replace(ot,(tr,Le,Je,Yt)=>{const It=Le||Je||Yt;return"/api/attachments/"+(0,a.Jn)(It)}).replace(ht,(tr,Le,Je)=>{const Yt=Le||Je;return"/attachments/download/"+(0,a.Jn)(Yt)}).replace(Ge,(tr,Le,Je,Yt)=>{const It=Le||Je||Yt;return"(/api/attachments/"+(0,a.Jn)(It)}).replace(We,(tr,Le,Je)=>{const Yt=Le||Je;return'"/api/attachments/'+(0,a.Jn)(Yt)}).replace(Xe,(tr,Le,Je)=>{const Yt=Le||Je;return"(/files/uploads/"+(0,a.Jn)(Yt)}).replace(/\r\n/g,` `);De=JSON.parse(ur)}catch(Ge){}}else Rt.headers["Content-Type"]==="application/xml"?De=yield ct.text():(st=Te.body)!=null&&st.autoDownload||(qe=Te.params)!=null&&qe.autoDownload?De=yield Mt(ct):De=yield ct.arrayBuffer();try{De.status===401&&(!((Be=Rt.params)!=null&&Be.hidePopLogin)||!((be=Rt.body)!=null&&be.hidePopLogin))&&(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),De.status===402&&(localStorage.getItem("addinfo")==="2"?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{o.history.push("/account/profile/edit")}})))}catch(Ge){console.log("fetcherr",Ge)}return V(De,j),De})).catch(ct=>{try{const st=ct.code;if(ct instanceof TypeError&&window.showNetworkErrorTip(`${j}${ct.message}`),st){if(st===401){(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}V(ct,j)}else j.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Rt.body}}):ct.message!=="403"&&window.showNetworkErrorTip(`${j}${ct.message}`);return ct}catch(st){}})}let J=!1,q=!1;const V=(j,ie)=>{var ve,Ee,Te;if(j.status==-6&&!q){q=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>q=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:j.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(j.status==-7){q=!0,setTimeout(()=>q=!1,500);let je="";(ve=j==null?void 0:j.data)!=null&&ve.exercise_list&&((Te=(Ee=j==null?void 0:j.data)==null?void 0:Ee.exercise_list)==null||Te.map(Ot=>{je+=`\u300A${Ot.exercise_name}\u300B`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${je} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((j.status==-1||j.status==-2||j.status==-102||j.status>400)&&j.status!=403&&!q){q=!0,setTimeout(()=>q=!1,500),c.ZP.warning({content:j.message,key:"message-key"});return}const He={403:"/403",404:"/404",500:"/500"};if(He[j.status]&&!J){const{user:je}=(0,o.getDvaApp)()._store.getState(),{userInfo:Ot}=je;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(J=!0),setTimeout(()=>J=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(j)),Object.values(He).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(He[j.status]),new Error("403")}};function se(j,ie){return oe(`/api/${j}`,{method:"Get",params:ie||{}})}function ee(j,ie){return oe(`/${j}`,{method:"Get",params:ie})}function Q(j,ie){return oe(`/api/${j}`,{method:"Post",body:I({},ie)})}function le(j,ie){return oe(`/api/${j}`,{method:"Put",body:I({},ie)})}function Z(j,ie){return oe(`/api/${j}`,{method:"delete",body:I({},ie||{})})}},80934:function(d,_,e){"use strict";e.d(_,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},901:function(d,_,e){"use strict";e.d(_,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function u(ae,ne){const oe=ae.match(/^(\s+)(?:```)/);if(oe===null)return ne;const J=oe[1];return ne.split(` `).map(q=>{const V=q.match(/^\s+/);if(V===null)return q;const[se]=V;return se.length>=J.length?q.slice(J.length):q}).join(` `)}let h=[],o=["